/* CSS Reset & Variables */
:root {
    /* Brand Colors - Official */
    --color-blue-dark: #171744;
    --color-green-light: #22b573;
    --color-green-dark: #006837;
    --color-yellow: #fcee21;
    --color-gray: #636363;
    --color-white: #ffffff;

    /* Theme Mappings - Blue as Primary */
    --color-bg: #0a0a1f;
    /* Darker background to contrast with blue */
    --color-bg-secondary: #0f0f30;
    /* Slightly deeper for contrast */
    --color-card-bg: rgba(255, 255, 255, 0.05);

    --color-primary: var(--color-blue-dark);
    /* Blue is now primary */
    --color-secondary: #2a2a6e;
    /* Lighter blue for hover */
    --color-accent: var(--color-yellow);

    --color-text-main: var(--color-white);
    --color-text-muted: #e0e0e0;
    /* Accessible gray */

    --glass-bg: rgba(23, 23, 68, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography Utils */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-gradient {
    background: linear-gradient(180deg, var(--color-yellow), var(--color-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    /* Removed neon glow for cleaner look */
}

.text-blue {
    color: var(--color-blue-dark);
    /* Remap to primary brand color */
}

.mt-2 {
    margin-top: 2rem;
}

/* Buttons - Solid & Clean */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-green-light);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    position: fixed;
    /* Fixed so it stays on top */
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    /* Solid Brand Blue */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo img {
    height: 50px;
}

/* Increased height for new logo */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

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

.btn-cta-nav {
    background-color: var(--color-green-light);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
}

.btn-cta-nav:hover {
    background-color: var(--color-green-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
}

/* Hero Section - Contained Card */
.hero-section {
    padding-top: 120px;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Abstract curves background for hero card */
.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(34, 181, 115, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(252, 238, 33, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content .highlight {
    display: block;
    /* Create a gradient text effect */
    background: linear-gradient(180deg, var(--color-yellow), var(--color-green-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    /* Centering */
    margin-right: auto;
}

/* Purpose Section (Split) */
.purpose-section {
    padding: var(--spacing-lg) 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.purpose-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.purpose-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.purpose-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Pillars Section */
.pillars-section {
    padding: 4rem 0 6rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background-color: var(--color-card-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle border */
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-blue-dark);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    /* White icons */
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #0a0a25 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact/Footer */
.footer-bg {
    background: #111133;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-wrapper-simple {
    margin-bottom: 3rem;
}

.contact-info-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-center p {
    color: var(--color-text-muted);
    margin: 2rem 0;
    font-size: 1.1rem;
}

.footer-logo {
    height: 80px;
    margin: 0 auto;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.whatsapp-btn svg {
    flex-shrink: 0;
}

.contact-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-details h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.5rem;
}

.contact-details p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-align: center;
}

/* Helper Utilities */
.img-rounded {
    width: 100%;
    border-radius: 12px;
}

/* Anims */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.6s ease-out;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(20px);
    transition: 0.6s ease-out;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Mobile */
@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .purpose-image {
        order: -1;
    }

    /* Image on top */
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #0f0f30 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-green-light), transparent);
}

.stats-header {
    margin-bottom: 3rem;
}

.stats-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stats-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-green-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-green-light);
    box-shadow: 0 10px 40px rgba(34, 181, 115, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(252, 238, 33, 0.1), rgba(34, 181, 115, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-green-light);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-green-light);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.loading-spinner {
    color: var(--color-text-muted);
    font-size: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stats-cta {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-message {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-header h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}