/* Base Styles */
:root {
    --sky-blue: #00AEEF;
    --forest-green: #007A3D;
    --earth-beige: #D9A066;
    --white: #FFFFFF;
    --dark-teal: #004D40;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 150px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-teal);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--forest-green);
}

.btn-donate {
    background-color: var(--forest-green);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-donate:hover {
    background-color: #006633;
    color: white;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 800px;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10;
    transition: background-color 0.3s;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: white;
}

/* Hero Buttons (same as before but with slight adjustments) */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-learn, .btn-join {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-learn {
    background-color: var(--forest-green);
    color: white;
    border: 2px solid var(--forest-green);
}

.btn-learn:hover {
    background-color: transparent;
    color: white;
}

.btn-join {
    background-color: var(--sky-blue);
    color: white;
    border: 2px solid var(--sky-blue);
}

.btn-join:hover {
    background-color: transparent;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .carousel-slide h1 {
        font-size: 2rem;
    }
    
    .carousel-slide p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-learn, .btn-join {
        width: 200px;
        text-align: center;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 60vh;
    }
    
    .carousel-slide h1 {
        font-size: 1.8rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}
.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-learn, .btn-join {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-learn {
    background-color: var(--forest-green);
    color: white;
    border: 2px solid var(--forest-green);
}

.btn-learn:hover {
    background-color: transparent;
    color: white;
}

.btn-join {
    background-color: var(--sky-blue);
    color: white;
    border: 2px solid var(--sky-blue);
}

.btn-join:hover {
    background-color: transparent;
    color: white;
}

/* About ECAF Section */
.about-ecaf {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-columns {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    color: var(--dark-teal);
    margin-bottom: 20px;
}

.tagline {
    font-style: italic;
    color: var(--forest-green);
    font-weight: bold;
    margin: 20px 0;
}

.btn-read {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-read:hover {
    background-color: #006633;
}

/* Focus Areas Section */
.focus-areas {
    padding: 60px 0;
    text-align: center;
}

.focus-areas h2 {
    color: var(--dark-teal);
    margin-bottom: 40px;
}

.focus-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.focus-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.focus-card h3 {
    color: var(--forest-green);
    margin-bottom: 15px;
}

.focus-card p {
    margin-bottom: 20px;
}

.focus-card a {
    color: var(--sky-blue);
    text-decoration: none;
    font-weight: bold;
}

.focus-card a:hover {
    text-decoration: underline;
}

/* Consultancy Services Section */
.consultancy-services {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.consultancy-services h2 {
    color: var(--dark-teal);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: var(--forest-green);
    margin-bottom: 15px;
}

.btn-explore {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-explore:hover {
    background-color: #006633;
}

/* Why We Exist Section */
.why-exist {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/drought-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.why-exist blockquote {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-style: italic;
}

.btn-impact {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--sky-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-impact:hover {
    background-color: #0088cc;
}

/* Get Involved Section */
.get-involved {
    padding: 60px 0;
    text-align: center;
}

.get-involved h2 {
    color: var(--dark-teal);
    margin-bottom: 40px;
}

.involvement-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.option {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 250px;
}

.option-icon {
    font-size: 1.5rem;
    color: var(--forest-green);
    margin-bottom: 15px;
}

.option h3 {
    color: var(--forest-green);
    margin-bottom: 15px;
}

.btn-involved {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-involved:hover {
    background-color: #006633;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-teal);
    color: white;
    padding: 50px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--earth-beige);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--earth-beige);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--earth-beige);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* Page-specific styles */
.about-page, .focus-page, .consultancy-page, .contact-page {
    padding: 60px 0;
}

.about-section, .focus-area, .consultancy-section {
    margin-bottom: 40px;
}

.vision {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--forest-green);
    font-style: italic;
}

.core-values, .core-services {
    list-style-type: none;
    padding-left: 20px;
}

.core-values li, .core-services li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.core-values li::before, .core-services li::before {
    content: "•";
    color: var(--forest-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta-section {
    text-align: center;
    margin-top: 50px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--forest-green);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.btn-contact:hover {
    background-color: #006633;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: var(--forest-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #006633;
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--dark-teal);
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--forest-green);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .nav-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-columns {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-learn, .btn-join {
        width: 200px;
        text-align: center;
    }
}