/* 
 * Atoot Sambandh — Responsive Breakpoints
 */

/* ── FLUID ROOT TYPOGRAPHY SCALING ── */
/* Base 1rem = 16px. We scale DOWN for small screens and UP for large displays! */
html {
    font-size: 16px;
}

/* ══════════════════════════════════════════
   LARGE SCREEN IMPROVEMENTS — 1920×1080
══════════════════════════════════════════ */

/* Bridge gap — 1400px to 1600px (1440p laptops) */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    html {
        font-size: 16px;
    }
    .container {
        max-width: 1320px;
    }
}

/* 1600px and above — full HD monitors (1920×1080) */
@media (min-width: 1600px) {
    html {
        font-size: 18.5px; /* Aggressive jump to make scaling noticeable */
    }
    .container {
        max-width: 1540px; /* Increased from 1440px */
    }

    /* Hero — prevent excessive height at 1080p */
    .hero-section {
        min-height: 88vh;
    }
    .hero-inner {
        padding: 5rem 0;
    }

    /* Hero search card — cap width */
    .hero-search-card {
        max-width: 580px; /* Increased further */
        margin-left: auto;
    }

    /* Boost hero text explicitly */
    .hero-content h1 {
        font-size: 4rem !important; /* Force a larger size for HD */
    }
    .hero-content p {
        font-size: 1.15rem !important;
        max-width: 42rem !important;
    }
    .hero-cta .btn-lg {
        padding: 1rem 2.25rem !important;
        font-size: 1.1rem !important;
    }

    /* Sections — more breathing room */
    .section-padding {
        padding: 7rem 0;
    }

    /* Feature cards — slightly more padding */
    .feature-card {
        padding: 3rem 2.25rem;
    }

    /* Profile cards — prevent over-stretching */
    .profile-card {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    /* CTA rings — scale with larger container */
    .cta-ring1 { width: 46rem; height: 46rem; top: -13rem; right: -13rem; }
    .cta-ring2 { width: 56rem; height: 56rem; top: -18rem; right: -18rem; }
    .cta-orb1  { width: 38rem; height: 38rem; }
}

/* 1900px and above — ultra-wide */
@media (min-width: 1900px) {
    html {
        font-size: 20px; /* Strong scaling for ultra-wide */
    }
    .container {
        max-width: 1720px; /* Increased from 1600px */
    }
    .hero-search-card {
        max-width: 560px; /* Increased from 500px */
        margin-left: auto;
    }
    .hero-section {
        min-height: 85vh;
    }
}


/* Scaling DOWN for laptops and mobile */

@media (max-width: 1400px) {
    html {
        font-size: 15.5px;
    }
}

@media (max-width: 1199.98px) {
    html {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    html {
        font-size: 14.5px;
    }

    .section-padding {
        padding: 4rem 1rem; /* Added horizontal padding to protect deep shadows and layout gutters */
    }

    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        padding: 4.375rem 0 5rem;
    }

    .hero-inner .row.gy-5 {
        --bs-gutter-y: 3.5rem; /* Slightly tighter vertical gap between text and card */
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-bg {
        background-position: center center; /* Better centering for diverse mobile aspect ratios */
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.6); /* Stronger overlay for mobile legibility */
        z-index: 1;
    }

    .hero-inner {
        z-index: 2;
    }

    .hero-search-card {
        margin-top: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .step-connector {
        display: none;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .cta-section {
        padding: 4.375rem 0;
    }

    /* Navbar mobile */
    .main-navbar .navbar-collapse {
        background: #fff;
        padding: 1rem 0;
        border-top: 1px solid rgba(201, 162, 39, 0.15);
        margin-top: 0.625rem;
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .main-navbar .d-flex {
        padding: 0.75rem 0 0.25rem;
        gap: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 13.5px;
    }

    .topbar .text-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }

    .topbar .text-start {
        text-align: center !important;
    }

    .hero-inner {
        padding: 3.5rem 0 4rem;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        margin-bottom: 1.25rem;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 18rem;
        gap: 0.75rem;
    }

    .hero-cta .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .stats-strip .col-md-3 {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-strip .col-md-3:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .main-navbar .navbar-brand img {
        height: 3.125rem;
    }

    .hero-search-card-body {
        padding: 1.5rem 1.25rem 1.75rem;
    }

    .hero-search-card .btn-search {
        width: 100%;
        min-width: 100%;
        padding: 0.9rem 2rem;
    }

    .hero-trust-badges {
        gap: 1rem;
    }

    .trust-badge {
        font-size: 0.8rem;
    }

    .cta-section h2 {
        font-size: 1.9rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

}

@media (max-width: 575.98px) {
    html {
        font-size: 13.2px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-search-card-header h3 {
        font-size: 1.35rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        padding: 0.3rem 0.85rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-card .field-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .hero-search-card .form-divider {
        display: none; /* Hide dividers when fields are stacked for cleaner look */
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .couple-overlay {
        opacity: 1;
    }

    .profile-tags {
        display: none;
    }
}

/* ── OFFCANVAS MOBILE NAV ── */
.mobile-offcanvas {
    width: 300px !important;
    max-width: 80vw;
    border-left: 3px solid var(--gold);
}

.mobile-offcanvas .offcanvas-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

.mobile-offcanvas .btn-close {
    opacity: 0.6;
}

.mobile-offcanvas .offcanvas-body {
    padding: 1.25rem;
}

.mobile-offcanvas .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.6rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.mobile-offcanvas .nav-link:hover,
.mobile-offcanvas .nav-link.active {
    background: rgba(123, 13, 30, 0.06);
    color: var(--primary);
}

.mobile-offcanvas .nav-link .fa-chevron-down {
    transition: transform 0.25s ease;
    color: var(--primary); /* Changed from gold to red */
}

.mobile-offcanvas .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}



.mobile-offcanvas .d-flex.flex-column a {
    justify-content: flex-start !important;
    padding-left: 1.25rem;
}