/* Climate Resilience Page Styles */
.climate-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/climate-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
}

.climate-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.climate-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.climate-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.climate-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.climate-intro h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2a6d3e;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.climate-stats {
    padding: 80px 0;
    background-color: #2a6d3e;
    color: white;
}

.climate-stats h2 {
    text-align: center;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
}

.climate-solutions {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.climate-solutions h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2a6d3e;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #2a6d3e;
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: #d0d0d0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.solution-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.solution-text {
    flex: 1;
}

.solution-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2a6d3e;
}

.solution-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.solution-text li {
    margin-bottom: 10px;
}

.solution-image {
    flex: 1;
}

.solution-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.climate-projects {
    padding: 80px 0;
}

.climate-projects h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2a6d3e;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: #2a6d3e;
}

.project-content p {
    margin-bottom: 15px;
    color: #555;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    color: #666;
}

.project-stats i {
    margin-right: 5px;
    color: #2a6d3e;
}

.climate-resources {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.climate-resources h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2a6d3e;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-icon {
    font-size: 2.5rem;
    color: #2a6d3e;
    margin-bottom: 20px;
}

.resource-card h3 {
    margin-bottom: 15px;
    color: #2a6d3e;
}

.resource-card p {
    margin-bottom: 20px;
    color: #666;
}

.climate-cta {
    padding: 80px 0;
    background-color: #2a6d3e;
    color: white;
    text-align: center;
}

.climate-cta h2 {
    margin-bottom: 20px;
}

.climate-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn.primary {
    background-color: white;
    color: #2a6d3e;
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }
    
    .solution-content {
        flex-direction: column;
    }
    
    .solution-image {
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* Leaflet Map Styles */
#operations-map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.map-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.map-description {
    flex: 1;
    padding: 20px;
}

.map-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.map-description li {
    margin-bottom: 10px;
}

/* Custom marker icons */
.agriculture-icon {
    background-color: #2ecc71;
    border-radius: 50%;
    border: 2px solid white;
}

.water-icon {
    background-color: #3498db;
    border-radius: 50%;
    border: 2px solid white;
}

.restoration-icon {
    background-color: #e74c3c;
    border-radius: 50%;
    border: 2px solid white;
}
.save-icon {
    background-color: #000435;
    border-radius: 50%;
    border: 2px solid white;
}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
    }
    
    #operations-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .climate-hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .solutions-tabs {
        flex-direction: column;
    }
}