/* ========================================
   UFESAD - Stylesheet (CORRECTED)
   Union des Femmes Sages pour le Développement
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    --color-light-blue: #006CA5;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-green: #4caf50;
    --color-green-hover: #3d8b40;
    --color-light-green: #8bc34a;
    --color-light-green-hover: #7cb342;
    --color-text: #333333;
    --color-text-light: #666666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 50px;
    --navbar-height: 80px; /* Increased slightly to accommodate buttons on mobile */
}

/* ---- Reset & Base Styles ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--navbar-height));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-green {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-green:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-donation {
    background-color: var(--color-light-blue);
    color: var(--color-white);
}

.btn-donation:hover {
    background-color: var(--color-light-blue-hover);
    transform: translateY(-2px);
}

.btn-adhesion {
    background-color: var(--color-light-blue);
    color: var(--color-white);
    margin-left: 10px;
}

.btn-adhesion:hover {
    background-color: var(--color-light-blue-hover);
    transform: translateY(-2px);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background-color: var(--color-light-blue);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 14px;
}

.top-bar-left a,
.top-bar-center a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text);
}

.top-bar-left a:hover,
.top-bar-center a:hover {
    color: var(--color-green);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--color-text);
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    background-color: var(--color-white);
    height: var(--navbar-height);
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    transition: height 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

/* Navigation Links Container */
.nav-menu {
    display: flex;
    justify-content: center;
    flex-grow: 1; /* Takes up available space in center */
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-green);
}

/* Buttons Container */
.nav-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Prevents buttons from shrinking */
}

/* Hamburger Menu (Hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../assets/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: calc(var(--header-height) + var(--navbar-height));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--color-white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 25px;
    font-size: 15px;
}

/* ========================================
   RESPONSIVE DESIGN (CORRECTED)
   ======================================== */

/* Tablet & Small Desktop (Up to 1024px) */
@media (max-width: 1024px) {
    .nav-menu ul {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Mobile View 1: Hide Links, Keep Buttons Visible (Max 900px) */
@media (max-width: 900px) {
    .nav-content {
        padding: 0 15px;
    }

    .nav-logo img {
        height: 45px;
    }

    /* Hide the standard menu list */
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + var(--navbar-height));
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height) - var(--navbar-height));
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 998; /* Behind the navbar content */
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Show Hamburger */
    .hamburger {
        display: flex;
        order: 3; /* Push to far right */
        margin-left: auto;
    }

    /* Ensure Buttons stay visible in the main bar */
    .nav-buttons {
        order: 2; /* Between Logo and Hamburger */
        margin-left: 10px;
    }
    
    .nav-buttons .btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .nav-buttons .btn-adhesion {
        margin-left: 5px;
    }

    /* Adjust Navbar height slightly if needed, but keep it single row */
    .navbar {
        height: 70px; 
    }
}

/* Mobile View 2: Very Small Screens (Stack Buttons below logo if needed) (Max 600px) */
@media (max-width: 600px) {
    :root {
        --navbar-height: 110px; /* Taller to accommodate two rows */
    }

    .nav-content {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .nav-logo {
        order: 1;
        flex-basis: auto;
    }
    
    .nav-logo img {
        height: 40px;
    }

    .hamburger {
        order: 2;
        margin-left: auto;
    }

    /* Move buttons to a new row below logo/hamburger */
    .nav-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        margin-left: 0;
        gap: 10px;
    }

    .nav-buttons .btn {
        flex: 1;
        max-width: 140px;
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .nav-buttons .btn-adhesion {
        margin-left: 0;
    }

    /* Top Bar adjustments */
    .top-bar-content {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        font-size: 12px;
    }
    
    .top-bar-left,
    .top-bar-center,
    .top-bar-right {
        width: auto;
    }
    
    .top-bar-right {
        gap: 10px;
    }

    /* Hero adjustments */
    .hero {
        min-height: 500px;
        height: auto;
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background-color: var(--color-light-green); /* Light Green Background */
    padding: 60px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    background-color: var(--color-white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 10px;
    display: block;
    line-height: 1.2;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive for Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Very light grey to distinguish from white */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.sub-title {
    display: block;
    color: var(--color-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    color: var(--color-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.legal-info {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-green);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    font-size: 0.95rem;
    color: var(--color-text);
    font-style: italic;
}

/* Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-box {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-box:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--color-green);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.box-icon {
    font-size: 2rem;
    color: var(--color-green);
    margin-bottom: 20px;
    background: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.about-box h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.about-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-light-green);
}

.about-box p, 
.about-box ul {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.list-style {
    list-style: none;
    padding-left: 0;
}

.list-style li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.list-style li::before {
    content: '•';
    color: var(--color-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Responsive for About Section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .about-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .legal-info {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--color-green);
    }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
    padding: 60px 0;
    background-color: var(--color-white);
    border-top: 1px solid #eee;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
    cursor: default;
}

.partner-logo:hover {
    color: var(--color-green);
    border-color: var(--color-green);
    transform: scale(1.05);
}

/* ========================================
   ACTIONS SECTION
   ======================================== */
.actions-section {
    padding: 80px 0;
    background-color: #f4f7f6;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.action-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.action-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-white);
    background-image: radial-gradient(#e3f2fd 1px, transparent 1px);
    background-size: 20px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
    border-top: 5px solid var(--color-green);
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-light-green);
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--color-dark);
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--color-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* If using logo as placeholder, this ensures it fits nicely */
    object-position: center; 
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--color-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-info span {
    color: var(--color-green);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Tablet (Actions, Testimonials, Team) */
@media (max-width: 992px) {
    .actions-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (All Grids) */
@media (max-width: 600px) {
    .partners-grid {
        gap: 20px;
    }
    
    .partner-logo {
        font-size: 1rem;
        padding: 10px 20px;
        width: 45%;
        text-align: center;
    }

    .actions-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-img {
        height: 200px;
    }
}
/* ========================================
   FOOTER SECTION (UPDATED - WHITE TEXT)
   ======================================== */
.footer {
    background-color: var(--color-light-blue);
    padding-top: 60px;
    color: #ffffff; /* Force all text to white */
    position: relative;
    font-size: 0.95rem;
}

/* Ensure all direct text children are white */
.footer p, 
.footer h3, 
.footer h4, 
.footer li, 
.footer a, 
.footer span, 
.footer input {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    /* Changed border to a subtle white transparency */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    /* Optional: Add a filter if your logo is dark and hard to see on light blue */
    /* filter: brightness(0) invert(1); */ 
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: #ffffff; /* Explicit white */
    margin: 0;
    font-weight: 700;
}

.footer-desc {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for description */
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white bg */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-social a:hover {
    background-color: var(--color-green); /* Green on hover for contrast */
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffffff; /* White underline */
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-light-green); /* Light green hover for visibility */
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    color: var(--color-light-green); /* Light green icons */
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: inherit;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    outline: none;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    background-color: var(--color-green);
    color: #ffffff;
    border: none;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--color-light-green);
}

/* Copyright Bar */
.footer-bottom {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.1); /* Slightly darker overlay for contrast */
    margin-top: 20px;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Back to Top Button (Unchanged) */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 990;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-5px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 15px auto;
    }

    .copyright-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================== */

/* Page Header for Inner Pages */
.page-header {
    height: 40vh;
    min-height: 300px;
    margin-top: calc(var(--header-height) + var(--navbar-height));
    background-image: url('../assets/hero.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    color: white;
    font-size: 3rem;
    text-align: center;
    z-index: 2;
    animation: fadeIn 0.8s ease-out;
}

/* Contact Section Layout */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Left Side: Info */
.contact-info {
    background-color: var(--color-light-blue);
    padding: 40px;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 25px;
    font-weight: 700;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.info-content p, .info-content a {
    color: white;
    line-height: 1.6;
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--color-green);
}

.social-links-contact {
    margin-top: 30px;
}

.social-links-contact h4 {
    margin-bottom: 15px;
    color: var(--color-dark);
}

.social-icons-row {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--color-green);
    color: white;
    transform: translateY(-3px);
}

.hours-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--color-green);
}

.hours-box h4 {
    margin-bottom: 10px;
    color: var(--color-dark);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-bottom: 1px dashed #eee;
    padding-bottom: 5px;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list span.closed {
    color: #e74c3c;
    font-weight: 600;
}

/* Right Side: Form & Map */
.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--color-green);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
}

.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive for Contact Page */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-wrapper {
        order: 1;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form-wrapper {
        padding: 25px;
    }
}


/* ========================================
   DONATION PAGE SPECIFIC STYLES
   ======================================== */

/* Donation Intro */
.donation-info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.donation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.donation-intro h2 {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.donation-intro p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Donation Methods */
.donation-methods {
    margin-bottom: 50px;
}

.method-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-title i {
    color: var(--color-green);
}

/* Mobile Money Grid */
.mobile-money-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.money-card {
    background: white;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.money-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-green);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.money-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.money-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.money-details .number {
    font-size: 1.1rem;
    color: var(--color-green);
    font-weight: 700;
    margin-bottom: 5px;
}

.money-details .name {
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.money-details .instruction {
    font-size: 0.85rem;
    color: var(--color-text-light);
    background: rgba(76, 175, 80, 0.1);
    padding: 8px;
    border-radius: 5px;
}

/* Bank Section */
.bank-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.bank-details-card {
    max-width: 800px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.bank-row:last-of-type {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: var(--color-text);
    min-width: 200px;
}

.bank-value {
    color: var(--color-text-light);
    flex: 1;
}

.bank-value.account-number {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--color-dark);
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 5px;
}

.btn-copy {
    background: var(--color-green);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-left: 10px;
}

.btn-copy:hover {
    background: var(--color-green-hover);
}

.bank-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--color-green);
}

.bank-note i {
    color: var(--color-green);
    font-size: 1.2rem;
    margin-top: 2px;
}

.bank-note p {
    margin: 0;
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Donation Form Section */
.donation-form-section {
    padding: 80px 0;
    background-color: var(--color-light-blue);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2rem;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Form Styles (reuse from contact but add specific) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-donation-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-donation-submit:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
}

/* Responsive for Donation Page */
@media (max-width: 1024px) {
    .mobile-money-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bank-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .bank-label {
        min-width: auto;
    }
    
    .btn-copy {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .mobile-money-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .bank-section {
        padding: 25px;
    }
}

/* ========================================
   ADHESION (MEMBERSHIP) PAGE STYLES
   ======================================== */

/* Membership Info Section */
.membership-info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.membership-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.membership-intro h2 {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.membership-intro p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.benefit-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Membership Types */
.membership-types {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    text-align: center;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    border: 2px solid #eee;
    transition: var(--transition);
    position: relative;
}

.type-card:hover {
    border-color: var(--color-green);
    transform: translateY(-5px);
}

.type-card.featured {
    border-color: var(--color-green);
    background: rgba(76, 175, 80, 0.05);
}

.type-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.type-header i {
    font-size: 2.5rem;
    color: var(--color-green);
    margin-bottom: 10px;
    display: block;
}

.type-header h4 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin: 0;
}

.type-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
}

.type-benefits li i {
    color: var(--color-green);
    font-size: 0.9rem;
}

/* Membership Form Section */
.membership-form-section {
    padding: 80px 0;
    background-color: var(--color-light-blue);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-light-blue);
}

.form-section-title i {
    color: var(--color-green);
}

.form-section-title:first-child {
    margin-top: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--color-text);
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 3px;
}

.btn-adhesion-submit {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-adhesion-submit:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
}

/* Thank You Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 25px auto;
}

.modal-content h2 {
    color: var(--color-dark);
    margin-bottom: 15px;
}

.modal-message {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-submessage {
    color: var(--color-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-close-modal {
    background: var(--color-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: var(--color-green-hover);
}

/* Responsive for Adhesion Page */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .membership-types {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}

/* ========================================
   UTILITIES & ANIMATIONS
   ======================================== */
section {
    scroll-margin-top: calc(var(--header-height) + var(--navbar-height) + 20px);
}

a:focus,
button:focus,
.hamburger:focus {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

.hero-buttons .btn {
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-buttons .btn:nth-child(1) { animation-delay: 0.2s; }
.hero-buttons .btn:nth-child(2) { animation-delay: 0.4s; }
.hero-buttons .btn:nth-child(3) { animation-delay: 0.6s; }