/* =========================================================
   NAUKRI MITRA — REMOTE JOBS HOMEPAGE
   Theme: Lite Blue + White
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

.rr-homepage {

    --rr-blue-900: #0B2545;
    --rr-blue-700: #1450C4;
    --rr-blue-600: #2563EB;
    --rr-blue-500: #3B82F6;
    --rr-blue-400: #6FA0FA;
    --rr-blue-100: #E7F0FE;
    --rr-blue-50:  #F5F9FF;
    --rr-white:    #FFFFFF;
    --rr-ink:      #10203D;
    --rr-muted:    #5B6B85;
    --rr-border:   #E1E9F7;
    --rr-green:    #17A673;
    --rr-green-bg: #E7FAF2;
    --rr-amber:    #F5A623;

    --rr-font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
    --rr-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

    --rr-radius-sm: 10px;
    --rr-radius-md: 16px;
    --rr-radius-lg: 24px;

    --rr-shadow-sm: 0 2px 10px rgba(16, 32, 61, 0.06);
    --rr-shadow-md: 0 12px 30px -12px rgba(20, 80, 196, 0.22);
    --rr-shadow-lg: 0 30px 60px -24px rgba(11, 37, 69, 0.28);

    font-family: var(--rr-font-body);
    color: var(--rr-ink);
    background: var(--rr-white);
    -webkit-font-smoothing: antialiased;
}

.rr-homepage * { box-sizing: border-box; }

.rr-homepage .rr-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.rr-homepage h1,
.rr-homepage h2,
.rr-homepage h3 {
    font-family: var(--rr-font-display);
    color: var(--rr-blue-900);
    line-height: 1.2;
    margin: 0;
}

.rr-homepage a { text-decoration: none; color: inherit; }

.rr-homepage section { position: relative; }

/* -----------------------------------------
   SECTION HEADING (shared)
----------------------------------------- */

.rr-section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.rr-section-heading > span {
    display: inline-block;
    font-family: var(--rr-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rr-blue-600);
    background: var(--rr-blue-100);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.rr-section-heading h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.rr-section-heading p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.rr-home-hero {
    padding: 76px 0 120px;
    background:
        radial-gradient(60% 55% at 18% 8%, rgba(37, 99, 235, 0.14), transparent 60%),
        radial-gradient(50% 50% at 100% 0%, rgba(111, 160, 250, 0.16), transparent 60%),
        linear-gradient(180deg, var(--rr-blue-50) 0%, var(--rr-white) 78%);
    overflow: hidden;
}

.rr-home-hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.rr-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rr-blue-700);
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: var(--rr-shadow-sm);
    margin-bottom: 24px;
}

.rr-mini-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rr-green);
    box-shadow: 0 0 0 3px var(--rr-green-bg);
}

.rr-home-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.rr-home-hero-content > p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--rr-muted);
    max-width: 660px;
    margin: 0 auto;
}

/* SEARCH — floating card, the hero's signature element */

.rr-search-wrapper {
    max-width: 860px;
    margin: 40px auto 0;
}

.rr-search-box {
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-lg);
    box-shadow: var(--rr-shadow-lg);
    padding: 12px;
}

.rr-job-search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.rr-search-field {
    flex: 1;
    position: relative;
    border-right: 1px solid var(--rr-border);
}

.rr-search-field:last-of-type { border-right: none; }

.rr-search-field input {
    width: 100%;
    height: 56px;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--rr-font-body);
    font-size: 15px;
    color: var(--rr-ink);
    padding: 0 18px;
}

.rr-search-field input::placeholder { color: #94A3C4; }

.rr-job-search-form button {
    flex-shrink: 0;
    height: 56px;
    padding: 0 32px;
    border: none;
    border-radius: var(--rr-radius-md);
    background: linear-gradient(135deg, var(--rr-blue-600), var(--rr-blue-700));
    color: var(--rr-white);
    font-family: var(--rr-font-display);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 10px 24px -8px rgba(20, 80, 196, 0.5);
}

.rr-job-search-form button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.rr-job-search-form button:focus-visible,
.rr-search-field input:focus-visible { outline: 2px solid var(--rr-blue-600); outline-offset: 2px; }

/* TRUST BADGES */

.rr-hero-badges {
    max-width: 860px;
    margin: 48px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: 999px;
    padding: 10px 20px 10px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rr-ink);
    box-shadow: var(--rr-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rr-hero-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--rr-shadow-md);
    border-color: var(--rr-blue-400);
}

.rr-hero-badge-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--rr-white);
    background: var(--rr-green);
    border-radius: 50%;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.rr-industries-section { padding: 88px 0; }

.rr-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rr-industry-card {
    display: block;
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-md);
    padding: 26px 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rr-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rr-shadow-md);
    border-color: var(--rr-blue-400);
}

.rr-industry-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rr-blue-100);
    border-radius: 12px;
    margin-bottom: 16px;
}

.rr-industry-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--rr-blue-600);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rr-industry-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rr-industry-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   HOW IT WORKS — vertical connector (real sequence)
   ========================================================= */

.rr-how-section {
    padding: 88px 0;
    background: var(--rr-blue-50);
}

.rr-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.rr-how-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--rr-blue-400) 0 8px, transparent 8px 16px);
}

.rr-how-card {
    position: relative;
    padding: 0 18px;
    text-align: center;
}

.rr-how-number {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rr-font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--rr-white);
    background: linear-gradient(135deg, var(--rr-blue-600), var(--rr-blue-700));
    border: 4px solid var(--rr-blue-50);
    border-radius: 50%;
    box-shadow: var(--rr-shadow-md);
}

.rr-how-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rr-how-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   TIPS TO GET HIRED
   ========================================================= */

.rr-tips-section { padding: 88px 0; }

.rr-tips-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rr-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-md);
    padding: 20px 24px;
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.rr-tip-item:hover {
    box-shadow: var(--rr-shadow-md);
    border-color: var(--rr-blue-400);
    transform: translateY(-2px);
}

.rr-tip-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--rr-white);
    background: linear-gradient(135deg, var(--rr-blue-600), var(--rr-blue-700));
    border-radius: 50%;
    margin-top: 2px;
}

.rr-tip-body h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rr-tip-body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   REMOTE WORK BENEFITS
   ========================================================= */

.rr-benefits-section {
    padding: 88px 0;
    background: var(--rr-blue-50);
}

.rr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rr-benefit-card {
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-md);
    padding: 28px 22px;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rr-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rr-shadow-md);
}

.rr-benefit-icon {
    font-size: 26px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rr-blue-100);
    border-radius: 14px;
    margin-bottom: 18px;
}

.rr-benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rr-benefit-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   TRUST SECTION
   ========================================================= */

.rr-trust-section { padding: 88px 0; }

.rr-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rr-trust-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--rr-radius-md);
    border: 1px solid var(--rr-border);
    background: var(--rr-white);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.rr-trust-card:hover {
    box-shadow: var(--rr-shadow-md);
    transform: translateY(-4px);
}

.rr-trust-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: var(--rr-green-bg);
    color: var(--rr-green);
    border-radius: 50%;
}

.rr-trust-card h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rr-trust-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--rr-muted);
    margin: 0;
}

/* =========================================================
   COUNTRIES
   ========================================================= */

.rr-country-section {
    padding: 88px 0;
    background: var(--rr-blue-50);
}

.rr-country-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rr-country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: var(--rr-white);
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-md);
    padding: 22px 14px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rr-country-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rr-shadow-md);
}

.rr-country-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--rr-blue-100);
}

.rr-country-card span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rr-ink);
}

/* =========================================================
   FAQ
   ========================================================= */

.rr-faq-section { padding: 88px 0 110px; }

.rr-faq-grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rr-faq-item {
    border: 1px solid var(--rr-border);
    border-radius: var(--rr-radius-md);
    background: var(--rr-white);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rr-faq-item.active { border-color: var(--rr-blue-400); box-shadow: var(--rr-shadow-sm); }

.rr-faq-question {
    position: relative;
    padding: 20px 56px 20px 24px;
    font-family: var(--rr-font-display);
    font-weight: 700;
    font-size: 15.5px;
    color: var(--rr-blue-900);
    cursor: pointer;
}

.rr-faq-question::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--rr-blue-600);
    background: var(--rr-blue-100);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.rr-faq-item.active .rr-faq-question::after {
    content: '\2212';
    transform: translateY(-50%) rotate(180deg);
}

.rr-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--rr-muted);
    transition: max-height 0.25s ease, padding 0.25s ease;
}

.rr-faq-item.active .rr-faq-answer {
    max-height: 400px;
    padding: 0 24px 22px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .rr-industries-grid,
    .rr-how-grid,
    .rr-benefits-grid,
    .rr-trust-grid { grid-template-columns: repeat(3, 1fr); }

    .rr-how-grid::before { left: 16.6%; right: 16.6%; }

    .rr-country-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
    .rr-home-hero { padding: 56px 0 88px; }

    .rr-job-search-form { flex-direction: column; }
    .rr-search-field { border-right: none; border-bottom: 1px solid var(--rr-border); }
    .rr-search-field:last-of-type { border-bottom: none; }
    .rr-job-search-form button { width: 100%; }

    .rr-industries-grid,
    .rr-benefits-grid,
    .rr-trust-grid { grid-template-columns: repeat(2, 1fr); }

    .rr-how-grid { grid-template-columns: 1fr; gap: 32px; }
    .rr-how-grid::before { display: none; }

    .rr-country-grid { grid-template-columns: repeat(3, 1fr); }

    .rr-section-heading { margin-bottom: 36px; }
}

@media (max-width: 480px) {
    .rr-industries-grid,
    .rr-benefits-grid,
    .rr-trust-grid,
    .rr-country-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .rr-homepage * { transition: none !important; animation: none !important; }
}