@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ===== Global Color Tokens: Light (default) ===== */
:root,
[data-theme="light"] {
    --color-primary: #00B3A4;      /* Teal Green — Buttons, Links, Highlights */
    --color-secondary: #0A3B62;    /* Deep Blue — Headings, Key Elements */
    --color-bg: #F5F7FA;           /* Soft Gray — Sections, Cards */
    --color-text: #1F2937;         /* Charcoal — Text, Icons */
}

/* ===== Global Color Tokens: Dark ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #00C8B8;      /* Teal Green — Buttons, Links, Highlights */
        --color-secondary: #0D4A73;    /* Deep Blue — Headings, Key Elements */
        --color-bg: #0B1620;           /* Dark Navy — Sections, Cards */
        --color-text: #F5FAFC;         /* Off White — Text, Icons */
    }
}

[data-theme="dark"] {
    --color-primary: #00C8B8;
    --color-secondary: #0D4A73;
    --color-bg: #0B1620;
    --color-text: #F5FAFC;
}

/* ===== Global Typography Tokens: Desktop (default) ===== */
:root {
    --font-family: "Plus Jakarta Sans", sans-serif;

    --fs-h1: 56px;
    --lh-h1: 1.14;
    --fw-h1: 600;

    --fs-h2: 42px;
    --lh-h2: 1.19;
    --fw-h2: 600;

    --fs-h3: 32px;
    --lh-h3: 1.25;
    --fw-h3: 600;

    --fs-h4: 24px;
    --lh-h4: 1.33;
    --fw-h4: 600;

    --fs-h5: 20px;
    --lh-h5: 1.40;
    --fw-h5: 600;

    --fs-h6: 18px;
    --lh-h6: 1.44;
    --fw-h6: 600;

    --fs-body: 16px;
    --lh-body: 1.63;
    --fw-body: 400;

    --fs-large: 18px;
    --lh-large: 1.56;
    --fw-large: 400;

    --fs-small: 14px;
    --lh-small: 1.57;
    --fw-small: 400;

    --fs-link: 16px;
    --lh-link: 1.50;
    --fw-link: 500;

    --fs-btn: 16px;
    --lh-btn: 1.25;
    --fw-btn: 600;

    --fs-caption: 13px;
    --lh-caption: 1.54;
    --fw-caption: 500;

    --fs-label: 13px;
    --lh-label: 1.38;
    --fw-label: 500;
}

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --fs-h1: 46px;
        --fs-h2: 36px;
        --fs-h3: 28px;
        --fs-h4: 22px;
        --fs-h5: 18px;
        --fs-h6: 16px;
        --fs-body: 16px;
        --fs-large: 16px;
        --fs-small: 14px;
        --fs-link: 16px;
        --fs-btn: 15px;
        --fs-caption: 13px;
        --fs-label: 12px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --fs-h1: 36px;
        --fs-h2: 30px;
        --fs-h3: 24px;
        --fs-h4: 20px;
        --fs-h5: 16px;
        --fs-h6: 15px;
        --fs-body: 15px;
        --fs-large: 15px;
        --fs-small: 13px;
        --fs-link: 15px;
        --fs-btn: 14px;
        --fs-caption: 12px;
        --fs-label: 12px;
    }
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-body);
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.container {
    max-width: 1540px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    color: var(--color-secondary);
}

h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    font-weight: var(--fw-h1);
}

h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    font-weight: var(--fw-h2);
}

h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
    font-weight: var(--fw-h3);
}

h4 {
    font-size: var(--fs-h4);
    line-height: var(--lh-h4);
    font-weight: var(--fw-h4);
}

h5 {
    font-size: var(--fs-h5);
    line-height: var(--lh-h5);
    font-weight: var(--fw-h5);
}

h6 {
    font-size: var(--fs-h6);
    line-height: var(--lh-h6);
    font-weight: var(--fw-h6);
}

p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: var(--fw-body);
}

a {
    font-size: var(--fs-link);
    line-height: var(--lh-link);
    font-weight: var(--fw-link);
    color: var(--color-primary);
}

button,
.btn {
    font-family: var(--font-family);
    font-size: var(--fs-btn);
    line-height: var(--lh-btn);
    font-weight: var(--fw-btn);
}

.text-large {
    font-size: var(--fs-large);
    line-height: var(--lh-large);
    font-weight: var(--fw-large);
}

.text-small {
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    font-weight: var(--fw-small);
}

.caption {
    font-size: var(--fs-caption);
    line-height: var(--lh-caption);
    font-weight: var(--fw-caption);
}

.label,
.eyebrow {
    font-size: var(--fs-label);
    line-height: var(--lh-label);
    font-weight: var(--fw-label);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

/* ===== Top Header Marquee ===== */


.top-header {
    display: flex;
    align-items: center;
    background: #04344d;
    color: #ffffff;
    min-height: 42px;
}

.top-header__marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.top-header__track {
    display: inline-flex;
    width: max-content;
    will-change: transform;
    animation: top-header-marquee 30s linear infinite;
}

.top-header__track:hover {
    animation-play-state: paused;
}

.top-header__group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.top-header__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 22px;
    color: #ffffff;
    text-decoration: none;
    font-size: var(--fs-small);
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.top-header__item:hover,
.top-header a.top-header__item:hover {
    color: var(--color-primary);
}

.top-header__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(67%) sepia(62%) saturate(459%) hue-rotate(122deg) brightness(96%) contrast(101%);
}

.top-header__text {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

.theme-toggle {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0 12px 0 8px;
    padding: 3px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.theme-toggle__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .theme-toggle__icon--sun,
[data-theme="dark"] .theme-toggle__icon--moon {
    background: var(--color-primary);
    color: #04344d;
}

[data-theme="dark"] .site-header__logo img {
    filter: brightness(0) invert(1);
}

@keyframes top-header-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 767px) {
    .has-top-header {
        padding-top: 38px;
    }

    .top-header {
        min-height: 38px;
    }

    .top-header__item {
        padding: 8px 16px;
        font-size: var(--fs-caption);
        gap: 6px;
    }

    .top-header__icon {
        width: 16px;
        height: 16px;
    }

    .theme-toggle {
        margin-right: 8px;
    }
}

/* ===== Main Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9998;
    background: var(--color-bg);
}

.has-top-header .site-header {
    top: 42px;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 16px 40px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    justify-self: start;
    flex-shrink: 0;
    color: var(--color-secondary);
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    height: 52px;
    width: auto;
}

.site-header__nav {
    min-width: 0;
    justify-self: center;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu > li {
    position: relative;
}

.site-header__menu > li > a {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    padding: 6px 0;
    white-space: nowrap;
}

.site-header__menu > li > a:hover,
.site-header__menu > li.is-active > a {
    color: var(--color-primary);
}

.site-header__menu > li.is-active > a {
    box-shadow: inset 0 -2px 0 var(--color-primary);
}

.site-header__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 59, 98, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.site-header__menu > li.has-children:hover > .site-header__dropdown,
.site-header__menu > li.has-children:focus-within > .site-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.site-header__dropdown a:hover {
    color: var(--color-primary);
    background: rgba(0, 179, 164, 0.08);
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 12px;
    flex-shrink: 0;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.site-header__cta:hover {
    color: #ffffff;
    opacity: 0.92;
}

.site-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-header__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header__dropdown {
    background: var(--color-bg);
}

[data-theme="dark"] .site-header__menu > li > a,
[data-theme="dark"] .site-header__dropdown a,
[data-theme="dark"] .site-header__logo {
    color: var(--color-text);
}

[data-theme="dark"] .site-header__dropdown {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1024px) {
    .site-header__inner {
        display: flex;
        justify-content: space-between;
        padding: 12px 20px;
        gap: 16px;
    }

    .site-header__toggle {
        display: block;
    }

    .site-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        justify-self: stretch;
        background: #ffffff;
        padding: 8px 20px 20px;
        box-shadow: 0 16px 32px rgba(10, 59, 98, 0.1);
        display: none;
    }

    [data-theme="dark"] .site-header__nav {
        background: var(--color-bg);
    }

    .site-header__nav.is-open {
        display: block;
    }

    .site-header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header__menu > li > a {
        display: block;
        padding: 12px 0;
    }

    .site-header__dropdown {
        position: static;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 8px 16px;
        background: transparent;
    }

    .site-header__cta {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .has-top-header .site-header {
        top: 38px;
    }

    .site-header__logo img {
        height: 42px;
    }

    .site-header__cta {
        display: none;
    }
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(0, 179, 164, 0.08), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(10, 59, 98, 0.06), transparent 24%),
        linear-gradient(180deg, #f4fbfb 0%, #eef7f7 100%);
    color: var(--color-text);
    padding: 72px 40px 28px;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.site-footer::before {
    top: -80px;
    left: -60px;
    width: 280px;
    height: 280px;
    border: 28px solid rgba(0, 179, 164, 0.08);
    border-radius: 48px;
    transform: rotate(28deg);
}

.site-footer::after {
    top: -40px;
    right: -70px;
    width: 240px;
    height: 240px;
    border: 24px solid rgba(10, 59, 98, 0.06);
    border-radius: 40px;
    transform: rotate(-18deg);
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.95fr 0.85fr 1.05fr;
    gap: 40px 32px;
    margin: 0 auto;
    padding-bottom: 48px;
}

.site-footer__brand {
    padding-right: 28px;
    border-right: 1px solid rgba(10, 59, 98, 0.1);
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    color: var(--color-secondary);
    text-decoration: none;
}

.site-footer__logo img {
    display: block;
    height: 72px;
    width: auto;
}

.site-footer__tagline {
    margin: 18px 0 10px;
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-footer__desc {
    max-width: 280px;
    margin: 0 0 22px;
    color: #5b6b7a;
    font-size: 15px;
    line-height: 1.6;
}

.site-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 22px;
    border-radius: 999px;
    background: #0b6e6a;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.site-footer__cta:hover {
    color: #ffffff;
    opacity: 0.92;
}

.site-footer__cta-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.site-footer__highlights {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.site-footer__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding-right: 16px;
    border-right: 1px solid rgba(10, 59, 98, 0.12);
    color: #5b6b7a;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}

.site-footer__highlights li:last-child {
    padding-right: 0;
    border-right: 0;
}

.site-footer__highlights img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(52%) sepia(62%) saturate(459%) hue-rotate(122deg) brightness(96%) contrast(101%);
}

.site-footer__col h6 {
    margin: 0 0 18px;
    color: var(--color-secondary);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__col h6::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: var(--color-primary);
}

.site-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col li + li {
    margin-top: 10px;
}

.site-footer__col a {
    color: #5b6b7a;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.site-footer__col a:hover {
    color: var(--color-primary);
}

.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #5b6b7a;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.site-footer__contact-icon {
    display: inline-flex;
    color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 20px 28px;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(10, 59, 98, 0.1);
}

.site-footer__copy {
    margin: 0;
    color: #7a8895;
    font-size: 13px;
    line-height: 1.5;
}

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

.site-footer__legal li {
    position: relative;
}

.site-footer__legal li + li::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: rgba(10, 59, 98, 0.2);
    transform: translateY(-50%);
}

.site-footer__legal a {
    color: #6d7c89;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.site-footer__legal a:hover {
    color: var(--color-primary);
}

.site-footer__socials {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__socials a {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--color-secondary);
}

.site-footer__socials img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.site-footer__bottom-tagline {
    position: relative;
    margin: 0;
    padding-left: 22px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
}

.site-footer__bottom-tagline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--color-primary);
    transform: translateY(-50%);
}

[data-theme="dark"] .site-footer {
    background:
        radial-gradient(circle at 8% 18%, rgba(0, 200, 184, 0.1), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(245, 250, 252, 0.04), transparent 24%),
        linear-gradient(180deg, #0b1620 0%, #0a141c 100%);
}

[data-theme="dark"] .site-footer__logo {
    color: var(--color-text);
}

[data-theme="dark"] .site-footer__logo img {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .site-footer__brand,
[data-theme="dark"] .site-footer__highlights li,
[data-theme="dark"] .site-footer__bottom {
    border-color: rgba(245, 250, 252, 0.12);
}

[data-theme="dark"] .site-footer__desc,
[data-theme="dark"] .site-footer__highlights li,
[data-theme="dark"] .site-footer__col a,
[data-theme="dark"] .site-footer__contact li,
[data-theme="dark"] .site-footer__copy,
[data-theme="dark"] .site-footer__legal a {
    color: rgba(245, 250, 252, 0.72);
}

[data-theme="dark"] .site-footer__col h6,
[data-theme="dark"] .site-footer__socials a {
    color: var(--color-text);
}

[data-theme="dark"] .site-footer__legal li + li::before {
    background: rgba(245, 250, 252, 0.22);
}

@media (max-width: 1200px) {
    .site-footer__inner {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        padding-right: 0;
        border-right: 0;
        padding-bottom: 28px;
        border-bottom: 1px solid rgba(10, 59, 98, 0.1);
    }

    .site-footer__bottom {
        grid-template-columns: 1fr auto;
    }

    .site-footer__bottom-tagline {
        display: none;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 48px 20px 24px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        padding-bottom: 32px;
    }

    .site-footer__logo img {
        height: 56px;
    }

    .site-footer__highlights {
        flex-wrap: wrap;
    }

    .site-footer__highlights li {
        width: calc(50% - 16px);
    }

    .site-footer__bottom {
        grid-template-columns: 1fr;
        justify-items: flex-start;
        gap: 14px;
    }

    .site-footer__legal ul,
    .site-footer__socials {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
