/* Joyful Hearts Foundation - CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Colors */
    --color-primary: #212121;
    --color-primary-light: #2b6cb0;
    --color-accent: #ea580c;
    --color-accent-hover: #c2410c;
    --color-dark: #0f172a;
    --color-gray-dark: #334155;
    --color-gray-medium: #64748b;
    --color-gray-light: #f1f5f9;
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-success-bg: #ecfdf5;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.95), rgba(43, 108, 176, 0.8));
    --gradient-orange: linear-gradient(135deg, #f97316, #ea580c);
    --gradient-dark: linear-gradient(180deg, #1e293b, #0f172a);
    --gradient-card-hover: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 23, 42, 0.05));

    /* Layout metrics */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 30px 50px -10px rgba(26, 54, 93, 0.15);
}

/* Global Reset & Base Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

@media (min-width: 768px) {
    body {
        padding-top: 120px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

/* Helpers */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.relative { position: relative; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--color-accent);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.section-desc {
    color: var(--color-gray-medium);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Grids */
.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

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

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

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

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* Header & Navigation */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.topbar {
    background-color: var(--color-primary);
    color: var(--color-white);
    height: 40px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

@media (max-width: 767px) {
    .topbar {
        display: none !important;
    }
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topbar-info {
    display: flex;
    gap: 1.5rem;
}

.topbar-info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-info-icon {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

.topbar-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.7);
}

.topbar-social a:hover {
    color: var(--color-white);
}

.topbar-donate-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.8rem;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    border-radius: var(--border-radius-full);
    font-weight: 600;
}

.topbar-donate-btn:hover {
    background-color: var(--color-accent-hover);
}

.topbar-donate-icon {
    width: 14px;
    height: 14px;
    fill: white;
}

.topbar-btn {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    margin-right: 1rem;
}

.navbar {
    background-color: var(--color-white);
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-gray-light);
    transition: var(--transition-smooth);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

header.scrolled .topbar {
    margin-top: -40px;
    opacity: 0;
    pointer-events: none;
}

header.scrolled .navbar {
    background-color: transparent;
    height: 80px;
    border-bottom-color: transparent;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.nav-menu {
    display: none;
}
.header-logo img
{
    width:55px;
}
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 1.75rem;
        height: 100%;
    }
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--color-gray-dark);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--color-accent);
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    font-weight: 500;
}

.dropdown-link:hover {
    background-color: var(--color-gray-light);
    color: var(--color-accent);
    padding-left: 1.75rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0;
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    padding: 2rem;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.nav-link-icon {
    width: 14px;
    height: 14px;
}

.navbar-donate-btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-primary);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.drawer-link:hover {
    color: var(--color-accent);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Accordion Drawer Submenus */
.drawer-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.drawer-toggle-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.drawer-toggle-btn:hover {
    color: var(--color-accent);
}

.drawer-toggle-btn svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.drawer-toggle-btn.active svg {
    transform: rotate(180deg);
}

.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    gap: 0.75rem;
}

.drawer-submenu.open {
    max-height: 300px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.drawer-sublink {
    font-size: 0.95rem;
    color: var(--color-gray-medium);
    font-weight: 500;
}

.drawer-sublink:hover {
    color: var(--color-accent);
}

.drawer-donate-btn {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(15, 23, 42, 59%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 0.8s ease;
}

.hero-tag {
    background-color: var(--color-accent);
    padding: 0.35rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-bar {
    background: var(--gradient-orange);
    color: var(--color-white);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item svg {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

/* Split Image & Content Sections */
.split-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .split-section {
        flex-direction: row;
        align-items: center;
    }
    .split-col {
        flex: 1;
    }
}

.split-image-wrapper {
    position: relative;
}

.split-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.badge-float {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.badge-float-num {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.badge-float-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.checklist {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.checklist-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Causes & Event Cards */
.card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-gray-light);
}

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

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.card-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

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

.card-text {
    font-size: 0.9rem;
    color: var(--color-gray-medium);
    margin-bottom: 1.25rem;
}

/* Progress bar */
.progress-bar-wrapper {
    margin-bottom: 1.25rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-track {
    height: 8px;
    background-color: var(--color-gray-light);
    border-radius: var(--border-radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: var(--border-radius-full);
    transition: width 1s ease-in-out;
}

.event-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--color-gray-medium);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta-item svg {
    color: var(--color-accent);
    width: 1rem;
    height: 1rem;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

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

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    object-cover: cover;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
}

.testimonial-quote {
    font-style: italic;
    opacity: 0.85;
    font-size: 0.95rem;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-gray-light);
    display: none;
}

@media (min-width: 768px) {
    .timeline::before {
        display: block;
    }
}

.timeline-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .timeline-item {
        flex-direction: row;
        margin-bottom: 4rem;
    }
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.timeline-node {
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    z-index: 5;
    box-shadow: var(--shadow-md);
    margin: 0 auto 1rem auto;
}

@media (min-width: 768px) {
    .timeline-node {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
}

.timeline-content {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-light);
    width: 100%;
}

@media (min-width: 768px) {
    .timeline-content {
        width: calc(50% - 40px);
    }
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: right;
    }
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-gray-light);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* Filter controls */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--color-gray-light);
    background-color: var(--color-gray-light);
    color: var(--color-gray-dark);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

/* Alert styles */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.alert-success {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Details Pages Layout */
.detail-layout {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .detail-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.sidebar-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-light);
    margin-bottom: 2rem;
}

/* Gallery page masonry */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 54, 93, 0), rgba(26, 54, 93, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.gallery-title {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Donation Pills Selection */
.pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .pills-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.pill-btn {
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-gray-light);
    background-color: var(--color-gray-light);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-heading);
    text-align: center;
    transition: var(--transition-smooth);
}

.pill-btn.active, .pill-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

/* Footer styling */
footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-widget-title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Topbar Social Icons styling */
.topbar-social a i {
    font-size: 14px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.topbar-social a:hover i {
    color: var(--color-white);
}

/* Footer Social Buttons styling */
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}




/*vdo secion */

        .section-charity {
          padding:3rem 0 3rem 0;
          background: #f1f5f9;
        }
        /* Accordion heading style with #f97316 color */
        .accordion-heading {
            background: #ffffff;
            padding: 1rem 1.5rem;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            border: 1px solid #e2eaf2;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }
        .accordion-heading i {
            color: #f97316;
            font-size: 1.2rem;
        }
        .accordion-heading .heading-text {
            font-weight: 600;
            color: #0b2b3d;
            font-size: 1.1rem;
        }
        .accordion-heading .heading-text i {
            color: #f97316;
        }
        .accordion-heading .heading-sub {
            color: #5a7a8a;
            font-size: 0.85rem;
            font-weight: 400;
            margin-left: 0.5rem;
        }
        /* card – no footer, no paragraph, no duration, no card-categories */
        .video-card {
            border: none;
            border-radius: 24px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: 0 10px 24px rgba(0, 20, 30, 0.06);
            transition: transform 0.2s ease, box-shadow 0.25s ease;
            height: 100%;
        }
        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 36px rgba(0, 30, 40, 0.10);
        }
        .video-wrap {
            position: relative;
            width: 100%;
            padding-top: 56.25%;
            background: #101c27;
            overflow: hidden;
        }
        .video-wrap iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }
        /* card body: only heading with #f97316 color */
        .card-body-only {
            padding: 1rem 1.25rem 1.25rem 1.25rem;
        }
        .card-title {
            font-weight: 700;
            font-size: 1.05rem;
            color: #153243;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .card-title i {
            color: #f97316;
            font-size: 1rem;
            width: 1.4rem;
            text-align: center;
        }
        @media (max-width: 767.98px) {
            .accordion-heading {
                flex-direction: column;
                align-items: flex-start;
            }
        }

