/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1e2a1e;
    background: #fefef7;
    margin: 0;
    /* padding-top will be set in media queries */
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER (mobile first, not sticky) ========== */
.site-header {
    background: #2c5f2d;
    color: white;
    padding: 10px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    top: auto;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Header container – horizontal layout */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Logo area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

.title-tagline h1 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.title-tagline h1 a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 0.7rem;
    opacity: 0.9;
    line-height: 1.2;
}

/* Navigation menu – transparent background */
.main-nav {
    background: transparent;
}
.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
}
.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 5px 0;
    background: transparent;
}
.main-nav a:hover {
    color: #ffc107;
    background: transparent;
}

/* Header contact (phone + facebook) */
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}
.phone-link, .social-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}
.phone-link:hover, .social-link:hover {
    color: #ffc107;
}

/* Hamburger button – hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}
.hamburger:hover {
    color: #ffc107;
}

/* ========== DESKTOP (≥769px) – fixed header, background lightening ========== */
@media (min-width: 769px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #2c5f2d;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .site-header.scrolled {
        background: #3a7a3b;  /* lighter green */
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    body {
        padding-top: 80px;  /* prevent content hiding under fixed header */
    }
    .main-nav ul {
        display: flex;
        gap: 20px;
    }
    .header-container {
        flex-wrap: nowrap;
    }
}

/* ========== MOBILE (≤768px) – hamburger menu, not sticky ========== */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    .site-header {
        position: relative;
        background: #2c5f2d;
    }
    .site-header.scrolled {
        background: #2c5f2d; /* no change on scroll for mobile */
    }
    /* Show hamburger */
    .hamburger {
        display: block;
    }
    /* Mobile navigation: hidden by default, toggled via JS */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c5f2d;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .main-nav.open {
        max-height: 400px; /* enough for menu items */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        background: #2c5f2d;
    }
    .main-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .main-nav a {
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .main-nav a:hover {
        background: #1e4a1e;
        color: #ffc107;
    }
    /* Adjust header container */
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }
    .logo-area {
        flex: 1;
    }
    .header-contact {
        font-size: 0.8rem;
        gap: 10px;
    }
}

/* ========== REMAINING STYLES (unchanged from your file) ========== */
/* Main content */
.site-main {
    background: white;
    padding: 40px 0;
    min-height: 60vh;
}

/* Footer */
.site-footer {
    background: #1e3a1e;
    color: #ddd;
    padding: 40px 0 20px;
    margin-top: 40px;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 30px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h3 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.footer-column p, .footer-column a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: #ffc107;
}

/* WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background 0.3s;
    z-index: 1000;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Google Map container */
.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.map-container iframe {
    width: 100%;
    height: 200px;
    border: 0;
}

/* Buttons & cards */
.btn {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #ffc107;
    color: #1e3a1e;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.section-title {
    font-size: 2rem;
    color: #2c5f2d;
    margin: 40px 0 20px;
    border-left: 5px solid #ffc107;
    padding-left: 15px;
}
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: #f9f9f2;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Team members grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.team-card h3 {
    margin: 15px 0 5px;
    color: #2c5f2d;
}
.team-card p {
    padding: 0 15px 20px;
    color: #555;
}

/* Project detail */
.project-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.project-item img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.project-detail h2 {
    margin-top: 30px;
    color: #2c5f2d;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 5px;
}
.detail-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}
.project-card {
    overflow: hidden;
    padding: 0 0 20px 0;
}
.project-card h3, .project-card p, .project-card .btn {
    padding: 0 20px;
}
.project-card .btn {
    display: inline-block;
    margin: 10px 20px;
}

/* Breadcrumb */
.breadcrumb {
    background: #f4f4f4;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: #2c5f2d;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #666;
}

/* Contact form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2c5f2d;
    outline: none;
}
.team-card p i {
    width: 20px;
    color: #2c5f2d;
}
.team-card a {
    color: #1e3a1e;
    text-decoration: none;
    transition: color 0.3s;
}
.team-card a:hover {
    color: #ffc107;
    text-decoration: underline;
}
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.social-icon {
    color: #ddd;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.15) translateY(-2px);
}
/* Brand colors on hover */
.social-icon.fa-facebook-f:hover {
    color: #1877f2;
}
.social-icon.fa-instagram:hover {
    color: #e4405f;
}
.social-icon.fa-tiktok:hover {
    color: #000000;
    text-shadow: 0 0 5px #00f2ea;
}
.social-icon.fa-youtube:hover {
    color: #ff0000;
}
.social-icon.fa-linkedin-in:hover {
    color: #0077b5;
}
.social-icon.fa-x-twitter:hover,
.social-icon.fa-twitter:hover {
    color: #1DA1F2;
}


/* Footer bottom row (copyright + privacy link) */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #3a5e3a;
    gap: 15px;
}
.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* Clickable phone & email styling in footer */
.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* Ensure map container is responsive */
.map-container iframe {
    width: 100%;
    height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}
/* Contact page specific */
.contact-hero {
    text-align: center;
    margin-bottom: 30px;
}
.contact-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: -15px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin: 30px 0;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.info-card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c5f2d;
}
.info-card h2 i {
    margin-right: 10px;
    color: #ffc107;
}
.contact-social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}
.contact-social-icon {
    color: #555;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}
.contact-social-icon:hover {
    transform: scale(1.15) translateY(-2px);
}
/* Brand colors for contact social icons */
.contact-social-icon.fa-facebook-f:hover { color: #1877f2; }
.contact-social-icon.fa-instagram:hover { color: #e4405f; }
.contact-social-icon.fa-tiktok:hover { color: #000; text-shadow: 0 0 3px #00f2ea; }
.contact-social-icon.fa-youtube:hover { color: #ff0000; }
.contact-social-icon.fa-linkedin-in:hover { color: #0077b5; }
.contact-social-icon.fa-x-twitter:hover,
.contact-social-icon.fa-twitter:hover { color: #1DA1F2; }

.form-card {
    padding: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c5f2d;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #2c5f2d;
    outline: none;
}
.btn-primary {
    background: #2c5f2d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: #ffc107;
    color: #1e3a1e;
    transform: translateY(-2px);
}
.privacy-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
    text-align: center;
}
.privacy-note a {
    color: #2c5f2d;
    text-decoration: none;
}
.privacy-note a:hover {
    text-decoration: underline;
}
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.half {
    flex: 1;
    min-width: 120px;
}
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* Center the heading inside the form card */
.form-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Center the submit button */
.contact-form .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* Remove underline from social icons on contact page */
.contact-social-icon {
    text-decoration: none !important;
}
.contact-hero .section-title {
    border-left: none;
    padding-left: 0;
}
/* Vertical divider between logo and tagline */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.vertical-divider {
    width: 2px;
    height: 40px;
    background-color: rgba(255,255,255,0.4);
}
.title-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.title-tagline .tagline {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.3;
}
/* Remove old h1 if you don't need it; but you can keep it hidden */
.title-tagline h1 {
    display: none;  /* because you already have logo and tagline only */
}
/* Match email link styling to phone link */
.phone-link, .email-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}
.phone-link:hover, .email-link:hover {
    color: #ffc107;
}
.tagline {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 180px;
}
/* ========== WORLD‑CLASS HOMEPAGE STYLES ========== */

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 85vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
}
.hero-btn {
    background: #ffc107;
    color: #1e3a1e;
    font-size: 1.1rem;
    padding: 14px 30px;
    border-radius: 40px;
}
.hero-btn:hover {
    background: white;
    color: #2c5f2d;
    transform: scale(1.05);
}

/* Vision & Mission Cards */
.v-m-section {
    margin: 40px 0;
}
.vision-card, .mission-card {
    text-align: center;
}
.vision-card .icon, .mission-card .icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Objectives with image */
.objectives-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
}
.objectives-text {
    flex: 1.2;
}
.objectives-image {
    flex: 0.8;
}
.objectives-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.objectives-list {
    list-style: none;
    padding: 0;
}
.objectives-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.objectives-list li i {
    color: #2c5f2d;
    margin-right: 10px;
}

/* Working Areas Cards */
.working-card {
    text-align: center;
}
.working-card i {
    font-size: 2.5rem;
    color: #2c5f2d;
    margin-bottom: 15px;
}
.working-card h3 {
    margin-bottom: 10px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Statistics / Impact */
.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background: #2c5f2d;
    color: white;
    padding: 50px 20px;
    border-radius: 20px;
    margin: 60px 0;
    text-align: center;
}
.stat-item {
    flex: 1;
    min-width: 150px;
    margin: 15px;
}
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #fef7e0, #f9eec1);
    text-align: center;
    padding: 60px 30px;
    border-radius: 24px;
    margin: 60px 0;
}
.cta-section h2 {
    color: #2c5f2d;
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-btn {
    background: #2c5f2d;
    margin-top: 20px;
    padding: 14px 35px;
    font-size: 1.1rem;
}
.cta-btn:hover {
    background: #ffc107;
    color: #1e3a1e;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .objectives-wrapper {
        flex-direction: column;
    }
    .stats-section {
        flex-direction: column;
        gap: 25px;
    }
    .gallery-item img {
        height: 180px;
    }
}
/* ========== UNIVERSAL PROJECT PAGE STYLES ========== */

/* Project Hero Section (for any project) */
.project-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}
.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.project-hero-content {
    position: relative;
    z-index: 2;
}
.project-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.project-hero p {
    font-size: 1.2rem;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.hero-stats span {
    background: rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 30px;
}

/* Project Tagline */
.project-tagline {
    text-align: center;
    background: #eaf7ea;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    font-size: 1.1rem;
}

/* Grid layouts for highlights, species, outcomes, structure */
.grid-3, .grid-4, .grid-flex {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
/* Card styles inside project pages */
.project-card {
    background: #f9f9f2;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.project-card i {
    font-size: 2rem;
    color: #2c5f2d;
    margin-bottom: 15px;
    display: inline-block;
}
.project-card h3 {
    margin-bottom: 10px;
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Two-column layout for coverage, investment */
.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}
.split-layout > div {
    flex: 1;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 12px;
}

/* Tables for data */
.data-table {
    width: 100%;
    border-collapse: collapse;
}
.data-table td, .data-table th {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.data-table tr:last-child td {
    border-bottom: none;
}

/* Service tags (like a grid of badges) */
.service-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 30px 0;
}
.service-tag {
    background: #2c5f2d;
    color: white;
    padding: 8px 12px;
    border-radius: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Outcome cards (used in outcomes grid) */
.outcome-card {
    text-align: center;
    background: #f9f9f2;
    padding: 25px;
    border-radius: 12px;
}
.outcome-card i {
    font-size: 2.5rem;
    color: #2c5f2d;
    margin-bottom: 15px;
}

/* Checklist (two columns) */
.checklist-2col {
    columns: 2;
    list-style: none;
    padding-left: 0;
}
.checklist-2col li {
    margin-bottom: 10px;
    break-inside: avoid;
}
@media (max-width: 600px) {
    .checklist-2col {
        columns: 1;
    }
}

/* Contact box for project pages */
.project-contact-box {
    background: #1e3a1e;
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}
.project-contact-box a {
    color: #ffc107;
    text-decoration: none;
}
.project-contact-box a:hover {
    text-decoration: underline;
}

/* Footer tagline for project pages */
.project-footer-tagline {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    padding: 20px;
    margin: 30px 0;
    background: #fef7e0;
    border-radius: 40px;
}

/* Back button */
.back-button {
    text-align: center;
    margin: 40px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-hero h1 { font-size: 1.6rem; }
    .hero-stats { flex-direction: column; gap: 10px; align-items: center; }
    .split-layout { flex-direction: column; }
}
.container ul, .container ol {
    padding-left: 1.5rem;
}
/* Notice box */
.notice-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    color: #856404;
}

/* Phase grid layout */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.phase-card {
    background: #f9f9f2;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.phase-card:hover {
    transform: translateY(-5px);
}
.phase-number {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.phase-card details {
    margin-top: 10px;
    font-size: 0.9rem;
}
.phase-card details summary {
    cursor: pointer;
    color: #2c5f2d;
    font-weight: bold;
    margin: 8px 0;
}
.phase-card details ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}
/* Gallery page specific styles */
.gallery-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.gallery-album-title {
    font-size: 1.6rem;
    color: #2c5f2d;
    margin: 40px 0 20px;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    background: #f9f9f2;
    font-weight: 500;
}

/* Lightbox effect (optional – you can implement later) */
@media (max-width: 600px) {
    .gallery-grid, .gallery-simple-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    .gallery-item img {
        height: 150px;
    }
}
/* Clickable folder headings */
.clickable-folder a {
    color: #2c5f2d;
    text-decoration: none;
    transition: color 0.2s;
}
.clickable-folder a:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* Back link styling */
.back-link {
    text-align: center;
    margin: 20px 0;
}

/* "View All" card (optional) */
.view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f0f0e8;
}
.view-all .btn {
    margin: 0;
}
/* ========== DROPDOWN MENU - VERTICAL & BELOW ========== */

/* Ensure main menu is flex (horizontal) */
.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown menu - hidden by default, vertical block */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    /* Force block display, not flex */
    display: block;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Dropdown items - vertical (block, not inline) */
.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}
.dropdown-menu li:last-child {
    border-bottom: none;
}

/* Dropdown links - green text, white background */
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #2c5f2d;
    text-decoration: none;
    background: white;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

/* Hover effect - text turns orange, background stays white (or very light) */
.dropdown-menu a:hover {
    color: #ffc107;
    background: white;   /* pure white background on hover */
}
/* If you want a subtle background on hover, use background: #fef7e0; */

/* Prevent any flex inheritance from parent */
.main-nav .dropdown-menu,
.main-nav .dropdown-menu ul {
    display: block;
}
/* Folder cards grid (main gallery) */
.folder-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.folder-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.folder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.folder-card a {
    text-decoration: none;
    color: inherit;
}
.folder-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.folder-card-media {
    width: 100%;
    height: 180px;
    background: #2c5f2d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}
.folder-card-media span {
    margin-top: 8px;
    font-size: 0.9rem;
}
.folder-card-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #2c5f2d;
    background: #f9f9f2;
}
/* Modal carousel */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}
.close-modal:hover {
    color: #ffc107;
}
.modal-carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.carousel-prev, .carousel-next {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.2s;
    z-index: 2002;
}
.carousel-prev:hover, .carousel-next:hover {
    background: #ffc107;
    color: #1e3a1e;
}
.modal-media-container {
    flex: 1;
    text-align: center;
}
.modal-media {
    max-width: 100%;
    max-height: 80vh;
    display: inline-block;
}
.modal-media img, .modal-media video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.modal-caption {
    text-align: center;
    color: white;
    margin-top: 15px;
    font-size: 1rem;
}
/* Make gallery items clickable */
.gallery-item {
    cursor: pointer;
}
@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        font-size: 1.5rem;
        padding: 5px 10px;
    }
    .close-modal {
        top: -30px;
        font-size: 28px;
    }
}
/* Gallery grid inside filtered view */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.gallery-item {
    background: #f4f4f4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    aspect-ratio: 1 / 1;  /* forces square container */
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* crops to fill the square */
    display: block;
    background: #e0e0e0;
}
.project-hero-img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.hero-full-img {
    width: 100%;
    height: auto;
    display: block;
}
/* Remove any overlay or background styles */