﻿:root {
    --bg: #f6f8fc;
    --surface: #ffffff;
    --text: #172033;
    --muted: #61708a;
    --primary: #1747b0;
    --primary-dark: #0f2f78;
    --line: #dbe3f0;
    --dark: #0d1a33;
    --shadow: 0 18px 45px rgba(15, 35, 75, 0.08);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 64px 0;
}

.section-light {
    background: #fff;
}

.section-dark {
    background: linear-gradient(180deg, #0c1730 0%, #13264d 100%);
    color: #fff;
}

.section-soft-dark {
    background: radial-gradient(circle at top right, rgba(69,120,255,0.15), transparent 22%), linear-gradient(180deg, #0f1b37 0%, #13244a 100%);
}

.section-header {
    max-width: 760px;
    margin-bottom: 22px;
}

    .section-header.center {
        margin-inline: auto;
        text-align: center;
    }

.section-header-wide {
    max-width: 760px;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 1.08;
    margin-bottom: 10px;
}

.section-header p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.65;
}
.section-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

    .section-kicker.light {
        color: #9ec0ff;
    }

h1, h2, h3, h4, h5 {
    margin-top: 0;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.1rem);
    margin-bottom: 16px;
    line-height: 1.03;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

p {
    color: var(--muted);
    line-height: 1.75;
    margin-top: 0;
}

.section-dark p,
.section-dark li {
    color: rgba(255,255,255,0.82);
}

.text-white {
    color: #fff;
}

.text-soft {
    color: rgba(255,255,255,0.78);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 227, 240, 0.9);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
}

.brand-tag {
    font-size: 0.8rem;
    color: var(--muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .main-nav a {
        font-weight: 600;
        color: #22304a;
        position: relative;
    }

        .main-nav a:not(.btn)::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.22s ease;
        }

        .main-nav a:not(.btn):hover::after {
            width: 100%;
        }

.nav-toggle,
.nav-toggle-btn {
    display: none;
}

.hero-section {
    padding: 42px 0 26px;
    background: radial-gradient(circle at top right, rgba(23,71,176,0.11), transparent 28%), linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.hero-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #f1f5fd 45%, #eef3fb 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    pointer-events: none;
}

.hero-orb-1 {
    width: 320px;
    height: 320px;
    right: -60px;
    top: -20px;
    background: radial-gradient(circle, rgba(23,71,176,0.16) 0%, rgba(23,71,176,0.03) 60%, transparent 75%);
}

.hero-orb-2 {
    width: 240px;
    height: 240px;
    left: -80px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(88,146,255,0.12) 0%, rgba(88,146,255,0.03) 58%, transparent 75%);
}

.hero-grid,
.two-col,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 32px;
}

.hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 24px;
}

.hero-text {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero-actions,
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin: 22px 0 18px;
    gap: 12px;
}

.hero-points {
    gap: 10px;
}

    .hero-points span {
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(23,71,176,0.08);
        color: var(--primary-dark);
        font-size: 0.86rem;
        font-weight: 600;
    }

.glass-card,
.service-card,
.timeline-card,
.form-card,
.contact-card,
.partner-logo {
    background: var(--surface);
    border: 1px solid rgba(219, 227, 240, 0.85);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 18px;
}

.hero-stack {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 28px 60px rgba(18, 40, 87, 0.12);
}

.metric-box {
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f3f7ff);
    border: 1px solid rgba(23,71,176,0.09);
}

    .metric-box + .metric-box {
        margin-top: 12px;
    }

.premium-box {
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(30, 72, 160, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.metric-number {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.metric-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.trust-strip {
    background: #0f1f42;
    padding: 14px 0;
}

.trust-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.trust-item {
    padding: 6px 16px;
    border-left: 2px solid rgba(255,255,255,0.18);
}

    .trust-item strong {
        display: block;
        color: #fff;
        font-size: 0.96rem;
        margin-bottom: 3px;
    }

    .trust-item span {
        color: rgba(255,255,255,0.72);
        font-size: 0.88rem;
        line-height: 1.4;
    }

.card-grid.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.premium-grid {
    gap: 16px;
}

.service-card {
    padding: 18px 18px 20px;
}

.premium-service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23,71,176,0.08);
    min-height: 215px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .premium-service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 46px rgba(15, 35, 75, 0.12);
        border-color: rgba(23,71,176,0.18);
    }

.service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(23,71,176,0.08);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.service-icon-light {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.accent-card {
    background: linear-gradient(180deg, #1747b0 0%, #11398d 100%);
    color: #fff;
}

    .accent-card p,
    .accent-card h3 {
        color: #fff;
    }

.premium-accent {
    box-shadow: 0 22px 44px rgba(17,57,141,0.22);
}

.two-col {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 18px;
}

.feature-item {
    background: #fff;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.premium-feature {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
}

    .premium-feature h4 {
        color: #fff;
    }

    .premium-feature p {
        color: rgba(255,255,255,0.74);
    }

.about-panel .timeline-card {
    padding: 26px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: none;
}

.premium-timeline {
    background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.06));
    backdrop-filter: blur(8px);
}

.timeline-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
}

    .timeline-step + .timeline-step {
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .timeline-step span {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: rgba(158,192,255,0.16);
        color: #fff;
        font-weight: 800;
    }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.premium-partner-grid {
    gap: 26px;
}

.partner-logo {
    min-height: 120px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #6a7892;
}

.premium-partner-logo {
    min-height: 130px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(23,71,176,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .premium-partner-logo:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(15, 35, 75, 0.10);
    }

.contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.contact-card {
    padding: 22px;
}

.contact-premium {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.premium-contact-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(23,71,176,0.08);
}

.form-card {
    padding: 28px;
    background: #fff;
}

.premium-form-card {
    border: 1px solid rgba(23,71,176,0.10);
    box-shadow: 0 28px 56px rgba(15, 35, 75, 0.10);
}

.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--dark);
    }

.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
}

    .form-control:focus {
        outline: none;
        border-color: rgba(23,71,176,0.45);
        box-shadow: 0 0 0 4px rgba(23,71,176,0.08);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-sm {
    min-height: 40px;
    padding: 0 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff !important;
}

    .btn-primary:hover {
        background: var(--primary-dark);
    }

.btn-outline {
    border-color: var(--line);
    background: #fff;
    color: var(--dark);
}

.w-100 {
    width: 100%;
}

.site-footer {
    background: #0b1427;
    color: #fff;
    padding-top: 70px;
}

    .site-footer p,
    .site-footer li,
    .site-footer a,
    .footer-bottom {
        color: rgba(255,255,255,0.76);
    }

.footer-grid {
    grid-template-columns: 1.2fr 0.7fr 1fr;
    padding-bottom: 36px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}

.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (min-width: 1200px) {
    .hero-premium {
        min-height: calc(100vh - 78px - 74px);
        display: flex;
        align-items: center;
    }

    #services.section {
        padding-top: 48px;
    }
}

@media (max-width: 991.98px) {
    .hero-grid,
    .two-col,
    .card-grid.three-col,
    .partner-grid,
    .contact-grid,
    .footer-grid,
    .trust-wrap {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 34px 0 22px;
    }

    .section {
        padding: 52px 0;
    }

    h1 {
        font-size: clamp(2.2rem, 8vw, 3.4rem);
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 18px 20px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        display: none;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }

    .nav-toggle-btn {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

        .nav-toggle-btn span {
            width: 26px;
            height: 2px;
            background: var(--dark);
            display: block;
        }
}

@media (max-width: 640px) {
    .section {
        padding: 48px 0;
    }

    .hero-section {
        padding-top: 28px;
    }

    .container {
        width: min(100% - 22px, var(--container));
    }

    .hero-actions,
    .hero-points {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-sm {
        width: 100%;
    }
}

/* =========================================
   SERVICES SECTION – COMPACT FIX
========================================= */

#services.section {
    padding-top: 42px;
    padding-bottom: 44px;
}

#services .section-header {
    max-width: 720px;
    margin-bottom: 20px;
}

    #services .section-header h2 {
        font-size: clamp(1.9rem, 3vw, 2.6rem);
        line-height: 1.08;
        margin-bottom: 10px;
    }

    #services .section-header p {
        font-size: 0.98rem;
        line-height: 1.6;
    }

/* grid tighter */
#services .card-grid {
    gap: 14px;
}

/* service cards compact */
#services .service-card {
    padding: 16px 16px 18px;
    min-height: 210px;
}

/* icon smaller */
#services .service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* title tighter */
#services h3 {
    font-size: 1.02rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

/* paragraph tighter */
#services p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* hover still premium but lighter */
#services .service-card:hover {
    transform: translateY(-4px);
}

/* desktop refinement */
@media (min-width: 1200px) {
    #services .section-header {
        max-width: 680px;
    }

    #services .service-card {
        min-height: 200px;
    }
}

/* =========================================
   CONTACT PAGE (EMAIL-ONLY VERSION)
========================================= */

.contact-standalone {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 78px);
    background: radial-gradient(circle at top right, rgba(23,71,176,0.08), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
}

.contact-center-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 36px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 28px 60px rgba(15, 35, 75, 0.10);
}

.contact-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(23,71,176,0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 18px;
}

.contact-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-subtext {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 26px;
}

.contact-email-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #f5f8ff;
    border: 1px solid rgba(23,71,176,0.12);
    margin-bottom: 24px;
}

.contact-email-link {
    font-weight: 700;
    color: var(--primary-dark);
}

    .contact-email-link:hover {
        text-decoration: underline;
    }

.contact-note {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.btn-lg {
    min-height: 52px;
    padding: 0 26px;
    font-size: 1rem;
}

/* Fix anchor scroll offset for sticky navbar */
#home {
    scroll-margin-top: 90px;
}

#services {
    scroll-margin-top: 40px;
}
#about,
#partners{
    scroll-margin-top: 78px;
}