@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
    /* adjust this value to your navbar height */
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Arial, sans-serif;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background-color: #fff;
    padding: 0 5%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.navbar-brand:hover {
    cursor: pointer;
}

.btn-volunteer {
    background-color: #014421;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-volunteer:hover {
    background-color: #026234;
    color: white;
}

.btn-donate {
    border: 2px solid #014421;
    background: none;
    color: #014421;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.btn-donate:hover {
    background-color: #014421;
    color: white;
}

.navbar-nav .nav-link {
    color: black;
    font-size: 1rem;
    padding: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: #014421;
    font-weight: bold;
}


.dropdown-menu a {
    font-size: 15px;
    color: black;
}

.dropdown-menu a:hover {
    color: #025836 !important;
    font-weight: bolder;
    background-color: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #025836 !important;
    background-color: transparent !important;
}

.dropdown-item:active {
    color: #025836 !important;
    background-color: rgba(2, 88, 54, 0.1) !important;
}

.logo-img {
    height: 55px;
    width: 200px;
}

/* HERO SECTION */

.hero {
    position: relative;
    height: 90vh;
    background: url("assets/hero-image.jpg") center/cover no-repeat;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 4s ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-fade .carousel-item.active {
    opacity: 0;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    height: 100%;
    width: 100%;
    margin: auto;
    background: linear-gradient(to right,
            rgba(0, 85, 51, 0.9) 30%,
            rgba(0, 85, 51, 0.7) 60%,
            rgba(0, 85, 51, 0.1) 100%);
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: white;
}

.no-overlay {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: #025836;
}

.hero-content {
    max-width: 1300px;
    margin: 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h1 span {
    display: block;
}

.hero-content p {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin: 20px 0;
    line-height: 1.4;
    font-weight: 500;
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    height: 1000px;
    width: 5000px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 3;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    height: 56px;
    color: #004225;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 30px 0 0 0;
    z-index: 5;
}

.hero-button .arrow {
    width: 1.5rem;
    margin-left: 10px;
}

.red-span {
    color: rgba(186, 6, 6, 1);
}
/* ABOUT SECTION - FIXED MOBILE RESPONSIVENESS */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 5%;
    max-width: 1500px;
    margin: auto;
}

.about-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #025836;
}

.about-description {
    max-width: 95%;
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.6;
    color: black;
    text-align: justify;
}

.about-us-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #025836;
    height: 56px;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 30px 0 0 0;
    z-index: 5;
}

.about-us-button:hover {
    background: #a8d4b8;
    color: #2d5a3d;
}

.about-arrowIcon {
    margin-left: 8px;
    width: 1.5rem;
    transition: transform 0.3s ease;
}

.about-us-button:hover .about-arrowIcon {
    transform: translateX(5px);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    height: 22rem;
    width: 100%;
    max-width: 500px;
    object-fit: cover;
    border-radius: 4px;
}
.facts-groups-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    padding: 80px 0;
}

.facts-groups-section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #025836;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.facts-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.facts-slide.active {
    opacity: 1;
}

.facts-overlay-text {
    text-align: center;
    color: white;
    max-width: 80%;
    position: relative;
    z-index: 2;
}

.facts-overlay-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.facts-overlay-text p {
    font-size: clamp(1rem, 3vw, 2rem);
}

/* PARTNERS SECTION */
.partners {
    background-color: #d9d9d9;
    padding: 60px 5%;
    overflow-x: hidden;
}

.partners .title p {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 30px;
}

.logo-carousel-wrapper {
    height: 100px;
    display: flex;
}

.logo-carousel {
    display: flex;
    gap: 40px;
    animation: scroll-left 30s linear infinite;
}

.logo-carousel img {
    height: clamp(2rem, 4vw, 3rem);
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-carousel-wrapper:hover .logo-carousel {
    animation-play-state: paused;
}

/* NEWSLETTER CTA */
.newsletter-cta {
    background-color: rgba(241, 255, 239, 1);
    padding: 1.25rem 5%;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-items {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: auto;
}

.newsletter-cta .text {
    color: #025836;
    line-height: 25px;
}

.newsletter-cta p {
    font-weight: 700;
    font-size: 16px;
}

.newsletter-cta span {
    font-weight: 400;
    font-style: italic;
}

.terms {
    border-bottom: 1px solid #004225;
}

.donation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #025836;
    height: 56px;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: auto;
    border: 1px solid #004225;
}

.donation-btn:hover {
    scale: 105%;
    background-color: #fff;
    color: #025836;
}

.email-field {
    background-color: #F1FFEF;
    border: 1px solid #025836;
    height: 2.7rem;
    width: 225px;
    padding: 0 10px;
    border-radius: 4px;
}

.email-field::placeholder {
    color: #025836;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #004225;
    height: 2.7rem;
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px 0 0 0;
    border: 1px solid #004225;
}

.subscribe-btn:hover {
    background-color: #026234;
    color: white;
}

/* FEATURED SECTION - DO NOT CHANGE LAYOUT */
.featured-section {
    padding: 60px 5%;
    max-width: 1500px;
    margin: auto;
}

.featured-section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #025836;
    margin-bottom: 2rem;
}

.featured-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.featured-card-1 {
    grid-column: span 2;
}

.featured-news-card {
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-news-card:hover,
.featured-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 166, 81, 0.12);
    border-radius: 8px;
}

.featured-news-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-news-content {
    padding-top: 1rem;
}

.featured-meta {
    font-size: 0.75rem;
    color: gray;
    margin-bottom: 0;
}

.featured-news-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #004b2d;
}

.featured-news-description {
    font-size: 1rem;
    color: #333;
}

.featured-divider {
    border-top: 1px solid #ccc;
    margin: 1rem 0;
}

.featured-mini-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.featured-mini-card {
    display: flex;
    gap: 0.8rem;
    text-decoration: none;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-mini-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-mini-content {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-mini-content .featured-meta {
    font-size: 0.7rem;
    color: gray;
}

.featured-mini-content .featured-news-title {
    font-weight: 600;
    color: #004b2d;
    font-size: 0.9rem;
}

.featured-btn-container {
    display: flex;
    justify-content: center;
}

.featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    height: 56px;
    color: #004225;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 50px 0 0 0;
    border: 1px solid #004225;
}

.featured-button:hover {
    background-color: #025836;
    color: #fff;
    scale: 105%;
}

.featured-button .arrow {
    width: 1.5rem;
    margin-left: 10px;
}

/* Tablets */
@media (max-width: 1024px) {
    .featured-top-section {
        justify-content: center;
    }

    .featured-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card-1 {
        grid-column: span 2;
    }

    .featured-mini-news {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-news-card img {
        height: 400px;
    }
}

/* Phones */
@media (max-width: 800px) {
    .featured-top-section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .featured-card-1 {
        grid-column: span 1;
    }

    .featured-mini-news {
        grid-template-columns: 1fr;
    }

    .featured-news-card img {
        height: 220px;
    }

    .featured-section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .featured-news-title {
        font-size: 0.95rem;
    }

    .featured-news-description {
        font-size: 0.9rem;
    }

    .featured-mini-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .featured-mini-card img {
        width: 100%;
        height: 180px;
    }

    .featured-mini-content {
        align-items: center;
        margin-top: 10px;
    }
}

/* PASSION CTA */
.passion-cta {
    background-color: rgba(241, 255, 239, 1);
    padding: 2.5rem 5%;
    gap: 1rem;
}

.passion-stuff {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
}

.donation-text {
    color: #025836;
    line-height: 25px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin: auto;
}

.impact-section-custom {
    background: #f8f9fa;
    padding: 80px 5%;
}

.impact-container-custom {
    max-width: 1300px;
    margin: 0 auto;
}

.impact-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.impact-header-custom h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #025836;
}

.impact-nav-buttons-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.impact-btn-circle-custom {
    width: 48px;
    height: 48px;
    border: 1.5px solid #025836;
    border-radius: 50%;
    color: #025836;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
}

.impact-btn-circle-custom:hover {
    background: #025836;
    color: #fff;
}

.impact-indicators-custom {
    display: flex;
    gap: 0.5rem;
}

.impact-indicators-custom button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #ccc;
    transition: all 0.3s;
}

.impact-indicators-custom button.active {
    background: #025836;
    transform: scale(1.2);
}

.impact-grid-custom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 1024px) {
    .impact-grid-custom {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.impact-story-text-custom {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.2;
    white-space: pre-line;
}

.impact-attribution-custom {
    border-top: 1px solid rgb(38, 38, 38);
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.impact-attribution-custom h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.impact-video-custom {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.impact-video-custom iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 0;
}


.impact-counter-custom {
    text-align: center;
    margin-top: 2rem;
    color: #555;
}

/* VOLUNTEER SECTION */
.title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #025836;
    margin-bottom: 30px;
}

#volunteer {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f1ffef;
}

.title h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 30px;
}

.details {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1300px;
    margin: auto;
    margin-bottom: 20px;
    align-items: stretch;
    justify-content: space-between;
}

.details>div,
.details .img-container {
    flex: 1 1 50%;
    min-width: 280px;
    display: flex;
    align-items: stretch;
}

.details p {
    margin: 0 30px 0 0;
    padding: 10px 20px 10px 0;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    line-height: 1.7;
    text-align: justify;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.img-container {
    position: relative;
    overflow: hidden;
}

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

.vln-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #004225;
    height: 2.7rem;
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 20px 0 0 0;
    border: 1px solid #004225;
}

/* FOOTER */
.footer {
    background: linear-gradient(rgba(0, 53, 30, 0.9), rgba(0, 53, 30, 0.9)),
        url('../images/resources/URNI-eagle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 20px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding: 20px 0 20px 0;
    margin: auto;
    border-bottom: 0.5px solid white;
    max-width: 1300px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.office-contact {
    line-height: 20px;
    margin: 30px 0 0 0;

}

.office-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: white;
    text-decoration: none;
}


.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: flex-start;
    margin-left: 80px;
    padding-left: 40px;
}

.footer-nav-heading {
    margin: 0 0 10px 0;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-links a:hover {
    color: #7dd87f;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: auto;
}

.footer-social .social-icons a:hover {
    color: #7dd87f;
}

.footer h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

.volunteer-section {
    margin: 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.volunteer-btn {
    background-color: white;
    color: #004225;
    width: 12.2rem;
    text-decoration: none;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin: 5px 0;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.volunteer-btn:hover {
    background-color: #b1ffa8;
    color: black;
}

.volunteer-btn .arrow {
    width: 1.5rem;
    margin-left: 10px;
}

.footer-social .social-icons {
    margin: 0;
}

.footer-social .social-icons a {
    color: white;
    font-size: 25px;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-social .social-icons a {
    margin-right: 15px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    font-size: 14px;
    padding-top: 10px;
    max-width: 1200px;
    margin: auto;
}

/* RESPONSIVE MEDIA QUERIES */

/* Large tablets */
@media (max-width: 1024px) {
    navbar-nav {
        gap: 1rem;
    }

    .hero {
        height: 80vh;
    }

    .about-us-button {
        margin: auto;
    }

    .about-content {
        text-align: center;
        align-items: center;
        margin-bottom: 15px;
        max-width: fit-content;
    }

    .about-card {
        display: flex;
        flex-direction: column;
    }

    .about-image,
    .hero-about-image {
        height: 25rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pSlide {
        flex-direction: column;
        min-height: 500px;
    }

    .pContentSection {
        padding: 40px;
        height: auto;
        min-height: 300px;
    }

    .passion-stuff {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .title h2 {
        margin-bottom: 10px;
    }

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

    .details p {
        text-align: center;
    }

    .facts-groups-section {
        height: 40vh;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    .office-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-nav {
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .footer-nav-links {
        align-items: center;
    }

    .footer-social {
        padding: 0;
        margin: 0;
        align-items: center;
    }
}

/* Medium tablets - 9 inches and below */
@media (max-width: 850px) {
    .hero {
        height: 80vh;
    }

    .about-us-button {
        margin: 10px 0 0 0;
    }

    .about-content {
        text-align: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .about-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-image,
    .hero-about-image {
        height: 20rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fact-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .explore-section {
        min-height: 60vh;
    }

    .explore-buttons {
        justify-content: center;
    }

    .cta-items {
        flex-direction: column;
        text-align: center;
    }

    .passion-stuff {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .newsletter-cta .text {
        margin-bottom: 1rem;
    }

    .email-field {
        width: 100%;
        max-width: 250px;
    }

    /* News section responsive - maintaining layout */
    .featured-news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-card-1 {
        grid-column: 1/3;
    }

    .featured-mini-news {
        grid-template-columns: 1fr 1fr;
    }

    .featured-top-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .facts-groups-section {
        height: 30vh;
    }

    /* Footer - flex column for screens less than 9 inches (768px) */

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
        padding: 20px 0;
    }

    .footer-nav {
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .footer-nav-links {
        align-items: center;
    }

    .footer-social {
        padding: 0;
        margin: 0;
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        width: 160px;
    }

    .hero {
        height: 60vh;
    }

    .about-us-button {
        margin: 10px 0 0 0;
    }

    .about-content {
        text-align: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .about-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-image,
    .hero-about-image {
        height: 12.5rem;
    }

    .passion-stuff {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .icon-placeholder img {
        width: 3.5rem;
        height: 2.5rem;
    }

    .ip-1 img {
        width: 3rem;
    }

    /* News section mobile */
    .featured-news-grid {
        grid-template-columns: 1fr;
    }

    .featured-card-1 {
        grid-column: 1;
    }

    .featured-mini-news {
        grid-template-columns: 1fr;
    }

    .featured-mini-card {
        width: 100%;
    }

    .featured-mini-card img {
        width: 150px;
        height: 100px;
    }

    .facts-groups-section {
        padding: 0;
    }

    .facts-groups-section-title {
        display: none;
    }

    .impact-header-custom {
        display: flex;
        flex-direction: column;
    }

    .impact-grid-custom {
        text-align: center;
    }


    .partners {
        padding: 2rem 5%;
    }

    .logo-carousel-wrapper {
        height: 80px;
    }


    .close-btn {
        top: -40px;
        font-size: 30px;
    }

    .title {
        text-align: center;
    }

    .details p {
        text-align: center;
        margin: 0;
    }

    .volunteer-section {
        justify-content: center;
        align-items: center;
    }
}

/* Extra small mobile */
@media (max-width: 320px) {
    .hero {
        height: 50vh;
    }

    .about-us-button {
        margin: 10px 0 0 0;
    }

    .about-content {
        text-align: center;
        align-items: center;
        margin-bottom: 15px;
    }

    .about-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .passion-stuff {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .explore-section {
        min-height: 50vh;
    }

    .details p {
        text-align: center;
        margin: 0;
    }

    .volunteer-section {
        justify-content: center;
        align-items: center;
    }
}

/* Initial hidden state */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
}

/* Visible state */
.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transition applied to all sections */
section {
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}