/*
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;
    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;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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;
}

.btn-header-donate {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    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: 10px 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;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/*--------------------------------------------------------------
# MVV Section
--------------------------------------------------------------*/
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.mvv-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Light, professional backgrounds for MVV cards similar to Get Involved */
.mvv-card:nth-child(1) {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--text-color);
    border: 1px solid #CBD5E0;
}

.mvv-card:nth-child(2) {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    color: var(--text-color);
    border: 1px solid #BBF7D0;
}

.mvv-card:nth-child(3) {
    background: linear-gradient(135deg, #FEF7FF 0%, #F3E8FF 100%);
    color: var(--text-color);
    border: 1px solid #DDD6FE;
}

.mvv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.mvv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.mvv-card .mvv-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    text-align: center;
}

.value-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.value-item h4 {
    margin: 5px 0;
    color: var(--secondary-color);
}

.value-item p {
    font-size: 0.9rem;
    margin: 0;
}

/*--------------------------------------------------------------
# Guidance Section
--------------------------------------------------------------*/
.guidance-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.guidance-item {
    text-align: center;
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.guidance-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guidance-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.guidance-item:hover .guidance-icon {
    transform: scale(1.15);
}

.guidance-item h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.guidance-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Light, professional background colors for functional teams */
.guidance-item:nth-child(1) {
    background: linear-gradient(135deg, #EBF4FF 0%, #DBEAFE 100%);
    color: var(--primary-color);
}

.guidance-item:nth-child(1) h3,
.guidance-item:nth-child(1) h4,
.guidance-item:nth-child(1) p {
    color: var(--primary-color);
}

.guidance-item:nth-child(2) {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: var(--secondary-color);
}

.guidance-item:nth-child(2) h3,
.guidance-item:nth-child(2) h4,
.guidance-item:nth-child(2) p {
    color: var(--secondary-color);
}

.guidance-item:nth-child(3) {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
}

.guidance-item:nth-child(3) h3,
.guidance-item:nth-child(3) h4,
.guidance-item:nth-child(3) p {
    color: #92400E;
}

.guidance-item:nth-child(4) {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
    color: #BE185D;
}

.guidance-item:nth-child(4) h3,
.guidance-item:nth-child(4) h4,
.guidance-item:nth-child(4) p {
    color: #BE185D;
}

.guidance-item:nth-child(5) {
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    color: #7C3AED;
}

.guidance-item:nth-child(5) h3,
.guidance-item:nth-child(5) h4,
.guidance-item:nth-child(5) p {
    color: #7C3AED;
}

/*--------------------------------------------------------------
# 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;
}

.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);
}

.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
--------------------------------------------------------------*/
/* 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;
}

/* 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;
}

.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);
}

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

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

.involvement-card .btn {
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.5px;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.footer-brand {
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item i {
    width: 16px;
    color: var(--accent-color);
}

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

.contact-item a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

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

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# 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;
}

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

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

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

.fab-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    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;
}

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

.fab-donate {
    background-color: #e53e3e !important;
}

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

.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);
}

/*--------------------------------------------------------------
# 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: none;
    }

    .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;
    }

    .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-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-content {
        gap: 12px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

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

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

    /* Hide some FABs on mobile to reduce clutter */
    .fab-container .fab-item:nth-child(n+4) {
        display: none;
    }

    /* Keep only donate, WhatsApp, and scroll-to-top on mobile */
    .fab-container .fab-donate,
    .fab-container .fab-item[href*="whatsapp"],
    .fab-container #scroll-to-top {
        display: flex;
    }
}
