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

:root {
    --primary-green: #0F5132;
    --accent-gold: #C5A200;
    --background-ivory: #FAF7F2;
    --camwood-red: #A8391C;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-ivory);
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

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

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/images/village-landscape.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 81, 50, 0.5);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    background: var(--accent-gold);
    color: var(--text-dark);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(197, 162, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 162, 0, 0.4);
}

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

.scroll-down {
    width: 2px;
    height: 50px;
    background: var(--text-light);
    position: relative;
    animation: scroll 2s infinite;
}

.scroll-down::after {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--text-light);
    border-bottom: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-ivory);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quote-box {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.quote-box p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* Heritage Section */
.heritage {
    padding: 100px 0;
    background: white;
}

.heritage-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.heritage-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 4px solid var(--accent-gold);
    border-radius: 15px;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 81, 50, 0.9));
    color: var(--text-light);
    padding: 2rem 1.5rem 1rem;
    font-weight: 600;
    text-align: center;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-prev,
.gallery-next {
    background: rgba(15, 81, 50, 0.8);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: scale(1.1);
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.indicator.active,
.indicator:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Programs Section */
.programs {
    padding: 100px 0;
    background: var(--background-ivory);
}

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

.program-card {
    background: var(--background-ivory);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid rgba(15, 81, 50, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
}

.card-title {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-button {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.card-button:hover {
    background: var(--primary-green);
    color: var(--text-light);
}

/* Leadership Section */
.leadership {
    padding: 100px 0;
    background: var(--background-ivory);
}

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

.leader-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow-light);
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.leader-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-gold);
}

.leader-photo {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-initial {
    color: var(--text-light);
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Gradient variations for different roles */
.leader-photo.president {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
}

.leader-photo.vice-president {
    background: linear-gradient(135deg, #2d5a3d, var(--accent-gold));
}

.leader-photo.secretary {
    background: linear-gradient(135deg, var(--primary-green), #d4b300);
}

.leader-photo.treasurer {
    background: linear-gradient(135deg, #1a6b42, var(--accent-gold));
}

.leader-photo.communication {
    background: linear-gradient(135deg, var(--primary-green), #b89200);
}

.leader-photo.coordinator {
    background: linear-gradient(135deg, #0a3d25, var(--accent-gold));
}

.leader-name {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.leader-role {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    margin-bottom: 3rem;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--primary-green);
}

.contact-item i {
    color: var(--accent-gold);
}

.contact-cta {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d4b300 100%);
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.cultural-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-green) 0px,
        var(--primary-green) 20px,
        var(--camwood-red) 20px,
        var(--camwood-red) 40px,
        var(--accent-gold) 40px,
        var(--accent-gold) 60px
    );
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-quote {
    margin-bottom: 3rem;
}

.footer-quote p {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 700;
    color: var(--primary-green);
}

.cultural-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--camwood-red), var(--accent-gold));
    margin: 1rem auto;
    border-radius: 2px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-section i {
    color: var(--camwood-red);
    margin-right: 8px;
    width: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #fccc63, #833ab4);
    color: white;
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-green);
    opacity: 0;
    transition: var(--transition);
}

.social-link:hover::before {
    opacity: 0.1;
}

.footer-copyright {
    padding-top: 2rem;
    border-top: 2px solid rgba(15, 81, 50, 0.2);
    opacity: 0.9;
}

.footer-copyright p {
    margin-bottom: 0.5rem;
}

.cultural-tribute {
    font-size: 0.9rem;
    color: var(--camwood-red);
    font-weight: 600;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px var(--shadow-light);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .heritage-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-slide img {
        height: 300px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .program-card,
    .leader-card {
        padding: 1.5rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide img {
        height: 250px;
    }
    
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Page-specific Styles */
.page-hero {
    height: 60vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 81, 50, 0.2);
    z-index: 1;
}

.page-hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    max-width: 600px;
    padding: 0 20px;
}

.page-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--text-light);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.page-content {
    padding: 80px 0;
    background: var(--background-ivory);
}

.content-section {
    margin-bottom: 4rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.contact-info i {
    color: var(--accent-gold);
    width: 20px;
}

.back-home-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(15, 81, 50, 0.1);
}

.back-home-button {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 81, 50, 0.3);
}

.back-home-button:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 162, 0, 0.4);
}

/* Aid Types Cards */
.aid-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.aid-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.aid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

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

.aid-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.aid-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.aid-card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
}

.aid-message {
    margin-top: 3rem;
    text-align: center;
    background: var(--primary-green);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.aid-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

/* Program Schedule */
.program-schedule {
    margin-top: 2rem;
}

.schedule-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 15px var(--shadow-light);
    transition: var(--transition);
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.time {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-width: 120px;
    justify-content: center;
}

.activity h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.activity p {
    color: var(--text-dark);
    margin: 0;
}

/* Participation Info */
.participation-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.info-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Hero Variations */
.cares-hero {
    background: linear-gradient(135deg, var(--camwood-red) 0%, var(--accent-gold) 100%);
}

.rencontres-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--camwood-red) 100%);
}

/* US Members Map Section */
.us-members {
    padding: 100px 0;
    background: var(--background-ivory);
}

.leaflet-map-container {
    margin-top: 3rem;
}

#us-map {
    height: 450px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-medium);
    margin-bottom: 3rem;
    border: 2px solid var(--primary-green);
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    background: var(--primary-green);
    color: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.leaflet-popup-tip {
    background: var(--primary-green);
}

.leaflet-popup-close-button {
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
}

.leaflet-popup-close-button:hover {
    color: var(--accent-gold);
}

.map-legend {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    max-width: 400px;
    margin: 0 auto;
}

.map-legend h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Ubuntu', sans-serif;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 2px solid var(--primary-green);
    flex-shrink: 0;
}

.legend-marker.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile responsiveness for page styles */
@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .page-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .time {
        min-width: auto;
        align-self: flex-start;
    }
    
    #us-map {
        height: 350px;
        border-radius: 10px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .aid-types,
    .participation-info {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .map-legend {
        padding: 1.5rem;
    }
    
    .legend-items {
        gap: 0.8rem;
    }
    
    #us-map {
        height: 300px;
        border-radius: 8px;
    }
}