/*
Theme Name: NGO Plus
Theme URI: https://wordpress.org/themes/ngoplus/
Author: the WordPress team
Author URI: https://ultimatecybervision.ng/
Description: NGO plus theme is a modern, mobile-first theme for NGO and corporate websites
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready, responsive-layout, mobile-ready
Version: 4.0
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngoplus
*/

/* ===========================================
   CSS RESET & BASE STYLES (MOBILE FIRST)
   =========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Variables */
  --primary-color: #2E6FF2;
  --primary-dark: #1a56d4;
  --secondary-color: #444444;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --dark-bg: #121212;
  --border-color: #ececec;
  --text-light: #f8f3f3;
  --dark-text: #333333;
  --light-text: #666666;
  --overlay-dark: rgba(0, 0, 0, 0.6);
  
  /* Typography */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 2rem;     /* 32px */
  --font-size-4xl: 2.5rem;   /* 40px */
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Breakpoints */
  --mobile: 375px;
  --tablet: 768px;
  --desktop: 1024px;
  --desktop-lg: 1200px;
  
  /* Other */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body,html{
  height: 100%;
}
/* ===========================================
   UTILITY CLASSES
   =========================================== */
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--space-sm);
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.justify { text-align: justify; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.p-1 { padding: var(--space-sm); }
.p-2 { padding: var(--space-md); }
.p-3 { padding: var(--space-lg); }

.relative { position: relative; }
.absolute { position: absolute; }

.rounded-circle { border-radius: 50%; }
.rounded { border-radius: var(--border-radius-md); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: var(--dark-text);
}

h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* ===========================================
   LAYOUT COMPONENTS
   =========================================== */

/* Common Section Styles */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-text);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: var(--space-sm) auto;
  border-radius: 2px;
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

.section-description {
  font-size: 1.125rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  min-height: 50px;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ===========================================
   HEADER & NAVIGATION
   =========================================== */
/* ===========================================
   MODERN HEADER REDESIGN - COMPACT & CLEAN
   =========================================== */

/* Header Container */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header Wrapper */
.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Site Branding - Compact */
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img,
.custom-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo {
    width: 50px;
    height: 50px;
}

.site-logo a:hover img {
    transform: scale(1.05);
}

/* Site Branding Text */
.site-branding-text {
    display: none;
}

@media (min-width: 1200px) {
    .site-branding-text {
        display: block;
    }
    
    .site-title {
        font-size: 1.125rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .site-title a {
        color: var(--dark-text);
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s ease;
    }
    
    .site-title a:hover {
        color: var(--primary-color);
    }
    
    .site-description {
        font-size: 0.75rem;
        color: var(--light-text);
        margin: 0.25rem 0 0 0;
        line-height: 1.2;
    }
}

/* Main Navigation - Modern & Clean */
.main-navigation {
    flex: 1;
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: block;
    }
}

.primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus {
    color: var(--primary-color);
    background: rgba(46, 111, 242, 0.08);
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    color: var(--primary-color);
    background: rgba(46, 111, 242, 0.1);
}

/* Dropdown Menus */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.5rem;
    list-style: none;
    margin: 0.5rem 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    margin: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.primary-menu .sub-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.25rem;
}

/* Header Actions - Compact */
.header-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1200px) {
    .header-actions {
        display: flex;
    }
}

/* Contact Info - Minimalist */
.contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item.address {
    display: none; /* Hide address in header for space */
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.contact-text {
    display: none;
}

@media (min-width: 1400px) {
    .contact-text {
        display: inline;
    }
}

/* Header CTA Button */
.header-cta {
    flex-shrink: 0;
}

.btn-donate {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Menu Toggle - Enhanced */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    position: relative;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.menu-toggle-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation - Modern Sidebar */
.mobile-navigation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-navigation-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background: var(--white);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-navigation.active {
    right: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.mobile-nav-close {
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-nav-close:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Mobile Nav Content */
.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 0.25rem;
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu li.current-menu-item > a {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Mobile Contact Info */
.mobile-contact-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.mobile-contact-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.mobile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.mobile-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-contact-link:hover {
    color: var(--primary-color);
}

/* Mobile CTA Buttons */
.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .site-header {
        padding: 0.75rem 0;
    }
    
    .header-wrapper {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .site-logo img,
    .custom-logo {
        width: 50px;
        height: 50px;
    }
    
    .mobile-navigation {
        width: 280px;
    }
    .hero-content{
      left: 0;
      right: 0;
    }
}

/* Hero Section Adjustment for Compact Header */
.hero-section {
    margin-top: 80px;
  
}

@media (min-width: 1024px) {
    .hero-section {
        margin-top: 0;
     
    }
}

/* Animation Classes */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Accessibility Focus States */
.primary-menu a:focus,
.mobile-menu a:focus,
.contact-link:focus,
.btn-donate:focus,
.mobile-menu-toggle:focus,
.mobile-nav-close:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Loading State */
.site-header.loading {
    pointer-events: none;
    opacity: 0.7;
}
/* ===========================================
   HERO SECTIONS
   =========================================== */

/* Main Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./assets/img/bg1.jpeg') no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 20px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
 
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  color: var(--white);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero Section */
.page-hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: var(--white);
}

.page-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumb Navigation */
.breadcrumb-navigation {
  margin-bottom: 2rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs .current-page {
  color: var(--white);
  font-weight: 600;
}

/* ===========================================
   CONTENT LAYOUTS
   =========================================== */

/* Main Content Area */
.site-main {
  min-height: 60vh;
}

/* Cards Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-lg);
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--secondary-color);
}

.read-more {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary-color);
  font-weight: 600;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
}

.read-more:hover {
  border-bottom-color: var(--primary-color);
}

/* Grid Layouts */
.features-grid,
.mission-grid,
.team-grid,
.causes-grid,
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: var(--space-xl) 0;
}

/* Featured Post */
.featured-post {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  transition: transform 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===========================================
   PAGE CONTENT STYLES
   =========================================== */

/* Page Content Section */
.page-content-section {
  padding: 3rem 0;
}

.page-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.page-content {
  flex: 1;
  min-width: 300px;
  background: var(--light-bg);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Entry Content Styling */
.entry-content {
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content .alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Entry Meta */
.entry-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===========================================
   COMPONENTS
   =========================================== */

/* Stats Section */
.stats-section {
  background: linear-gradient(var(--overlay-dark), var(--overlay-dark)),
              url('../img/bg2.jpg') center/cover no-repeat;
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat-item {
  padding: var(--space-md);
}

.stat-number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--primary-dark);
}

.stat-label {
  font-size: var(--font-size-base);
  opacity: 0.9;
}

/* FAQ Accordion */
.faq-accordion {
  margin-bottom: 4rem;
}

.faq-item {
  background: var(--white);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(46, 111, 242, 0.1);
}

.faq-item.active {
  border-color: var(--primary-color);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-top-color: var(--border-color);
  max-height: 2000px;
}

.answer-content {
  padding: 0 2rem 2rem;
  color: var(--dark-text);
  line-height: 1.8;
}

/* Testimonials */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.testimonial-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

/* Team Members */
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border-color);
  margin: 0 auto var(--space-md);
}

.member-name {
  font-size: var(--font-size-lg);
  color: var(--secondary-color);
  margin-bottom: var(--space-xs);
}

.member-role {
  color: var(--primary-color);
  font-size: var(--font-size-base);
}

/* ===========================================
   SIDEBAR
   =========================================== */

.page-sidebar {
  flex: 0 0 300px;
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-bg);
}

.widget-title i {
  color: var(--primary-color);
}

/* ===========================================
   PAGINATION
   =========================================== */

.pagination-nav {
  margin-top: 3rem;
}

.pagination-nav .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.pagination-nav .page-numbers li a,
.pagination-nav .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.pagination-nav .page-numbers li a:hover,
.pagination-nav .page-numbers li .current {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}
/* ===========================================
   MODERN FOOTER STYLES
   =========================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

/* Footer Main Section */
.footer-main {
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Footer Columns */
.footer-column {
    width: 100%;
    padding: 0;
}

/* Footer Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.footer-logo img {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover img {
    transform: scale(1.05);
}

.footer-logo .site-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-description p {
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
}

/* Social Links */
.footer-social {
    margin-top: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 111, 242, 0.4);
}

/* Footer Title */
.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-menu li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-menu li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(46, 111, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 0.875rem;
    color: #888;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-details address {
    font-style: normal;
    color: #b0b0b0;
    line-height: 1.6;
}

.contact-details p {
    color: #b0b0b0;
    margin: 0.25rem 0 0 0;
    line-height: 1.6;
}

/* Newsletter Column */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin: 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-email {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-email::placeholder {
    color: #888;
}

.newsletter-email:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 111, 242, 0.3);
}

.newsletter-submit i {
    font-size: 1rem;
}

.form-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Privacy Note */
.privacy-note {
    margin-top: 1rem;
}

.privacy-note p {
    margin: 0;
}

.privacy-note small {
    color: #888;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.8125rem;
}

.badge-item i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

/* Copyright */
.copyright {
    color: #888;
    font-size: 0.875rem;
}

.copyright p {
    margin: 0.25rem 0;
}

.copyright-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-link:hover {
    color: var(--primary-color);
}

.tax-info {
    font-size: 0.75rem;
    color: #666;
}

/* Legal Navigation */
.legal-nav {
    order: 2;
}

.legal-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-item {
    margin: 0;
}

.legal-link {
    color: #888;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.legal-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Back to Top Button */
.back-to-top {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(46, 111, 242, 0.3);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(46, 111, 242, 0.4);
}

.back-to-top i {
    font-size: 1rem;
}

.back-to-top-text {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Visually Hidden (Accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===========================================
   RESPONSIVE BREAKPOINTS
   =========================================== */

/* Tablet (≥768px) */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .input-group {
        flex-direction: row;
    }
    
    .newsletter-email {
        flex: 1;
    }
    
    .newsletter-submit {
        width: auto;
        min-width: 140px;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .copyright {
        order: 1;
    }
    
    .legal-nav {
        order: 2;
    }
    
    .legal-menu {
        justify-content: flex-end;
    }
    
    .back-to-top {
        order: 3;
    }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
    .footer-main {
        padding: 5rem 0 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* Large Desktop (≥1200px) */
@media (min-width: 1200px) {
    .footer-grid {
        gap: 4rem;
    }
}

/* Mobile Optimization */
@media (max-width: 767px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-newsletter {
        padding: 1.5rem;
    }
    
    .newsletter-submit .submit-text {
        display: none;
    }
    
    .newsletter-submit {
        width: auto;
        min-width: 56px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===========================================
   RESPONSIVE BREAKPOINTS
   =========================================== */

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-md);
    max-width: 720px;
  }
    .newsletter-form .input-group {
        flex-direction: row !important;
    }
  .cards-grid,
  .features-grid,
  .team-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
   .footer-brand {
        grid-column: span 2;
    }
  .newsletter-form {
    display: flex;
    gap: var(--space-xs);
  }
  
  .newsletter-form input {
    margin-bottom: 0;
    flex: 1;
  }
  
  .newsletter-form button {
    width: auto;
  }
}
.newsletter-form .input-group {
    display: flex !important;
    flex-direction: column !important;
}
/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .cards-grid,
  .causes-grid,
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid,
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
  
  .page-content-wrapper {
    display: flex;
  }
  
  .blog-layout {
    grid-template-columns: 2fr 1fr;
  }
  
  .story-content,
  .volunteers-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
 
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Single column stack */
  gap: 2rem;                 /* Smaller gap for tight screens */
  padding: 1rem;
}
/* Optional: Styling for the Mission/Vision cards to make them look "modern" */
.mission-vision-item {
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.mission-vision-item:hover {
  transform: translateY(-5px);
}
/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hero-title,
  .page-title {
    font-size: 2rem;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr; /* Two columns */
    gap: 2rem;                     /* Original spacing for larger screens */
    padding: 0;
  }
  .hero-description,
  .page-description {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
  
  .page-content-wrapper {
    flex-direction: column;
  }
  
  .page-content,
  .page-sidebar {
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation,
  .contact-info {
    display: none;
  }
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
}

.skip-to-content:focus {
  top: 0;
}

/* ===========================================
   DARK MODE SUPPORT
   =========================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #1a1a1a;
    --secondary-color: #e0e0e0;
    --white: #2d2d2d;
    --border-color: #404040;
    --dark-text: #f0f0f0;
    --light-text: #b0b0b0;
  }
  
  .card,
  .sidebar-widget,
  .post-card,
  .featured-post {
    background: #2d2d2d;
    color: #f0f0f0;
  }
  
  .section-title,
  .card-content h3,
  .post-card-title a,
  .featured-post .post-title a {
    color: var(--dark-text);
  }
  
  .search-field,
  .newsletter-email {
    background: #3d3d3d;
    border-color: #4d4d4d;
    color: #f0f0f0;
  }
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .mobile-menu-toggle,
  .social-links {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* ===========================================
   PAGE SPECIFIC STYLES
   =========================================== */

/* Breadcrumb Navigation */
.breadcrumb-navigation {
    margin-bottom: 2rem;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs .current-page {
    color: var(--white);
    font-weight: 600;
}

/* Page Content Layout */
.page-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.page-content {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.page-sidebar {
    flex: 0 0 300px;
}

/* Featured Image */
.featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
}

/* Entry Content Styling */
.entry-content {
    line-height: 1.8;
    color: var(--dark-text);
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.entry-content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--light-bg);
    font-style: italic;
    color: var(--dark-text);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.entry-content table th,
.entry-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.entry-content table th {
    background: var(--light-bg);
    font-weight: 600;
}

.entry-content pre {
    background: #1a1a1a;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.entry-content code {
    background: var(--light-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Post Meta */
.entry-footer {
    border-top: 1px solid var(--border-color);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--light-text);
}

.entry-meta > div {
    display: flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.category-link,
.tag-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover,
.tag-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Author Box */
.author-box {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--dark-text);
}

.author-role {
    font-size: 0.875rem;
    color: var(--light-text);
}

.author-bio {
    line-height: 1.6;
    color: var(--dark-text);
}

/* Page Links Pagination */
.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-weight: 500;
}

.page-links > span {
    color: var(--dark-text);
    font-weight: 600;
}

.page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    background: var(--light-bg);
    border-radius: 0.25rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.page-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.page-separator {
    color: var(--border-color);
    padding: 0 0.5rem;
}

/* Comments Section */
.comments-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-content-wrapper {
        flex-direction: column;
    }
    
    .page-content,
    .page-sidebar {
        width: 100%;
        flex: none;
    }
    
    .page-content {
        padding: 1.5rem;
    }
    
    .entry-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .breadcrumbs {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .page-hero-section {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .author-box {
        padding: 1rem;
    }
    
    .author-avatar img {
        width: 60px;
        height: 60px;
    }
}

/* About Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.about-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .mission-card {
        grid-column: span 2;
        flex-direction: row;
    }
    
    .mission-card .about-card-content {
        order: 1;
        flex: 1;
    }
    
    .mission-card .about-card-image {
        order: 2;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .mission-card {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .mission-card .about-card-content {
        order: 2;
    }
    
    .mission-card .about-card-image {
        order: 1;
    }
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.05);
}

.about-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-card .about-card-content {
    align-items: center;
    text-align: center;
}

.founder-info {
    margin-bottom: 1rem;
}

.founder-name {
    font-size: 1.25rem;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.founder-title {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.founder-quote {
    margin: 1rem 0;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    font-family: serif;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}


/* ===========================================
   FRONT PAGE REDESIGN - MODERN & RESPONSIVE
   =========================================== */

/* About Section Improvements */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.about-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.1);
}

.about-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.founder-card .about-card-content {
    align-items: center;
    text-align: center;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(46, 111, 242, 0.3);
}

.card-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.75rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.founder-info {
    margin-bottom: 1rem;
}

.founder-name {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-quote {
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.7;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--primary-color);
}

/* Causes Section */
.causes-section {
    padding: 4rem 0;
}

.causes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.cause-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cause-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.cause-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cause-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cause-card:hover .cause-thumbnail {
    transform: scale(1.1);
}

.cause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 111, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cause-card:hover .cause-overlay {
    opacity: 1;
}

.cause-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
}

.cause-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cause-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cause-title a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cause-title a:hover {
    color: var(--primary-color);
}

.cause-excerpt {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.fundraising-progress {
    margin: 1.5rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.raised-amount {
    color: var(--primary-color);
    font-weight: 600;
}

.goal-amount {
    color: var(--light-text);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-percentage {
    position: absolute;
    right: 5px;
    top: -2px;
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 600;
}

.cause-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cause-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Vision Section */
.vision-section {
    padding: 0;
    position: relative;
}

.vision-background {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 111, 242, 0.85), rgba(26, 86, 212, 0.85));
}

.vision-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 3rem 1rem;
}

.vision-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.vision-statement {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.vision-video-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vision-video-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.vision-video-btn i {
    font-size: 1rem;
}

/* Testimonials Section - FIXED */
.testimonials-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide:first-child {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-quote {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-quote .fa-quote-left {
    color: var(--primary-color);
    font-size: 2.5rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-quote blockquote {
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: normal;
}

.testimonial-quote .fa-quote-right {
    color: var(--primary-color);
    font-size: 2.5rem;
    opacity: 0.2;
    margin-top: 1rem;
}

.testimonial-author {
    border-top: 2px solid var(--light-bg);
    padding-top: 1.5rem;
}

.author-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-style: normal;
}

.author-context {
    display: block;
    color: var(--light-text);
    font-size: 0.95rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.slider-dot:hover {
    background: var(--primary-dark);
}

/* Volunteers Section - FIXED */
.volunteers-section {
    padding: 4rem 0;
    background: var(--white);
}

.volunteers-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.volunteers-gallery {
    order: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.volunteer-name {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
}

.volunteers-values {
    order: 2;
}

.values-list {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
}

.values-title {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.values-items {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.value-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.value-item span {
    color: var(--dark-text);
    line-height: 1.6;
}

.values-description {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-md);
}

.values-description p {
    color: var(--dark-text);
    line-height: 1.7;
    margin: 0;
}

.values-cta {
    text-align: center;
}

/* News Section */
.news-section {
    padding: 4rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumbnail {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.news-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--light-text);
}

.meta-category {
    color: var(--primary-color);
    font-weight: 600;
}

.meta-separator {
    color: var(--border-color);
}

.news-excerpt {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Tablet (≥768px) */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .founder-card {
        grid-column: span 2;
    }
    
    .causes-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .volunteers-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .volunteers-gallery {
        order: 2;
    }
    
    .volunteers-values {
        order: 1;
    }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .founder-card {
        grid-column: span 1;
    }
    
    .causes-grid,
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vision-title {
        font-size: 3.5rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .vision-title {
        font-size: 2rem;
    }
    
    .vision-statement {
        font-size: 1.125rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================================
   TESTIMONIAL SLIDER - ISOLATED & FIXED
   =========================================== */

.testimonials-section {
    padding: 4rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Wrapper to contain slides */
.testimonials-wrapper {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: visible;
}

/* Individual testimonial slides - SCOPED TO TESTIMONIALS ONLY */
.testimonials-slider .testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

/* Active slide */
.testimonials-slider .testimonial-slide:first-child,
.testimonials-slider .testimonial-slide[style*="display: block"] {
    position: relative;
    display: block !important;
}

/* Testimonial content card */
.testimonials-slider .testimonial-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    width: 100%;
}

/* Quote styling */
.testimonials-slider .testimonial-quote {
    position: relative;
    margin-bottom: 2rem;
}

.testimonials-slider .testimonial-quote .fa-quote-left {
    color: var(--primary-color);
    font-size: 2.5rem;
    opacity: 0.2;
    margin-bottom: 1rem;
    display: block;
}

.testimonials-slider .testimonial-quote blockquote {
    border: none;
    padding: 0;
    margin: 1.5rem 0;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-style: normal;
    background: transparent;
}

.testimonials-slider .testimonial-quote blockquote p {
    margin: 0;
}

.testimonials-slider .testimonial-quote .fa-quote-right {
    color: var(--primary-color);
    font-size: 2.5rem;
    opacity: 0.2;
    margin-top: 1rem;
    display: block;
}

/* Author info */
.testimonials-slider .testimonial-author {
    border-top: 2px solid var(--light-bg);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.testimonials-slider .author-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-style: normal;
}

.testimonials-slider .author-context {
    display: block;
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Slider controls */
.testimonials-slider .slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.testimonials-slider .slider-prev,
.testimonials-slider .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonials-slider .slider-prev:hover,
.testimonials-slider .slider-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.testimonials-slider .slider-prev:active,
.testimonials-slider .slider-next:active {
    transform: scale(0.95);
}

/* Slider dots */
.testimonials-slider .slider-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.testimonials-slider .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.testimonials-slider .slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.testimonials-slider .slider-dot:hover {
    background: var(--primary-dark);
    transform: scale(1.2);
}

/* Screen reader only text */
.testimonials-slider .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* No testimonials message */
.no-testimonials {
    text-align: center;
    padding: 3rem 1rem;
}

.no-testimonials .no-results {
    color: var(--light-text);
    font-size: 1.125rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonials-slider .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .testimonials-slider .testimonial-quote blockquote {
        font-size: 1rem;
    }
    
    .testimonials-slider .slider-controls {
        gap: 1rem;
    }
    
    .testimonials-slider .slider-prev,
    .testimonials-slider .slider-next {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .testimonials-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider .testimonial-quote .fa-quote-left,
    .testimonials-slider .testimonial-quote .fa-quote-right {
        font-size: 2rem;
    }
    
    .testimonials-slider .author-name {
        font-size: 1.125rem;
    }
}

/* Ensure other images are NOT affected */
.about-card-image img,
.cause-image img,
.news-image img,
.gallery-image img,
.hero-section img,
.vision-background img {
    /* These should NOT be affected by slider styles */
    position: relative !important;
    display: block !important;
    opacity: 1 !important;
}

/* Additional isolation for volunteer gallery */
.gallery-item,
.gallery-image {
    position: relative;
}

.gallery-item img {
    position: relative !important;
    display: block !important;
}

/* Ensure cause and news cards maintain their structure */
.cause-card,
.news-card,
.about-card {
    display: flex !important;
    flex-direction: column !important;
}

.cause-image,
.news-image,
.about-card-image {
    position: relative !important;
    display: block !important;
}

/* Animation prevention for non-slider elements */
.about-section img,
.causes-section img,
.volunteers-section img,
.news-section img {
    animation: none !important;
}