/*
Theme Name: Disha One-Page Theme
Author: Your Name
Description: A custom one-page theme for Disha Foundation of Canada.
Version: 1.1
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
# Header
# Navigation
# Hero Section
# MVV Section
# Guidance Section
# Programs Section
# About & Gallery Section
# Team Section
# Events Section
# Impact Section
# Get Involved Section
# Contact Section
# Footer
# Swiper Carousel Styles
# Animations & Transitions
# Accessibility
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
:root {
    --primary-color: #2C5282; /* Deep Blue */
    --secondary-color: #38A169; /* Fresh Green */
    --accent-color: #EDF2F7; /* Light Gray */
    --background-color: #FFFFFF; /* Clean White */
    --text-color: #2D3748; /* Dark Gray */
    --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-color: #E2E8F0;
    --hover-color: #1A365D; /* Darker Blue */
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html {
    overflow-x: hidden; /* Prevent horizontal scrolling on html element too */
}

*, *::before, *::after {
    box-sizing: border-box; /* Ensure padding and borders are included in element width */
}

/* Ensure all containers stay within viewport */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Ensure images and media don't exceed container width */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

body {
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Remove duplicate container definition - using the earlier one with overflow prevention */

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hover-color), #153e75);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #2f855a);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2f855a, #276749);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.3);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.site-branding {
    flex: 0 0 auto;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-cta {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-volunteer,
.btn-header-donate {
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    max-width: 120px;
    height: 42px;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-volunteer {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-volunteer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-header-donate {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-header-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-navigation li {
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.site-branding a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-branding .logo-container {
    display: flex;
    align-items: center;
    height: 50px;
}

.site-branding .logo-img {
    display: block;
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.site-branding .logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
    text-decoration: none;
    display: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.site-branding .brand-link:hover .logo-text {
    color: var(--secondary-color);
}

/* Fallback: Show text if image fails to load */
.site-branding .logo-img[style*="display: none"] + .logo-text {
    display: block !important;
}

/* Ensure logo is responsive */
@media (max-width: 480px) {
    .site-branding .logo-img {
        max-width: 40px;
        max-height: 40px;
    }
    
    .site-branding .logo-text {
        font-size: 16px;
    }
    
    .site-branding .logo-container {
        height: 40px;
    }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
}

/* Dropdown menu styles */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.8rem;
    margin-left: 4px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 5px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
    border-radius: 0;
    background: none;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(44, 82, 130, 0.7) 0%, 
        rgba(56, 161, 105, 0.6) 100%);
    z-index: 1;
}

.hero-section::before {
    display: none; /* Remove old overlay since we have video-overlay now */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 1;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: heroTitleSlide 1.2s ease-out 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: heroSubtitleSlide 1.2s ease-out 0.4s both;
}

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

/*--------------------------------------------------------------
# MVV Section - Professional Light Redesign
--------------------------------------------------------------*/
.disha-onepage .mvv-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 120px 0 !important;
}

.disha-onepage .mvv-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.disha-onepage .mvv-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 50px !important;
    margin-top: 60px !important;
    position: relative;
    z-index: 2;
}

.disha-onepage .mvv-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%) !important;
    padding: 50px 40px 40px !important;
    border-radius: 20px !important;
    box-shadow: 
        0 20px 40px rgba(59, 130, 246, 0.06),
        0 4px 20px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.08) !important;
    margin-bottom: 0 !important;
}

.disha-onepage .mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3B82F6 0%, #10B981 50%, #6366F1 100%);
    z-index: 3;
}

.disha-onepage .mvv-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.disha-onepage .mvv-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 
        0 30px 60px rgba(59, 130, 246, 0.12),
        0 8px 30px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}

.disha-onepage .mvv-card:hover::after {
    opacity: 0.8;
    transform: scale(1.2) rotate(45deg);
}

/* Light Professional Colors */
.disha-onepage .mvv-card:nth-child(1) {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%) !important;
    border-color: rgba(59, 130, 246, 0.1) !important;
}

.disha-onepage .mvv-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3B82F6 0%, #1D4ED8 100%) !important;
}

.disha-onepage .mvv-card:nth-child(1)::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%) !important;
}

.disha-onepage .mvv-card:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%) !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}

.disha-onepage .mvv-card:nth-child(2)::before {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%) !important;
}

.disha-onepage .mvv-card:nth-child(2)::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%) !important;
}

.disha-onepage .mvv-card:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: rgba(100, 116, 139, 0.1) !important;
}

.disha-onepage .mvv-card:nth-child(3)::before {
    background: linear-gradient(90deg, #64748B 0%, #475569 100%) !important;
}

.disha-onepage .mvv-card:nth-child(3)::after {
    background: radial-gradient(circle, rgba(100, 116, 139, 0.08) 0%, transparent 70%) !important;
}

.disha-onepage .mvv-icon {
    font-size: 3.5rem !important;
    margin-bottom: 25px !important;
    display: block !important;
    transition: all 0.4s ease !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) !important;
}

.disha-onepage .mvv-card:nth-child(1) .mvv-icon {
    color: #3B82F6 !important;
}

.disha-onepage .mvv-card:nth-child(2) .mvv-icon {
    color: #10B981 !important;
}

.disha-onepage .mvv-card:nth-child(3) .mvv-icon {
    color: #64748B !important;
}

.disha-onepage .mvv-card:hover .mvv-icon {
    transform: scale(1.15) rotateY(15deg) !important;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15)) !important;
}

.disha-onepage .mvv-card h3 {
    font-size: 2rem !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
}

.disha-onepage .mvv-card:nth-child(1) h3 {
    color: #1E40AF !important;
}

.disha-onepage .mvv-card:nth-child(2) h3 {
    color: #047857 !important;
}

.disha-onepage .mvv-card:nth-child(3) h3 {
    color: #475569 !important;
}

.disha-onepage .mvv-card .mvv-description {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #64748B !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.disha-onepage .values-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    margin-top: 30px !important;
}

.disha-onepage .value-item {
    text-align: center !important;
    padding: 25px 20px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(100, 116, 139, 0.1) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    margin-bottom: 0 !important;
}

.disha-onepage .value-item:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(100, 116, 139, 0.1) !important;
    border-color: rgba(100, 116, 139, 0.2) !important;
}

.disha-onepage .value-icon {
    font-size: 2.2rem !important;
    margin-bottom: 12px !important;
    display: block !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.disha-onepage .value-item h4 {
    margin: 12px 0 8px !important;
    color: #475569 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.disha-onepage .value-item p {
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    color: #64748B !important;
}

/*--------------------------------------------------------------
# Guidance Section - Professional Light Redesign
--------------------------------------------------------------*/
.guidance-section {
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.guidance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.guidance-item {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 45px 35px 35px;
    border-radius: 18px;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.04),
        0 3px 15px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.06);
    text-align: center;
}

.guidance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6 0%, #10B981 50%, #64748B 100%);
    z-index: 3;
    transition: all 0.3s ease;
}

.guidance-item::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.guidance-item:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.08),
        0 6px 25px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(59, 130, 246, 0.12);
}

.guidance-item:hover::before {
    height: 6px;
}

.guidance-item:hover::after {
    opacity: 0.8;
    transform: scale(1.3) rotate(30deg);
}

/* Professional 3-color cycling with light themes */
.guidance-item:nth-child(1) {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-color: rgba(59, 130, 246, 0.08);
}

.guidance-item:nth-child(1)::before {
    background: linear-gradient(90deg, #3B82F6 0%, #1D4ED8 100%);
}

.guidance-item:nth-child(1)::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

.guidance-item:nth-child(2) {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: rgba(16, 185, 129, 0.08);
}

.guidance-item:nth-child(2)::before {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.guidance-item:nth-child(2)::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.guidance-item:nth-child(3) {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(100, 116, 139, 0.08);
}

.guidance-item:nth-child(3)::before {
    background: linear-gradient(90deg, #64748B 0%, #475569 100%);
}

.guidance-item:nth-child(3)::after {
    background: radial-gradient(circle, rgba(100, 116, 139, 0.06) 0%, transparent 70%);
}

.guidance-item:nth-child(4) {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-color: rgba(59, 130, 246, 0.08);
}

.guidance-item:nth-child(4)::before {
    background: linear-gradient(90deg, #3B82F6 0%, #1D4ED8 100%);
}

.guidance-item:nth-child(4)::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

.guidance-item:nth-child(5) {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: rgba(16, 185, 129, 0.08);
}

.guidance-item:nth-child(5)::before {
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.guidance-item:nth-child(5)::after {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.guidance-icon {
    font-size: 3.2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.guidance-item:nth-child(1) .guidance-icon {
    color: #3B82F6;
}

.guidance-item:nth-child(2) .guidance-icon {
    color: #10B981;
}

.guidance-item:nth-child(3) .guidance-icon {
    color: #64748B;
}

.guidance-item:nth-child(4) .guidance-icon {
    color: #3B82F6;
}

.guidance-item:nth-child(5) .guidance-icon {
    color: #10B981;
}

.guidance-item:hover .guidance-icon {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

.guidance-item h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.guidance-item h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 500;
    opacity: 0.8;
    font-style: italic;
}

/* Light professional colors for headings */
.guidance-item:nth-child(1) h3 {
    color: #1E40AF;
}

.guidance-item:nth-child(1) h4 {
    color: #3B82F6;
}

.guidance-item:nth-child(2) h3 {
    color: #047857;
}

.guidance-item:nth-child(2) h4 {
    color: #10B981;
}

.guidance-item:nth-child(3) h3 {
    color: #475569;
}

.guidance-item:nth-child(3) h4 {
    color: #64748B;
}

.guidance-item:nth-child(4) h3 {
    color: #1E40AF;
}

.guidance-item:nth-child(4) h4 {
    color: #3B82F6;
}

.guidance-item:nth-child(5) h3 {
    color: #047857;
}

.guidance-item:nth-child(5) h4 {
    color: #10B981;
}

.guidance-item p {
    color: #64748B;
    line-height: 1.7;
    margin: 0;
    text-align: center;
    font-size: 1rem;
}

/*--------------------------------------------------------------
# Programs Section
--------------------------------------------------------------*/
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.program-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.program-image {
    position: relative;
}

.program-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(139, 69, 19, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-item:hover .program-overlay {
    opacity: 1;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
}

.program-tags {
    margin-top: 15px;
}

.tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/*--------------------------------------------------------------
# About & Gallery Section
--------------------------------------------------------------*/
.about-content-wrapper {
    display: block;
    text-align: center;
}

.about-text {
    margin-bottom: 50px;
}

/* Gallery Section Enhancements */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-content {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.gallery-fallback {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 600px;
}

.gallery-fallback p {
    color: #64748B;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-text .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-gallery {
    margin-top: 40px;
}

.about-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-details h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.about-teams {
    margin-bottom: 30px;
}

.team-highlight {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.team-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-highlight h4 i {
    color: var(--secondary-color);
}

.team-highlight p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 10px;
}

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team-section {
    background-color: var(--accent-color);
}

/* WP Team Plugin Uniform Sizing */
/* Override WP Team plugin styles for uniform photo sizing */
.wpteam-members,
.wpteam-member,
.team-content .wpteam-members {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
}

.wpteam-member {
    width: 280px !important;
    max-width: 280px !important;
    text-align: center !important;
    background: #fff !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.wpteam-member:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

/* Uniform team member photo sizing */
.wpteam-member img,
.wpteam-member .wpteam-member-photo img,
.wpteam-member .wpteam-member-image img {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
    border: 4px solid #fff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease !important;
}

.wpteam-member:hover img {
    transform: scale(1.05) !important;
}

/* Uniform text styling */
.wpteam-member .wpteam-member-name,
.wpteam-member h3,
.wpteam-member h2 {
    font-family: var(--heading-font) !important;
    color: var(--primary-color) !important;
    font-size: 1.3rem !important;
    margin: 10px 0 8px 0 !important;
    font-weight: 600 !important;
}

.wpteam-member .wpteam-member-designation,
.wpteam-member .wpteam-member-position {
    color: var(--secondary-color) !important;
    font-style: italic !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
    font-size: 1rem !important;
}

.wpteam-member .wpteam-member-description,
.wpteam-member p {
    color: var(--text-color) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Social links styling for WP Team */
.wpteam-member .wpteam-member-social,
.wpteam-member .wpteam-social {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.wpteam-member .wpteam-member-social a,
.wpteam-member .wpteam-social a {
    width: 35px !important;
    height: 35px !important;
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.wpteam-member .wpteam-member-social a:hover,
.wpteam-member .wpteam-social a:hover {
    background: var(--secondary-color) !important;
    transform: scale(1.1) !important;
}

/* Custom team member styling (fallback) */
.team-member {
    text-align: center;
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 82, 130, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-info h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin: 10px 0 5px;
    font-size: 1.3rem;
}

.team-info .team-role {
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 8px;
}

.team-info .team-bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f8fafc 100%);
}

/* Basic styling for The Events Calendar list view */
.events-content .tribe-events-calendar-list__event-title a {
    color: var(--secondary-color);
    font-family: var(--heading-font);
}

.events-content .tribe-events-calendar-list__event-datetime {
    color: var(--primary-color);
    font-weight: bold;
}

/* Events Calendar Templates styling */
.events-content .ect-list-posts {
    margin: 0 !important;
    padding: 0 !important;
}

.events-content .ect-list-post {
    margin-bottom: 20px !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    background: #fff !important;
}

/* Fix mobile events header cutoff */
.events-content .ect-header-text,
.events-content .ect-list-header,
.events-content .tribe-events-header {
    padding: 15px 20px !important;
    margin: 90px -20px 20px !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    position: relative !important;
    z-index: 10 !important;
}

.events-content .ect-header-text h3,
.events-content .ect-list-header h3,
.events-content .tribe-events-header h1 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Fallback events styling */
.events-list,
.events-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-item h3 {
    color: var(--primary-color);
    font-family: var(--heading-font);
    margin-bottom: 10px;
}

.event-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.event-item p:not(.event-date) {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/*--------------------------------------------------------------
# Impact Section
--------------------------------------------------------------*/
.impact-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    justify-content: center;
}

.impact-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-value {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(44, 82, 130, 0.1);
}

/* Counter animations for functional teams in about section */
.stat-item .counter-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: inline;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.counter-plus {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Supporters Section
--------------------------------------------------------------*/
.supporters-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

/* GS Logo Slider Plugin Uniform Sizing */
/* Override GS Logo Slider plugin styles for uniform logo sizing */
.gs_logo_slider,
.gs_logo_container,
.supporters-content .gs_logo_slider {
    width: 100% !important;
    margin: 0 auto !important;
}

.gs_logo_slider .swiper-container,
.gs_logo_slider .swiper-wrapper,
.gs_logo_slider .gs-logo-slider {
    width: 100% !important;
}

.gs_logo_slider .swiper-slide,
.gs_logo_slider .gs-logo-item,
.gs_logo_slider .logo-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    margin: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
}

.gs_logo_slider .swiper-slide:hover,
.gs_logo_slider .gs-logo-item:hover,
.gs_logo_slider .logo-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--secondary-color) !important;
}

/* Uniform logo image sizing */
.gs_logo_slider img,
.gs_logo_slider .swiper-slide img,
.gs_logo_slider .gs-logo-item img,
.gs_logo_slider .logo-item img {
    max-width: 160px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: grayscale(30%) !important;
    transition: filter 0.3s ease, transform 0.3s ease !important;
    display: block !important;
    margin: 0 auto !important;
}

.gs_logo_slider .swiper-slide:hover img,
.gs_logo_slider .gs-logo-item:hover img,
.gs_logo_slider .logo-item:hover img {
    filter: grayscale(0%) !important;
    transform: scale(1.05) !important;
}

/* Navigation buttons for GS Logo Slider */
.gs_logo_slider .swiper-button-next,
.gs_logo_slider .swiper-button-prev {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.gs_logo_slider .swiper-button-next:hover,
.gs_logo_slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1) !important;
}

/* Pagination dots for GS Logo Slider */
.gs_logo_slider .swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5 !important;
    width: 10px !important;
    height: 10px !important;
}

.gs_logo_slider .swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

/* Custom supporters fallback styling */
.supporter-tier {
    margin-bottom: 60px;
}

.tier-title {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
}

.tier-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Logo Grid Layout */
.donor-logos-grid {
    display: grid;
    gap: 40px 30px;
    align-items: center;
    justify-items: center;
    margin: 0 auto;
    max-width: 1200px;
}

/* Tier-specific grid layouts */
.tier-platinum {
    grid-template-columns: repeat(2, 1fr);
}

.tier-gold {
    grid-template-columns: repeat(4, 1fr);
}

.tier-silver {
    grid-template-columns: repeat(3, 1fr);
}

/* Logo items */
.donor-logo-item {
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.donor-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.donor-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.donor-logo-item:hover img {
    filter: grayscale(0%);
}

/* CTA Section */
.supporters-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.supporters-note {
    margin-top: 15px;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.8;
}

/* All Supporters Expanded Section */
.all-supporters-list {
    margin-top: 40px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px dashed var(--secondary-color);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tier-community {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual Donors Section */
.individual-donors-list {
    text-align: center;
}

.donor-names-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 30px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.donor-name {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: var(--primary-color);
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donor-name:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for expanded section */
@media (max-width: 1024px) {
    .tier-community {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .donor-names-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tier-community {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donor-names-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
    }
    
    .all-supporters-list {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .tier-community {
        grid-template-columns: 1fr;
    }
    
    .donor-names-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tier-gold {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tier-silver {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .supporters-section {
        padding: 60px 0;
    }
    
    .donor-logos-grid {
        gap: 30px 20px;
    }
    
    .tier-platinum,
    .tier-gold,
    .tier-silver {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donor-logo-item {
        width: 160px;
        height: 70px;
        padding: 15px;
    }
    
    .supporter-tier {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .tier-platinum,
    .tier-gold,
    .tier-silver {
        grid-template-columns: 1fr;
    }
    
    .donor-logo-item {
        width: 200px;
        height: 80px;
    }
}

/*--------------------------------------------------------------
# Get Involved Section
--------------------------------------------------------------*/
.get-involved-section {
    background-color: var(--accent-color);
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.involvement-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.involvement-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.involvement-card h3 {
    font-family: var(--heading-font);
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.involvement-card p {
    margin-bottom: 25px;
    flex-grow: 1;
}

.involvement-card .btn {
    margin: 20px auto 0;
    width: 100%;
    max-width: 220px;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.5px;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    align-self: center;
    text-overflow: clip;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1.3;
    min-height: 50px;
    vertical-align: top;
    position: relative;
}

/* Unified button styling for Get Involved section */
.involvement-card .btn,
.involvement-card .btn-primary,
.involvement-card .btn-secondary,
.involvement-card button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
    margin-top: 20px;
    width: 100%;
    max-width: 220px;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.5px;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1.3;
    min-height: 50px;
    vertical-align: top;
    position: relative;
}

.involvement-card .btn:hover,
.involvement-card .btn-primary:hover,
.involvement-card .btn-secondary:hover,
.involvement-card button:hover {
    background: linear-gradient(135deg, var(--hover-color) 0%, #2f855a 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3);
    color: #fff !important;
    text-decoration: none;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 50px;
    border-radius: 10px;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* WP Forms Styling */
.contact-form .wpforms-container {
    background: transparent;
    padding: 0;
}

.contact-form .wpforms-form .wpforms-field {
    margin-bottom: 20px;
}

.contact-form .wpforms-form input[type="text"],
.contact-form .wpforms-form input[type="email"],
.contact-form .wpforms-form input[type="tel"],
.contact-form .wpforms-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form .wpforms-form input:focus,
.contact-form .wpforms-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.contact-form .wpforms-form .wpforms-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .wpforms-form .wpforms-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.fallback-contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.fallback-contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Footer - Professional Redesign
--------------------------------------------------------------*/
.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #e2e8f0;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6 0%, #10B981 50%, #64748B 100%);
    z-index: 2;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.15);
}

.footer-section {
    position: relative;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-logo-link:hover {
    opacity: 0.9;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-logo img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.footer-logo-link:hover img {
    transform: scale(1.05);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
}

.footer-description {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 90%;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: #f1f5f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(16, 185, 129, 0.4) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: #ffffff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #f1f5f9;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6 0%, #10B981 100%);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3B82F6;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a:hover {
    color: #f1f5f9;
    text-decoration: none;
    padding-left: 5px;
}

.footer-links li:hover::before {
    color: #10B981;
    transform: translateX(3px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    color: #3B82F6;
    font-size: 1.1rem;
    text-align: center;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #f1f5f9;
    text-decoration: none;
}

.contact-item span {
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0 20px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -20px;
    backdrop-filter: blur(10px);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal .separator {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-legal a:hover {
    color: #f1f5f9;
    background: rgba(59, 130, 246, 0.2);
    text-decoration: none;
}

.cookie-notice {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
}

.cookie-notice p {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-notice a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-notice a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Swiper Carousel Styles
--------------------------------------------------------------*/
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    background-color: #cccccc;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Team Carousel Pagination */
.team-carousel .swiper-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.team-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #d1d5db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-carousel .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.8), rgba(56, 161, 105, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-info p {
    margin: 0 0 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.gallery-zoom {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-zoom:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Gallery navigation styling */
.gallery-next,
.gallery-prev {
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 35px !important;
    height: 35px !important;
    margin-top: -17px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.gallery-next:hover,
.gallery-prev:hover {
    background: rgba(255, 255, 255, 1) !important;
}

.gallery-pagination .swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5;
}

.gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/*--------------------------------------------------------------
# FooGallery Enhanced Styling - Bigger Images & Full Width
--------------------------------------------------------------*/
/* Main gallery container */
.foogallery {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Gallery grid layouts */
.foogallery.fg-justified,
.foogallery.fg-masonry,
.foogallery.fg-simple_portfolio,
.foogallery.fg-image_viewer,
.foogallery .fg-thumb {
    width: 100% !important;
    max-width: 100% !important;
}

/* Individual gallery items */
.foogallery .fg-item,
.foogallery .fg-thumb {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 20px !important;
}

.foogallery .fg-item:hover,
.foogallery .fg-thumb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Gallery images */
.foogallery .fg-image,
.foogallery .fg-thumb img,
.foogallery img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: transform 0.3s ease !important;
}

.foogallery .fg-item:hover .fg-image,
.foogallery .fg-thumb:hover img {
    transform: scale(1.02) !important;
}

/* Justified gallery specific */
.foogallery.fg-justified .fg-item {
    min-height: 280px !important;
    margin: 5px !important;
}

.foogallery.fg-justified .fg-image {
    min-height: 280px !important;
    object-fit: cover !important;
}

/* Masonry layout */
.foogallery.fg-masonry .fg-item {
    margin-bottom: 20px !important;
    break-inside: avoid !important;
}

/* Simple portfolio layout */
.foogallery.fg-simple_portfolio .fg-item {
    margin-bottom: 30px !important;
}

/* Image viewer layout */
.foogallery.fg-image_viewer .fg-thumb {
    margin: 5px !important;
    min-height: 200px !important;
}

.foogallery.fg-image_viewer .fg-thumb img {
    min-height: 200px !important;
    object-fit: cover !important;
}

/* Gallery captions */
.foogallery .fg-caption,
.foogallery .fg-caption-inner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(16, 185, 129, 0.9)) !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 0 0 12px 12px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Gallery navigation */
.foogallery .fg-nav {
    margin-top: 30px !important;
    text-align: center !important;
}

.foogallery .fg-nav a {
    background: #3B82F6 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.foogallery .fg-nav a:hover {
    background: #1D4ED8 !important;
    transform: translateY(-2px) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .foogallery {
        margin: 0 -15px !important;
        padding: 0 15px !important;
    }
    
    .foogallery .fg-item,
    .foogallery .fg-thumb {
        margin: 10px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .foogallery.fg-justified .fg-item {
        min-height: 220px !important;
        margin: 10px 0 !important;
    }
    
    .foogallery.fg-justified .fg-image {
        min-height: 220px !important;
    }
    
    .foogallery.fg-image_viewer .fg-thumb {
        min-height: 180px !important;
        margin: 8px 0 !important;
    }
    
    .foogallery.fg-image_viewer .fg-thumb img {
        min-height: 180px !important;
    }
    
    /* Force single column on mobile for better viewing */
    .foogallery.fg-masonry {
        column-count: 1 !important;
    }
    
    .foogallery .fg-caption,
    .foogallery .fg-caption-inner {
        padding: 12px !important;
        font-size: 0.8rem !important;
    }
}

/* Ultra wide mobile (small phones) */
@media (max-width: 480px) {
    .foogallery {
        margin: 0 -10px !important;
        padding: 0 10px !important;
    }
    
    .foogallery .fg-item,
    .foogallery .fg-thumb {
        margin: 8px 0 !important;
        border-radius: 8px !important;
    }
    
    .foogallery .fg-image,
    .foogallery .fg-thumb img,
    .foogallery img {
        border-radius: 8px !important;
    }
    
    .foogallery.fg-justified .fg-item {
        min-height: 200px !important;
    }
    
    .foogallery.fg-justified .fg-image {
        min-height: 200px !important;
    }
    
    .foogallery.fg-image_viewer .fg-thumb {
        min-height: 160px !important;
    }
    
    .foogallery.fg-image_viewer .fg-thumb img {
        min-height: 160px !important;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .foogallery .fg-item,
    .foogallery .fg-thumb {
        margin: 15px 10px !important;
    }
    
    .foogallery.fg-justified .fg-item {
        min-height: 250px !important;
    }
    
    .foogallery.fg-justified .fg-image {
        min-height: 250px !important;
    }
}

/* Desktop enhancements */
@media (min-width: 1025px) {
    .foogallery .fg-item,
    .foogallery .fg-thumb {
        margin: 20px 15px !important;
    }
    
    .foogallery.fg-justified .fg-item {
        min-height: 300px !important;
    }
    
    .foogallery.fg-justified .fg-image {
        min-height: 300px !important;
    }
}

/*--------------------------------------------------------------
# Animations & Transitions
--------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Hide Pojo Accessibility toolbar if it exists */
#pojo-a11y-toolbar {
    display: none !important;
}

/* Floating Action Buttons - Enhanced Visibility */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}

.fab-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(44, 82, 130, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 1 !important;
    visibility: visible !important;
}

.fab-item:hover {
    background-color: var(--hover-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(44, 82, 130, 0.4);
    text-decoration: none;
    color: #fff;
}

.fab-donate {
    background-color: #e53e3e !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.fab-donate:hover {
    background-color: #c53030 !important;
    color: #fff !important;
}

.fab-volunteer {
    background-color: #10B981 !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3) !important;
}

.fab-volunteer:hover {
    background-color: #047857 !important;
    color: #fff !important;
    box-shadow: 0 6px 25px rgba(4, 120, 87, 0.4) !important;
    text-decoration: none;
}

.fab-item[href*="whatsapp"],
.fab-item.fab-whatsapp {
    background-color: #25d366 !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
}

.fab-item[href*="whatsapp"]:hover,
.fab-item.fab-whatsapp:hover {
    background-color: #128c7e !important;
    box-shadow: 0 6px 25px rgba(18, 140, 126, 0.4) !important;
}

.fab-item[href*="facebook"] {
    background-color: #1877f2;
}

.fab-item[href*="facebook"]:hover {
    background-color: #166fe5;
}

.fab-item[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.fab-item[href*="instagram"]:hover {
    opacity: 0.9;
}

#scroll-to-top {
    opacity: 0;
    visibility: hidden;
    background-color: #4A5568 !important; /* Dark gray - different from WhatsApp */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scroll-to-top:hover {
    background-color: #2D3748 !important; /* Darker gray on hover */
}

/* Zeffy Modal */
.zeffy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.zeffy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zeffy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.zeffy-modal-content {
    position: relative;
    width: 95%;
    max-width: 800px;
    height: 90vh;
    max-height: 1200px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.zeffy-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.zeffy-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.zeffy-iframe-container {
    width: 100%;
    height: 100%;
}

.zeffy-iframe-container > div,
.zeffy-iframe-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* External link icon styling for events */
.external-icon {
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

a:hover .external-icon {
    opacity: 1;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .contact-content {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: flex;
        gap: 8px;
    }
    
    .btn-volunteer,
    .btn-header-donate {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 4px;
    }
    
    .btn-volunteer i,
    .btn-header-donate i {
        font-size: 0.9rem;
    }
    
    /* Gallery section mobile enhancements */
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-content {
        margin-top: 30px;
    }
    
    .gallery-fallback {
        margin: 0 15px;
        padding: 40px 20px;
    }
    
    /* Events section mobile fixes */
    .events-section {
        padding: 60px 0;
    }
    
    /* Additional mobile events header fixes */
    @media (max-width: 768px) {
        .events-content .ect-header-text,
        .events-content .ect-list-header,
        .events-content .tribe-events-header {
            margin-top: 100px !important;
            scroll-margin-top: 100px !important;
        }
        
        /* Ensure any event detail views also have proper spacing */
        .single-tribe_events .tribe-events-content,
        .events-archive .tribe-events-content {
            padding-top: 100px !important;
        }
    }
    
    .events-content {
        margin: 0 -10px;
        padding: 0 10px;
    }
    
    .events-content .ect-header-text,
    .events-content .ect-list-header,
    .events-content .tribe-events-header {
        margin: 0 -10px 15px !important;
        padding: 10px 15px !important;
        font-size: 1.2rem !important;
    }
    
    .events-content .ect-list-post {
        margin: 0 0 15px !important;
        padding: 15px !important;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
        background: none;
    }

    /* Mobile dropdown styles */
    .menu-item-has-children > a::after {
        float: right;
        content: '▾';
    }

    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        padding: 0;
        margin-left: 20px;
        border-left: 2px solid var(--primary-color);
    }

    .sub-menu a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide mobile menu on non-home pages if body doesn't have home class */
    body:not(.home) .mobile-menu-toggle {
        display: none;
    }
    
    /* Alternative: Show simplified mobile menu on non-home pages */
    body:not(.home) .header-cta {
        display: flex;
    }
    
    /* For events pages, make navigation more accessible */
    body.single-tribe_events .main-navigation,
    body.tribe-events .main-navigation {
        display: block;
        position: static;
        background: transparent;
        box-shadow: none;
    }
    
    body.single-tribe_events .main-navigation ul,
    body.tribe-events .main-navigation ul {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Show mobile menu toggle on events pages if needed */
    body.single-tribe_events .mobile-menu-toggle,
    body.tribe-events .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Video background mobile optimizations */
    .hero-video-background video {
        /* On mobile, prioritize performance and battery life */
        pointer-events: none;
    }
    
    .hero-section {
        height: 80vh; /* Slightly shorter on mobile */
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .contact-content {
        padding: 20px;
    }
    
    /* Footer Mobile Redesign */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li {
        padding-left: 0;
    }
    
    .footer-links li::before {
        display: none;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        gap: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }

    .fab-container {
        bottom: 15px;
        right: 15px;
        z-index: 999;
    }

    .fab-item {
        width: 45px;
        height: 45px;
        font-size: 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* Keep all important FABs visible on mobile */
    .fab-container .fab-donate,
    .fab-container .fab-volunteer,
    .fab-container .fab-item[href*="whatsapp"],
    .fab-container .fab-item[href*="facebook"],
    .fab-container .fab-item[href*="instagram"],
    .fab-container #scroll-to-top {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Additional mobile responsive improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Ensure grids don't cause overflow */
    .mvv-grid,
    .guidance-grid,
    .programs-grid,
    .involvement-options {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    /* Ensure all cards/items fit within container */
    .mvv-card,
    .guidance-item,
    .program-item,
    .involvement-card {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Ensure hero content fits */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile responsive for WP Team plugin */
    .wpteam-members {
        justify-content: center !important;
        gap: 20px !important;
    }
    
    .wpteam-member {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .wpteam-member img,
    .wpteam-member .wpteam-member-photo img,
    .wpteam-member .wpteam-member-image img {
        width: 150px !important;
        height: 150px !important;
    }
    
    /* Mobile responsive for new MVV and Guidance sections */
    .disha-onepage .mvv-grid,
    .mvv-grid,
    .guidance-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .disha-onepage .mvv-card,
    .mvv-card,
    .guidance-item {
        margin: 0 auto !important;
        max-width: 400px !important;
        padding: 35px 25px 25px !important;
    }
    
    .disha-onepage .mvv-card h3,
    .mvv-card h3,
    .guidance-item h3 {
        font-size: 1.4rem !important;
    }
    
    .disha-onepage .mvv-icon,
    .mvv-icon,
    .guidance-icon {
        font-size: 2.8rem !important;
    }
    
    .disha-onepage .values-grid,
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .disha-onepage .value-item,
    .value-item {
        padding: 20px 15px !important;
    }
    
    /* Mobile responsive for GS Logo Slider */
    .gs_logo_slider .swiper-slide,
    .gs_logo_slider .gs-logo-item,
    .gs_logo_slider .logo-item {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        margin: 5px !important;
        padding: 15px !important;
    }
    
    .gs_logo_slider img,
    .gs_logo_slider .swiper-slide img,
    .gs_logo_slider .gs-logo-item img,
    .gs_logo_slider .logo-item img {
        max-width: 120px !important;
        max-height: 60px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Mobile adjustments for new designs */
    .mvv-card,
    .guidance-item {
        padding: 25px 20px 20px;
        border-radius: 15px;
    }
    
    .mvv-card h3,
    .guidance-item h3 {
        font-size: 1.2rem;
    }
    
    .mvv-icon,
    .guidance-icon {
        font-size: 2.5rem;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .fab-item {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .footer-brand {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

/*--------------------------------------------------------------
# Override any conflicting styles - MVV Professional Design
--------------------------------------------------------------*/
/* Ensure MVV section always uses professional card design, not tiles */
.disha-onepage .mvv-item,
.mvv-item {
    display: none !important; /* Hide any old tile-style items */
}

/* Force MVV cards to display properly */
.disha-onepage .mvv-card {
    display: block !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
}

/*--------------------------------------------------------------
# Event Modal
--------------------------------------------------------------*/
.event-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
}

.event-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.event-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.event-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.event-modal.active .event-modal-content {
    transform: scale(1);
}

.event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: var(--accent-color);
}

.event-modal-title {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.event-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.event-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.event-modal-body {
    padding: 0;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.event-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-color);
}

.event-modal-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.event-modal-details {
    display: none;
}

.event-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.event-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.event-info {
    padding: 25px;
}

.event-meta {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.event-meta > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.event-meta i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.event-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-color);
}

.event-description h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.event-description p {
    margin-bottom: 15px;
}

.event-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.event-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .event-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .event-modal-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
        background: var(--accent-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .event-modal-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .event-modal-close {
        min-width: 44px;
        min-height: 44px;
        font-size: 1.2rem;
    }
    
    .event-image-container {
        height: 200px;
    }
    
    .event-info {
        padding: 20px;
    }
    
    .event-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .event-meta > div {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .event-meta > div:last-child {
        border-bottom: none;
    }
    
    .event-actions {
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px 20px;
        border-top: 1px solid var(--border-color);
        margin: 0 -20px -20px;
    }
    
    .event-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Improve touch targets */
    .event-modal-overlay {
        touch-action: manipulation;
    }
    
    /* Better scrolling on mobile */
    .event-modal-body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Override any grid or flex layouts that might conflict */
.disha-onepage .mvv-section .container > div:not(.section-header):not(.mvv-grid) {
    display: none !important;
}

/* Ensure section header is visible */
.disha-onepage .mvv-section .section-header {
    display: block !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}
