/* Color Palette */
:root {
    --primary: #1a2b6b;          /* Deep navy from logo */
    --primary-dark: #0f1b45;     /* Darker navy for hover */
    --primary-light: #eef2ff;    /* Very light blue tint */
    --accent: #2d9bf0;           /* Bright blue from logo */
    --accent-dark: #1a7fd4;      /* Darker bright blue */
    --accent-light: #e8f4fd;     /* Very light cyan tint */
    --text-main: #1e293b;        /* Dark slate */
    --text-muted: #64748b;       /* Medium slate */
    --text-light: #ffffff;       /* White */
    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #f8fafc;           /* Very subtle blue-grey */
    --bg-footer: #0f1b45;        /* Dark navy footer */
    --border: rgba(26, 43, 107, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-padding: 6rem 0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 20px rgba(45, 155, 240, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, #ffffff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--text-light);
}

.btn-outline {
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    background-color: transparent;
    color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-white {
    background-color: var(--text-light);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* Badge */
.badge {
    display: inline-flex;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-dark {
    background-color: var(--accent-light);
    color: var(--accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

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

.logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url('images/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px; /* For header offset */
}

.hero-content .badge {
    margin-bottom: 1.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border: none;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    justify-content: center;
    width: 100%;
}

.hero-stat__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.hero-stat__label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Challenge Section */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.challenge-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.challenge-card:hover::before {
    opacity: 1;
}

.challenge-card__num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.challenge-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.challenge-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Stats Banner Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 5rem 0;
    color: var(--text-light);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-card__label {
    font-size: 0.9rem;
    opacity: 0.85;
}

.stat-card__source {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-expanded-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.5s ease-in-out;
}

.service-expanded-content.expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0.25rem;
    font-size: 0.8rem;
}

.feature-list li strong {
    color: var(--text-main);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
}

.service-link:hover {
    color: var(--primary);
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.approach-content .feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.approach-content .feature-list li:last-child {
    border-bottom: none;
}

.approach-content .feature-list li::before {
    top: 1rem;
    font-size: 1rem;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: url('images/approach.jpg') center/cover no-repeat;
    border-radius: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: var(--section-padding);
}

.cta-container {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--bg-footer);
    padding: 4rem 0 2rem;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-links li i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--text-light);
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .challenge-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        text-align: center;
    }

    .nav-btn.mobile-open {
        display: inline-flex;
        position: absolute;
        top: calc(100% + 220px); /* position below nav links */
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
