/* =========================================
   GLOBAL STYLES
   ========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* =========================================
   REFORESTATION PAGE STYLES
   ========================================= */
.hero-section {
    position: relative;
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.7); /* Blue overlay to match brand */
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-size: 2rem;
    color: #7ed321; /* Green accent */
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

.info-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.info-section h3 {
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 20px;
}

.info-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.highlight-text {
    background-color: #e8f5e9;
    border-left: 5px solid #7ed321;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.highlight-text p {
    margin: 0;
    color: #2e7d32;
    font-weight: bold;
}

.stats-banner {
    background-color: #7ed321;
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stats-banner h3 {
    margin: 0;
    font-size: 2rem;
}

.stats-banner p {
    font-size: 1.2rem;
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
}

.final-message {
    background: linear-gradient(135deg, #0056b3 0%, #004a9e 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.final-message h3 {
    color: #7ed321;
    margin-bottom: 20px;
}

.final-message p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive adjustments for content */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .info-section {
        padding: 20px;
    }
}

/* =========================================
   HEADER STYLES
   ========================================= */
.header {
    background-color: #0056b3;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: #0056b3;
    font-size: 28px;
    border: 3px solid white;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: -1px;
}

.logo-text span {
    color: #7ed321;
}

.tagline {
    font-size: 11px;
    color: #7ed321;
    margin-top: -5px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.menu-btn {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation States */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    background-color: #0056b3;
    padding: 0;
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    background-color: #004a9e;
    padding-left: 20px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: 16px;
    font-weight: normal;
    text-transform: none;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dropdown-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Desktop Navigation Override */
@media (min-width: 769px) {
    .header {
        padding: 15px 40px;
    }

    .menu-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 20px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 16px;
        border-top: none;
        border-radius: 5px;
    }

    .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #0056b3;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1000;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-link {
        padding: 12px 20px;
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.footer {
    background-color: #0056b3;
    padding: 40px 20px 20px;
    color: white;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    transform: scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: #0056b3;
}

.sitemap {
    max-width: 1200px;
    margin: 0 auto;
}

.sitemap-title {
    color: #7ed321;
    font-size: 28px;
    margin-bottom: 30px;
    font-style: italic;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sitemap-column a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sitemap-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 30px 15px 15px;
    }
}