:root {
    --primary: #5b6cff;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #ffffff;
    --header-h: 72px;
    --hero-blur: 2px;
    /* overlay instead of blur */
    --hero-dim: 0.5;
    /* no image dimming; use overlay below */
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

/* Improve logo visibility */
.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 8px;
    /* background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 16px rgba(2, 6, 23, 0.10); */
    padding: 3px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Nav links with animated underline */
.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 6px;
    font-weight: 600;
    color: #0f172a;
    opacity: 0.8;
    transition: color .2s ease, opacity .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 2px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

/* Do not show active underline on drawer logo */
.drawer-brand::after {
    display: none !important;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a:focus-visible {
    outline: 2px solid rgba(91, 108, 255, 0.35);
    outline-offset: 2px;
    border-radius: 6px;
}

.cta {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(91, 108, 255, 0.20);
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.cta:hover,
.cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(91, 108, 255, 0.28);
}

.helpline {
    color: var(--muted);
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    margin: 0 auto;
    position: relative;
    transition: background .2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: #0f172a;
    transition: transform .2s ease, top .2s ease, background .2s ease;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

@media (max-width: 840px) {

    /* Only logo icon + hamburger */
    .logo {
        font-size: 0;
        gap: 6px;
    }

    .logo img {
        margin: 0;
    }

    /* Only show logo + hamburger on mobile; move menu into a left drawer */
    .cta {
        display: none;
    }

    .helpline {
        display: none;
    }

    .nav {
        gap: 10px;
    }

    .nav-toggle {
        display: block;
    }

    /* Hamburger morph to X when open */
    .nav.open .nav-toggle span {
        background: transparent;
    }

    .nav.open .nav-toggle span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav.open .nav-toggle span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100vh;
        width: clamp(260px, 80vw, 340px);
        background: #ffffff;
        /* solid panel for readability */
        border-right: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 12px 0 30px rgba(2, 6, 23, 0.20);
        padding: 12px 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-102%);
        transition: transform .25s ease;
        z-index: 11000;
        /* above overlay */
        color: #0f172a;
    }

    /* Drawer brand */
    .drawer-head {
        list-style: none;
        margin: 4px 0 8px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(15, 23, 42, .08);
    }

    .drawer-brand {
        display: inline-flex;
        align-items: center;
        gap: 0;
        text-decoration: none;
        color: inherit;
    }

    .drawer-brand img {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: #fff;
        border: 1px solid rgba(15, 23, 42, .08);
        box-shadow: 0 2px 8px rgba(2, 6, 23, .08);
    }

    .drawer-brand .brand-name {
        display: none;
    }

    /* Left-align links and improve spacing */
    .nav-links li {
        list-style: none;
    }

    .nav-links li a {
        display: block;
        padding: 10px 6px;
        color: #0f172a;
        font-weight: 600;
    }

    .nav-links li a:hover {
        color: var(--primary);
    }

    .nav-links .helpline {
        color: #64748b;
        font-size: .9rem;
        padding: 10px 6px;
        background: transparent;
    }

    .nav.open .nav-links {
        transform: translateX(0%);
    }

    /* Fullscreen overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 10000;
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Hide drawer header outside mobile */
@media (min-width: 841px) {
    .drawer-head {
        display: none !important;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    align-items: center;
    /* Replace background.jpg with your image filename in this folder */
    color: #fff;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(var(--hero-blur)) brightness(var(--hero-dim));
    transform: scale(1.00);
    overflow: hidden;
    /* avoid edge clipping from blur */
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Stronger overlay for readability */
    background: linear-gradient(180deg,
            rgba(2, 6, 23, 0.35) 0%,
            rgba(2, 6, 23, 0.5) 40%,
            rgba(2, 6, 23, 0.66) 100%);
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.15;
    margin: 0 0 14px;
}

.hero .accent {
    color: var(--primary);
    text-decoration: underline;
}

.hero p {
    max-width: 720px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid transparent;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    color: #fff;
    margin-top: 10px;
}

.stat .kicker {
    opacity: 0.92;
    font-size: 1rem;
}

.stat .num {
    font-weight: 800;
    font-size: 1.4rem;
}

/* Sections */
section {
    padding: 72px 0;
}

section h2 {
    margin: 0 0 10px;
}

section p {
    color: var(--muted);
    max-width: 800px;
}



/* About */
.about .section-head {
    text-align: center;
    margin-bottom: 18px;
}

.about .lead {
    color: var(--muted);
    max-width: 780px;
    margin: 8px auto 0;
}

.about-card {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.about-media {
    min-height: 320px;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
    will-change: transform;
}

.about-content {
    padding: 24px;
}

.about-content h3 {
    margin: 0 0 8px;
}

.about-content p {
    margin: 0 0 10px;
}

.about-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.about-lead {
    font-size: 1rem;
}
.about-content-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    font-size: .9rem;
}

.badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.feature {
    text-align: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(91, 108, 255, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: transform .2s ease, background .2s ease;
}

.feature .icon svg {
    width: 22px;
    height: 22px;
}

.feature h4 {
    margin: 8px 0 6px;
    font-size: 1.05rem;
    transition: color .15s ease;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* About interactions */
.about-card:hover,
.about-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.12);
    border-color: rgba(15, 23, 42, 0.10);
}

.about-card:hover .about-media img,
.about-card:focus-within .about-media img {
    transform: scale(1.02);
}

.feature:hover,
.feature:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.12);
    border-color: rgba(15, 23, 42, 0.10);
}

.feature:hover .icon,
.feature:focus-within .icon {
    transform: translateY(-2px) scale(1.03);
    background: rgba(91, 108, 255, 0.16);
}

.feature:hover h4,
.feature:focus-within h4 {
    color: var(--primary);
}

/* If buttons are used inside About, give them a subtle lift */
.about .btn {
    transition: transform .15s ease, box-shadow .15s ease;
}

.about .btn:hover,
.about .btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    .about-card,
    .about-media img,
    .feature,
    .feature .icon,
    .about .btn {
        transition: none !important;
    }
}

@media (max-width:900px) {
    .about-card {
        grid-template-columns: 1fr;
    }

    .about-media {
        min-height: 220px;
    }

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

@media (min-width:901px) and (max-width:1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Services section (scoped) */
#services {
    background: #f8fafc;
}

#services .section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.75rem;
}

#services .section-head h2 {
    margin-bottom: 0.25rem;
}

#services .section-head .lead {
    color: #475569;
}

#services .services-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#services .service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(2, 8, 20, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}

#services .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(2, 8, 20, 0.12);
    border-color: rgba(91, 108, 255, 0.1);
}

#services .services-title {
     font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

#services .service-card .media {
    position: relative;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

#services .service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.35s ease, filter 0.2s ease;
    transform-origin: center center;
    filter: brightness(0.95) contrast(1.05);
}

#services .service-card:hover img {
    transform: scale(1.04);
    filter: brightness(1) contrast(1.1);
}

#services .content {
    padding: 20px 18px 22px;
    background: #fff;
}

#services .content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
    transition: color 0.2s ease;
    color: #1e293b;
    position: relative;
}

#services .service-card:hover h3 {
    color: var(--primary);
}

#services .service-description {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color 0.2s ease, max-height 0.3s ease;
    max-height: 4.5em; /* Limit to ~3 lines */
    overflow: hidden;
    position: relative;
}

#services .service-description.expanded {
    max-height: 1000px; /* Large enough to reveal full content */
}

#services .service-card:hover .service-description {
    color: #475569;
}

#services .read-more-btn {
    background: none;
    border: none;
    color: var(--primary, #3b82f6);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

#services .read-more-btn:hover {
    color: #1d4ed8;
}

@media (min-width: 1200px) {
    #services .service-card .media {
        height: 260px;
    }
}


/* Why Us section (scoped) */
#why {
    background: #fff;
}

#why .section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.75rem;
}

#why .section-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

#why .section-head .sub {
    margin: 0;
    color: #475569;
}

#why .reasons {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 1.5rem;
}

/* Card with image on top and text below */
#why .reason-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(2, 8, 20, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

#why .reason-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.12);
}

/* Image section */
#why .reason-card .media {
    position: relative;
    height: 200px;
    background: #f1f5f9;
    overflow: hidden;
}

#why .reason-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease, filter 0.2s ease;
    filter: brightness(0.95) contrast(1.05);
}

#why .reason-card:hover img {
    transform: scale(1.04);
    filter: brightness(1) contrast(1.1);
}

/* Content section */
#why .reason-card .content {
    padding: 18px;
    background: #fff;
}

#why .reason-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.2s ease;
}

#why .reason-card:hover h3 {
    color: var(--primary, #3b82f6);
}

/* Description with Read More */
#why .reason-description {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.2s ease, max-height 0.3s ease;
    max-height: 4.5em; /* ~3 lines */
    overflow: hidden;
    position: relative;
}

#why .reason-description.expanded {
    max-height: 1000px; /* reveal full content */
}

#why .reason-card:hover .reason-description {
    color: #475569;
}

/* Read more button */
#why .read-more-btn {
    background: none;
    border: none;
    color: var(--primary, #3b82f6);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

#why .read-more-btn:hover {
    color: #1d4ed8;
}

/* Stats Row (unchanged) */
#why .stats-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    border-top: 1px solid #e2e8f0;
    padding-top: 1.25rem;
}

#why .stat .num {
    font-weight: 800;
    font-size: 1.6rem;
    color: #4f46e5;
}

#why .stat .kicker {
    font-size: 0.85rem;
    color: #64748b;
}

@media (min-width: 1200px) {
    #why .reason-card .media {
        height: 240px;
    }
}

/* Process section (scoped) */
#process {
    background: #f8fafc;
}

#process .section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.75rem;
}

#process .section-head h2 {
    margin: 0 0 0.35rem;
}

#process #process-title {
    font-size: 1.25rem;
    font-weight: 700;
}

#process .section-head .sub {
    margin: 0;
    color: #475569;
}

#process .steps {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

#process .step-card {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 6px 20px rgba(2, 8, 20, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
    text-align: center; /* Center all inner content */
}

#process .step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.12);
    border-color: #cbd5e1;
}

#process .step-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

#process .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: #3b82f6;
    margin: 0 auto 0.5rem auto; /* Center horizontally */
}

#process .icon-wrap img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

#process .icon-wrap svg {
    width: 24px;
    height: 24px;
}

#process .step-card h3 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center; /* Center title text */
}

#process .step-card p {
    margin: 0;
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.45;
}

#process .cta-banner {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    color: #fff;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#process .cta-banner .text {
    text-align: center;
}

#process .cta-banner .title {
    font-weight: 700;
    color: #fff;
}

#process .cta-banner .sub {
    opacity: 0.9;
    color: #fff;
}

#process .cta-banner .btn {
    background: #fff;
    color: #1e293b;
    border: 0;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(2, 8, 20, 0.12);
    transition: transform 0.15s ease;
}

#process .cta-banner .btn:hover {
    transform: translateY(-1px);
}


@media (min-width: 1100px) {
    #why .reason-card {
        padding: 18px;
    }
}

/* Testimonials section (scoped) */
#testimonials {
    background: #fff;
}

#testimonials .section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 1.75rem;
}

#testimonials .section-head h2 {
    margin: 0 0 0.25rem;
}

#testimonials .section-head .sub {
    margin: 0;
    color: #475569;
}

#testimonials .quotes {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 1.5rem;
}

#testimonials #testimonials-title {
     font-size: 1.25rem;
    font-weight: 700;

}



#testimonials .quote-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(2, 8, 20, 0.06);
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        border-color 0.2s ease;
}

#testimonials .quote-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.12);
    border-color: #cbd5e1;
}

#testimonials .quote-icon {
    color: #3b82f6;
    margin-bottom: 0.35rem;
}

#testimonials .quote-icon svg {
    width: 22px;
    height: 22px;
}

#testimonials .quote {
    font-style: italic;
    color: #1f2937;
    line-height: 1.55;
    margin: 0.25rem 0 0.5rem;
}

#testimonials .stars {
    color: #f59e0b;
    display: flex;
    gap: 2px;
    margin: 0.25rem 0 0.5rem;
}

#testimonials .stars svg {
    width: 16px;
    height: 16px;
}

#testimonials .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

#testimonials .author img {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
}

#testimonials .author .name {
    font-weight: 600;
}

#testimonials .author .role {
    font-size: 0.85rem;
    color: #64748b;
}

#testimonials .trusted {
    text-align: center;
}

#testimonials .trusted h3 {
    margin: 0.25rem 0 1rem;
    font-size: 1rem;
    color: #334155;
    font-weight: 700;
}

#testimonials .orgs {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

#testimonials .org {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #334155;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        border-color 0.15s ease;
}

#testimonials .org:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(2, 8, 20, 0.08);
    border-color: #cbd5e1;
}

/* Contact section (scoped) */
#contact {
    background: #0f172a;
    color: #e2e8f0;
}

#contact .section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.75rem;
}

#contact .section-head h2 {
    margin: 0 0 0.25rem;
}

#contact .section-head .sub {
    margin: 0;
    color: #94a3b8;
}

#contact .contact-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 900px) {
    #contact .contact-grid {
        grid-template-columns: minmax(260px, 420px) minmax(360px, 1fr);
    }
}

#contact .info {
    background: transparent;
    border-radius: 14px;
}

#contact .info h3 {
    margin: 0.25rem 0 0.75rem;
    font-size: 1rem;
    color: #cbd5e1;
}

#contact .list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

#contact .item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.6rem;
    align-items: start;
}

#contact .item svg {
    width: 18px;
    height: 18px;
    color: #60a5fa;
    margin-top: 0.2rem;
}

#contact .muted {
    color: #94a3b8;
    font-size: 0.9rem;
}

#contact .quick {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

#contact .quick .btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid #334155;
}

#contact .quick .btn.primary {
    background: #22c55e;
    color: #052e16;
    border-color: #16a34a;
}

#contact .quick .btn.secondary {
    background: #0b1220;
    color: #e2e8f0;
}

#contact .form-card {
    background: #1f2937;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(2, 8, 20, 0.35);
}

#contact .form-grid {
    display: grid;
    gap: 0.8rem;
}

#contact label {
    font-size: 0.85rem;
    color: #cbd5e1;
    display: block;
    margin: 0 0 0.25rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact select,
#contact textarea {
    width: 100%;
    background: #0b1220;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    outline: none;
}

#contact textarea {
    min-height: 110px;
    resize: vertical;
}

#contact .services {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#contact .services label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

#contact .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

#contact .submit {
    background: #3b82f6;
    color: #fff;
    border: 0;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

#contact .disclaimer {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    color: #e2e8f0;
    padding: 60px 0 0;
    margin-top: 0;
    /* remove gap between contact and footer */
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Brand Column */
.footer-brand {
    padding-right: 20px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.brand-text h3 {
    margin: 0 0 4px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.tagline {
    margin: 0;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.footer-brand .description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 32px;
    font-size: 0.95rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

/* Footer Columns */
.footer-column h4 {
    margin: 0 0 24px 0;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: block;
    padding: 4px 0;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item .label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-item .value {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #334155;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

.legal {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        padding-right: 0;
    }

    .brand-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

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

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 30px;
    }

    .brand-header {
        flex-direction: row;
        text-align: left;
    }
}

/* Header state when scrolled */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 22px rgba(2, 6, 23, 0.06);
}
