/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5f3f;
    --secondary-color: #7fb069;
    --accent-color: #f4a261;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
    flex-wrap: nowrap;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.49);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.15rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    margin-bottom: 0;
}

.logo-image {
    height: auto;
    max-height: 81px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo h1 {
    font-size: 27.5px !important;
    color: #000000;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin-left: 30rem;
    margin-bottom: 0;
    padding-left: 0;
    padding-bottom: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.donate-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donate-btn:hover {
    background: #e76f51;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&h=1080&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 95, 63, 0.3), rgba(127, 176, 105, 0.2));
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(45, 95, 63, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Hero Carousel */
.hero-carousel {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 1.8rem;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 8px;
    font-weight: bold;
}

.carousel-control:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

/* Make the PREV control match the NEXT control (smaller, no box) */
.carousel-control.prev {
    background: transparent;
    color: var(--primary-color);
    padding: 0.35rem;
    font-size: 1.05rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    box-shadow: none;
}

.carousel-control.prev:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-50%);
}

.carousel-control.next {
    right: 30px;
}

/* Make the NEXT control smaller and remove the highlighted box */
.carousel-control.next {
    background: transparent;
    color: var(--primary-color);
    padding: 0.35rem;
    font-size: 1.05rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    box-shadow: none;
}

.carousel-control.next:hover {
    /* keep hover subtle — no box or scaling */
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-50%);
}

.carousel-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
    border-color: var(--primary-color);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--white);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-card {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Image Slider Section */
.slider-section {
    padding: 6rem 0;
    background: var(--white);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.slide-caption h3 {
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-caption p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    border-radius: 5px;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.about-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.about-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.sustainability-card {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: stretch;
}

.sustainability-card .about-card-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin-bottom: 0;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}

.sustainability-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.5rem;
    color: #ffffff !important;
    z-index: 2;
}

.biodiversity-card {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: stretch;
}

.biodiversity-card .about-card-image {
    width: 100%;
    height: 100%;
    min-height: 350px;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin-bottom: 0;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
}

.biodiversity-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.5rem;
    color: #ffffff !important;
    z-index: 2;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Wildlife Section */
.wildlife-section {
    padding: 0;
    background: var(--white);
}

.wildlife-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.wildlife-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.wildlife-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.wildlife-image {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.wildlife-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--white);
    padding: 2rem;
    transform: translateY(60px);
    transition: var(--transition);
}

.wildlife-card:hover .wildlife-overlay {
    transform: translateY(0);
}

.wildlife-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.wildlife-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.learn-more-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.learn-more-btn:hover {
    background: #e76f51;
    transform: translateX(5px);
}

/* Wildlife feature: full-height image left, content right */
.wildlife-feature {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}
.wildlife-feature-image {
    flex: 1;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
}

/* Full-width roadkill image under the section header */
.wildlife-full-image {
    width: 100%;
    height: 100vh; /* fill viewport height so image is full-length */
    min-height: 420px;
    background-size: contain; /* show whole image without cropping */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 12px;
    margin: -1rem 0 2.5rem 0; /* pulled up closer to subtitle */
    overflow: hidden;
}

/* Reduce gap specifically for the Wildlife section header */
.wildlife-section .section-header {
    margin-bottom: 0; /* tightened */
}
.wildlife-section .section-header .section-title {
    margin-bottom: 0.25rem; /* small title gap */
}
.wildlife-section .section-header .section-subtitle {
    margin-bottom: 0.25rem; /* tighten subtitle spacing so image sits close below it */
}

.wildlife-feature-content {
    flex: 1;
    padding: 3rem;
    background: #8b133a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px;
}
.feature-header {
    margin-bottom: 1.5rem;
}
.feature-title {
    display: inline-block;
    background: #000;
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
}
.wildlife-feature-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
    .wildlife-feature { flex-direction: column; }
    .wildlife-feature-image { min-height: 260px; }
    .wildlife-full-image { height: 60vh; min-height: 240px; background-size: contain; }
    .wildlife-feature-content { padding: 1.5rem; }
}

/* Wildlife Fullscreen Layout */
.wildlife-fullscreen {
    display: flex;
    min-height: 30vh;
    width: 100%;
}

.wildlife-fullscreen-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wildlife-fullscreen-content {
    flex: 1;
    background: #8b133a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 3rem;
}

.wildlife-fullscreen-content .feature-header {
    margin-bottom: 2rem;
}

.wildlife-fullscreen-content .feature-title {
    display: inline-block;
    background: #000;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wildlife-fullscreen-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.btn-action {
    background: #f4b41a;
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    align-self: center;
    margin-top: 1rem;
}

.btn-action:hover {
    background: #e6a815;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 26, 0.4);
}

@media (max-width: 968px) {
    .wildlife-fullscreen {
        flex-direction: column;
        min-height: auto;
    }

    .wildlife-fullscreen-image {
        min-height: 50vh;
    }

    .wildlife-fullscreen-content {
        padding: 3rem 2rem;
    }

    .wildlife-fullscreen-content .feature-title {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
    }

    .wildlife-fullscreen-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .wildlife-fullscreen-image {
        min-height: 40vh;
    }

    .wildlife-fullscreen-content {
        padding: 2rem 1.5rem;
    }

    .wildlife-fullscreen-content .feature-title {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .btn-action {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}



/* Videos Section */
.videos-section {
    padding: 6rem 0;
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 2rem;
}

.project-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Impact Section */
.impact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(30, 70, 45, 0.95), rgba(45, 95, 63, 0.92)),
                url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=1920&h=1080&fit=crop') center/cover fixed;
    color: var(--white);
    text-align: center;
    position: relative;
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.impact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Oswald', sans-serif;
    color: var(--white);
}

.impact-text {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 15rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.counter-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.5px;
}


/* Utility: justified paragraph text for story/long copy */
.text-justify {
    text-align: justify;
    text-align-last: left;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.text-justify p {
    text-align: justify;
    text-align-last: left;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .text-justify p {
        /* prevent extreme gaps on narrow devices */
        text-align-last: left;
        word-spacing: 0.02em;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 0.4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 43px;
    width: auto;
    object-fit: contain;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.8;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .donate-btn {
        display: none;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background: #f5f5f5;
        padding: 0;
        margin-top: 0.5rem;
        display: none;
    }

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

    .dropdown-link {
        padding: 0.6rem 2rem;
        font-size: 1rem;
        background: var(--light-color);
    }

    .dropdown-link:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    .logo-image {
        max-height: 65px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .carousel-control {
        padding: 1rem 1.3rem;
        font-size: 1.3rem;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.prev {
        background: transparent;
        color: var(--primary-color);
        padding: 0.35rem;
        font-size: 1rem;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: none;
        box-shadow: none;
    }

    .carousel-control.next {
        right: 15px;
    }

    .carousel-control.next {
        background: transparent;
        color: var(--primary-color);
        padding: 0.35rem;
        font-size: 1rem;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: none;
        box-shadow: none;
    }

    .carousel-indicators {
        bottom: 80px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .slider {
        height: 400px;
    }

    .slider-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slide-caption h3 {
        font-size: 1.5rem;
    }

    .slide-caption p {
        font-size: 1rem;
    }

    .wildlife-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .carousel-control {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.prev {
        background: transparent;
        color: var(--primary-color);
        padding: 0.25rem;
        font-size: 0.95rem;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: none;
        box-shadow: none;
    }

    .carousel-control.next {
        right: 10px;
    }

    .carousel-control.next {
        background: transparent;
        color: var(--primary-color);
        padding: 0.25rem;
        font-size: 0.95rem;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: none;
        box-shadow: none;
    }

    .carousel-indicators {
        bottom: 60px;
        gap: 10px;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-logo-image {
        height: 33px;
    }

    .slider {
        height: 300px;
    }

    .slider-btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }

    .slide-caption {
        padding: 2rem 1rem 1rem;
    }

    .slide-caption h3 {
        font-size: 1.3rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    .logo-image {
        max-height: 48px;
    }

    .logo h1 {
        display: none;
    }

    .nav-container {
        padding: 0.15rem 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }
}

.logo-image {
    max-width: 100%;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
