/* =========================================
   GLOBAL.CSS
   Shared across ALL pages of the website.
   Change variables here to update the
   entire website at once.
   ========================================= */

/* ─── DESIGN TOKENS ────────────────────── */
:root {

    /* Brand Colors */
    --primary:         #0a3d91;
    --secondary:       #12c7ea;
    --dark:            #111111;
    --text:            #666666;

    /* Gradients */
    --gradient-brand:  linear-gradient(135deg, #0a3d91, #12c7ea);

    /* Shadows */
    --shadow:          0 15px 50px rgba(0, 0, 0, .08);
    --shadow-hover:    0 25px 60px rgba(0, 0, 0, .14);

    /* Spacing */
    --section-padding:         120px;
    --section-padding-tablet:   90px;
    --section-padding-mobile:   70px;
    --section-gap:              70px;
    --card-gap:                 30px;

    /* Layout */
    --container-width: 1400px;
    --radius-card:     30px;
    --radius-btn:      14px;
    --radius-badge:    50px;

    /* ── GLOBAL TYPOGRAPHY ────────────────
       Change font sizes here to update
       headings/body text site-wide.
    ─────────────────────────────────────── */

    /* H1 — hero / page titles */
    --font-h1-min:   42px;
    --font-h1-max:   62px;

    /* H2 — section headings */
    --font-h2-min:   30px;
    --font-h2-max:   55px;

    /* H3 — card / sub-headings */
    --font-h3:       26px;

    /* Body / description text */
    --font-body:     17px;
    --line-body:     1.9;

    /* Small / meta text */
    --font-small:    13px;

    /* Badge / tag text */
    --font-badge:    14px;

    /* Button text */
    --font-btn:      17px;

    /* Nav link text */
    --font-nav:      17px;
}

/* ─── RESET ─────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f3f7fc;
    color: var(--dark);
    padding-top: 137px; /* 42px top-bar + 95px header */
}

img {
    max-width: 100%;
    display: block;
}

input, select, textarea, button {
    font-family: 'Poppins', sans-serif;
}

/* ─── LAYOUT ─────────────────────────────── */
.container {
    width: min(var(--container-width), 92%);
    margin-inline: auto;
}

.section-space {
    padding: var(--section-padding) 0;
}

/* ─── GLOBAL TYPOGRAPHY ──────────────────── */
/* .global-h1 {
    font-size: clamp(var(--font-h1-min), 6vw, var(--font-h1-max));
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px;
}

.global-h2 {
    font-size: clamp(var(--font-h2-min), 5vw, var(--font-h2-max));
    line-height: 1.1;
    font-weight: 800;
} */

h1.global-h1 {
    font-size: clamp(var(--font-h1-min), 6vw, var(--font-h1-max));
    letter-spacing: normal !important;
    line-height: 1;
}

h2.global-h2 {
    font-size: clamp(var(--font-h2-min), 5vw, var(--font-h2-max));
    line-height: 1.1;
    font-weight: 700 !important;
    letter-spacing: normal !important;
}


.global-h3 {
    font-size: var(--font-h3);
    line-height: 1.3;
    font-weight: 700;
}

.global-p {
    font-size: var(--font-body);
    line-height: var(--line-body);
    color: var(--text);
}

/* ─── GLOBAL BUTTONS ─────────────────────── */
.global-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-btn);
    transition: all .35s ease;
}

.global-btn:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
}

/* ─── SECTION TITLE (reusable) ────────────── */
.section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto var(--section-gap);
}

/* ─── TOP RUNNING BAR ────────────────────── */
.top-running-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background: #ffffff;
    z-index: 99999;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.marquee-content {
    white-space: nowrap;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    animation: marquee 24s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}

/* ─── MAIN HEADER ────────────────────────── */
.main-header {
    position: fixed;
    top: 42px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.navbar {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-wrapper { flex-shrink: 0; }

.logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    display: block;
}

.logo-text {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-links a {
    text-decoration: none;
    color: #111;
    font-size: var(--font-nav);
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .35s;
}

.nav-links a:hover::after { width: 100%; }

.desktop-btn { display: flex; }

.header-btn {
    padding: 16px 28px;
    border-radius: var(--radius-btn);
    background: var(--gradient-brand);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: .35s;
}

.header-btn:hover { transform: translateY(-5px); }

/* ─── HAMBURGER ──────────────────────────── */
.menu-toggle {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-btn);
    background: #f4f7fb;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: .35s;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #111;
    transition: .35s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 137px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: #fff;
    z-index: 9998;
    transition: .45s ease;
}

.mobile-menu.active { height: calc(100vh - 137px); }

.mobile-menu-inner {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    text-decoration: none;
    color: #111;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.mobile-btn {
    margin-top: 24px;
    padding: 18px;
    border-radius: var(--radius-btn);
    background: var(--gradient-brand);
    color: #fff !important;
    text-align: center;
    border: none !important;
}

/* ─── PREMIUM FOOTER ─────────────────────── */
.premium-footer {
    position: relative;
    background: #ffffff;
    padding-top: 140px;
    padding-bottom: 0 !important;
    overflow: hidden;
    border-top: 1px solid #e9eef8;
}

.premium-footer::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(10, 61, 145, .04);
    top: -320px;
    right: -200px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 2;
    padding-bottom: 70px;
}

.footer-logo {
    display: inline-block;
    font-size: 34px;
    line-height: 1.2;
    color: #111;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 26px;
}

.footer-about p {
    color: #666;
    line-height: 1.9;
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 34px;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f3f7ff;
    border: 1px solid #e8eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: .4s;
}

.footer-socials a:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-6px);
}

.footer-links-column h3,
.footer-contact-column h3 {
    color: #111;
    font-size: 24px;
    margin-bottom: 28px;
}

.footer-links-column a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 16px;
    transition: .3s;
}

.footer-links-column a:hover {
    color: var(--primary);
    transform: translateX(6px);
}

.footer-contact-item {
    color: #666;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid #e9eef8;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p { color: #777; }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    transition: .3s;
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ─── RESPONSIVE — GLOBAL ────────────────── */

/* TABLET */
@media (max-width: 992px) {
    body { padding-top: 110px; }

    .nav-links   { display: none; }
    .desktop-btn { display: none; }
    .menu-toggle { display: flex; }

    .footer-main-grid { grid-template-columns: 1fr 1fr; }

    .mobile-menu { top: 113px; }
    .mobile-menu.active { height: calc(100vh - 113px); }

    .navbar {
        min-height: auto;
        padding: 14px 0;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body { padding-top: 115px; }

    .section-space { padding: var(--section-padding-mobile) 0; }

    .global-h1 {
        font-size: 44px;
        line-height: 1.15;
        letter-spacing: -2px;
    }

    .global-h2 { font-size: 34px; line-height: 1.2; }
    .global-h3 { font-size: 24px; }

    .global-p {
        font-size: 15px;
        line-height: 1.8;
    }

    .logo      { font-size: 18px; }
    .logo-text { font-size: 12px; }

    .footer-main-grid { grid-template-columns: 1fr; gap: 40px; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-running-bar { height: 38px; }
    .marquee-content { font-size: 13px; }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .container   { width: 94%; }
    .global-h1   { font-size: 32px; }
    .global-h2   { font-size: 26px; }
    .global-h3   { font-size: 22px; }
    .global-btn  { padding: 16px 20px; font-size: 15px; }
}

span.section-badge-hero {
    color: #fff;
}

a.important-link-card:hover .important-link-arrow {
    color: #10add9;
}

.notice-wrapper span {
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}