/* ==========================================================================
   Blovs - Homepage Styles
   --------------------------------------------------------------------------
   1.  Variables (colors, spacing)
   2.  Base / Reset
   3.  Buttons
   4.  Navbar
   5.  Hero + Carousel
   6.  Glass Auth Card (Login / Signup / Forgot)
   7.  Section common styles
   8.  Our Services (Neumorphism)
   9.  Why Choose Us + Stats
   10. Contact
   11. Footer
   12. Back to top + Toast
   13. Responsive (breakpoints)
   14. Reduced motion
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES - colors yahan se badlo, poori site me badal jayega
   ========================================================================== */
:root {
    /* Brand colors */
    --navy:        #0B2545;
    --navy-800:    #13315C;
    --navy-900:    #071A33;
    --coral:       #FF6B35;
    --coral-light: #FF8A5C;
    --coral-dark:  #E8551F;
    --teal:        #1B998B;
    --teal-700:    #0F6E64;

    /* Neumorphism */
    --neu-bg:      #E6EBF1;
    --neu-dark:    #BEC8D4;
    --neu-light:   #FFFFFF;

    /* Neutrals */
    --white:       #FFFFFF;
    --surface:     #F4F6F9;
    --border:      #E1E7EE;
    --text:        #1C2B3A;
    --text-muted:  #4F5F70;
    --error:       #C62828;

    /* Typography */
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Spacing: screen ke hisaab se khud badhti hai (koi fixed max-width nahi) */
    --pad-x:     clamp(16px, 5vw, 120px);
    --section-y: clamp(64px, 8vw, 140px);
    --nav-h:     76px;

    /* Radius + motion */
    --radius-sm: 12px;
    --radius:    18px;
    --radius-lg: 26px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
}


/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Font size bhi screen ke saath badhta hai: mobile ~15px, 4K ~19px */
    font-size: clamp(0.9375rem, 0.35vw + 0.7rem, 1.1875rem);
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--coral);
    color: var(--navy);
}

/* Keyboard se chalane walon ke liye saaf focus */
:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    z-index: 2000;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--coral);
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 16px;
}


/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .85em 1.6em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s var(--ease), background-color .2s, color .2s,
                border-color .2s, box-shadow .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--coral);
    color: var(--navy);
    box-shadow: 0 10px 24px -10px rgba(255, 107, 53, .75);
}

.btn-primary:hover {
    background: var(--coral-light);
    box-shadow: 0 14px 28px -10px rgba(255, 107, 53, .85);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border-color: rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .24);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: .55em 1.15em;
    font-size: .85rem;
}

/* Loading state (form submit hote waqt) */
.btn.is-loading {
    pointer-events: none;
    opacity: .85;
}

.btn.is-loading > i {
    display: none;
}

.btn.is-loading::after {
    content: '';
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.link-btn {
    padding: 0;
    border: 0;
    background: none;
    font-size: .85rem;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: 3px;
    transition: color .2s;
}

.link-btn:hover {
    color: var(--coral-light);
}


/* ==========================================================================
   4. NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--pad-x);
    color: var(--white);
    transition: background-color .35s, box-shadow .35s, height .35s;
}

/* Scroll karne par solid navbar (JS .scrolled class lagata hai) */
.navbar.scrolled {
    height: 66px;
    background: rgba(7, 26, 51, .94);
    box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .5);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--coral);
    color: var(--navy);
    font-size: 1.05rem;
    transform: rotate(-8deg);
    transition: transform .3s var(--ease);
}

.logo:hover .logo-icon {
    transform: rotate(0deg);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

.nav-links {
    display: flex;
    gap: clamp(18px, 2.4vw, 40px);
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: .7em 1.3em;
}

/* Hamburger (sirf mobile/tablet par dikhta hai) */
.nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform .3s var(--ease), opacity .2s;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   5. HERO + CAROUSEL
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-900); /* image load hone tak */
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 7s linear;
}

/* Active slide dheere se zoom-out hoti hai */
.hero-slide.active img {
    transform: scale(1);
}

/* Text aur form padhne layak rahe, isliye dark gradient */
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 26, 51, .9) 0%, rgba(7, 26, 51, .62) 45%, rgba(7, 26, 51, .3) 100%),
        linear-gradient(0deg, rgba(7, 26, 51, .55) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 500px);
    align-items: center;
    gap: clamp(32px, 6vw, 120px);
    padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) var(--pad-x) clamp(48px, 8vh, 96px);
}

/* Captions ek ke upar ek (grid me), sirf active dikhta hai */
.hero-captions {
    display: grid;
}

.hero-caption {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}

.hero-caption.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: .85rem;
    font-weight: 500;
}

.hero-tag i {
    color: var(--coral-light);
}

.hero-title {
    max-width: 15ch;
    font-size: clamp(2.1rem, 1.1rem + 3.6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

/* Heading ke ek shabd ke neeche coral highlight */
.text-accent {
    padding: 0 .06em;
    background: linear-gradient(transparent 64%, rgba(255, 107, 53, .8) 64%, rgba(255, 107, 53, .8) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-desc {
    max-width: 52ch;
    margin-top: 20px;
    font-size: clamp(1rem, .92rem + .35vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(32px, 6vh, 56px);
}

.carousel-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background-color .25s, color .25s, border-color .25s;
}

.carousel-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    position: relative;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    transition: width .35s var(--ease), background-color .35s;
}

/* Ungli se dabane ke liye bada touch area */
.dot::before {
    content: '';
    position: absolute;
    inset: -10px -4px;
}

.dot.active {
    width: 32px;
    background: var(--coral);
}


/* ==========================================================================
   6. GLASS AUTH CARD (Login / Signup / Forgot)
   ========================================================================== */
.auth-wrapper {
    width: 100%;
}

.auth-card {
    position: relative;
    width: 100%;
    padding: clamp(24px, 2.4vw, 40px);
    border-radius: var(--radius-lg);
    color: var(--white);
}

/* Glassmorphism */
.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 24px 60px -16px rgba(4, 15, 32, .6),
                inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* Purane browser jahan blur nahi chalta */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass {
        background: rgba(11, 37, 69, .85);
    }
}

/* Teeno forms me se sirf ek dikhega (data-view se) */
.auth-card[data-view] .auth-panel {
    display: none;
}

.auth-card[data-view="login"]  [data-panel="login"],
.auth-card[data-view="signup"] [data-panel="signup"],
.auth-card[data-view="forgot"] [data-panel="forgot"] {
    display: block;
    animation: panelIn .45s var(--ease);
}

@keyframes panelIn {
    from { opacity: 0; transform: translateX(22px); }
    to   { opacity: 1; transform: none; }
}

.auth-head {
    margin-bottom: 22px;
}

.auth-title {
    font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
}

.auth-subtitle {
    margin-top: 4px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
}

/* ---------- Form fields (glass card ke andar) ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 500;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    font-size: .95rem;
    opacity: .75;
    pointer-events: none;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 13px 14px 13px 44px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font-size: .95rem;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.input-wrap input[name="password"],
.input-wrap input[name="confirm_password"] {
    padding-right: 48px;
}

.input-wrap input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    outline: none;
    border-color: var(--coral);
    background: rgba(255, 255, 255, .18);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .3);
}

/* Browser autofill ka peela background hatana */
.auth-card input:-webkit-autofill {
    -webkit-text-fill-color: var(--white);
    box-shadow: inset 0 0 0 1000px rgba(19, 49, 92, .9);
    caret-color: var(--white);
    transition: background-color 9999s;
}

.toggle-password {
    position: absolute;
    right: 5px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    opacity: .8;
    transition: opacity .2s, background-color .2s;
}

.toggle-password:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .12);
}

/* Galat input */
.field-error {
    display: block;
    margin-top: 5px;
    font-size: .78rem;
    color: #FFC4C4;
}

.field-error:empty {
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #FF8A8A;
    box-shadow: 0 0 0 3px rgba(255, 90, 90, .22);
}

.form-row {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 16px;
}

/* Success / error message box */
.form-message {
    display: none;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .87rem;
    line-height: 1.45;
}

.form-message.show {
    display: block;
}

.form-message.is-error {
    background: rgba(220, 53, 69, .2);
    border-color: rgba(255, 138, 138, .5);
    color: #FFE3E3;
}

.form-message.is-success {
    background: rgba(27, 153, 139, .24);
    border-color: rgba(94, 234, 212, .5);
    color: #DBFFF9;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    font-size: .8rem;
    color: rgba(255, 255, 255, .78);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .3);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
    transition: transform .2s var(--ease), box-shadow .2s;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .45);
}

.btn-social .fa-google     { color: #EA4335; }
.btn-social .fa-facebook-f { color: #1877F2; }

.auth-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .88rem;
}

/* Login hone ke baad wala card */
.welcome-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.welcome-avatar {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--navy);
    font-size: 1.9rem;
    font-weight: 700;
}

.welcome-card .auth-subtitle {
    margin-bottom: 10px;
}


/* ==========================================================================
   7. SECTION COMMON STYLES
   ========================================================================== */
.section {
    position: relative;
    padding: var(--section-y) var(--pad-x);
    overflow-x: clip;
}

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(40px, 5vw, 72px);
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--teal-700);
}

.section-tag::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--coral);
}

.section-title {
    font-size: clamp(1.9rem, 1.3rem + 2vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
    color: var(--navy);
}

.section-desc {
    margin-top: 16px;
    font-size: clamp(.98rem, .92rem + .25vw, 1.12rem);
    line-height: 1.75;
    color: var(--text-muted);
}


/* ==========================================================================
   8. OUR SERVICES (Neumorphism)
   ========================================================================== */
.services {
    background: var(--neu-bg);
}

/* Cards: badi screen 5, laptop 3+2, tablet 2, mobile 1. Aakhri row beech me */
.services-grid {
    --cols: 5;
    --gap: clamp(20px, 2.2vw, 40px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.service-card {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(28px, 2.4vw, 44px) clamp(20px, 1.8vw, 32px);
    border-radius: var(--radius-lg);
    background: var(--neu-bg);
    text-align: center;
    box-shadow: 10px 10px 22px var(--neu-dark),
                -10px -10px 22px var(--neu-light);
    transition: box-shadow .35s var(--ease);
}

/* Hover par card andar dabta hua lagta hai */
.service-card:hover,
.service-card:focus-within {
    box-shadow: inset 8px 8px 16px var(--neu-dark),
                inset -8px -8px 16px var(--neu-light);
}

.service-icon {
    width: clamp(70px, 5vw, 88px);
    height: clamp(70px, 5vw, 88px);
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--neu-bg);
    color: var(--teal-700);
    font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem);
    box-shadow: 6px 6px 12px var(--neu-dark),
                -6px -6px 12px var(--neu-light);
    transition: color .35s, transform .35s var(--ease);
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
    color: var(--coral-dark);
    transform: translateY(-4px);
}

.service-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
}

.service-text {
    flex-grow: 1;
    font-size: .92rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 10px 20px;
    border-radius: 999px;
    color: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 4px 4px 9px var(--neu-dark),
                -4px -4px 9px var(--neu-light);
    transition: box-shadow .25s, color .25s;
}

.service-link i {
    transition: transform .25s var(--ease);
}

.service-link:hover {
    color: var(--teal-700);
    box-shadow: inset 3px 3px 7px var(--neu-dark),
                inset -3px -3px 7px var(--neu-light);
}

.service-link:hover i {
    transform: translateX(4px);
}


/* ==========================================================================
   9. WHY CHOOSE US + STATS
   ========================================================================== */
.why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 120px);
}

.why-media {
    position: relative;
    isolation: isolate;
}

/* Image ke peeche halka block (depth ke liye) */
.why-media::before {
    content: '';
    position: absolute;
    inset: 26px -26px -26px 26px;
    z-index: -1;
    border-radius: var(--radius-lg);
    background: var(--neu-bg);
}

.why-media img {
    width: 100%;
    height: clamp(360px, 40vw, 660px);
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.why-badge {
    position: absolute;
    left: clamp(14px, 2vw, 32px);
    bottom: clamp(14px, 2vw, 32px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: var(--radius);
    background: var(--coral);
    color: var(--navy);
    box-shadow: 0 18px 40px -14px rgba(255, 107, 53, .7);
}

.why-badge strong {
    font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.why-badge span {
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.3;
}

.why-content .section-desc {
    max-width: 62ch;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    margin-top: 36px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-icon {
    flex: 0 0 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(27, 153, 139, .12);
    color: var(--teal-700);
    font-size: 1.25rem;
}

.why-feature-title {
    margin-bottom: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
}

.why-feature-text {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Stats band */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(56px, 7vw, 110px);
    padding: clamp(32px, 4vw, 60px) clamp(16px, 3vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: var(--white);
}

.stat {
    position: relative;
    padding: 8px 12px;
    text-align: center;
}

.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, .16);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 1.3rem + 2.3vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--coral);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    margin-top: 6px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}


/* ==========================================================================
   10. CONTACT
   ========================================================================== */
.contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 64px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.info-icon {
    flex: 0 0 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
}

.info-title {
    margin-bottom: 2px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--navy);
}

.info-text {
    font-size: .9rem;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.info-text a {
    text-decoration: none;
    transition: color .2s;
}

.info-text a:hover {
    color: var(--teal-700);
}

.map-wrap {
    flex: 1;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

.contact-form {
    padding: clamp(24px, 3vw, 48px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 30px 60px -34px rgba(11, 37, 69, .3);
}

.form-title {
    margin-bottom: 22px;
    font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
    font-weight: 600;
    color: var(--navy);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Contact form light theme me (glass wale styles ko badalna) */
.contact-form .form-group label {
    color: var(--navy);
}

.contact-form .input-wrap input,
.contact-form .input-wrap textarea {
    border-color: #D5DDE7;
    background: var(--surface);
    color: var(--text);
}

.contact-form .input-wrap input::placeholder,
.contact-form .input-wrap textarea::placeholder {
    color: #6B7A89;
}

.contact-form .input-wrap input:focus,
.contact-form .input-wrap textarea:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .18);
}

.contact-form .input-icon {
    color: var(--text-muted);
}

.textarea-wrap textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.optional {
    font-size: .8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.contact-form .field-error {
    color: var(--error);
}

.contact-form .form-group.has-error input,
.contact-form .form-group.has-error textarea {
    border-color: #E05252;
    box-shadow: 0 0 0 3px rgba(224, 82, 82, .15);
}

.contact-form .form-message.is-error {
    background: #FDECEC;
    border-color: #F5C2C2;
    color: #8E1B1B;
}

.contact-form .form-message.is-success {
    background: #E2F5F2;
    border-color: #A8DDD5;
    color: #0B5A52;
}

/* Spam bots ke liye chhupa field */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}


/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
    padding: clamp(56px, 7vw, 100px) var(--pad-x) 0;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: clamp(32px, 4vw, 80px);
}

.footer-about {
    max-width: 42ch;
    margin: 18px 0 24px;
    font-size: .92rem;
    line-height: 1.75;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    text-decoration: none;
    transition: background-color .25s, color .25s, transform .25s var(--ease);
}

.social-links a:hover {
    background: var(--coral);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer-title {
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a,
.footer-contact a,
.footer-legal a {
    font-size: .92rem;
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
    color: var(--coral-light);
}

.footer-text {
    margin-bottom: 16px;
    font-size: .92rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .07);
    transition: border-color .2s;
}

.newsletter-form:focus-within {
    border-color: var(--coral);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: .9rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, .55);
}

.newsletter-form button {
    flex: 0 0 44px;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: var(--coral);
    color: var(--navy);
    transition: background-color .2s;
}

.newsletter-form button:hover {
    background: var(--coral-light);
}

.footer-contact {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    font-size: .9rem;
}

.footer-contact i {
    width: 18px;
    color: var(--coral);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: clamp(40px, 5vw, 72px);
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .87rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


/* ==========================================================================
   12. BACK TO TOP + TOAST
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: clamp(16px, 2vw, 32px);
    bottom: clamp(16px, 2vw, 32px);
    z-index: 900;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--coral);
    color: var(--navy);
    box-shadow: 0 12px 26px -10px rgba(255, 107, 53, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1100;
    max-width: calc(100% - 32px);
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    font-size: .92rem;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast.is-success { background: var(--teal-700); }
.toast.is-error   { background: #9B1C1C; }


/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */

/* Sirf desktop par navbar blur (mobile menu ke saath blur gadbad karta hai) */
@media (min-width: 992px) {
    .navbar.scrolled {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* ---------- Laptop (≤ 1200px) ---------- */
@media (max-width: 1200px) {
    .services-grid {
        --cols: 3;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991px) {
    :root {
        --nav-h: 68px;
    }

    .navbar.scrolled {
        height: 62px;
    }

    .nav-toggle {
        display: block;
    }

    /* Right side se khulne wala menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 28px;
        padding: calc(var(--nav-h) + 24px) 28px 32px;
        overflow-y: auto;
        background: var(--navy-900);
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .4s var(--ease), box-shadow .4s, visibility 0s .4s;
    }

    .nav-menu.open {
        visibility: visible;
        transform: none;
        box-shadow: 0 0 0 100vmax rgba(4, 12, 26, .55);
        transition: transform .4s var(--ease), box-shadow .4s, visibility 0s;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        font-size: 1.05rem;
    }

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

    .nav-link.active {
        color: var(--coral-light);
    }

    .nav-cta {
        width: 100%;
    }

    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .why-media img {
        height: clamp(300px, 58vw, 520px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Hero single column (≤ 899px) ---------- */
@media (max-width: 899px) {
    .hero {
        align-items: flex-start;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(7, 26, 51, .82) 0%, rgba(7, 26, 51, .6) 50%, rgba(7, 26, 51, .88) 100%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title,
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .carousel-controls {
        justify-content: center;
    }

    .auth-wrapper {
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }
}

/* ---------- Large mobile (≤ 767px) ---------- */
@media (max-width: 767px) {
    .services-grid {
        --cols: 2;
    }

    .stats-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .stat:nth-child(3)::before {
        display: none;
    }

    .why-media::before {
        inset: 14px -14px -14px 14px;
    }
}

/* ---------- Mobile (≤ 575px) ---------- */
@media (max-width: 575px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .carousel-controls {
        margin-top: 28px;
    }

    .auth-card {
        padding: 22px 18px;
        border-radius: var(--radius);
    }

    .why-features,
    .info-cards,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .why-media::before {
        display: none;
    }

    .contact-form .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Small mobile (≤ 520px) ---------- */
@media (max-width: 520px) {
    .services-grid {
        --cols: 1;
    }
}

/* ---------- Bahut chhote phone (≤ 360px) ---------- */
@media (max-width: 360px) {
    .social-login {
        grid-template-columns: 1fr;
    }

    .stats-band {
        grid-template-columns: 1fr;
    }

    .stat + .stat::before {
        display: none;
    }
}


/* ==========================================================================
   14. REDUCED MOTION - jin users ne animation band ki hai
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero-slide img {
        transform: none !important;
    }
}
