/* =========================================
   RESET & BASE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Encode Sans Expanded', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Encode Sans Expanded', sans-serif;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.container {
    width: min(1200px, 90%);
    margin: auto;
}

/* =========================================
   TEXT ALIGNMENT - JUSTIFIED
========================================= */

/* Content paragraphs: equal left & right edges */
.about-content > p,
.mv-card p,
.contact-info > p,
.program-card p,
.event-content p,
.footer-brand p,
.support-text p,
.welcome-text p,
.about-content p,
.contact-info p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Keep centered text in centered contexts */
.slide-content p,
.section-heading p,
.testimonial-card p,
.footer-bottom p {
    text-align: center;
    text-align-last: center;
}

/* Footer contact items use flex layout - keep left aligned */
.footer-column p {
    text-align: left;
    text-align-last: left;
}

/* Ensure equal left & right edges on mobile too */
@media (max-width: 768px) {
    .welcome-text p,
    .about-content > p,
    .mv-card p,
    .contact-info > p,
    .program-card p,
    .event-content p,
    .footer-brand p,
    .support-text p {
        text-align: justify;
        text-align-last: left;
        hyphens: auto;
        overflow-wrap: break-word;
    }
}

/* =========================================
   VARIABLES
========================================= */

:root {
    --green: #56b231;
    --green-dark: #004607;
    --green-light: #b4ffa6;
    --green-bg: #e6f1e4;
    --orange: #ff6317;
    --white: #ffffff;
    --dark: #1a2332;
    --gray: #666;
    --light-gray: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.15);
    --radius: 14px;
    --radius-lg: 20px;
}

/* =========================================
   COMMON
========================================= */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h1 {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--green-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-heading p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
}

.section-heading.light h1 {
    color: var(--white);
}

.section-heading.light p {
    color: rgba(255, 255, 255, 0.85);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--orange);
    margin: 0 0 20px;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.divider.center {
    margin: 0 auto 20px;
}

.divider:hover {
    width: 120px;
}

.btn-dark-green {
    display: inline-block;
    padding: 13px 30px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--green-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 12px;
}

.btn-dark-green:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 178, 49, 0.3);
}

.btn-dark-green.full {
    width: 100%;
    margin-right: 0;
}

/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

.nav-title {
    font-family: 'Encode Sans Expanded', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--green-dark);
    line-height: 1.2;
    margin-left: 12px;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-logo {
        width: 65px;
        height: 65px;
    }

    .nav-title {
        font-size: 15px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .nav-title {
        font-size: 13px;
    }
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    color: var(--green-dark);
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background: var(--green-bg);
    color: var(--green);
}

.main-nav > ul > li > a i {
    font-size: 10px;
}

/* =========================================
   DROPDOWN MENU
========================================= */

.main-nav > ul > li.has-dropdown {
    position: relative;
}

.main-nav > ul > li.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav > ul > li.has-dropdown > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.main-nav > ul > li.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid var(--green);
}

.main-nav > ul > li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--green-dark);
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: var(--green-bg);
    color: var(--green);
    border-left-color: var(--green);
    padding-left: 25px;
}

/* Mobile dropdown */
@media (max-width: 980px) {
    .main-nav > ul > li.has-dropdown {
        position: relative;
    }

    .main-nav > ul > li.has-dropdown > a {
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        border-left: 3px solid var(--green);
        background: var(--green-bg);
        padding: 5px 0;
        margin: 0 0 5px 15px;
        display: none;
    }

    .main-nav > ul > li.has-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 13px;
        border-left: none;
    }

    .dropdown-menu li a:hover {
        background: var(--green-light);
        padding-left: 20px;
    }
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--green-dark);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide.active .slide-bg {
    animation: kenburns 7s ease-out forwards;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-1.5%, -1.5%);
    }
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 40px 0;
}

.slide-content h2 {
    font-size: clamp(36px, 6vw, 53px);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: clamp(18px, 3vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    display: inline-block;
    padding: 10px 30px;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active {
    background: var(--white);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--green);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* =========================================
   WELCOME STRIP
========================================= */

.welcome-strip {
    background: var(--green);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.welcome-text h2 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 4px;
}

.welcome-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.welcome-btn {
    padding: 10px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.welcome-btn:hover {
    background: var(--white);
    color: var(--green-dark);
}

/* =========================================
   ABOUT
========================================= */

.about-section {
    padding: 90px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    min-height: 500px;
}

.about-main-image {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.15), transparent 50%);
}

.about-image-placeholder i {
    font-size: 80px;
    margin-bottom: 15px;
    position: relative;
}

.about-image-placeholder p {
    font-size: 22px;
    font-weight: 700;
    position: relative;
}

.about-image-placeholder.small {
    height: 100%;
    background: linear-gradient(135deg, var(--orange), #d97706);
}

/* About Background Slider */
.about-bg-slider {
    position: relative;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    visibility: hidden;
}

.about-bg-slide.active {
    opacity: 1;
    visibility: visible;
}

.about-bg-slide.active {
    animation: aboutKenburns 8s ease-out forwards;
}

@keyframes aboutKenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-1%, -1%);
    }
}

.about-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.15);
}

.about-bg-overlay i {
    font-size: 80px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.about-bg-overlay p {
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.about-floating-image {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-floating-image .about-image-placeholder i {
    font-size: 50px;
}

.about-floating-image .about-image-placeholder p {
    font-size: 16px;
}

.about-content h1 {
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--green-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 15px;
}

.mission-vision-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.mv-card {
    background: var(--green-bg);
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid var(--green);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.mv-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.mv-card h3 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.mv-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.about-points {
    display: grid;
    gap: 12px;
    margin: 25px 0 30px;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
}

.about-points i {
    color: var(--green);
    font-size: 18px;
}

/* =========================================
   IMPACT STATS
========================================= */

.impact-section {
    padding: 80px 0;
    background: var(--green-bg);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.impact-card {
    background: var(--white);
    padding: 30px 15px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--green);
}

.impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.impact-card:hover .impact-icon {
    background: var(--green);
    color: var(--white);
}

.impact-card h3 {
    color: var(--green-dark);
    font-size: 28px;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.impact-card p {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}

/* =========================================
   PROGRAMS
========================================= */

.programs-section {
    padding: 90px 0;
    background: var(--white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.program-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--green);
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--green-bg);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: var(--green);
    color: var(--white);
}

.program-card h3 {
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 10px;
}

.program-card p {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.program-card a {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.program-card a:hover {
    color: var(--green);
    gap: 10px;
}

/* =========================================
   EVENTS
========================================= */

.events-section {
    padding: 90px 0;
    background: var(--green-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.event-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.event-image.youth-day {
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=600&q=80');
}

.event-image.independence-day {
    background-image: url('https://images.unsplash.com/photo-1532375810709-75b1da00537c?auto=format&fit=crop&w=600&q=80');
}

.event-image.environment-day {
    background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=600&q=80');
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 70, 7, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.event-overlay h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.event-content {
    padding: 25px;
}

.event-content h4 {
    font-size: 16px;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.event-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.read-more {
    color: var(--green-dark);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--green);
    gap: 10px;
}

/* =========================================
   SUPPORT
========================================= */

.support-section {
    padding: 80px 0;
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.support-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.support-text h2 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.support-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.support-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-support {
    display: inline-block;
    padding: 14px 36px;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-support:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.btn-support-outline {
    display: inline-block;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-support-outline:hover {
    background: var(--white);
    color: var(--green-dark);
    transform: translateY(-2px);
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonials-section {
    padding: 90px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--green-bg);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto 15px;
    border: 3px solid var(--green-light);
}

.testimonial-stars {
    margin-bottom: 18px;
    font-size: 16px;
    color: #f59e0b;
    letter-spacing: 4px;
}

.testimonial-card p {
    color: var(--gray);
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--green-dark);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-card span {
    color: var(--gray);
    font-size: 13px;
}

/* =========================================
   GALLERY
========================================= */

.gallery-section {
    padding: 90px 0;
    background: var(--green-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 70, 7, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption i {
    color: var(--green-light);
    font-size: 30px;
    margin-bottom: 8px;
}

.gallery-caption p {
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

/* =========================================
   DOCUMENTS
========================================= */

.documents-section {
    padding: 90px 0;
    background: var(--white);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.document-card {
    background: var(--green-bg);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--green);
}

.document-card i {
    font-size: 45px;
    color: var(--green-dark);
    margin-bottom: 15px;
    display: block;
}

.document-card h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 15px;
}

.document-card .read-more {
    font-size: 12px;
}

/* =========================================
   PARTNERS
========================================= */

.partners-section {
    padding: 70px 0;
    background: var(--green-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.partner-item i {
    font-size: 28px;
    color: var(--green);
    margin-bottom: 10px;
    display: block;
}

.partner-item p {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 90px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-info h1 {
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--green-dark);
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 15px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--green-bg);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--green);
    color: var(--white);
}

.contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark);
    font-size: 15px;
}

.contact-item p {
    color: var(--gray);
    font-size: 14px;
}

.contact-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 22px;
    color: var(--green-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.form-message {
    margin-top: 12px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: linear-gradient(180deg, rgba(0, 70, 7, 0.92) 0%, rgba(0, 70, 7, 0.96) 100%), url('https://images.unsplash.com/photo-1533107862482-0e6974b06ec4?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 4px;
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.footer-logo-subtitle {
    color: var(--green-light);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-column h2 {
    color: var(--white);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-divider {
    width: 50px;
    height: 2px;
    background: var(--orange);
    margin-bottom: 20px;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-divider {
    width: 80px;
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-column a:hover {
    color: var(--green-light);
    padding-left: 8px;
    letter-spacing: 0.5px;
}

.footer-column a i {
    color: var(--green-light);
    font-size: 12px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column p i {
    color: var(--green-light);
    width: 20px;
}

.footer-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-light);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--green-light);
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.footer-directions-link:hover {
    background: var(--green-light);
    color: var(--green-dark);
    padding-left: 18px;
    letter-spacing: 0.5px;
}

.footer-directions-link i {
    color: inherit;
    width: auto;
}

.get-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    padding: 6px 14px;
    border: 1px solid var(--green);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.get-directions-link:hover {
    background: var(--green);
    color: var(--white);
    padding-left: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white) !important;
    font-size: 16px;
    border: none !important;
    padding: 0 !important;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    padding-left: 0 !important;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.twitter {
    background: #000000;
}

.social-icon.instagram {
    background: #e4405f;
}

.social-icon.youtube {
    background: #ff0000;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 68px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-align: center;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .impact-grid,
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .program-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-nav > ul > li > a {
        padding: 10px 10px;
        font-size: 13px;
    }

    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav > ul > li > a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .main-nav > ul > li > a:hover,
    .main-nav > ul > li > a.active {
        background: var(--green-bg);
        color: var(--green);
        border-left: 4px solid var(--green);
        padding-left: 16px;
    }

    .main-nav > ul > li.has-dropdown.open > a i {
        transform: rotate(180deg);
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        position: relative;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-wrap {
        min-height: 400px;
    }

    .about-main-image,
    .about-bg-slider {
        height: 380px;
    }

    .events-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slider {
        height: 500px;
    }

    .support-inner {
        flex-direction: column;
        text-align: center;
    }

    .support-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .welcome-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .impact-grid,
    .program-grid,
    .events-grid,
    .gallery-grid,
    .testimonials-grid,
    .partners-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        height: 450px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mission-vision-cards {
        grid-template-columns: 1fr;
    }

    .about-floating-image {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .support-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-support,
    .btn-support-outline {
        width: 100%;
        text-align: center;
    }

    .btn-dark-green {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   SCROLLING EVENTS TICKER (Bottom Corner)
========================================= */

.scrolling-events {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--orange);
    overflow: hidden;
    height: 48px;
}

.scrolling-events-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
}

.scrolling-events-label i {
    font-size: 16px;
    animation: pulse-bullhorn 1.5s ease-in-out infinite;
}

@keyframes pulse-bullhorn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.scrolling-events-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.scrolling-events-content {
    display: flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    height: 100%;
    animation: scroll-events 30s linear infinite;
    padding-left: 20px;
}

.scrolling-events:hover .scrolling-events-content {
    animation-play-state: paused;
}

@keyframes scroll-events {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.event-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.event-item i {
    color: var(--green-light);
    font-size: 13px;
}

.event-item::after {
    content: "•";
    color: var(--orange);
    font-size: 18px;
    margin-left: 25px;
}

.event-item:last-child::after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scrolling-events {
        height: 42px;
    }

    .scrolling-events-label {
        padding: 0 14px;
        font-size: 12px;
    }

    .scrolling-events-label i {
        font-size: 14px;
    }

    .event-item {
        font-size: 12px;
    }

    .scrolling-events-content {
        gap: 35px;
        animation-duration: 25s;
    }

    .event-item::after {
        margin-left: 17px;
    }
}

@media (max-width: 480px) {
    .scrolling-events-label span {
        display: none;
    }

    .scrolling-events-label {
        padding: 0 12px;
    }

    .scrolling-events-label i {
        font-size: 16px;
    }

    .event-item {
        font-size: 11px;
    }

    .scrolling-events-content {
        gap: 25px;
        animation-duration: 20s;
    }

    .event-item::after {
        margin-left: 12px;
    }
}

/* =========================================
   VILLAGE SCROLLING BAR (Dubbaka Village Page)
========================================= */

.village-scrolling-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--orange) 0%, #e67e22 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--green-dark);
    overflow: hidden;
    height: 46px;
    position: relative;
    z-index: 10;
}

.village-scrolling-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dark);
    color: var(--white);
    font-family: 'Encode Sans Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
}

.village-scrolling-label i {
    font-size: 16px;
    animation: pulse-info 1.5s ease-in-out infinite;
}

@keyframes pulse-info {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.village-scrolling-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.village-scrolling-content {
    display: flex;
    align-items: center;
    gap: 50px;
    white-space: nowrap;
    height: 100%;
    animation: scroll-village 35s linear infinite;
    padding-left: 20px;
}

.village-scrolling-bar:hover .village-scrolling-content {
    animation-play-state: paused;
}

@keyframes scroll-village {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.village-scroll-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.village-scroll-item i {
    color: var(--green-light);
    font-size: 13px;
}

.village-scroll-item::after {
    content: "•";
    color: var(--green-dark);
    font-size: 18px;
    margin-left: 25px;
}

.village-scroll-item:last-child::after {
    display: none;
}

/* Responsive adjustments for village scrolling bar */
@media (max-width: 768px) {
    .village-scrolling-bar {
        height: 40px;
    }

    .village-scrolling-label {
        padding: 0 14px;
        font-size: 12px;
    }

    .village-scrolling-label i {
        font-size: 14px;
    }

    .village-scroll-item {
        font-size: 12px;
    }

    .village-scrolling-content {
        gap: 35px;
        animation-duration: 30s;
    }

    .village-scroll-item::after {
        margin-left: 17px;
    }
}

@media (max-width: 480px) {
    .village-scrolling-label span {
        display: none;
    }

    .village-scrolling-label {
        padding: 0 12px;
    }

    .village-scrolling-label i {
        font-size: 16px;
    }

    .village-scroll-item {
        font-size: 11px;
    }

    .village-scrolling-content {
        gap: 25px;
        animation-duration: 25s;
    }

    .village-scroll-item::after {
        margin-left: 12px;
    }
}

/* =========================================
   GET INVOLVED PAGE
========================================= */

/* Involved Hero */
.involved-hero {
    background: linear-gradient(180deg, rgba(0, 70, 7, 0.75) 0%, rgba(0, 70, 7, 0.55) 100%), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1920&q=85');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.involved-hero-content h1 {
    color: var(--white);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.involved-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2.5vw, 20px);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Involved Section */
.involved-section {
    padding: 90px 0;
    background: var(--white);
}

.involved-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.involved-info h1 {
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--green-dark);
    margin-bottom: 15px;
}

.involved-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 15px;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Involved Options */
.involved-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.involved-option-card {
    background: var(--green-bg);
    border-radius: var(--radius);
    padding: 25px;
    border-left: 4px solid var(--green);
    transition: all 0.3s ease;
}

.involved-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-left-color: var(--orange);
    background: var(--white);
}

.involved-option-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green-dark);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.involved-option-card:hover .involved-option-icon {
    background: var(--green);
    transform: scale(1.1);
}

.involved-option-card h3 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.involved-option-card p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Involved Contact */
.involved-contact {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius);
    padding: 25px;
    color: var(--white);
}

.involved-contact h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.involved-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.involved-contact p i {
    color: var(--green-light);
    width: 20px;
}

/* Involved Form */
.involved-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

.involved-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.involved-form-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group .required {
    color: #dc2626;
}

.involved-form input,
.involved-form select,
.involved-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 0;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
    font-family: inherit;
}

.involved-form input:focus,
.involved-form select:focus,
.involved-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.involved-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.involved-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Involved responsive */
@media (max-width: 980px) {
    .involved-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .involved-hero {
        padding: 80px 0;
    }

    .involved-section {
        padding: 60px 0;
    }

    .involved-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================
   DONATE SECTION (Get Involved Page)
========================================= */

/* Donate Now button in option card */
.donate-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 22px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.donate-btn-link:hover {
    background: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(86, 178, 49, 0.3);
}

.donate-btn-link i {
    color: var(--green-light);
    font-size: 15px;
}

.donate-btn-link:hover i {
    color: var(--white);
}

/* Donate Section */
.donate-section {
    padding: 90px 0;
    background: var(--green-bg);
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Donate Info Column */
.donate-info {
    display: grid;
    gap: 25px;
}

.donate-impact-card {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.donate-impact-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.donate-impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--green-light);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.donate-impact-card h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.donate-impact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Where Donation Goes */
.donate-impact-list {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.donate-impact-list h3 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.donate-impact-list ul {
    display: grid;
    gap: 12px;
}

.donate-impact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--dark);
    padding: 10px 14px;
    background: var(--green-bg);
    border-radius: 8px;
    border-left: 3px solid var(--green);
    transition: all 0.3s ease;
}

.donate-impact-list li:hover {
    transform: translateX(5px);
    border-left-color: var(--orange);
}

.donate-impact-list li i {
    color: var(--green-dark);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Bank Details */
.donate-bank-details {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.donate-bank-details h3 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-bank-details h3 i {
    color: var(--green);
}

.donate-bank-details p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-bank-details p strong {
    color: var(--dark);
    min-width: 130px;
    display: inline-block;
}

.donate-note {
    margin-top: 15px;
    padding: 12px 15px;
    background: var(--green-bg);
    border-radius: 8px;
    font-size: 13px !important;
    color: var(--green-dark) !important;
    line-height: 1.6;
    align-items: flex-start !important;
}

.donate-note i {
    color: var(--green);
    margin-top: 3px;
}

.donate-note a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: underline;
}

.donate-note a:hover {
    color: var(--green);
}

/* Donate Form */
.donate-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

.donate-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.donate-form-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Amount Options */
.donate-amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.amount-btn {
    padding: 10px 18px;
    background: var(--green-bg);
    color: var(--green-dark);
    border: 2px solid var(--green);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.amount-btn.active {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
    box-shadow: 0 4px 12px rgba(0, 70, 7, 0.3);
}

.amount-btn.custom {
    border-style: dashed;
}

.donate-amount-input {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
    font-family: inherit;
}

.donate-amount-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.donate-amount-input:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Donate form inputs */
.donate-form input,
.donate-form select,
.donate-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 0;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
    font-family: inherit;
}

.donate-form input:focus,
.donate-form select:focus,
.donate-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.donate-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.donate-form textarea {
    resize: vertical;
    min-height: 100px;
}

.donate-secure-note {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donate-secure-note i {
    color: var(--green);
}

/* Donate responsive */
@media (max-width: 980px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .donate-section {
        padding: 60px 0;
    }

    .donate-form {
        padding: 24px;
    }

    .donate-bank-details p {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .donate-bank-details p strong {
        min-width: 0;
    }

    .donate-amount-options {
        gap: 8px;
    }

    .amount-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* =========================================
   PARTNER WITH US SECTION (Get Involved Page)
========================================= */

.partner-section {
    padding: 90px 0;
    background: var(--white);
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Partner Info Column */
.partner-info {
    display: grid;
    gap: 25px;
}

.partner-impact-card {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.partner-impact-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.partner-impact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--green-light);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.partner-impact-card h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.partner-impact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Partnership Benefits */
.partner-benefits-list {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.partner-benefits-list h3 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.partner-benefits-list ul {
    display: grid;
    gap: 12px;
}

.partner-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--dark);
    padding: 10px 14px;
    background: var(--green-bg);
    border-radius: 8px;
    border-left: 3px solid var(--green);
    transition: all 0.3s ease;
}

.partner-benefits-list li:hover {
    transform: translateX(5px);
    border-left-color: var(--orange);
}

.partner-benefits-list li i {
    color: var(--green-dark);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Partner Contact Card */
.partner-contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.partner-contact-card h3 {
    font-size: 18px;
    color: var(--green-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-contact-card h3 i {
    color: var(--green);
}

.partner-contact-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-contact-card p i {
    color: var(--green);
    width: 20px;
    text-align: center;
}

.partner-note {
    margin-top: 15px;
    padding: 12px 15px;
    background: var(--green-bg);
    border-radius: 8px;
    font-size: 13px !important;
    color: var(--green-dark) !important;
    line-height: 1.6;
    align-items: flex-start !important;
}

.partner-note i {
    color: var(--green);
    margin-top: 3px;
}

/* Partner Form */
.partner-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

.partner-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.partner-form-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Partner form inputs */
.partner-form input,
.partner-form select,
.partner-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 0;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
    font-family: inherit;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.partner-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.partner-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Partner responsive */
@media (max-width: 980px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .partner-section {
        padding: 60px 0;
    }

    .partner-form {
        padding: 24px;
    }
}

/* =========================================
   VOLUNTEER PAGE
========================================= */

/* Volunteer Hero */
.volunteer-hero {
    background: linear-gradient(180deg, rgba(0, 70, 7, 0.75) 0%, rgba(0, 70, 7, 0.55) 100%), url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1920&q=85');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.volunteer-hero-content h1 {
    color: var(--white);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.volunteer-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2.5vw, 20px);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Volunteer Opportunities Section */
.volunteer-section {
    padding: 90px 0;
    background: var(--white);
}

.volunteer-opportunities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.volunteer-opportunity-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 28px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.volunteer-opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--orange);
}

.volunteer-opportunity-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--green-bg);
    color: var(--green-dark);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.volunteer-opportunity-card:hover .volunteer-opportunity-icon {
    background: var(--green);
    color: var(--white);
    transform: scale(1.1);
}

.volunteer-opportunity-card h3 {
    font-size: 17px;
    color: var(--dark);
    margin-bottom: 10px;
}

.volunteer-opportunity-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Why Volunteer Section */
.volunteer-why-section {
    padding: 90px 0;
    background: var(--green-bg);
}

.volunteer-why-heading {
    text-align: center;
    margin-bottom: 50px;
}

.volunteer-why-heading h1 {
    font-size: clamp(30px, 4vw, 42px);
    color: var(--green-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.volunteer-why-heading p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
}

.volunteer-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.volunteer-why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.volunteer-why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--green);
}

.volunteer-why-card i {
    font-size: 36px;
    color: var(--green-dark);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.volunteer-why-card:hover i {
    color: var(--green);
    transform: scale(1.15);
}

.volunteer-why-card h3 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.volunteer-why-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

/* Volunteer Form Section */
.volunteer-form-section {
    padding: 90px 0;
    background: var(--white);
}

.volunteer-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.volunteer-form-info h1 {
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--green-dark);
    margin-bottom: 15px;
}

.volunteer-form-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 15px;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Volunteer Form Benefits */
.volunteer-form-benefits {
    background: var(--green-bg);
    border-radius: var(--radius);
    padding: 25px;
    border-left: 4px solid var(--green);
    margin-bottom: 30px;
}

.volunteer-form-benefits h3 {
    font-size: 17px;
    color: var(--green-dark);
    margin-bottom: 15px;
}

.volunteer-form-benefits ul {
    display: grid;
    gap: 10px;
}

.volunteer-form-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
}

.volunteer-form-benefits li i {
    color: var(--green);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Volunteer Contact */
.volunteer-contact {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius);
    padding: 25px;
    color: var(--white);
}

.volunteer-contact h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.volunteer-contact p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volunteer-contact p i {
    color: var(--green-light);
    width: 20px;
}

/* Volunteer Form */
.volunteer-form {
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

.volunteer-form h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--green-dark);
}

.volunteer-form-subtitle {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 0;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--dark);
    font-family: inherit;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(86, 178, 49, 0.15);
}

.volunteer-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.volunteer-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Volunteer responsive */
@media (max-width: 980px) {
    .volunteer-opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .volunteer-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .volunteer-form-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .volunteer-hero {
        padding: 80px 0;
    }

    .volunteer-section,
    .volunteer-why-section,
    .volunteer-form-section {
        padding: 60px 0;
    }

    .volunteer-opportunities-grid,
    .volunteer-why-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-form {
        padding: 24px;
    }
}

/* =========================================
   DUBBAKA VILLAGE PAGE
========================================= */

/* Village Hero - Sliding Background Images */
.village-hero {
    position: relative;
    height: 420px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 0;
}

/* Slider container */
.village-hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Individual slides */
.village-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease, visibility 1.2s ease;
    will-change: opacity, transform;
}

.village-hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: villageHeroZoom 7s ease forwards;
}

@keyframes villageHeroZoom {
    0% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* Dark overlay for text readability */
.village-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 70, 7, 0.75) 0%, rgba(0, 70, 7, 0.45) 50%, rgba(0, 70, 7, 0.75) 100%);
    z-index: 2;
}

/* Hero content */
.village-hero-content {
    position: relative;
    z-index: 3;
    animation: villageHeroContentFade 1.2s ease;
}

@keyframes villageHeroContentFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.village-hero-content h1 {
    color: var(--white);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.village-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 2vw, 18px);
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Slider dots */
.village-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.village-hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.village-hero-dots span:hover {
    background: rgba(255, 255, 255, 0.8);
}

.village-hero-dots span.active {
    background: var(--orange);
    border-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255, 99, 23, 0.6);
}

/* Slider arrows */
.village-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.village-hero-arrow:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(86, 178, 49, 0.4);
}

.village-hero-arrow.prev {
    left: 25px;
}

.village-hero-arrow.next {
    right: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .village-hero {
        height: 360px;
        min-height: 280px;
        padding: 70px 0;
    }

    .village-hero-arrow {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .village-hero-arrow.prev {
        left: 12px;
    }

    .village-hero-arrow.next {
        right: 12px;
    }

    .village-hero-dots {
        bottom: 20px;
    }
}

/* Village Sections */
.village-section {
    padding: 90px 0;
    background: var(--white);
}

.village-section.village-alt-bg {
    background: var(--green-bg);
}

.village-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Equal left & right edges - justified text */
.village-content p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.village-content p:last-child {
    margin-bottom: 0;
}

/* Village Stats Grid (People & Population) */
.village-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 40px auto;
}

.village-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 22px;
    text-align: center;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.village-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--orange);
}

.village-stat-card i {
    font-size: 38px;
    color: var(--green-dark);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.village-stat-card:hover i {
    color: var(--green);
    transform: scale(1.1);
}

.village-stat-card h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 10px;
}

.village-stat-card .stat-number {
    font-family: 'Encode Sans Expanded', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 6px;
    display: block;
}

.village-stat-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Village Note (Important Note) */
.village-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e6;
    border: 1px solid #f0d48a;
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 25px;
}

.village-note i {
    color: var(--orange);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.village-note p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark);
    margin: 0;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Village Info Grid (Gram Panchayat) */
.village-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 900px;
    margin: 40px auto;
}

.village-info-card {
    background: var(--green-bg);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    transition: all 0.3s ease;
}

.village-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-left-color: var(--orange);
    background: var(--white);
}

.village-info-card i {
    font-size: 32px;
    color: var(--green-dark);
    margin-bottom: 15px;
    display: block;
}

.village-info-card h3 {
    font-size: 16px;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.village-info-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Village Leadership Grid (Gram Panchayat) */
.village-leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 40px auto;
}

.village-leader-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid var(--border);
    border-top: 4px solid var(--green);
    text-align: center;
    transition: all 0.3s ease;
}

.village-leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--orange);
}

.village-leader-card i {
    font-size: 32px;
    color: var(--green-dark);
    margin-bottom: 15px;
    display: block;
}

.village-leader-card h3 {
    font-size: 15px;
    color: var(--green-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.village-leader-card .leader-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.village-leader-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Clickable leader card (Sarpanch) */
.village-leader-card.clickable {
    cursor: pointer;
    position: relative;
}

.village-leader-card.clickable:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--orange);
}

/* Leader Details Modal */
.leader-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.leader-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.leader-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.leader-modal-overlay.active .leader-modal {
    transform: translateY(0) scale(1);
}

.leader-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--green-bg);
    color: var(--green-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.leader-modal-close:hover {
    background: var(--orange);
    color: var(--white);
    transform: rotate(90deg);
}

.leader-modal-header {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    padding: 35px 30px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.leader-modal-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}

.leader-modal-title h2 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.leader-modal-role {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    margin-top: 6px;
}

.leader-modal-body {
    padding: 30px;
}

.leader-modal-section {
    margin-bottom: 26px;
}

.leader-modal-section:last-child {
    margin-bottom: 0;
}

.leader-modal-section h3 {
    font-size: 16px;
    color: var(--green-dark);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}

.leader-modal-section h3 i {
    color: var(--orange);
    font-size: 15px;
}

.leader-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}

.leader-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
    min-width: 120px;
}

.detail-value {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.leader-responsibilities {
    list-style: none;
    padding: 0;
}

.leader-responsibilities li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
    border-bottom: 1px dashed var(--border);
}

.leader-responsibilities li:last-child {
    border-bottom: none;
}

.leader-responsibilities li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--green);
    font-size: 14px;
}

.leader-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 26px;
}

.leader-modal-note i {
    color: #d97706;
    font-size: 16px;
    margin-top: 4px;
}

.leader-modal-note p {
    font-size: 13px;
    color: #92400e;
    line-height: 1.6;
}

.leader-modal-footer {
    background: var(--light-gray);
    padding: 15px 30px;
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    text-align: center;
}

.leader-modal-footer p {
    font-size: 12px;
    color: var(--gray);
}

.leader-modal-footer i {
    color: var(--green);
}

/* Village Highlights */
.village-highlights {
    padding: 90px 0;
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 100%);
    position: relative;
    overflow: hidden;
}

.village-highlights::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.village-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.village-highlight-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.village-highlight-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.village-highlight-card i {
    font-size: 40px;
    color: var(--green-light);
    margin-bottom: 15px;
    display: block;
}

.village-highlight-card h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.village-highlight-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
}

/* Village responsive */
@media (max-width: 980px) {
    .village-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .village-stats-grid,
    .village-info-grid,
    .village-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .village-hero {
        height: 300px;
        min-height: 240px;
        padding: 60px 0;
    }

    .village-section {
        padding: 60px 0;
    }

    .village-highlights {
        padding: 60px 0;
    }

    .village-highlights-grid,
    .village-stats-grid,
    .village-info-grid,
    .village-leadership-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MAP SECTION
========================================= */
.map-section {
    padding: 80px 0;
    background: #f8f9f5;
    text-align: center;
}

.map-section h2 {
    font-size: 32px;
    color: #1a3c2e;
    margin-bottom: 15px;
}

.map-address {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    font-weight: 500;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 4px solid #fff;
    max-width: 1100px;
    margin: 0 auto;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

@media (max-width: 768px) {
    .map-section {
        padding: 60px 0;
    }

    .map-section h2 {
        font-size: 26px;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 300px;
    }
}

/* =========================================
   GRAM PANCHAYAT EVENTS (Dubbaka Village Page)
========================================= */

.panchayat-events {
    width: 100%;
    padding: 45px 15px;
    background: var(--green-bg);
}

.events-container {
    max-width: 1050px;
    margin: auto;
}

/* Heading */
.events-heading {
    text-align: center;
    margin-bottom: 25px;
}

.events-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: #e1f0e3;
    color: #28733c;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.events-heading h2 {
    font-size: 28px;
    color: #183d24;
    margin-bottom: 8px;
}

.events-heading p {
    color: #68736b;
    font-size: 13px;
}

/* Filter dropdown */
.events-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.events-filter label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #2f5d3a;
    background: #ffffff;
    border: 1px solid #d5e2d6;
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
}

.events-filter label i {
    color: #2f7d42;
}

.events-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #ffffff;
    border: 1px solid #d5e2d6;
    border-radius: 8px;
    padding: 8px 38px 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #2f5d3a;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232f7d42' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.events-filter select:hover {
    border-color: #2f7d42;
}

.events-filter select:focus {
    border-color: #2f7d42;
    box-shadow: 0 0 0 3px rgba(47, 125, 66, 0.12);
}

/* Scrolling window */
.events-window {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    position: relative;
}

/* Scrolling track */
.events-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: eventScroll 30s linear infinite;
}

/* Pause when mouse is over */
.events-window:hover .events-track {
    animation-play-state: paused;
}

/* Event card */
.event-card {
    width: 285px;
    flex: 0 0 285px;
    background: #ffffff;
    border: 1px solid #e1e8e1;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(40, 70, 45, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(40, 70, 45, 0.12);
}

.event-card.hidden {
    display: none;
}

/* Continuous scroll animation */
@keyframes eventScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Event top */
.event-top {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #eef6ed;
    border-bottom: 1px solid #e2eae1;
}

/* Date */
.event-date {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 9px;
    background: #2f7d42;
    color: #ffffff;
}

.event-date .day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 9px;
    margin-top: 3px;
    letter-spacing: 0.7px;
}

/* Event title */
.event-title {
    padding-left: 12px;
}

.event-title h3 {
    font-size: 15px;
    line-height: 1.3;
    color: #1d4028;
}

/* Event content */
.event-content {
    padding: 14px;
}

/* Time + location */
.event-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #5f6c63;
    font-size: 12px;
}

.event-info .icon {
    width: 18px;
    text-align: center;
    font-size: 12px;
}

.event-description {
    margin-top: 9px;
    color: #6b756e;
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Event type */
.event-type {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 15px;
    background: #e9f5e9;
    color: #2f7d42;
    font-size: 10px;
    font-weight: bold;
}

/* No events message */
.events-empty {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: #68736b;
    font-size: 14px;
    background: #ffffff;
    border: 1px dashed #c5d4c6;
    border-radius: 13px;
}

.events-empty i {
    display: block;
    font-size: 32px;
    color: #9db89f;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 600px) {
    .panchayat-events {
        display: block;
        padding: 30px 10px;
    }

    .events-container {
        width: 100%;
        max-width: 100%;
    }

    .events-heading {
        margin-bottom: 18px;
    }

    .events-heading h2 {
        font-size: 22px;
    }

    .events-heading p {
        font-size: 12px;
    }

    .events-filter {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .events-filter label,
    .events-filter select {
        width: 100%;
        justify-content: center;
    }

    /* Mobile: native horizontal swipe carousel */
    .events-window {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .events-window::-webkit-scrollbar {
        display: none;
    }

    .events-track {
        gap: 10px;
        animation: none;
        scroll-snap-type: x proximity;
        padding-right: 10px;
    }

    .event-card {
        width: 78vw;
        flex: 0 0 78vw;
        max-width: 280px;
        scroll-snap-align: start;
    }
}
