/* 1. VARIABLES & RESET */
:root {
    --bg-light: #f2f1ec;
    --dark-blue: #365b6d;
    --bright-blue: #289dd2;
    --accent-gray: #c2cbcc;
    --white-alt: #f1f0eb;
    --nav-height: 80px;
}

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

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background-color: var(--bg-light); 
    color: var(--dark-blue); 
    line-height: 1.6; 
}

/* 2. REUSABLE LAYOUT COMPONENTS */
.container { 
    padding: 80px 10%; 
    text-align: center; 
}

.bg-alt { 
    background-color: var(--white-alt); 
    padding: 60px 10%; 
}

.btn { 
    display: inline-block; 
    margin-top: 20px; 
    padding: 12px 30px; 
    background: var(--bright-blue); 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* 3. NAVIGATION BAR */
.navbar { 
    background-color: var(--bg-light); /* Matches #f2f1ec from logo */ 
    padding: 10px 5%; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 2000; 
    /* Subtle shadow removed for a "flatter" blend, or keep it for depth */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo { 
    height: 70px; /* Slightly larger to showcase the logo detail */
    display: block;
}

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

.nav-links li { 
    margin-left: 25px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--dark-blue); /* #365b6d from scheme */
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--bright-blue); /* #289dd2 from scheme */
}

#lang-toggle { 
    background: var(--bright-blue); 
    color: white; 
    border: none; 
    padding: 5px 12px; 
    cursor: pointer; 
    border-radius: 4px; 
    font-weight: bold; 
}

/* 4. HERO SECTIONS */
.hero { 
    height: 80vh; 
    background: url('banner.jpg') no-repeat center center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
}

.hero-overlay { 
    background: rgba(54, 91, 109, 0.6); 
    padding: 40px; 
    border-radius: 8px; 
    width: 80%; 
}

.about-hero {
    background: linear-gradient(rgba(54, 91, 109, 0.8), rgba(54, 91, 109, 0.8)), url('banner.jpg') center/cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: var(--nav-height); 
}

/* 5. CONTENT BLOCKS & GRIDS */
.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
}

.info-card { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    border-bottom: 4px solid var(--bright-blue); 
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: left;
}

.content-block h2 {
    color: var(--bright-blue);
    margin-bottom: 20px;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 6. RESPONSIVE DESIGN (MOBILE) */
.hamburger { 
    display: none; 
    cursor: pointer; 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.hamburger span { 
    display: block; 
    width: 100%; 
    height: 3px; 
    background-color: var(--dark-blue); 
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger { 
        display: flex; 
    }

    .nav-links { 
        display: none; 
        position: absolute; 
        top: 80px; 
        right: 0; 
        background-color: var(--bg-light); /* Ensures menu matches on mobile */ 
        width: 100%; 
        flex-direction: column; 
        padding: 20px; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active { 
        display: flex; 
        animation: slideDown 0.3s ease-out;
    }

    .nav-links li { 
        margin: 15px 0; 
        margin-left: 0;
    }
}

/* 7. ANIMATIONS */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Impact Page Specifics */
.data-date {
    font-style: italic;
    color: var(--accent-gray);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.stat-card h2 {
    font-size: 3.5rem;
    color: var(--bright-blue);
    margin: 10px 0;
}

.charts-placeholder {
    padding: 40px;
    border: 2px dashed var(--accent-gray);
    border-radius: 10px;
    color: var(--dark-blue);
}
/* Update Tag Styling */
.update-tag {
    font-style: italic;
    color: var(--accent-gray);
    margin-top: 10px;
}
/* Get Involved Page Specifics */
.involved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.involved-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.involved-card:hover {
    transform: scale(1.02);
}

.involved-card h2 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.special-projects {
    margin-top: 50px;
    padding: 60px 15%;
    border-radius: 15px;
}
/* Gallery Page Specifics */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--bright-blue);
}

/* Before/After Side-by-Side */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.comparison-item p {
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* General Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-card p {
    margin-top: 10px;
    font-style: italic;
    color: var(--dark-blue);
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--accent-gray);
    margin: 60px auto;
    width: 50%;
}

@media (max-width: 600px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}
/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    color: var(--bright-blue);
    margin-bottom: 20px;
}

.whatsapp-btn {
    background-color: #25D366; /* Official WhatsApp Green */
}

/* Social Media Section */
.social-section {
    padding: 60px 20px;
    border-radius: 15px;
    text-align: center;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    font-size: 2.5rem;
    color: var(--dark-blue);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--bright-blue);
    transform: translateY(-5px);
}
.contact-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item .label {
    color: var(--bright-blue);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.contact-item .value span {
    font-weight: 600;
}
/* Footer Styles */
.site-footer {
    background-color: var(--bg-light); /* Matches Nav and Logo background #f2f1ec */
    padding: 60px 5% 20px 5%;
    border-top: 1px solid var(--accent-gray);
    color: var(--dark-blue);
    margin-top: 50px;
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 15px;
}

.footer-slogan {
    font-style: italic;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bright-blue);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--dark-blue);
    transition: color 0.3s;
}

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

.footer-icons {
    display: flex;
    gap: 20px;
    font-size: 1.8rem;
}

.footer-icons a {
    color: var(--dark-blue);
    transition: transform 0.3s, color 0.3s;
}

.footer-icons a:hover {
    color: var(--bright-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(54, 91, 109, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    .footer-icons {
        justify-content: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
/* Gallery Slider Styling - Fixed Window */
.slider-container {
    position: relative;
    max-width: 800px; /* Limits the width so it's not "massive" */
    height: 500px;    /* Sets a fixed height for a professional, uniform look */
    margin: 40px auto;
    overflow: hidden; /* This hides the images that aren't active */
    border-radius: 15px;
    background: #000; /* Black background fills any gaps for odd-sized photos */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slider-track {
    display: flex;
    height: 100%; /* Ensures track fills the container height */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.slide img {
    width: 100%;
    height: 100%;
    /* CRITICAL: This scales images perfectly without stretching */
    object-fit: contain; 
    background-color: #f2f1ec; /* Matches your logo background */
}

.slide p {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    margin: 0;
    background: rgba(242, 241, 236, 0.9); /* Semi-transparent logo color */
    color: #365b6d; /* Your brand dark blue */
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

/* Slider Controls - Better Visibility */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(54, 91, 109, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.slider-prev:hover, .slider-next:hover {
    background: #289dd2; /* Your brand bright blue */
    transform: translateY(-50%) scale(1.1);
}

/* Homepage Impact Dashboard - Spacing Fix */
.home-impact-dashboard .container {
    max-width: 1200px; /* Keeps the stats from spreading too far */
    margin: 0 auto;
    padding: 0 40px; /* Extra side padding for the whole section */
}

.dashboard-intro h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.dashboard-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 60px;
}

.impact-stats-row {
    display: grid;
    /* Adjusting minmax to 220px ensures cards shrink before they overlap */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px; /* Increased from 20px to 50px for significant "breathing room" */
    margin-bottom: 60px;
    align-items: start;
}

.metric-box {
    padding: 30px 15px; /* Added internal padding to the boxes */
    background: rgba(255, 255, 255, 0.03); /* Subtle backing to define the space */
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.metric-box:hover {
    transform: scale(1.05);
}

/* Number Size Adjustment */
.metric-value {
    font-size: 3.2rem; /* Scaled down slightly to prevent horizontal overflow */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #289dd2;
    white-space: nowrap; /* Prevents "kg" or "lbs" from dropping to a new line */
}

.metric-value small {
    font-size: 1.5rem;
    margin-left: 5px;
    text-transform: uppercase;
}

/* Label Spacing */
.metric-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    min-height: 3rem; /* Ensures labels align even if one is 2 lines and another is 1 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Bars */
.metric-bar {
    height: 4px;
    width: 60px;
    margin: 0 auto;
    border-radius: 2px;
}

.bottle-bar { background-color: #2ecc71; }
.weight-bar { background-color: #f1c40f; }
.mission-bar { background-color: #e74c3c; }
.weight-lbs-bar { background-color: #289dd2;}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    .impact-stats-row {
        gap: 30px;
    }
    .metric-value {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .impact-stats-row {
        grid-template-columns: 1fr; /* Stack vertically on small phones */
        gap: 40px;
    }
}

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

.pillar {
    background: #fdfdfd;
    padding: 25px;
    border-left: 5px solid #289dd2; /* Utila Blue Accent */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pillar h4 {
    color: #365b6d;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
}
/* Core Values Styling */
.uic-values {
    padding: 80px 0;
    background-color: #f2f1ec;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
}

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

.value-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 157, 210, 0.1);
}

.value-card ion-icon {
    font-size: 3rem;
    color: #289dd2; /* Utila Blue */
    margin-bottom: 20px;
}

.value-card h3 {
    color: #365b6d; /* Brand Dark Blue */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Partners Page Specifics */
.page-header {
    background-color: #365b6d;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.partners-grid-section {
    padding: 80px 0;
}

.partners-detailed-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.partner-card-large {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    gap: 40px;
}

.partner-logo {
    flex: 0 0 200px;
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%); /* Keeps it professional */
    transition: filter 0.3s ease;
}

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

.partner-text h3 {
    font-size: 1.8rem;
    color: #365b6d;
    margin-bottom: 15px;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #289dd2;
    font-weight: 700;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partner-card-large {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .partner-logo {
        flex: 0 0 auto;
        width: 150px;
    }
}
/* Mission Photo Styling - Centered Fix */
.mission-image-container {
    margin-top: 40px;
    width: 100%;
    display: flex;         /* Creates a flex container */
    justify-content: center; /* Centers the content horizontally */
    align-items: center;     /* Centers the content vertically if needed */
}

.mission-photo {
    width: 100%;
    max-width: 900px;      /* Matches the width of your centered text */
    height: auto;
    display: block;        /* Removes bottom whitespace */
    margin: 0 auto;        /* Traditional centering backup */
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .mission-image-container {
        margin-top: 25px;
        padding: 0 15px;    /* Adds a little breathing room on phones */
    }
}

/* Center the grid and title */
#wednesday-info .container {
    text-align: center;
}

#wednesday-info h2 {
    margin-bottom: 40px;
    color: var(--dark-blue);
}

/* Icon styling */
.info-icon {
    width: 120px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure the cards are centered and have proper spacing */
.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    border-bottom: 4px solid var(--bright-blue);
}

.impact-summary-section {
    padding-top: 0; /* Tightens the gap between the stats and the image */
    padding-bottom: 60px;
}

.mission-image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.mission-photo {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
