:root {
    --primary-black: #0a0a0a;
    --secondary-gray: #6b7280;
    --light-gray: #f8fafc;
    --pure-white: #ffffff;
    --accent-green: #059669;
    --accent-emerald: #10b981;
    --subtle-border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Ultra-Clean Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--subtle-border);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* Dropdown Menu Styles */
.nav-links {
    position: relative;
}

.nav-links li {
    position: relative;
}

.nav-links .menu-item-has-children {
    position: relative;
}

.nav-links .menu-item-has-children > a::after {
    content: '\25BC';
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.6;
    position: static;
    transform: none;
    display: inline;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--subtle-border);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 220px;
    padding: 8px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    padding: 0;
}

.nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.nav-links .sub-menu a::after {
    display: none;
}

.nav-links .sub-menu a:hover {
    opacity: 1;
    background: var(--light-gray);
    color: var(--accent-green);
}

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

/* Hero Section with Background Image */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2560&q=80');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 40px 24px;
    color: white;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-subheadline {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.005em;
    color: #f9fafb;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    box-shadow: 0 4px 14px 0 rgba(5, 150, 105, 0.39);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(5, 150, 105, 0.5);
}

/* Impact Stats */
.stats {
    padding: 100px 24px;
    background: var(--light-gray);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Initiatives Section with Images */
.initiatives {
    padding: 120px 24px;
}

.initiatives-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

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

.initiative-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.initiative-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.initiative-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.initiative-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.heat-research {
    background-image: url('../images/heat-research.png');
}

.community-action {
    background-image: url('../images/community-action.png');
}

.policy-advocacy {
    background-image: url('../images/policy-advocacy.png');
}

.initiative-content {
    padding: 32px;
}

.initiative-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.initiative-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.initiative-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.initiative-link:hover {
    transform: translateX(4px);
    color: var(--accent-emerald);
}

/* About Section */
.about {
    padding: 120px 24px;
    background: var(--light-gray);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 480px;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.005em;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.about-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-link:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-2px);
}

.about-image {
    aspect-ratio: 4/3;
    border-radius: 24px;
    background-image: url('../images/aarav-photo.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 24px 40px;
}

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

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        height: 100vh;
        padding: 0 20px;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .stats-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 48px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-emerald);
}