/* ========================================
   EEUM PROJECT - UNIFIED COLOR VARIABLES
   Professional Theme Applied
   ======================================== */

:root {
    /* Primary Brand Colors */
    --primary-blue: #1e3c72;
    --primary-blue-light: #2a5298;
    --primary-blue-dark: #162d57;
    
    /* Secondary Colors */
    --secondary-green: #4A7C59;
    --secondary-green-light: #5a8c69;
    --secondary-teal: #3d8b8f;
    
    /* Accent Colors */
    --accent-coral: #E07A5F;
    --accent-coral-dark: #c86850;
    --accent-gold: #f9c74f;
    --accent-gold-light: #ffed4e;
    
    /* Neutral Colors */
    --neutral-dark: #2D2D2D;
    --neutral-medium: #666666;
    --neutral-light: #F4F4F4;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-secondary: linear-gradient(135deg, #4A7C59 0%, #3d8b8f 100%);
    --gradient-accent: linear-gradient(135deg, #E07A5F 0%, #c86850 100%);
    --gradient-gold: linear-gradient(135deg, #f9c74f 0%, #ffed4e 100%);
    --gradient-background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --gradient-admin: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: 80px;
    object-fit: contain; 
    border-radius: 8px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* ========================================
   AUTH BUTTONS - PROFESSIONAL STYLING
   ======================================== */

.auth-btn {
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Admin Panel Button - Premium Gold Gradient */
.auth-btn.admin-btn {
    background: var(--gradient-admin) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.auth-btn.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.auth-btn.admin-btn:hover::before {
    left: 100%;
}

.auth-btn.admin-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(245, 87, 108, 0.4) !important;
}

.auth-btn.admin-btn::after {
    content: "👤";
    margin-left: 6px;
}

/* Logout Button - Modern Red/Orange Gradient */
.auth-btn.login-btn {
    /*background: linear-gradient(135deg, #ffd89b 0%, #f7b733 100%) !important;*/
    /*color: #1e3c72 !important;*/
    font-weight: 700 !important;
    
    
    background: transparent !important;        /* CHANGED: removed background */
    color: white !important;                   /* CHANGED: white text */
    border: 2px solid white !important;        /* CHANGED: white border */
}

.auth-btn.login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(249, 199, 79, 0.5) !important;
    background: var(--gradient-gold) !important;
}

.auth-btn.login-btn::after {
    margin-left: 6px;
}

/* Register Button - Vibrant Purple Gradient */
.auth-btn.register-btn {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;*/
    
      background: transparent !important;        /* CHANGED: removed background */
    border: 2px solid white !important;
    color: white !important;
    
}

.auth-btn.register-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5) !important;
    background: linear-gradient(135deg, #7c92ee 0%, #8b5db8 100%) !important;
}

.auth-btn.register-btn::after {
    margin-left: 6px;
}

/* Welcome Message Styling */
.nav-links li span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 2px 10px rgba(249, 199, 79, 0.3);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
}

/* ========================================
   CAROUSEL
   ======================================== */

.carousel {
    margin-top: 70px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

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

.carousel-content {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.6);
    /*padding: 3rem;*/
    /*border-radius: 40px;*/
    /*max-width: 800px;*/
    padding: 1.5rem 2rem;          /* CHANGED: Reduced from 3rem */
    border-radius: 50px;            /* CHANGED: Reduced from 40px */
    max-width: 85%;                 /* CHANGED: Wider from 800px */
}

.carousel-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

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

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

.carousel-dot.active {
    background: white;
}

/* ========================================
   VIDEO SLIDE STYLES
   ======================================== */

.carousel-slide.video-slide {
    background: #000;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    z-index: 5;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.video-thumbnail .play-button svg {
    width: 80px;
    height: 56px;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
}

.video-thumbnail .video-overlay-text {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 10;
}

.video-thumbnail .video-overlay-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.video-thumbnail .video-overlay-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
    transition: all 0.3s ease;
}

.video-close-btn:hover {
    background: white;
    color: black;
}

/* Mobile responsiveness for video slide */
@media (max-width: 768px) {
    .video-thumbnail .play-button svg {
        width: 60px;
        height: 42px;
    }
    
    .video-thumbnail .video-overlay-text {
        bottom: 10%;
        padding: 0.8rem 1.5rem;
    }
    
    .video-thumbnail .video-overlay-text h1 {
        font-size: 1.3rem;
    }
    
    .video-thumbnail .video-overlay-text p {
        font-size: 0.85rem;
    }
    
    .video-close-btn {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* ========================================
   FUNDRAISING SECTION
   ======================================== */

.fundraising-section {
    padding: 4rem 2rem;
    background: var(--gradient-background);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

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

.fundraising-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.progress-section {
    margin: 3rem 0;
}

.progress-item {
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-weight: 600;
    color: #333;
}

.progress-percentage {
    font-weight: bold;
    color: var(--secondary-green);
}

.progress-container {
    background: #e0e0e0;
    border-radius: 50px;
    height: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 50px;
    transition: width 1s ease;
    width: 0;
}

.progress-bar.donors {
    background: var(--gradient-accent);
}

/* ========================================
   FIXED HISTOGRAM CHART STYLES
   ======================================== */

/* Chart Container */
.chart-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Chart bars container - displays bars horizontally with vertical growth */
.chart-bars {
    display: flex;
    gap: 2rem;
    height: 350px;
    align-items: flex-end;
    margin-top: 2rem;
    justify-content: space-around;
    padding: 0 1rem;
}

/* Bar container - wraps each individual bar and its label */
.bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 80px;
}

/* The actual vertical bar */
.chart-bar {
    width: 100%;
    max-width: 120px;
    background: linear-gradient(to top, var(--secondary-green), var(--secondary-teal));
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

/* Value displayed above the bar */
.bar-value {
    position: absolute;
    top: -30px;
    width: 100%;
    text-align: center;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}

/* Label displayed below the bar */
.bar-label {
    margin-top: 1rem;
    text-align: center;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
    max-width: 120px;
}
 /*=======================================
   EXECUTIVE TEAM
  ======================================== */

.executive-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    padding: 1.5rem 1rem 1rem 1rem;
    position: relative;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 4px solid white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.team-info {
    text-align: center;
}

.team-name {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: #1e3c72;
}

.team-position {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.team-info p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #555;
}

/* ========================================
   CORE TEAM
   ======================================== */

.core-section {
    padding: 4rem 2rem;
    background: white;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-title.dark {
    color: #1e3c72;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.evt-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #120f59 0%, #57f5c0 100%);
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #f5576c;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #ffd700;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #f5576c;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Logout Success Message */
.logout-message {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   EVENTS & CALENDAR SECTION
   ======================================== */

.events-calendar-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.events-calendar-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.events-calendar-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.content-container-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Calendar Section */
.calendar-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-header h2 {
    font-size: 1.8rem;
    color: #1e3c72;
}

.month-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.current-month {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3c72;
    min-width: 150px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: #667eea;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    padding: 0.5rem;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.today {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
}

.calendar-day.event {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-weight: bold;
}

.calendar-day.inactive {
    color: #ccc;
}

.calendar-legend {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.legend-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.legend-items {
    display: flex;
    gap: 2rem;
}

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

.legend-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.legend-dot.today {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.legend-dot.event {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Events Section */
.events-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.events-header {
    margin-bottom: 2rem;
}

.events-header h2 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
}

.tab-btn {
    padding: 0.6rem 1.2rem;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e0e0e0;
}

.events-list {
    max-height: 600px;
    overflow-y: auto;
}

.event-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-card.meeting {
    border-left-color: #4ade80;
}

.event-card.fundraiser {
    border-left-color: #f5576c;
}

.event-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    /* Navigation - Show Hamburger */
    .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}
      /* NEW: Hamburger Animation to X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    
    
    /* Hide desktop nav links */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        width: auto;              /* CHANGED: from 80% */
        min-width: 200px;         /* NEW: Minimum width */
        max-width: 280px;         /* CHANGED: from 300px */
        /*height: calc(100vh - 70px);*/
        height:auto;
        padding: 1rem;   
        /*padding: 2rem;*/
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
        border-radius: 0 0 0 15px;  
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;                                      /* ← No margin */
        padding: 0.5rem 0;                             /* ← Padding instead */
        white-space: nowrap;
        border-bottom: 1px solid rgba(255,255,255,0.2); /* ← White divider */
        text-align: left; 
        width: 100%;     
    }
    
        .nav-links li:last-child {
        border-bottom: none;                            /* ← No divider after last */
    }
    
       .nav-links li a {
        display: block;
        padding: 0.5rem 0;
        white-space: nowrap;
        color: white;
        text-align: left;           /* NEW */
    }
    
    .nav-links a {
        display: block;
        width: 100%;
         text-align: left; 
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Calendar/Events Grid */
    .content-container-events {
        grid-template-columns: 1fr;
        padding: 0;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
    }

    .calendar-header {
        flex-direction: column;
        gap: 1rem;
    }

    .events-list {
        max-height: 400px;
    }

    .calendar-section,
    .events-section {
        border-radius: 10px;
        margin: 0 1rem 1rem 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        box-sizing: border-box;
    }
    
    
    
        .nav-links .auth-btn {
        background: transparent !important;
        border: 2px solid white !important;
        color: white !important;
        padding: 0.6rem 1.2rem !important;
        border-radius: 8px !important;
        text-align: center !important;
    }
    
    .nav-links .auth-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    /* Carousel - Reduced Size */
    .carousel {
        height: 400px;
    }
    
    .carousel-content {
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        background: rgba(0, 0, 0, 0.7);
        /*padding: 1rem 1.5rem;*/
        /*border-radius: 10px;*/
        /*max-width: 85%;*/
        /*text-align: center;*/
        
        padding: 0.8rem 1rem;           /* CHANGED: More compact */
        border-radius: 10px;
        max-width: 90%;                 /* CHANGED: Wider */
        text-align: center;
    }
    
    .carousel-content h1 {
        font-size: 1.3rem;              /* CHANGED: Slightly larger */
        margin-bottom: 0.3rem;          /* CHANGED: Less space */
        line-height: 1.1;
        white-space: nowrap;            /* NEW: One line only */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .carousel-content p {
        font-size: 0.85rem;             /* CHANGED: Slightly larger */
        margin: 0;
        line-height: 1.2;
        display: -webkit-box;           /* NEW: Line clamping */
        -webkit-line-clamp: 2;          /* NEW: Max 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .carousel-nav {
        bottom: 5px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .team-photo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    /* Containers */
    .container {
        padding: 0 1rem;
    }

    .content-container-events {
        padding: 0;
        width: 100%;
    }

    /* Section Padding */
    .fundraising-section,
    .team-section,
    .core-section,
    .cta-section,
    .evt-section {
        padding: 3rem 1rem;
    }

    .events-calendar-section {
        padding: 3rem 0;
    }

    /* Fundraising Stats */
    .fundraising-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    /* Progress Section */
    .progress-section {
        margin: 2rem 0;
    }

    /* Chart Container - Mobile */
    .chart-container {
        padding: 1.5rem;
        overflow-x: auto;
    }
    
    .chart-bars {
        height: 250px;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .bar-container {
        min-width: 60px;
    }
    
    .chart-bar {
        max-width: 80px;
    }
    
    .bar-label {
        font-size: 0.8rem;
        margin-top: 0.75rem;
        max-width: 80px;
    }
    
    .bar-value {
        font-size: 0.85rem;
        top: -25px;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .events-calendar-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .events-calendar-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Calendar */
    .calendar-section {
        padding: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 1rem;
    }

    .calendar-header h2 {
        font-size: 1.5rem;
    }

    .month-navigation {
        width: 100%;
        justify-content: center;
    }

    .current-month {
        font-size: 1.1rem;
        min-width: 120px;
    }

    .day-header {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .calendar-day {
        padding: 0.3rem;
        font-size: 0.9rem;
    }

    .calendar-grid {
        gap: 4px;
    }

    /* Events Section */
    .events-section {
        padding: 1rem;
        width: calc(100% - 2rem);
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 1rem;
    }

    .events-header h2 {
        font-size: 1.5rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .event-card {
        padding: 1rem;
    }

    .event-title {
        font-size: 1.1rem;
    }

    /* Footer */
    footer {
        padding: 2rem 1rem;
    }

    .footer-social {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .social-icons {
        justify-content: center;
    }

    /* Modal */
    .modal-content {
        padding: 2rem;
        max-width: 95%;
        margin: 0 1rem;
    }

    .modal-header h2 {
        font-size: 1.8rem;
    }

    /* CTA Button */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Team Cards */
    .team-card {
        padding: 1rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-position {
        font-size: 0.9rem;
    }
    
    /* Auth Buttons Mobile */
    .auth-btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    
        .nav-links .auth-btn {
        padding: 8px 20px !important;
        font-size: 13px !important;
        margin: 0.3rem 0 !important;
    }
    
    .nav-links li {
        margin: 0.4rem 0;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
   
       .nav-links {
        padding: 0.4rem !important;          /* Minimal menu padding */
    }
    
    .nav-links li {
        padding: 0.15rem 0 !important;       /* Very tight spacing */
        margin: 0 !important;
    }
    
    .nav-links li a {
        padding: 0.25rem 0 !important;       /* Minimal link padding */
    }
    
    .nav-links .auth-btn {
        margin: 0.15rem 0 !important;        /* Tight button spacing */
        padding: 0.5rem 1.2rem !important;   /* Slightly reduce vertical padding */
    }
    
    /* Keep welcome message compact */
    .nav-links li span {
        padding: 0.25rem 0 !important;
    }
    .carousel-content {
        /*padding: 0.8rem 1rem;*/
        /*max-width: 90%;*/
        /*bottom: 10%;*/
        padding: 0.6rem 0.8rem;         /* CHANGED: Very compact */
        max-width: 92%;                 /* CHANGED: Even wider */
        bottom: 12%;
    }
    
    .carousel-content h1 {
        font-size: 1.2rem;
    }
    
    .carousel-content p {
        font-size: 0.85rem;
    }
    
    /* Chart - Extra Small Mobile */
    .chart-bars {
        height: 220px;
        gap: 0.5rem;
    }
    
    .bar-container {
        min-width: 50px;
    }
    
    .chart-bar {
        max-width: 70px;
    }
    
    .bar-label {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        max-width: 70px;
    }
    
    .bar-value {
        font-size: 0.75rem;
        top: -22px;
    }
    
    .chart-container h3 {
        font-size: 1.1rem;
    }

    /* Section Titles */
    .events-calendar-title {
        font-size: 1.8rem;
        padding: 0 0.5rem;
    }

    .events-calendar-subtitle {
        padding: 0 0.5rem;
    }

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

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

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Filter Tabs */
    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
    }

    /* Navigation Buttons */
    .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .current-month {
        font-size: 1rem;
        min-width: 100px;
    }

    /* Calendar/Events Spacing */
    .events-calendar-section {
        padding: 2rem 0;
    }

    .calendar-section,
    .events-section {
        padding: 0.75rem;
        border-radius: 8px;
        width: calc(100% - 1rem);
        margin: 0 0.5rem;
    }

    .calendar-header h2,
    .events-header h2 {
        font-size: 1.3rem;
    }

    .day-header {
        padding: 0.4rem;
        font-size: 0.75rem;
    }

    .calendar-day {
        padding: 0.2rem;
        font-size: 0.85rem;
    }

    .event-card {
        padding: 0.75rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .calendar-grid {
        gap: 3px;
    }
}

/* Desktop - Team Grid Adjustment */
@media (max-width: 1200px) and (min-width: 769px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    position: relative;
}

.testimonials-section .section-title {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    color:darkgreen;
    margin-right: auto;
}

.testimonials-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-row {
    display: flex;
    gap: 2rem;
    animation: scrollLeft 60s linear infinite;
    width: fit-content;
}

.testimonials-row-reverse {
    animation: scrollRight 60s linear infinite;
    margin-top: 2rem;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.testimonials-row:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    min-width: 450px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--secondary-green);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 1rem;
}


/* ========================================
   UPDATED TESTIMONIAL QUOTE MARKS
   Make them look like 66 and 99
   ======================================== */

.testimonial-quote {
    position: relative;
    margin-bottom: 1rem;
}

/* Remove the old quote marks */
.quote-mark {
    display: none;
}

/* Add opening quote (66 style) using CSS */
.testimonial-quote::before {
    content: '\201C'; /* Left double quotation mark character */
    font-size: 4rem;
    color: var(--secondary-green);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Add closing quote (99 style) using CSS */
.testimonial-quote::after {
    content: '\201D'; /* Right double quotation mark character */
    font-size: 4rem;
    color: var(--secondary-green);
    opacity: 0.3;
    position: absolute;
    bottom: -35px;
    right: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin: 0.5rem 0;
    font-style: italic;
    padding: 0 10px; /* Add padding so text doesn't overlap quotes */
}

/* Alternative: If you want bigger, more prominent quotes */
.testimonial-quote.large-quotes::before {
    font-size: 5rem;
    top: -25px;
    left: -15px;
    opacity: 0.25;
}

.testimonial-quote.large-quotes::after {
    font-size: 5rem;
    bottom: -40px;
    right: -15px;
    opacity: 0.25;
}

/* ========================================
   MOBILE ADJUSTMENTS FOR QUOTES
   ======================================== */

@media (max-width: 768px) {
    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3rem;
    }
    
    .testimonial-quote::before {
        top: -15px;
        left: -5px;
    }
    
    .testimonial-quote::after {
        bottom: -25px;
        right: -5px;
    }
}

@media (max-width: 480px) {
    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 2.5rem;
    }
    
    .testimonial-quote::before {
        top: -10px;
        left: 0;
    }
    
    .testimonial-quote::after {
        bottom: -20px;
        right: 0;
    }
}

.testimonial-quote p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin: 0.5rem 0;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--secondary-green);
    font-weight: 600;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.gallery-section .section-title {
    color: var(--primary-blue);
}

.admin-gallery-controls {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-gallery-btn,
.admin-btn-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.admin-gallery-btn:hover,
.admin-btn-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.gallery-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollGallery 80s linear infinite;
    width: fit-content;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    position: relative;
    width: 350px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.gallery-event {
    display: inline-block;
    background: var(--secondary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN - TESTIMONIALS & GALLERY
   ======================================== */

@media (max-width: 768px) {
    .testimonials-section,
    .gallery-section {
        padding: 3rem 1rem;
    }

    .testimonials-section .section-title,
    .gallery-section .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        color:darkblue;
    }

    .testimonial-card {
        min-width: 320px;
        max-width: 320px;
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-photo {
        width: 80px;
        height: 80px;
    }

    .testimonial-quote p {
        font-size: 0.9rem;
    }

    .gallery-item {
        width: 280px;
        height: 200px;
    }

    .gallery-caption {
        padding: 1.5rem 1rem 0.75rem;
    }

    .gallery-caption p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1rem;
    }

    .testimonial-photo {
        width: 60px;
        height: 60px;
    }

    .testimonial-quote p {
        font-size: 0.85rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .gallery-item {
        width: 240px;
        height: 180px;
    }

    .admin-gallery-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
