:root {
    --primary-color: #586726;
    --secondary-color: #7F8878;
    --accent-color: #C3CBBE;
    --dark-text: #10243A;
    --white: #FFFFFF;
    --light-bg: #f9f9f9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Height of the sticky header */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

nav {
    /* Reset or specific nav styles if needed */
}

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

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

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #46521e;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(16, 36, 58, 0.7), rgba(16, 36, 58, 0.7)), url('images/hero image.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

/* Section General */
.section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text p {
    margin-bottom: 20px;
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Founder Section */
.founder-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.founder-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.founder-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.founder-details span {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* About Values */
.about-values {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.program-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.program-card ul {
    margin-top: 15px;
}

.program-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-card li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Impact Section */
.impact-section {
    position: relative;
    background: url('images/hero image.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 36, 58, 0.8);
}

.impact-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    margin: 20px;
}

.counter-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
}

.counter-item span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.counter-item p {
    font-size: 1.2rem;
    margin-top: 10px;
}

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

/* Get Involved */
.involvement-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.involvement-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.involvement-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.involvement-item li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.involvement-item li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    height: 120px;
    background-color: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Donation Section */
.donate-section {
    background-color: var(--secondary-color);
    color: var(--white);
}

.donate-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.donate-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

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

.donate-section .btn:hover {
    background-color: var(--accent-color);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--light-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--dark-text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 10px;
}

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

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile-only Utility */
.mobile-only {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .impact-counters {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 45px;
    }

    .mobile-only {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Changed from center to allow scrolling if needed */
        padding-top: 50px;
        transition: 0.4s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .involvement-lists {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .impact-counters {
        flex-direction: column;
        gap: 40px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}
