:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --secondary: #2c3e50;
    --accent: #3498db;
    --text: #4a4a4a;
    --light: #f8faf9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2ecc71 0%, #3498db 100%);
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
    --container: 1100px;
    --section-pad: 14rem 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .btn-primary {
        padding: 0.8rem 1.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        gap: 0.5rem;
    }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: url('hero.webp') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    margin-left: 1rem;
    transition: all 0.3s;
}

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

/* About Section */
.about-section {
    padding: var(--section-pad);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    letter-spacing: -1px;
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 1rem;
}

.about-text p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Mission Section */
.mission-section {
    background: var(--light);
    padding: var(--section-pad);
}

.text-center .section-title::after {
    margin: 1rem auto 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.mission-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(30px);
}

.mission-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Pillars Section */
.pillars-section {
    padding: var(--section-pad);
    background: var(--secondary);
    color: var(--white);
}

.section-title.white {
    color: var(--white);
}

.pillar-image {
    background: linear-gradient(45deg, rgba(46, 204, 113, 0.2), rgba(52, 152, 219, 0.2)), url('hero.webp') center/cover;
    height: 400px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.pillar-list {
    list-style: none;
}

.pillar-list li {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 3px solid var(--primary);
}

/* Tech Section */
.tech-section {
    padding: var(--section-pad);
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.tech-item {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    border-top: 5px solid var(--primary);
}

.tech-item h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.tech-item p {
    font-size: 1rem;
    color: var(--text);
}

@media (max-width: 600px) {
    .tech-content {
        grid-template-columns: 1fr;
    }
}

/* Impact Section */
.impact-section {
    padding: var(--section-pad);
    background: linear-gradient(rgba(46, 204, 113, 0.05), rgba(52, 152, 219, 0.05));
    position: relative;
    overflow: hidden;
}

.impact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.impact-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background: #1a252f;
    color: rgba(255,255,255,0.7);
}

footer .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

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

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.reveal-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

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

.reveal-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

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