/*
Theme Name: LangerThan Children's Care
Theme URI: https://example.com/langerthan
Author: Your Name
Author URI: https://example.com
Description: A modern, inclusive care WordPress theme for children with special needs organizations
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
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: langerthan
Tags: charity, nonprofit, accessibility-ready, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fc7470;
    --secondary-color: #ffcccb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-cream: #ffebea;
    --bg-dark: #111827;
    --white: #ffffff;
    --font-main: "DM Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-mono: "SUSE Mono", monospace;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
}

.material-symbols-outlined {
  font-size: 24px;
  color: var(--primary-color);
  vertical-align: middle;
  transition: color 0.3s ease;
}

.material-symbols-outlined:hover {
  color: var(--text-dark);
}


/* Apply monospace font to specific elements if needed */
code,
pre,
.code-text {
    font-family: var(--font-mono);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.h2-highlight {
    color: #f86464;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* Header & Navigation */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: #f8f8f8;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    color: var(--text-dark);
}

.main-navigation a {
  position: relative;
  color: var(--text-dark);
  font-size: 14px;
  padding-bottom: 6px; /* space for underline */
  transition: all 0.3s ease;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Wiggly 1 */
.wiggle-1 a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 15'><path d='M5 10c15-10 35 10 55 0s35-10 50 0' stroke='%23fc7470' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Wiggly 2 */
.wiggle-2 a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 15'><path d='M0 10c20-5 30 5 50 0s30-5 60 0' stroke='%23fc7470' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Wiggly 3 */
.wiggle-3 a::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 15'><path d='M0 8c10 8 25-8 45 0s30 8 60 0' stroke='%23fc7470' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* Hover effect */
.main-navigation a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* .donate-btn {
    background: var(--white);
    color: #000000;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
} */

.donate-btn{
    background-color: #f86464;
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 750px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 800px;
    align-items: left;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    color: var(--white);
    font-size: 28px;
}

/* Mobile Navigation Styles */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        padding: 80px 30px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        color: var(--white);
    }
    
    .donate-btn {
        margin-top: 10px;
        text-align: center;
        display: block;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        color: var(--white);
    }
    
    .mobile-menu-overlay.active {
        display: block;
        color: var(--white)s;
    }
    
    /* Close button inside mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
    }
}




.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 80px;
}

.btn-primary {
    background: white;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 12px 24px;
    border: 2px solid var(--white);
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    font-size: 14px;
}

.stat-item strong {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

/* About Section */
.about-section {
    padding: 120px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-label {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-warning {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
}

.about-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Supporters Section */
.supporters-section {
    background: #f9fafb;
    padding: 40px 0;
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    align-items: center;
}

.supporter-logo {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.supporter-logo img {
  max-height: 80px; /* adjust size */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.supporter-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Services Section */
.services-section {
    background: var(--bg-cream);
    padding: 120px 0;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-list h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: rgb(255, 165, 165);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.service-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.service-details p {
    color: var(--text-light);
    font-size: 14px;
}

.services-image {
    border-radius: 12px;
    overflow: hidden;
    height: 600px;
}

.services-image02 {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}


/* Projects Section */
.projects-section {
    padding: 80px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: 36px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.3;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('images/project-bg.jpg') center/cover;
    padding: 40px;
    color: var(--white);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 20px solid #f86464;
    border-radius: 0 0 30px 30px; /* bottom-left & bottom-right corners */
}

.project-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s;
}


.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

/* Donations Section */
.donations-section {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 0;
}

.donations-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-content: space-between; 
}


.donations-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.donations-text p {
    opacity: 0.8;
    margin-bottom: 30px;
}

.donation-chart {
    position: relative;
    width: 300px;
    height: 300px;
    margin-left: 200px;
}

.chart-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/cta-bg.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    /* border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%; */
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Events Section */
.events-section {
    padding: 80px 0;
}

.events-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.event-date small {
    font-size: 18px;
    display: block;
    font-weight: 400;
}

.event-details {
    flex: 1;
    padding: 0 30px;
}

.event-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 5px;
}

.event-details h3 {
    font-size: 20px;
}

.event-arrow {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-widget h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--white);
    border-radius: 6px;
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--white);
    color: var(--text-dark);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* About Page Specific Styles */
.about-hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
}

.mission-vision-grid h2 {
    font-size: 36px;
    line-height: 1.3;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.award-item {
    text-align: center;
}

.award-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.journey-section h2 {
    font-size: 489px;
    line-height: 1.2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-member-image {
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 3/4;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 968px) {
    .header-content,
    .about-content,
    .services-content,
    .projects-grid,
    .donations-content,
    .events-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .supporters-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .main-navigation ul {
        flex-direction: column;
    }

    .donation-chart {
        margin: 0 auto;
    }
}

.mobile-menu-close span {
    color: var(--white);
    font-size: 28px;
    display: block;
}/* ===== MOBILE MENU STYLES - ADD THIS TO THE BOTTOM OF YOUR style.css ===== */

/* Mobile Menu Buttons Container */
.mobile-menu-buttons {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-toggle span {
    color: #1f2937;
    font-size: 28px;
    display: block;
}

/* Hide hamburger when menu is active */
.mobile-menu-toggle.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Close button */
.mobile-menu-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    z-index: 1002;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-close span {
    color: var(--white);
    font-size: 28px;
    display: block;
}

/* Show close button when menu is active */
.mobile-menu-close.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Mobile Navigation Styles */
@media (max-width: 968px) {
    /* Show hamburger menu container on mobile */
    .mobile-menu-buttons {
        display: block;
    }
    .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        padding: 80px 30px 30px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        color: var(--white);
    }
    
    .main-navigation.active {
        right: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        color: var(--white);
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        color: var(--white);
    }
    
    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        color: rgb(228, 228, 228);
    }
    
    .donate-btn {
        margin-top: 10px;
        text-align: center;
        display: block;
    }
}

/* Ensure menu is visible on desktop */
@media (min-width: 969px) {
    .mobile-menu-buttons {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-close {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    body {
        padding-top: 10px; /* Prevent content from hiding under fixed header */
    }
    
    .main-navigation {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE STYLES - REPLACE EXISTING MEDIA QUERIES ===== */

/* Tablet Large & Small Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .donation-chart {
        margin-left: 100px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* Tablet & Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-stats {
        gap: 50px;
    }
    
    /* Supporters Grid */
    .supporters-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: center;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Awards Grid */
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Donation chart centering */
    .donation-chart {
        margin-left: 50px;
    }
    
    /* Services Section */
    .services-list h2,
    .about-text h2 {
        font-size: 32px;
    }
    
    /* Projects Header */
    .projects-header h2 {
        font-size: 32px;
    }
}

/* Tablet (max-width: 968px) */
@media (max-width: 968px) {
    /* Global grid collapse to single column */
    .about-content,
    .services-content,
    .donations-content,
    .events-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* About Page Hero Content */
    .about-hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Mission Vision Grid */
    .mission-vision-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 600px;
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 36px;
        max-width: 100%;
    }
    
    .hero-actions {
        flex-wrap: wrap;
        margin-bottom: 50px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Projects - 2 columns */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Services Section - specific grids */
    .services-section > .container > div:nth-child(2),
    .services-section > .container > div:nth-child(3) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Mission Section (What We Do page) */
    .mission-section > .container > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Journey Section */
    .journey-section > .container > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact Page */
    .contact-form > div:first-child {
        grid-template-columns: 1fr !important;
    }
    
    /* Donate Page - Impact Cards */
    .donation-impact-section > .container > div:last-child,
    .other-ways-section > .container > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Services Section Adjustments */
    .services-section {
        padding: 80px 0;
    }
    
    .services-image {
        height: 400px;
        order: -1; /* Move image to top on mobile */
    }
    
    /* About Section */
    .about-section {
        padding: 80px 0;
    }
    
    .about-text h2 {
        font-size: 30px;
    }
    
    .about-video {
        order: -1; /* Move video to top on mobile */
    }
    
    /* Donation Chart */
    .donation-chart {
        margin: 40px auto 0;
        width: 280px;
        height: 280px;
    }
    
    .chart-legend {
        margin-top: 40px;
    }
    
    /* Event Cards */
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px;
    }
    
    .event-details {
        padding: 0 !important;
    }
    
    .event-arrow {
        align-self: flex-end;
    }
    
    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 32px;
    }
}

/* Mobile Large (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    body {
        padding-top: 10px; /* Prevent content from hiding under fixed header */
    }

    
    /* Typography adjustments */
    h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 550px;
        padding: 90px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Supporters Grid - 2 columns */
    .supporters-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: center;
    }
    
    .supporter-logo img {
        max-height: 60px;
    }
    
    /* Service Items */
    .service-item {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    
    /* Projects Grid - Single Column */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        min-height: 250px;
        padding: 30px;
    }
    
    .project-card h3 {
        font-size: 20px;
    }
    
    /* CTA Section */
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn-primary,
    .cta-actions a {
        width: 100%;
    }
    
    /* Chart Legend */
    .chart-legend {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Events */
    .event-date {
        font-size: 40px;
    }
    
    .event-details h3 {
        font-size: 18px !important;
    }
    
    /* Footer */
    .footer-content {
        gap: 30px;
    }
    
    .footer-brand img {
        max-width: 150px;
    }
    
    /* Newsletter Form */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    /* What We Do - Service Cards single column */
    .services-section > .container > div:nth-child(2),
    .services-section > .container > div:nth-child(3) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* About Page - Awards single column */
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Journey Stats */
    .journey-section .container > div > div:last-child > div {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Contact Page adjustments */
    .about-hero-section {
        padding: 100px 0 60px !important;
    }
    
    /* Donate Page - Amount Buttons 2 columns */
    .donation-amount-section .container > div > div > div:nth-child(3) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Donation Impact Cards single column */
    .donation-impact-section > .container > div:last-child,
    .other-ways-section > .container > div:last-child {
        grid-template-columns: 1fr !important;
    }
    
    /* Services Image height */
    .services-image02 {
        height: 300px;
    }
}

/* Mobile Medium (max-width: 640px) */
@media (max-width: 640px) {
    /* General Section Padding */
    section {
        padding: 60px 0 !important;
    }
    
    .about-hero-section,
    .contact-form-section,
    .mission-section,
    .donation-amount-section,
    .donation-impact-section,
    .other-ways-section,
    .faq-section {
        padding: 60px 0 !important;
    }
    
    /* Typography */
    h1 {
        font-size: 28px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 500px;
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .stat-item strong {
        font-size: 20px;
    }
    
    .stat-item {
        font-size: 13px;
    }
    
    /* Section Labels */
    .section-label {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    .section-label::before {
        width: 20px;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-warning,
    .btn-outline-white {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Supporters Grid - Full Width */
    .supporters-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: center;
    }
    
    .supporter-logo img {
        max-height: 50px;
        display: inline-block;
    }
    
    /* Service Icon */
    .service-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Services Image */
    .services-image {
        height: 350px;
    }
    
    .services-image02 {
        height: 300px;
    }
    
    /* Project Cards */
    .project-card {
        min-height: 220px;
        padding: 25px;
        border-bottom-width: 15px;
        border-radius: 0 0 20px 20px;
    }
    
    .project-card h3 {
        font-size: 18px;
    }
    
    .project-card p {
        font-size: 13px;
    }
    
    /* Donation Chart */
    .donation-chart {
        width: 220px;
        height: 220px;
    }
    
    /* Events */
    .event-card {
        padding: 25px;
    }
    
    .event-date {
        font-size: 36px;
    }
    
    .event-date small {
        font-size: 16px;
    }
    
    .event-arrow {
        width: 40px;
        height: 40px;
    }
    
    /* Video Play Button */
    .video-play-btn {
        width: 50px;
        height: 50px;
    }
    
    /* Material Icons */
    .material-symbols-outlined {
        font-size: 20px;
    }
    
    /* Team Grid single column */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    /* Footer Widget Headers */
    .footer-widget h4 {
        font-size: 14px;
    }
    
    /* Social Links */
    .social-links svg {
        width: 14px;
        height: 14px;
    }
    
    /* Contact Form Padding */
    .contact-form {
        padding: 30px 20px !important;
    }
    
    /* Donate Page - All Amount Buttons Single Column */
    .donation-amount-section .container > div > div > div:nth-child(3) {
        grid-template-columns: 1fr !important;
    }
    
    .amount-btn {
        padding: 15px !important;
        font-size: 16px !important;
    }
    
    /* Donation Form Padding */
    .donation-amount-section .container > div > div {
        padding: 40px 25px !important;
    }
    
    /* FAQ Section */
    .faq-section > .container > div > div > div {
        padding: 25px 20px !important;
    }
    
    /* Map Section */
    .map-section > div {
        height: 350px !important;
    }
    
    .map-section iframe {
        height: 350px !important;
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    body {
        padding-top: 10px; /* Prevent content from hiding under fixed header */
    }
}



/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 36px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 450px;
        padding: 70px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item strong {
        font-size: 18px;
    }
    
    /* Section Padding */
    section {
        padding: 50px 0 !important;
    }
    
    /* Services Section */
    .services-section {
        padding: 50px 0 !important;
    }
    
    .services-image {
        height: 300px;
    }
    
    .services-image02 {
        height: 250px;
    }
    
    /* Project Cards */
    .project-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .project-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .project-card p {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    /* Donation Chart */
    .donation-chart {
        width: 180px;
        height: 180px;
    }
    
    /* Events */
    .event-card {
        padding: 20px;
    }
    
    .event-date {
        font-size: 32px;
    }
    
    .event-date small {
        font-size: 14px;
    }
    
    .event-details h3 {
        font-size: 16px !important;
    }
    
    .event-label {
        font-size: 10px;
    }
    
    /* Video Play Button */
    .video-play-btn {
        width: 45px;
        height: 45px;
    }
    
    .video-play-btn span {
        font-size: 18px;
    }
    
    /* Material Icons */
    .material-symbols-outlined {
        font-size: 18px;
    }
    
    /* Service Icons in Cards (What We Do) */
    .services-section div[style*="width: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    .services-section h3[style*="font-size: 22px"] {
        font-size: 18px !important;
    }
    
    /* Awards Section */
    .awards-section div[style*="font-size: 60px"] {
        font-size: 40px !important;
    }
    
    .awards-section div[style*="font-size: 32px"] {
        font-size: 24px !important;
    }
    
    /* Journey Section Stats */
    .journey-section div[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
    
    /* Contact/Donate Hero Stats */
    .about-hero-section div[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
    
    /* Donation Type Buttons */
    .donation-type-btn {
        padding: 10px 30px !important;
        font-size: 14px !important;
    }
    
    /* Donation Form Padding */
    .donation-amount-section .container > div > div {
        padding: 30px 20px !important;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 25px 15px !important;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    .contact-form label {
        font-size: 13px !important;
    }
    
    /* Footer */
    .footer-brand img {
        max-width: 120px;
    }
    
    .footer-widget h4 {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .footer-widget ul li {
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    /* Service Item layout adjustment */
    .service-item {
        gap: 12px;
    }
}

/* Mobile Extra Small (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    /* Typography */
    h1 {
        font-size: 36px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 36px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item strong {
        font-size: 16px;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    /* Section Padding */
    section {
        padding: 40px 0 !important;
    }
    
    /* Services Image */
    .services-image {
        height: 250px;
    }
    
    .services-image02 {
        height: 200px;
    }
    
    /* Project Cards */
    .project-card {
        padding: 18px;
        min-height: 180px;
    }
    
    .project-card h3 {
        font-size: 15px;
    }
    
    /* Event Cards */
    .event-card {
        padding: 18px;
    }
    
    .event-date {
        font-size: 28px;
    }
    
    .event-arrow {
        width: 35px;
        height: 35px;
    }
    
    /* Donation Chart */
    .donation-chart {
        width: 160px;
        height: 160px;
    }
    
    /* Video Play Button */
    .video-play-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Service Icons */
    .service-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    /* Material Icons */
    .material-symbols-outlined {
        font-size: 16px;
    }
    
    /* Map Height */
    .map-section > div {
        height: 300px !important;
    }
    
    .map-section iframe {
        height: 300px !important;
    }
}

/* Ensure proper stacking on all devices */
@media (max-width: 968px) {
    /* Ensure all inline grid styles collapse properly */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix any flex containers that need to stack */
    .cta-actions,
    .hero-actions {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .mobile-menu-toggle,
    .mobile-menu-close,
    .mobile-menu-overlay,
    .btn-primary,
    .btn-secondary,
    .cta-section,
    .newsletter-form {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 24pt !important;
    }
    
    h2 {
        font-size: 18pt !important;
    }
    
    h3 {
        font-size: 14pt !important;
    }
}

/* Landscape orientation fixes for tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: 500px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .supporter-logo img,
    .footer-brand img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

