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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Figtree', system-ui, sans-serif;
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.2;
}
img, video { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); object-fit: cover; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === PREMIUM TOKENS (Blush & Navy Theme) === */
:root {
  --bg: #fff5f5; /* Blush light background */
  --card-bg: #ffffff;
  --text: #1a1a2e; /* Navy text */
  --text-muted: #4a4a6a;
  --accent: #000080; /* Navy accent */
  --accent-soft: #ffe4e4;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 128, 0.1);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* === BACKGROUND ANIMATION === */
.animated-mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg);
    background-image:
        radial-gradient(at 0% 0%, hsla(350, 100%, 95%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(220, 30%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(350, 100%, 95%, 1) 0, transparent 50%);
    background-size: 400% 400%;
    animation: meshGradient 15s linear infinite;
}

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === STRUCTURAL BASELINES === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; width: 100%; }

/* Spacing Strategy: Tight-then-expand */
section { position: relative; }
section:nth-of-type(1), section:nth-of-type(2), section:nth-of-type(3) { padding: 60px 0; }
section:nth-of-type(4), section:nth-of-type(5) { padding: 80px 0; }
section:nth-of-type(n+6) { padding: 110px 0; }

@media (max-width: 768px) {
    section { padding: 4rem 0 !important; }
}

/* === HEADER LAYOUT: Dual Header === */
.top-info-bar {
    height: 40px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-items { display: flex; gap: 20px; }
.social-icons { display: flex; gap: 15px; }

.main-nav {
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.main-nav.visible {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--accent);
}

@media (max-width: 768px) {
    .top-info-bar { display: none; }
    .mobile-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
}

/* === HERO STYLE === */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.4) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* === BUTTON STYLE === */
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-accent-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

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

/* === SECTION DIVIDER === */
.section-divider {
    width: 100%;
    height: 6px;
    background: var(--accent);
}

/* === MASONRY GRID & CARDS === */
.masonry-grid {
    column-count: 3;
    column-gap: 2rem;
    width: 100%;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
}

@media (max-width: 992px) { .masonry-grid { column-count: 2; } }
@media (max-width: 768px) { .masonry-grid { column-count: 1; } }

.premium-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 128, 0.1);
}

/* === OFFSET GRID LAYOUT === */
.offset-grid-item {
    margin-bottom: 60px;
}

.offset-grid-item:nth-child(even) {
    padding-left: 100px;
}

@media (max-width: 768px) {
    .offset-grid-item:nth-child(even) {
        padding-left: 0;
    }
}

/* === INTERACTIVE TIMELINE === */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-soft);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: var(--accent);
    transform: translateX(-50%);
    height: 0;
    transition: height 0.5s ease;
}

.timeline-node {
    position: relative;
    margin-bottom: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.node-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-node.active .node-dot {
    background: var(--accent);
    transform: scale(1.3);
}

.node-content {
    position: absolute;
    width: 40%;
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    opacity: 0.6;
    transition: var(--transition);
}

.timeline-node:nth-child(odd) .node-content { left: 0; transform: translateX(-20%); }
.timeline-node:nth-child(even) .node-content { right: 0; transform: translateX(20%); }

.timeline-node.active .node-content {
    opacity: 1;
    transform: translateX(0);
}

/* === STATS SECTION === */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.stat-card {
    flex: 0 1 250px;
    text-align: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* === TESTIMONIALS === */
.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.rating {
    color: #ffc107;
}

/* === FOOTER STYLE: Two-Tone Split === */
.split-footer {
    display: flex;
    flex-wrap: wrap;
    min-height: 400px;
}

.footer-left {
    flex: 1 1 50%;
    background: var(--accent);
    color: white;
    padding: 80px 5%;
}

.footer-right {
    flex: 1 1 50%;
    background: white;
    padding: 80px 5%;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-left, .footer-right { flex: 1 1 100%; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.max-800 { max-width: 800px; margin: 0 auto; }
