/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-900: #0a2540;
    --blue-700: #0d47a1;
    --blue-600: #1565c0;
    --blue-500: #1e88e5;
    --blue-400: #42a5f5;
    --blue-100: #e3f2fd;
    --blue-50: #f5f9ff;
    --gray-800: #2d3748;
    --gray-600: #4a5568;
    --gray-500: #718096;
    --gray-400: #a0aec0;
    --gray-300: #cbd5e0;
    --gray-200: #e2e8f0;
    --gray-100: #f0f4f8;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --accent: var(--blue-500);
    --accent-dark: var(--blue-700);
    --accent-light: var(--blue-100);
    --text-primary: var(--gray-800);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --bg-primary: var(--white);
    --bg-alt: var(--gray-50);
    --border: var(--gray-200);
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
    scroll-margin-top: 72px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.7; }

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.125rem;
    max-width: 560px;
    margin-bottom: 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.25);
}

.btn-primary:hover {
    background: var(--blue-900);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.25);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--blue-900);
    border: 1.5px solid var(--blue-900);
}

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

.btn-full { width: 100%; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links li { list-style: none; }

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
}

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

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
}

.nav-cta:hover { background: var(--blue-900) !important; }

.nav-cta.active {
    background: var(--blue-900) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.menu-overlay.open { display: flex; }

.menu-overlay a {
    text-decoration: none;
    color: var(--blue-900);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color var(--transition);
}

.menu-overlay a:hover { color: var(--accent); }

.menu-overlay a.nav-cta-overlay {
    background: var(--accent);
    color: var(--white);
    padding: 14px 40px;
    border-radius: var(--radius);
    margin-top: 8px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-50) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    max-width: 720px;
    margin: 0 auto 24px;
    color: var(--blue-900);
}

.hero-accent { color: var(--accent); }

.hero-sub {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-mesh::before,
.hero-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: meshFloat 12s ease-in-out infinite;
}

.hero-mesh::before {
    width: 60%;
    height: 60%;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.35) 0%, rgba(30, 136, 229, 0) 70%);
    animation-delay: 0s;
}

.hero-mesh::after {
    width: 50%;
    height: 50%;
    bottom: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.3) 0%, rgba(13, 71, 161, 0.15) 50%, rgba(13, 71, 161, 0) 70%);
    animation-delay: -6s;
    animation-direction: reverse;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 136, 229, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 136, 229, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(5%, 10%) scale(1.05);
    }
    50% {
        transform: translate(-3%, 5%) scale(0.95);
    }
    75% {
        transform: translate(2%, -5%) scale(1.02);
    }
}

.hero-mesh-blob1,
.hero-mesh-blob2,
.hero-mesh-blob3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-mesh-blob1 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 50%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.2) 0%, transparent 70%);
    animation: meshFloat 15s ease-in-out infinite;
    animation-delay: -3s;
}

.hero-mesh-blob2 {
    width: 35%;
    height: 35%;
    top: 10%;
    right: 20%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.18) 0%, transparent 70%);
    animation: meshFloat 18s ease-in-out infinite;
    animation-delay: -8s;
}

.hero-mesh-blob3 {
    width: 30%;
    height: 30%;
    bottom: 10%;
    left: 30%;
    background: radial-gradient(circle, rgba(13, 71, 161, 0.15) 0%, transparent 70%);
    animation: meshFloat 14s ease-in-out infinite;
    animation-delay: -5s;
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--blue-900) 0%, #0d3b6e 50%, var(--blue-900) 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    transition: all var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-400);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-300);
    margin-top: 4px;
}

/* ===== About ===== */
.about {
    padding: 50px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: #bbdefb;
    box-shadow: var(--shadow-md);
}

.value-card h3 { margin-bottom: 8px; color: var(--blue-900); font-size: 1.25rem; }
.value-card p { font-size: 0.9375rem; }

/* ===== Services ===== */
.services {
    padding: 50px 0;
    background: var(--bg-alt);
}

.services h2 { margin-bottom: 8px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: #90caf9;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 { margin-bottom: 12px; color: var(--blue-900); }
.service-card p { font-size: 0.9375rem; }

/* ===== Team ===== */
.team {
    padding: 50px 0;
    background: var(--white);
}

.team h2 { margin-bottom: 8px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
}

.team-card:hover {
    border-color: #90caf9;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.team-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.team-icon svg {
    width: 100%;
    height: 100%;
}

.team-card h3 { margin-bottom: 4px; color: var(--blue-900); }
.team-role { font-size: 0.875rem; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.team-bio { font-size: 0.9375rem; }

/* ===== Contact ===== */
.contact {
    padding: 50px 0;
    background: var(--blue-900);
    color: var(--white);
}

.contact h2 { color: var(--white); margin-bottom: 16px; }
.contact .section-label { color: var(--blue-400); }
.contact-info p { color: var(--gray-300); margin-bottom: 32px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
}

.contact-icon { font-size: 1.125rem; }
.contact-item a { color: var(--blue-400); text-decoration: none; }
.contact-item a:hover { color: var(--white); }

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--gray-50);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
    background: var(--white);
}

.form-group textarea { resize: vertical; }

/* ===== Footer ===== */
.footer {
    background: var(--blue-900);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-tagline { color: var(--gray-400); font-size: 0.9375rem; margin-top: 12px; }
.footer-logo-img {
    height: 22px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9375rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== Cookie Banner ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--blue-900);
    color: var(--white);
    padding: 24px;
    z-index: 200;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner p {
    color: var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner a {
    color: var(--blue-400);
    text-decoration: underline;
}

.cookie-banner a:hover { color: var(--white); }

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 28px;
    white-space: nowrap;
    transition: background var(--transition);
}

.btn-cookie-accept:hover { background: var(--blue-900); }

.btn-cookie-settings {
    background: transparent;
    color: var(--gray-300);
    border: 1.5px solid var(--gray-400);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 28px;
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-cookie-settings:hover {
    color: var(--white);
    border-color: var(--white);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.35s; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .nav-toggle { display: flex; }
    .hero { padding: 120px 0 80px; }
    .stats-bar .container { grid-template-columns: 1fr 1fr; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .stat-number { font-size: 1.5rem; }
}