/* ===================================
   PREETI WELFARE FOUNDATION
   Modern Creative Stylesheet
   =================================== */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Blue (matching logo water drop) */
    --primary: #29ABE2;
    --primary-dark: #1A8FC2;
    --primary-light: #5BC5F2;

    /* Secondary Colors - Green (matching logo hands) */
    --secondary: #39B54A;
    --secondary-dark: #009245;
    --secondary-light: #5CC96A;

    /* Accent Colors - Orange (matching logo sun) */
    --accent: #F7941D;
    --accent-dark: #E8811A;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #495057;
    --dark: #1a1a2e;
    --black: #0f0f23;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #29ABE2 0%, #39B54A 100%);
    --gradient-secondary: linear-gradient(135deg, #39B54A 0%, #009245 100%);
    --gradient-warm: linear-gradient(135deg, #F7941D 0%, #E8811A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(41, 171, 226, 0.9) 0%, rgba(57, 181, 74, 0.9) 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Mobile font size optimization */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul, ol {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

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

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.heart-loader {
    font-size: 3rem;
    color: var(--primary);
    animation: heartbeat 1s infinite;
}

.loader p {
    margin-top: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--primary);
}

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

.social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 2rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-md);
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.btn-donate)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-menu a:not(.btn-donate):hover::after,
.nav-menu a:not(.btn-donate).active::after {
    width: 100%;
}

.nav-menu a:not(.btn-donate):hover,
.nav-menu a:not(.btn-donate).active {
    color: var(--primary);
}

.btn-donate {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ===== Hero Slider Section ===== */
.hero-slider {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 700px;
    overflow: visible;
    margin-bottom: 70px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 171, 226, 0.7) 0%, rgba(57, 181, 74, 0.7) 100%);
}

.slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 650px;
    animation: slideIn 0.8s ease forwards;
}

.slide.active .slide-content {
    animation: slideIn 0.8s ease forwards;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-badge i {
    color: var(--accent);
}

.slide-content h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
}

.slide-content h1 span {
    color: var(--accent);
}

.slide-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--white);
    padding: 25px 40px;
    z-index: 10;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.hero-stats-bar .stat-item {
    text-align: center;
}

.hero-stats-bar .stat-number {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stats-bar .stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Legacy Hero Styles (kept for compatibility) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/1.png') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 100px 0;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 50px solid var(--white);
    border-radius: var(--radius-full);
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    bottom: 20%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: var(--radius-full);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(41, 171, 226, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-dark .section-title {
    color: var(--white);
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-badge {
    margin-bottom: 15px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(41, 171, 226, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
}

.about-feature span {
    font-weight: 500;
    color: var(--dark);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 2rem;
    border-radius: var(--radius-full);
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
}

.service-link:hover {
    gap: 12px;
}

/* ===== Impact Section ===== */
.impact-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 53, 87, 0.95);
}

.impact-section .container {
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.impact-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

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

.impact-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.impact-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(rgba(41, 171, 226, 0.9), rgba(57, 181, 74, 0.9)), url('../images/2.png') center/cover no-repeat;
    padding: 80px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text {
    max-width: 600px;
}

.cta-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== Gallery Section ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
    transform: scale(0);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ===== Testimonials Section ===== */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3rem;
    color: rgba(41, 171, 226, 0.1);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--primary);
}

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

.testimonial-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== Page Header ===== */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    background: url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: var(--white);
}

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

/* ===== About Page Styles ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(41, 171, 226, 0.1);
    color: var(--primary);
    font-size: 1.8rem;
    border-radius: var(--radius-full);
    margin: 0 auto 20px;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card, .vision-card {
    padding: 50px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: var(--gradient-primary);
    color: var(--white);
}

.vision-card {
    background: var(--gradient-secondary);
    color: var(--white);
}

.mission-card h3, .vision-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ===== Services Page Styles ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    gap: 15px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-feature i {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(41, 171, 226, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

/* ===== Donation Page Styles ===== */
.donation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.donation-intro h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.donation-intro p {
    color: var(--gray);
    font-size: 1.1rem;
}

.tax-benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    padding: 15px 30px;
    border-radius: var(--radius-xl);
    font-weight: 500;
    margin-top: 20px;
}

.donation-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.donation-option-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.donation-option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.donation-option-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.donation-option-card h3 i {
    color: var(--primary);
}

.donation-option-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.btn-donate-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
}

.btn-donate-option:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.bank-details-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-top: 40px;
}

.bank-details-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
}

.bank-detail-item label {
    font-weight: 500;
    color: var(--dark);
}

.bank-detail-item span {
    color: var(--gray);
}

/* ===== Contact Page Styles ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    color: var(--white);
}

.contact-info-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-info-list {
    display: grid;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 1.2rem;
}

.contact-info-item div h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-item div p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Map Section ===== */
.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Footer Styles ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    display: block;
}

.footer-main {
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

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

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.footer-logo .logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-md);
}


.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Developer Credit */
.developer-credit {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.developer-credit p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.developer-credit a {
    color: var(--primary-light);
    font-weight: 500;
    transition: var(--transition-normal);
}

.developer-credit a:hover {
    color: var(--accent);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Gallery Page Lightbox ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Lightbox Content */
.lightbox-content {
    position: relative;
    text-align: center;
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.lightbox-caption h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.lightbox-caption span {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* ===== Gallery Filters ===== */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-xl);
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.filter-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Gallery Item Info */
.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    text-align: left;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

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

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-category {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Gallery overlay with info adjustment */
.gallery-overlay {
    flex-direction: column;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .services-grid,
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero Slider Mobile */
    .hero-slider {
        height: 60vh;
        min-height: 450px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .stats-wrapper {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats-bar {
        width: 95%;
        padding: 15px 20px;
        bottom: -60px;
    }

    .hero-stats-bar .stat-number {
        font-size: 1.3rem;
    }

    .hero-stats-bar .stat-label {
        font-size: 0.7rem;
    }

    .hero-slider {
        margin-bottom: 60px;
    }

    .top-info {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-grid,
    .service-detail,
    .contact-grid,
    .mission-vision-grid,
    .donation-options-grid {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

    .about-img-secondary,
    .experience-badge {
        display: none;
    }

    .services-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-social,
    .contact-item {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bank-details-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile-specific padding adjustments */
    .section {
        padding: 60px 0;
    }

    .hero-content {
        padding: 60px 0;
    }

    .footer-main {
        padding: 60px 0 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }
}

.serv5 .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

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

.team-social a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) { transition-delay: 0.1s; }
.team-card:hover .team-social a:nth-child(2) { transition-delay: 0.2s; }
.team-card:hover .team-social a:nth-child(3) { transition-delay: 0.3s; }

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-position {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== News & Events Section ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    background: rgba(41, 171, 226, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.news-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content h3:hover {
    color: var(--primary);
}

.news-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta i {
    color: var(--primary);
}

/* ===== Policy Pages ===== */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--dark);
    margin: 30px 0 15px;
}

.policy-content h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 25px 0 10px;
}

.policy-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-content ul li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.policy-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
}

.policy-content .last-updated {
    background: var(--off-white);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .serv5 .services-grid {
        grid-template-columns: 1fr;
    }

    .donation-faq-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Small Mobile (576px and below) ===== */
@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
    }

    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .hero-stats-bar {
        padding: 10px 15px;
    }

    .hero-stats-bar .stat-number {
        font-size: 1.1rem;
    }

    .hero-stats-bar .stat-label {
        font-size: 0.6rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Causes listing page */
    .causes-grid {
        grid-template-columns: 1fr !important;
    }

    /* Donation page */
    .donation-options-grid {
        grid-template-columns: 1fr;
    }

    .bank-details-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-bottom-links {
        flex-direction: column;
        gap: 5px;
    }

    .developer-credit {
        font-size: 0.75rem;
    }
}