@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-blue: #1A365D;
    --secondary-blue: #2B6CB0;
    --accent-orange: #F6AD55;
    --accent-teal: #4FD1C5;
    --text-dark: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --bg-light: #F7FAFC;
    --glass-bg: rgba(255, 255, 255, 0.8);

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

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    line-height: 1;
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        gap: 0.5rem;
    }

    .logo img {
        height: 32px;
    }
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.cta-btn {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.25);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-secondary {
    background: var(--accent-orange);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
}

/* Belief Section */
.belief {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
}

.section-tag {
    color: var(--secondary-blue);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.belief h2 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Pillars Section */
.pillars {
    padding: 100px 0;
}

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

.pillar-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Stats Section */
.stats {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
}

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

.about-split {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

/* Join & Donate */
.action-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.volunteer-box {
    background: var(--accent-teal);
    color: var(--white);
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-box {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Contact */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-blue);
    font-weight: 500;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.instagram-link i {
    font-size: 1.5rem;
    color: #E1306C;
    /* Instagram branded color */
}

.instagram-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.contact-form-container {
    flex: 1;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

/* Nav Helper Classes */
.mobile-only {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer {
    background: var(--primary-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .mobile-donate {
        display: inline-block;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }

    section {
        padding: 80px 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .action-sections {
        grid-template-columns: 1fr;
    }

    .about-split {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-form-container {
        width: 100%;
        padding: 2rem !important;
    }

    .contact .about-split>div:first-child {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .contact-form-container {
        padding: 1.5rem !important;
    }

    .btn-secondary,
    .btn-outline {
        padding: 0.75rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
}

/* Floating WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #FFF;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}