/* CSS Variables */
:root {
    --primary-color: #FF9933; /* Saffron */
    --primary-color-rgb: 255, 153, 51;
    --primary-dark: #e68a00;
    --secondary-color: #138808;
    /* Green */
    --accent-color: #A52A2A;
    /* Blue */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Hind', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}





@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.container {
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.6);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* Top Navigation Bar */
.top-bar {
    background: linear-gradient(90deg, #FF9933 0%, #FF512F 100%); /* Saffron Gradient */
    color: var(--white);
    padding: 5px 0; /* Reduced padding for slimmer look */
    font-size: 13px;
    font-weight: 500;
    position: relative;
    z-index: 1001;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    overflow: hidden;
    line-height: 1.2; /* Tighten line height */
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.location-item, .info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.location-item i, .info-item i {
    color: #fbbf24; /* Amber/Gold for icons */
    font-size: 14px;
}

.highlight-tithi-text {
    color: #fffbeb;
    font-weight: 600;
}

.separator {
    color: rgba(255,255,255,0.4);
    margin: 0 5px;
}

.location-text {
    transition: color 0.3s ease;
    cursor: default;
}

.location-text:hover {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Responsive adjustments for Top Bar */
@media (max-width: 992px) {
    .top-bar-content {
        flex-direction: row; /* Keep in row */
        justify-content: space-between;
        gap: 10px;
        padding: 5px 0;
    }
    
    .top-bar-left, .top-bar-right {
        justify-content: flex-start;
        width: auto;
        gap: 10px;
    }

    .top-bar-right {
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 5px 0; /* Set padding to 5px as requested */
        height: auto; 
        min-height: auto;
        display: flex;
        align-items: center;
        overflow: visible; /* Ensure content is not hidden */
    }

    .top-bar .container-fluid {
        padding: 0 5px;
        height: auto;
        display: flex;
        align-items: center;
        overflow: visible;
    }

    .top-bar-content {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 0;
        line-height: normal; /* Reset line height to ensure text visibility */
        overflow: visible;
    }

    /* Handle the specific structure where everything is in top-bar-right -> info-item */
    .top-bar-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-item {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Spread items evenly */
        width: 100%;
        gap: 2px; /* Minimal gap */
        white-space: nowrap;
        font-size: 10px; /* Small font */
    }

    /* Location should take available space but shrink if needed */
    .location-text {
        flex: 0 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
        margin-right: auto; /* Push other items to the right */
    }

    /* Date and Tithi should stay visible */
    #liveDate, #liveTithi, .separator {
        flex: 0 0 auto;
    }

    /* Hide icons to save space, but show location icon specifically */
    .location-item i, .info-item i {
        display: none;
    }
    
    /* Force show the location icon on mobile */
    .info-item .location-icon-mobile {
        display: inline-block;
        font-size: 10px;
        margin-right: 2px;
        color: #fffbeb; /* Light color for visibility */
    }
    
    .separator {
        margin: 0 3px;
    }
}

/* Header */
.header {
    background-color: var(--white);
    padding: 5px 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    position: relative; /* Default state */
}

/* Fixed Header State */
.header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-in-out;
    padding: 2px 0;
}

/* Add padding to body when header is fixed to prevent jump */
body.header-fixed-active {
    padding-top: 80px; /* Approx height of header */
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Adjust body padding to prevent content from hiding behind fixed header */
body {
    padding-top: 0;
}

/* Top Bar */
/* .top-bar {
    display: none;
} */

.container-fluid {
    width: 100%;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.logo-box {
    border: 2px solid #DAA520;
    /* Golden Border */
    padding: 5px;
    border-radius: 4px;
}

.logo {
    height: 55px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    background-color: rgba(var(--primary-color-rgb), 0.8); /* Semi-transparent primary color */
    color: var(--white);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start; /* Align tag to the start */
}

.gallery-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px; /* Adjusted margin */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Subtle text shadow */
}

.hindi-title {
    font-size: 24px;
    color: #8B0000;
    /* Maroon color */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    font-family: 'Hind', sans-serif;
}

.tagline {
    font-size: 13px;
    color: #555;
    font-style: italic;
    margin-top: -2px;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
}

.nav-item {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Home Button Style */
.home-btn {
    background-color: #FFE4B5;
    /* Peach/Light Orange */
    padding: 8px 20px;
    border-radius: 4px;
    border-bottom: 3px solid #DAA520;
    /* Golden Border */
    color: #8B0000 !important;
    /* Maroon Text */
}

.home-btn.active {
    background-color: #FFE4B5;
    border-bottom: 3px solid #DAA520;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-btn {
    width: 45px;
    height: 45px;
    background-color: #6a1b9a;
    /* Purple */
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(106, 27, 154, 0.3);
    transition: var(--transition);
}

.user-btn:hover {
    transform: translateY(-3px);
    background-color: #4a148c;
    color: var(--white);
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #FFD700, #FFA500); /* Golden gradient */
    color: #8B0000; /* Maroon text */
    border-radius: 12px; /* Square shape with rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.8); /* Subtle white border */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.user-avatar:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 255, 255, 1);
}

.donate-btn-new {
    background-color: #00796b;
    /* Green */
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 121, 107, 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-btn-new i {
    font-size: 18px;
    color: #FFD700;
    /* Gold Icon */
}

.donate-btn-new:hover {
    background-color: #004d40;
    transform: translateY(-3px);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(0, 121, 107, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 85vh;
    /* Increased height */
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    animation: kenburns 12s ease-in-out infinite alternate;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(160, 40, 30, 0.25), rgba(60, 20, 15, 0.35));
    mix-blend-mode: soft-light;
}

.overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 28px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.12);
}

.slider-prev:hover,
.slider-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.8);
}

@keyframes kenburns {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-6px) scale(1.08);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-body {
        font-size: 15px;
    }

    .cta-btn {
        padding: 12px 22px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 18px;
    }

    .hero-sub {
        font-size: 13px;
    }

    .hero-body {
        font-size: 12px;
    }

    .cta-btn {
        padding: 10px 18px;
        gap: 8px;
    }

    .cta-icon {
        width: 24px;
        height: 24px;
    }
}

.hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fffbe6;
    font-size: 24px;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #FFD700;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.hero-sub {
    font-size: 18px;
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #FFD700;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 12px rgba(255, 215, 0, 0.55), 0 0 24px rgba(255, 215, 0, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.18);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.hero-body {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 6px rgba(255, 255, 255, 0.25);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 0;
    font-weight: 700;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffd54f;
    color: #215f2b;
}

/* Variants for slider buttons */
.cta-primary {
    background: #2e7d32;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(30, 80, 30, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.15);
}

.cta-secondary {
    background: #FFC979;
    /* Peach */
    color: #1a1a1a;
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.25);
}

.cta-secondary .cta-icon {
    background: transparent;
    color: inherit;
}

.cta-secondary .cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.1);
    margin-left: 6px;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}

/* Section Title */
.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title.text-center {
    text-align: center;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #8B0000; /* Deep Maroon Red as fallback */
    background: linear-gradient(135deg, #800000 0%, #B22222 50%, #800000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #800000, #B22222); /* Gradient matching the text */
}

.section-title .line.center {
    margin: 20px auto 0; /* Center the line */
}

.gallery-filters {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-filters .filter-btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-size: 16px;
    display: inline-block;
    border-radius: 8px;
    }

    .gallery-filters .filter-btn:hover {
        border-radius: 0; /* No border radius on hover as requested */
    }

    /* Responsive adjustments for gallery filters on smaller screens */
    @media (max-width: 768px) {
        .gallery-filters {
            display: flex;
            flex-wrap: wrap; /* Allow buttons to wrap to the next line if space is limited */
            justify-content: center; /* Center the buttons horizontally */
            margin-bottom: 20px; /* Adjust margin-bottom for smaller screens */
        }
        .gallery-filters .filter-btn {
            margin: 5px 3px; /* Smaller horizontal margin for buttons */
            padding: 8px 15px; /* Slightly smaller padding for buttons */
            font-size: 14px; /* Smaller font size for buttons */
        }
    }

.gallery-filters .filter-btn.active {
    background-color: #8B0000; /* Maroon for active state */
}

.view-all-btn {
    margin: 20px auto; /* Center the button horizontally with some top margin */
    display: block; /* Ensure it takes full width to apply margin auto */
    width: fit-content; /* Adjust width to content */
    background-color: #218838; /* Green color from the image */
}

/* Profile Modal Specific Styles */
.profile-details {
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.profile-details .form-group {
    margin-bottom: 15px;
}

.full-width-field {
    grid-column: span 2;
}

.profile-details label {
    font-weight: 600;
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.profile-details .form-input {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    cursor: default;
    width: 100%;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-color);
    font-family: var(--font-body);
}

.profile-details textarea.form-input {
    resize: none;
}

.profile-details .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.modal-actions {
    margin-top: 25px;
    text-align: center;
}

.modal-actions #logoutBtn {
    background-color: #dc3545; /* Red for logout */
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    color: var(--white);
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 16px;
    font-family: var(--font-heading);
}

.modal-actions #logoutBtn:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.6);
}

/* Responsive adjustments for profile modal */
@media (max-width: 576px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width-field {
        grid-column: span 1;
    }

    #profileModal .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    .profile-details .form-input {
        font-size: 14px;
        padding: 8px 12px;
    }
    .modal-actions #logoutBtn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.view-all-btn {
    color: var(--white);
    border-radius: 8px; /* Less rounded corners */
    box-shadow: 0 4px 15px rgba(33, 136, 56, 0.4); /* Green shadow */
}

.view-all-btn:hover {
    background-color: #1a6b2c; /* Darker green on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(33, 136, 56, 0.6); /* Enhanced green shadow on hover */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Spacing between items */
}



@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns for phone size */
        gap: 20px;
    }
}



/* Census Section Styling - Enhanced 2x2 Design */
.census-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #fffcf9 0%, #f7f1e3 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.census-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.census-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.census-tagline {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 50px;
    font-weight: 500;
}

.census-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards in one row */
    gap: 30px;
    max-width: 1100px; /* Increased width to fit 3 cards comfortably */
    margin: 40px auto 0;
}

.census-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 35px 20px; /* Adjusted padding for 3-column layout */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center; /* Center text for vertical layout */
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column; /* Vertical layout to save horizontal layout */
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.census-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.census-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 1);
}

.census-card:hover::before {
    transform: translateX(100%);
}

.census-icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border: 5px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FF9933, #138808, #A52A2A) border-box;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none; /* Removed transform transitions to prevent movement */
}

.census-card:hover .census-icon {
    /* Removed rotation and scaling to prevent movement */
}

.census-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.census-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.census-info {
    width: 100%;
}

.census-info h3 {
    font-size: 1.4rem;
    color: #2c3e50; /* Deep Midnight Blue for better contrast */
    margin: 0 0 5px;
    font-weight: 800;
}

.census-info p {
    font-size: 0.95rem;
    color: #576574; /* Soft Charcoal for descriptions */
    margin: 0;
    font-weight: 500;
}

.census-card .count-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
    background: linear-gradient(135deg, #FF4500, #FF8C00); /* Vivid Orange-Red to Dark Orange */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 6px rgba(255, 69, 0, 0.3)); /* Stronger glowing shadow */
    transition: all 0.3s ease;
}


.total-census {
    background: linear-gradient(135deg, #138808, #27ae60); /* Deep Green to Forest Green */
    grid-column: 1 / -1; /* Total card takes full width of all columns */
    color: var(--white);
    justify-content: center;
    text-align: center;
    flex-direction: row; /* Horizontal for total card */
    padding: 25px;
    margin-top: 10px;
    border: 2px solid transparent;
}

.total-census:hover {
    background: linear-gradient(135deg, #16a30a, #2ecc71); /* Slightly brighter on hover */
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(19, 136, 8, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.total-census .census-icon {
    border: 5px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FFD700, #FFA500, #FF8C00) border-box;
    margin-bottom: 0;
    transition: all 0.5s ease;
}

.total-census:hover .census-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FFD700, #FFA500, #FF8C00) border-box;
}
   

.total-census .census-icon i {
    color: var(--white);
}

.total-census .count-number,
.total-census h3,
.total-census p {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.total-census .count-number {
    font-size: 3.5rem;
    margin-bottom: 0;
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) !important; /* Bright white glow */
    transition: all 0.3s ease;
}

.total-census:hover .count-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)) !important;
}

.total-census .census-info {
    width: auto;
    text-align: left;
}

.total-census .census-icon {
    border: 5px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FFD700, #FFA500, #FF8C00) border-box;
    margin-bottom: 15px;
}

.total-census .census-icon i {
    color: var(--white);
}

.total-census .count-number,
.total-census h3,
.total-census p {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.total-census .count-number {
    font-size: 4.5rem;
}

.census-note {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    background: rgba(230, 126, 34, 0.05);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.census-note i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .census-grid {
        gap: 25px;
        padding: 0 20px;
    }
    .census-card {
        padding: 30px;
        gap: 20px;
    }
    .census-icon {
        width: 110px;
        height: 110px;
        border: 4px solid transparent;
        background: linear-gradient(white, white) padding-box,
                    linear-gradient(135deg, #FF9933, #138808, #A52A2A) border-box;
    }
    .census-card .count-number {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .census-section {
        padding: 60px 0;
    }
    .section-title h2 {
        font-size: 1.8rem !important;
    }
    .census-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cards in one row on mobile too */
        gap: 10px;
        padding: 0 10px;
    }
    .census-card {
        padding: 15px 5px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        border-radius: 15px;
    }
    .census-icon {
        width: 70px;
        height: 70px;
        border: 3px solid transparent;
        background: linear-gradient(white, white) padding-box,
                    linear-gradient(135deg, #FF9933, #138808, #A52A2A) border-box;
    }
    .census-icon i {
        font-size: 1.4rem;
    }
    .census-card .count-number {
        font-size: 1.6rem;
        margin-bottom: 2px;
    }
    .census-info h3 {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    .census-info p {
        font-size: 0.65rem;
        line-height: 1.1;
        display: none; /* Hide description on mobile to save space for 3-col */
    }
    .total-census {
        grid-column: span 3; /* Spans all 3 columns */
        padding: 15px;
        flex-direction: row; 
        justify-content: center;
        gap: 15px;
        margin-top: 5px;
    }
    .total-census .census-info p {
        display: block; /* Keep total card description */
    }
    .total-census .count-number {
        font-size: 2.2rem;
    }
    .census-tagline {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .census-note {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* Prevent census cards from moving */
.census-card {
    transform: none !important;
    opacity: 1 !important;
}

.census-card.in-view {
    transform: none !important;
    opacity: 1 !important;
}

/* Remove any transitions that might cause movement */
.census-card,
.census-card * {
    transition: none !important;
    animation: none !important;
}

/* Gallery Item Structure */
.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease; /* Unified transition */
    opacity: 0;
    transform: scale(0.9);
    display: none;
}

.gallery-item.show {
    opacity: 1;
    transform: scale(1);
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.gallery-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Subtle border */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-card img {
    transform: scale(1.1);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)); /* Adjusted opacity */
            color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex; /* Use flexbox for content alignment */
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-tag {
    display: inline-block;
    background-color: rgba(var(--primary-color-rgb), 0.8); /* Semi-transparent primary color */
    color: var(--white);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start; /* Align tag to the start */
}

.gallery-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px; /* Adjusted margin */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Subtle text shadow */
}

.gallery-icon {
    font-size: 20px;
    color: var(--white);
    margin-top: auto; /* Push icon to the bottom */
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 5px;
}

.gallery-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none; /* Disable interaction when hidden */
}

.gallery-item.hidden.in-view {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fixed 2 columns layout */
    gap: 20px; /* Spacing between grid items */
    margin-top: 30px;
}

/* Responsive adjustments for gallery grid */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets and larger */
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for desktops */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for small phones */
        gap: 15px;
    }
}

.about .section-title h2 {
    color: #8B0000;
    font-size: 42px; /* Slightly larger font size */
    font-weight: 700; /* Bolder */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    letter-spacing: 1.5px; /* Increase letter spacing */
    position: relative;
    display: inline-block; /* To apply pseudo-elements correctly */
}

.about .section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; /* Position below the text */
    transform: translateX(-50%);
    width: 80px; /* Width of the underline */
    height: 4px;
    background: linear-gradient(to right, #8B0000, #A52A2A); /* Gradient underline with maroon shades */
    border-radius: 2px;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.line.center {
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, var(--bg-light) 100%);
}

.about-heavy .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.about-media.in-view {
    transform: translateY(0);
    opacity: 1;
}

.about-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
}

.media-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.about-mosaic {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mosaic-item {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}

.about-card.in-view {
    transform: translateY(0);
    opacity: 1;
}

.about-desc {
    color: var(--text-light);
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #eee;
    border-radius: 12px;
}

.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 153, 51, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feat-text h4 {
    font-size: 16px;
}

.feat-text span {
    color: var(--text-light);
    font-size: 13px;
}

.about-ctas {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 153, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 30px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Causes Section */
.causes {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cause-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cause-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cause-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.cause-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cause-card:hover .cause-img img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.cause-content {
    padding: 25px;
}

.cause-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.progress-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin: 20px 0 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

.raised-goal {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 20px;
}

.general-donate {
    text-align: center;
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 2px dashed var(--primary-color);
}

/* Gallery */
/* Advance Gallery */
.gallery {
    padding: 100px 0;
    background: #fdfdfd;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #666;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #FF9933, #138808);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 50px;
}

.filter-btn.active {
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 153, 51, 0.3);
}

.filter-btn.active::before {
    width: 100%;
}

.filter-btn:hover:not(.active) {
    color: var(--primary-color);
    background: rgba(255, 153, 51, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-tag {
    color: #FF9933;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.gallery-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.gallery-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-card:hover .gallery-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card:hover .gallery-icon {
    background: #FF9933;
    color: #fff;
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .gallery-card {
        height: 250px;
    }
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: simpleFadeIn 0.3s ease;
}

.gallery-lightbox.hide {
    animation: fadeOut 0.3s ease;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    z-index: 1;
    transform: scale(1);
    animation: zoomIn 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    color: #fff;
}

.lightbox-info h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-lightbox {
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: #FF9933;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Media Mix */
.mix { padding: 80px 0; background: radial-gradient(120% 120% at 50% 0%, #fff 0%, #f7faf8 50%, var(--bg-light) 100%); }
.mix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mix-item { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 48px rgba(0,0,0,.12); transform: translateY(24px) scale(.98); opacity: 0; transition: var(--transition); }
.mix-item.in-view { transform: translateY(0) scale(1); opacity: 1; }
.mix-item img, .mix-media, .mix-video { width: 100%; height: 100%; display: block; }
.mix-item.photo img { aspect-ratio: 16/9; height: auto; object-fit: cover; }
.mix-item.video .mix-media { aspect-ratio: 16/9; height: auto; background: #000; }
.mix-item.story .mix-card { background: var(--white); padding: 20px; border: 1px solid #eee; height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.mix-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); color: #fff; }
.mix-overlay h3 { font-size: 18px; }
.mix-overlay p { font-size: 13px; opacity: .9; }
.mix-chip { position:absolute; top:10px; left:10px; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; background:#FFE4B5; color:#8B0000; border-bottom:3px solid #DAA520; box-shadow: 0 10px 18px rgba(0,0,0,.12); }
.mix-item:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 28px 60px rgba(0,0,0,.16); }

@media (max-width: 600px) {
  .mix-item.story .mix-card { height: auto; }
  .mix-overlay { padding: 12px; }
  .mix-overlay h3 { font-size: 16px; }
  .mix-overlay p { font-size: 12px; }
}

.donate-diagram { padding: 80px 0; background: radial-gradient(120% 120% at 50% 0%, #FFF 0%, #F7FAF8 50%, var(--bg-light) 100%); }
.donate-grid { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 16px; }
.d-card { background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.06); border-radius: 18px; padding: 26px; box-shadow: 0 24px 50px rgba(0,0,0,.12), inset 0 0 30px rgba(255,255,255,.25); backdrop-filter: blur(2px); transform: translateY(24px); opacity: 0; transition: var(--transition); max-width: 100%; width: 100%; }
.d-card.in-view { transform: translateY(0); opacity: 1; }
.d-pill { display:inline-block; background:#FFE4B5; color:#8B0000; font-weight:700; font-size:12px; padding:6px 12px; border-radius:999px; border-bottom:3px solid #DAA520; margin-bottom:8px; }
.d-impact-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.d-impact-head h3 { font-size: 22px; color:#8B0000; }
.d-impact-head span { color: var(--text-light); font-size: 13px; }
.d-impact-body { display:grid; grid-template-columns: 1.2fr 0.8fr; gap:16px; align-items:center; }
.d-benefits .d-sub { color: var(--text-light); margin-bottom: 8px; }
.b-list { display:flex; flex-direction:column; gap:10px; margin:10px 0 12px; }
.b-list li { display:flex; gap:10px; align-items:flex-start; padding:10px; border:1px dashed #eee; border-radius:12px; opacity:0; transform: translateY(12px); }
.d-card.in-view .b-list li { animation: reveal 0.5s ease forwards; }
.d-card.in-view .b-list li:nth-child(1){ animation-delay:.05s }
.d-card.in-view .b-list li:nth-child(2){ animation-delay:.15s }
.d-card.in-view .b-list li:nth-child(3){ animation-delay:.25s }
.d-card.in-view .b-list li:nth-child(4){ animation-delay:.35s }
.b-list i { color: var(--primary-color); font-size:18px; }
.b-list strong { font-size: 14px; }
.b-list span { display:block; color: var(--text-light); font-size: 12px; }
.d-start { margin-top:6px; }
.d-plan { background: linear-gradient(180deg, #8B0000, #7A0A0A); color:#FFD54F; border-radius:16px; padding:16px; text-align:center; box-shadow: 0 18px 40px rgba(0,0,0,.15); }
.d-logo img { height:36px; margin:6px auto 8px; display:block; }
.d-price { font-size:42px; font-weight:800; color:#FFD54F; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.d-note { color:#FFE082; font-size:13px; margin-bottom:8px; }
.d-meter { position: relative; width: 190px; height: 190px; border-radius: 50%; margin: 12px auto 14px; background: conic-gradient(var(--primary-color) calc(var(--pct,70) * 1%), #eee 0); box-shadow: 0 10px 22px rgba(0,0,0,.08), inset 0 0 20px rgba(255,255,255,.35); animation: fill 1.6s ease both; }
.d-meter::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--white); }
.d-meter-center { position: absolute; inset: 0; display: grid; place-items: center; }
.d-meter-text { text-align: center; }
.d-meter-text strong { font-size: 20px; }
.d-meter-text span { color: var(--text-light); font-size: 12px; }
.d-goal { display: flex; justify-content: space-between; margin: 6px 0 14px; }
.d-goal span { color: var(--text-light); font-size: 12px; }
.d-goal strong { font-size: 16px; }
.d-primary { display: block; text-align: center; margin-top: 6px; background: linear-gradient(180deg, #2e7d32, #1b5e20); box-shadow: 0 10px 22px rgba(30,80,30,.35); }
.d-badges { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: var(--text-light); font-size: 13px; flex-wrap: wrap; }
.d-badges i { color: var(--primary-color); }
.d-primary:hover { transform: translateY(-2px); }
.d-primary:active { transform: translateY(0); }
@keyframes fill { from { --pct: 0; } to { --pct: 72; } }
@property --pct { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes reveal { from { opacity:0; transform: translateY(12px) } to { opacity:1; transform: none } }

/* Counts Section */
.counts { padding: 90px 0; background: radial-gradient(120% 120% at 50% 0%, #fff 0%, #f7faf8 50%, var(--bg-light) 100%); }
.count-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.count-card { background: rgba(255,255,255,.92); border: 1px solid rgba(0,0,0,.06); border-radius: 18px; padding: 18px; display: flex; gap: 16px; align-items: center; box-shadow: 0 24px 50px rgba(0,0,0,.12), inset 0 0 24px rgba(255,255,255,.35); backdrop-filter: blur(2px); transform: translateY(26px) scale(.98); opacity: 0; transition: var(--transition); }
.count-card.in-view { transform: translateY(0) scale(1); opacity: 1; }
.count-photo { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 26px rgba(0,0,0,.15); flex-shrink: 0; }
.count-photo::after { content:""; position:absolute; inset:-4px; border-radius: 18px; background: conic-gradient(#FF9933, #FFD54F, #138808, #FF9933); -webkit-mask: radial-gradient(circle 42px at center, transparent 40px, black 41px); mask: radial-gradient(circle 42px at center, transparent 40px, black 41px); animation: spin 3.5s linear infinite; opacity:.9; }
.count-photo img { width: 100%; height: 100%; object-fit: cover; }
.count-body { flex: 1; }
.count-number { font-size: 36px; font-weight: 800; background: linear-gradient(90deg, #FF9933, #FFD54F, #FF9933); -webkit-background-clip: text;
    background-clip: text;
    color: transparent; text-shadow: 0 2px 6px rgba(0,0,0,.15); background-size: 200% 100%; animation: shimmer 2.5s linear infinite; }
.count-label { display:inline-block; background:#FFE4B5; color:#8B0000; font-weight:700; font-size:12px; padding:4px 10px; border-radius:999px; border-bottom:3px solid #DAA520; margin: 4px 0 8px; }
.count-thumbs { display: flex; gap: 8px; }
.count-thumbs img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; box-shadow: 0 6px 14px rgba(0,0,0,.12); opacity: .95; transform: rotate(-1.5deg); }
.count-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 28px 55px rgba(0,0,0,.16); }
@keyframes shimmer { 0% { background-position: 0% 50% } 100% { background-position: 180% 50% } }
.count-badges { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.count-badges .badge { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; font-size:12px; border-radius:999px; background:#fff3e0; color:#8B0000; border-bottom:3px solid #DAA520; box-shadow: 0 6px 12px rgba(0,0,0,.08); transform: translateY(10px); opacity:0; }
.count-card.in-view .count-badges .badge { animation: reveal .35s ease forwards; }
.count-card.in-view .count-badges .badge:nth-child(1){ animation-delay:.05s }
.count-card.in-view .count-badges .badge:nth-child(2){ animation-delay:.15s }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes simpleFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.t-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.t-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.t-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.t-author h4 {
    font-size: 18px;
    margin-bottom: 2px;
}

.t-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* Testimonials Advanced */
.testimonials-adv { background: #f5e2d9; }
.testimonials-adv .section-title h2 {
    color: transparent;
    background: linear-gradient(90deg, #FF9933, #138808);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding: 0 10px;
    font-weight: 800;
    font-size: 36px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.testimonials-adv .section-title h2::before,
.testimonials-adv .section-title h2::after { content: none; }
.testimonials-adv .section-title h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #FF9933, #138808);
    border-radius: 2px;
}
.t-slider { position: relative; }
.t-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 60px 20px 40px; }
.t-track.hide-scroll { scrollbar-width: none; }
.t-track.hide-scroll::-webkit-scrollbar { display: none; }
.t-card { position: relative; background: linear-gradient(180deg, #ffffff 0%, #fff7f0 100%); border: 2px solid #ffe6d3; border-radius: 20px; box-shadow: 0 24px 54px rgba(0,0,0,.14); padding: 64px 28px 28px; min-width: 360px; scroll-snap-align: start; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease; }
.t-card::before { content: "\201C"; position: absolute; top: 14px; left: 18px; font-size: 24px; color: #f5b400; opacity: .8; }
.t-card::after { content: "\201D"; position: absolute; bottom: 12px; right: 18px; font-size: 24px; color: #f5b400; opacity: .8; }
.t-avatar { position: absolute; left: 50%; top: -46px; transform: translateX(-50%); width: 92px; height: 92px; border-radius: 50%; padding: 3px; background: conic-gradient(#ffb84a, #ff6a00, #ffb84a); box-shadow: 0 16px 26px rgba(0,0,0,.18); }
.t-avatar img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover; }
.t-name { text-align: center; font-size: 24px; font-weight: 800; letter-spacing: .5px; margin-bottom: 10px; color: #d35400; text-transform: uppercase; }
.t-role { display: none; }
.t-stars { display: flex; justify-content: center; gap: 4px; color: #f5b400; font-size: 14px; margin-bottom: 8px; }
.t-meta { text-align: center; color: #888; font-size: 13px; margin-bottom: 6px; }
.t-body { text-align: center; font-size: 16px; color: #4a4a4a; margin-bottom: 14px; line-height: 1.6; }
.t-body { max-height: 72px; overflow: hidden; }
.t-card.expanded .t-body { max-height: none; }
.t-read { display: table; margin: 10px auto 0; color: #e74c3c; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(231,76,60,.25); padding-bottom: 2px; }
.t-read:hover { text-decoration: underline; }
.t-card.in-view { transform: translateY(0) scale(1); opacity: 1; }
.t-card.active-card {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.15);
    background: #fff;
    z-index: 2;
}
.t-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 36px 70px rgba(0,0,0,.18); z-index: 5; }
.t-quote { color: var(--primary-color); font-size: 22px; margin-bottom: 8px; }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.t-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.t-nav { 
    display: flex; 
    align-items: center;
    justify-content: center;
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: white; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    border: none; 
    cursor: pointer; 
    z-index: 10; 
    color: var(--primary-color);
    transition: all 0.3s ease;
}
.t-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}
.t-prev { left: 10px; }
.t-next { right: 10px; }
.t-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.t-dots .dot { width: 10px; height: 10px; border-radius: 999px; background: #e0e0e0; box-shadow: inset 0 0 0 2px #fff; }
.t-dots .dot.active { background: #ff6a00; box-shadow: 0 4px 10px rgba(255,106,0,.35); }

.t-progress { display: flex; justify-content: center; margin-top: 10px; }
.t-progress .bar { width: 0; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #ffd1a9, #ff6a00); box-shadow: 0 4px 10px rgba(255,106,0,.25); }

@media (max-width: 1024px) {
  .t-card { min-width: 300px; }
}
@media (max-width: 600px) {
  .t-card { min-width: 88%; }
  .t-prev { left: -10px; } .t-next { right: -10px; }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
    z-index: 1;
}

/* New Professional Contact Layout */
.contact-container-pro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* Left Panel */
.contact-info-panel {
    padding: 60px 50px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.panel-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.panel-desc {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 15px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-row:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.info-text h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Social Links */
.social-links-pro {
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.follow-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Decorative Circles */
.panel-bg-circle {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 153, 51, 0.1);
    z-index: 1;
}

.panel-bg-circle-2 {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 153, 51, 0.1);
    z-index: 1;
}

/* Right Panel (Map) */
.contact-map-panel {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.map-frame-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-direction-float-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
    white-space: nowrap;
}

.map-direction-float-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container-pro {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        padding: 40px 30px;
    }
    
    .contact-map-panel {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .contact-info-panel {
        padding: 30px 20px;
    }
    
    .contact-map-panel {
        min-height: 300px;
    }
    
    .panel-title {
        font-size: 24px;
    }
}

/* --- Bento Layout (Very Different & Modern) --- */
.bento-section {
    padding: 100px 0;
    background: #f8fafc;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.bento-item {
    background: white;
    border-radius: 25px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* All cards in one line - Removing spans */
.bento-item.featured {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-item.featured {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.bento-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
}

.bento-icon-main img {
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.2));
}

.bento-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.bento-item.featured h3 {
    color: white;
}

.bento-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.8;
}

.bento-price {
    margin: 15px 0;
}

.bento-price .amount {
    font-size: 2.2rem;
    font-weight: 800;
}

.bento-btn.primary {
    background: white;
    color: #1e293b;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.bento-visual {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 120px;
    opacity: 0.15;
}

.bento-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.bento-price-small {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary-color);
}

.bento-item.special {
    background: #fff1f2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive Bento */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .bento-item {
        padding: 15px;
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 20px 20px 20px;
        margin-left: -20px;
        margin-right: -20px;
        gap: 15px;
        scrollbar-width: none;
    }
    .bento-grid::-webkit-scrollbar {
        display: none;
    }
    .bento-item {
        flex: 0 0 280px;
        scroll-snap-align: center;
        min-height: 400px;
        padding: 20px;
    }
}
/* --- Ghada (Pot) Donation Tracker --- */
.ghada-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.ghada {
    width: 100px;
    height: 120px;
    background: #fdf6e3;
    border: 6px solid #8B4513;
    border-radius: 50% 50% 40% 40%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.ghada::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    z-index: 2;
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--pct);
    background: #3498db;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wave {
    position: absolute;
    top: -15px;
    left: 0;
    width: 200%;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 300"><path fill="%233498db" d="M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 L1000,300 L0,300 Z"/></svg>');
    background-size: 50% 100%;
    animation: wave-move 3s linear infinite;
}

.wave:nth-child(2) {
    top: -20px;
    opacity: 0.5;
    animation: wave-move 5s linear infinite reverse;
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ghada-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #2c3e50;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
    text-align: center;
}

.ghada-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
}

.ghada-text span {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ghada-info {
    text-align: left;
    margin-top: 0;
}

.ghada-info .collected {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.ghada-info .month {
    font-size: 0.9rem;
    color: #64748b;
}

.bento-link:hover {
    gap: 10px;
    color: var(--secondary-color);
}

.meal-prev { left: -10px; }
.meal-next { right: -10px; }

.meal-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.meal-slider-dots .dot {
    width: 10px;
    height: 10px;
    background: #dfe6e9;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.meal-slider-dots .dot.active {
    width: 30px;
    background: var(--primary-color);
}

/* --- Advanced Donation Page Styles --- */
.donation-container-advanced {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.donation-trust-header {
    background: #f8fafc;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.trust-badge, .tax-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.trust-badge i { color: #10b981; }
.tax-badge i { color: var(--primary-color); }

.modal-content-professional {
    padding: 40px;
}

.donation-tabs-modern {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 15px;
}

.tab-btn-modern {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tab-btn-modern.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tab-pane-modern {
    display: none;
}

.tab-pane-modern.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Impact Selector */
.impact-selector h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 700;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.impact-card {
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.impact-card:hover {
    background: white;
    border-color: #cbd5e1;
    transform: translateY(-5px);
}

.impact-card.selected {
    background: #fff1f2;
    border-color: var(--primary-color);
}

.impact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.impact-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
}

.impact-desc {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Advanced Form */
.don-grid-advanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group-modern {
    position: relative;
}

.field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
}

.form-input-modern {
    width: 100%;
    padding: 15px 15px 15px 48px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.05);
}

.pay-btn-advanced {
    width: 100%;
    margin-top: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.pay-btn-advanced:hover {
    background: #be123c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

/* QR Advanced Layout */
.qr-layout-advanced {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.qr-display-box {
    text-align: center;
}

.qr-frame {
    background: white;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.qr-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-download-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #d35400;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 5;
    text-decoration: none;
}

.qr-download-overlay:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    color: #e67e22;
}

.qr-hint {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #64748b;
}

.upi-id-badge {
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.upi-id-badge strong { color: #1e293b; }

.copy-badge-btn {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.2s;
}

.copy-badge-btn:hover { background: var(--primary-color); color: white; }

.qr-amount-selector label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: #475569;
}

.amount-input-box {
    position: relative;
    margin-bottom: 15px;
}

.currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    font-size: 1.4rem;
    color: #1e293b;
}

.amount-input-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.amount-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.amount-chips button {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.amount-chips button:hover, .amount-chips button.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pay-upi-app-btn {
    width: 100%;
    background: #1e293b;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

/* Trust Footer */
.donation-trust-footer {
    background: #f8fafc;
    padding: 25px;
    display: flex;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid #e2e8f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.trust-item i { font-size: 1.1rem; color: #10b981; }

@media (max-width: 768px) {
    .don-grid-advanced { grid-template-columns: 1fr; }
    .qr-layout-advanced { grid-template-columns: 1fr; }
    .modal-content-professional { padding: 25px; }
    .donation-trust-footer { flex-direction: column; gap: 15px; align-items: flex-start; }
}

@media (max-width: 1024px) {
    .meal-card-premium {
        flex: 0 0 calc(50% - 15px);
    }
    .featured-premium {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .meal-card-premium {
        flex: 0 0 100%;
    }
    .meal-slider-container {
        padding: 0 20px;
    }
    .meal-nav {
        display: none;
    }
    .premium-title {
        font-size: 32px;
    }
}

.btn-get-directions {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: 2px solid transparent;
}

.btn-get-directions:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.btn-get-directions i {
    font-size: 16px;
    color: var(--white);
}

.btn-get-directions:hover i {
    color: var(--primary-color);
}

/* Map iframe styling */
.map-container iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-container iframe:hover {
    transform: scale(1.02);
}

/* Responsive map styling */
@media (max-width: 768px) {
    .map-container iframe {
        height: 180px;
    }
    
    .btn-get-directions {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .contact-info-box {
        padding: 40px 30px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 150px;
    }
    
    .location-map {
        padding: 15px;
    }
    
    .location-map h5 {
        font-size: 16px;
    }
    
    .contact-info-box {
        padding: 30px 20px;
    }
}

.get-directions-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.get-directions-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
    text-decoration: none;
    font-size: 18px;
}

/* Different colors for each social media icon */
.social-links a:nth-child(1) {
    background: linear-gradient(135deg, #1877F2, #42A5F5); /* Facebook blue */
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.social-links a:nth-child(2) {
    background: linear-gradient(135deg, #1DA1F2, #64B5F6); /* Twitter blue */
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.3);
}

.social-links a:nth-child(3) {
    background: linear-gradient(135deg, #E4405F, #F06292); /* Instagram pink */
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.3);
}

.social-links a:nth-child(4) {
    background: linear-gradient(135deg, #25D366, #4CAF50); /* WhatsApp green */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Individual hover colors for social media icons */
.social-links a:nth-child(1):hover {
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.4);
}

.social-links a:nth-child(2):hover {
    box-shadow: 0 15px 35px rgba(29, 161, 242, 0.4);
}

.social-links a:nth-child(3):hover {
    box-shadow: 0 15px 35px rgba(228, 64, 95, 0.4);
}

.social-links a:nth-child(4):hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.contact-form-box {
    flex: 1.5;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 153, 51, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.contact-form-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--heading-color);
    text-align: center;
    position: relative;
}

.contact-form-box h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-box .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.contact-form-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.4);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-status.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c1810 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #FF9933 0%, #138808 33%, #A52A2A 66%, #FF9933 100%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-grid > div {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-grid > div:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Different gradient borders for each section */
.footer-grid > div:nth-child(1) {
    border-image: linear-gradient(135deg, #FF9933, #FFD700) 1;
}

.footer-grid > div:nth-child(2) {
    border-image: linear-gradient(135deg, #138808, #4CAF50) 1;
}

.footer-grid > div:nth-child(3) {
    border-image: linear-gradient(135deg, #A52A2A, #FF6B6B) 1;
}

.footer-logo {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF9933 0%, #FFD700 25%, #138808 50%, #A52A2A 75%, #FF9933 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 0 20px rgba(255, 153, 51, 0.3);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(255, 153, 51, 0.3)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 153, 51, 0.6)); }
}

.footer-links h4 {
    color: #FFD700;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.footer-links ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.footer-links ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
    padding-left: 5px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Recent Donors Section - Divine Glass Trust Design */
.recent-donors-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    overflow: hidden;
    position: relative;
}

/* Background Pattern Overlay */
.recent-donors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff9933' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.donors-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.donors-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(255, 153, 51, 0.05));
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 153, 51, 0.2);
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.1);
}

.heavy-title {
    font-size: 42px;
    font-weight: 800;
    color: #8B0000;
    background: linear-gradient(135deg, #800000 0%, #B22222 50%, #800000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

.heavy-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #800000, #B22222);
}

.donors-ticker-container {
    width: 100%;
    padding: 40px 0;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Prevent horizontal scrollbar */
}

/* Gradient Masks for Smooth Fade Effect */
.donors-ticker-container::before,
.donors-ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.donors-ticker-container::before {
    left: 0;
    background: linear-gradient(to right, #fff8f0, transparent);
}

.donors-ticker-container::after {
    right: 0;
    background: linear-gradient(to left, #fff8f0, transparent);
}

.donors-ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    width: max-content;
    padding: 10px 0; /* Space for hover transform */
    flex-wrap: nowrap;
}

/* Pause removed for continuous auto-slide as per user request */
/* .donors-ticker:hover {
    animation-play-state: paused;
} */

/* Glassmorphism + Divine Glow Card */
.donor-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 40px; /* Use margin instead of gap for seamless loop */
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 340px;
    position: relative;
    overflow: hidden;
}

/* Divine Golden Border on Hover */
.donor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #ff9933, #f59e0b, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.donor-card:hover::before {
    opacity: 1;
}

.donor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px -5px rgba(255, 153, 51, 0.15),
        0 8px 16px -8px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.donor-avatar {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
}

.donor-avatar::after {
    content: '🕉️';
    position: absolute;
    font-size: 10px;
    top: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.donor-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.donor-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.donor-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 17px;
    letter-spacing: -0.3px;
}

.verified-badge {
    color: #10b981;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.donor-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.donor-amt {
    color: #f59e0b; /* Golden/Saffron */
    font-weight: 800;
    font-size: 18px;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.time-ago {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-ago i {
    font-size: 10px;
}

.donor-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

.donors-cta {
    text-align: center;
    margin-top: 60px;
}

.heavy-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #FF9933, #FF6B6B);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.heavy-donate-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 107, 107, 0.4);
    color: white;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Success Modal Styles */
.success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.success-card {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.success-card h2 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 10px;
}

.success-card p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.whatsapp-box {
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

.whatsapp-btn-large {
    background: #25D366;
    color: white;
    padding: 18px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn-large:hover {
    background: #128C7E;
    transform: translateY(-3px);
    color: white;
}

.close-success {
    background: #f1f5f9;
    color: #64748b;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s;
}

.close-success:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Mobile Responsive Adjustments */
@media (max-width: 576px) {
    .heavy-title { font-size: 32px; }
    .donor-card { min-width: 260px; padding: 15px 20px; }
    .heavy-donate-btn { padding: 15px 30px; font-size: 18px; }
    .success-card { padding: 30px 20px; }
    .success-icon { width: 80px; height: 80px; font-size: 40px; }
    .success-card h2 { font-size: 24px; }
    .whatsapp-btn-large { padding: 12px 20px; font-size: 14px; }
    .upi-id-badge { flex-direction: column; gap: 10px; align-items: flex-start; }
    .upi-id-badge strong { word-break: break-all; }
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover + li::before {
    transform: translateX(5px);
}

.footer-newsletter h4 {
    color: #FF6B6B;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.footer-newsletter p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter input::placeholder {
    color: #999999;
}

.footer-newsletter button {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E, #FF6B6B);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.footer-newsletter button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.footer-newsletter button:hover::before {
    left: 100%;
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.4);
}

.footer-bottom {
    background: linear-gradient(135deg, #FF9933 0%, #138808 50%, #A52A2A 100%);
    padding: 25px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-bottom p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-bottom p::before {
    content: '©';
    color: #ffffff;
    font-weight: bold;
    margin-right: 5px;
    font-size: 16px;
}
 

/* Responsive footer styling */
@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }
    
    .footer-grid {
        gap: 40px;
        padding-bottom: 40px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-links h4,
    .footer-newsletter h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-newsletter input {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .footer-newsletter button {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

/* Footer animations */
.footer-grid > div {
    transition: transform 0.3s ease;
}

.footer-grid > div:hover {
    transform: translateY(-5px);
}

.footer-newsletter button:hover {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating particles animation */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 153, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(19, 136, 8, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(165, 42, 42, 0.1) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid #eee;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.modal .form-group {
    margin-bottom: 14px;
}

.modal .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.modal .form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.15);
}

.modal .modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 12px;
}

.modal .modal-footer-link {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.modal .modal-footer-link a {
    color: #d35400;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

/* Modal Branding */
.modal-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.modal-logo-box {
    border: 2px solid #DAA520;
    padding: 4px;
    border-radius: 6px;
}

.modal-logo {
    height: 40px;
    width: auto;
}

.modal-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.modal-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #8B0000;
}

.modal-brand-tagline {
    font-size: 12px;
    color: #666;
}

.donation-tabs {
    display: flex;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.qr-container {
    text-align: center;
    margin-bottom: 20px;
}

.qr-container img {
    width: 200px;
    margin: 0 auto 10px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 10px;
}

.upi-id-box {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: 1px dashed #ccc;
}

.copy-btn,
.copy-small {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-presets button {
    padding: 8px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.amount-presets button:hover,
.amount-presets button.selected {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.custom-amount {
    display: flex;
    gap: 10px;
}

.custom-amount input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-height: 90vh;
    max-width: 90vw;
    border: 5px solid var(--white);
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Donate page grid */
.don-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

@media (max-width: 1024px) {
    .about-heavy .about-grid { grid-template-columns: 1fr; gap: 22px; }
    .about-main img { height: 380px; }
    .about-card { padding: 22px; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .don-grid { grid-template-columns: 1fr; }
    .donate-grid { grid-template-columns: 1fr; }
    .about-main img { height: 240px; }
    .about-main img { height: 240px; }
    .about-main img { height: 240px; }
    .about-main img { height: 240px; }
    .about-mosaic { right: 12px; bottom: 12px; gap: 8px; }
    .mosaic-item { width: 100px; height: 72px; }
    .about-card { padding: 16px; border-radius: 12px; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .about .section-title h2 { font-size: 22px; white-space: nowrap; }
    .donate-diagram { padding: 60px 0; }
    .d-impact-body { grid-template-columns: 1fr; }
    .d-meter { width: 160px; height: 160px; }
    .d-price { font-size:36px; }
    .feat-icon { width: 36px; height: 36px; font-size: 18px; }
    .feat-icon { width: 36px; height: 36px; font-size: 18px; }
    .feat-icon { width: 36px; height: 36px; font-size: 18px; }
    .about-ctas { flex-wrap: wrap; }
}

/* Pulse Animation */
.pulse-anim {
    animation: pulse 2s infinite;
}

/* Simple Short Footer Styles */
.simple-footer {
    background: #222;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #FFD700;
}

.simple-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.simple-footer .footer-text-group {
    text-align: left;
}

.simple-footer p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

.simple-footer .footer-socials {
    display: flex;
    gap: 15px;
}

.simple-footer .footer-socials a {
    color: #FFD700;
    font-size: 18px;
    transition: 0.3s;
}

.simple-footer .footer-socials a:hover {
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 480px) {
    .simple-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .simple-footer .footer-text-group {
        text-align: center;
        margin-bottom: 10px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 153, 51, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 153, 51, 0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h2 { font-size: 36px; }
  .header-wrapper { padding: 0 15px; }
  .logo-text { display: flex; }
  .logo-section { gap: 10px; }
  .hindi-title { font-size: 20px; }
  .tagline { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white); padding: 20px; box-shadow: var(--shadow); gap: 0; max-height: 80vh; overflow-y: auto; }
  .nav-links.active { display: flex; }
  .nav-item { width: 100%; padding: 15px 0; border-bottom: 1px solid #eee; justify-content: space-between; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background-color: #f9f9f9; width: 100%; padding: 0; display: none; transition: none; }
  .dropdown-menu.show { display: block; }
  .dropdown-menu a { padding-left: 40px; border-bottom: 1px solid #eee; }
  .hamburger { display: block; margin-left: 15px; }
  .header-actions { gap: 10px; }
  .donate-btn-new span { display: none; }
  .donate-btn-new { padding: 0; border-radius: 8px; width: 40px; height: 40px; justify-content: center; }
  .donate-btn-new i { margin: 0; font-size: 20px; }
  .user-btn { width: 40px; height: 40px; font-size: 18px; }
  .hamburger span { display: block; width: 25px; height: 3px; background-color: var(--text-color); margin: 5px 0; transition: var(--transition); }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 480px) {
  .container-fluid { padding: 0 10px; }
  .logo-section { margin-left: 0; gap: 5px; }
  .hindi-title { font-size: 16px; margin-bottom: -2px; }
  .tagline { display: block; font-size: 10px; margin-top: 0; }
  .logo { height: 40px; }
  .header-wrapper { height: 60px; padding: 0; }
  .user-btn, .donate-btn-new { width: 35px; height: 35px; }
  .donate-btn-new i { font-size: 16px; }
  .user-btn { font-size: 16px; }
}

@media (max-width: 1024px) {
  .d-card { max-width: 100%; padding: 24px; }
  .d-impact-head h3 { font-size: 20px; }
  .b-list strong { font-size: 13px; }
  .b-list span { font-size: 11px; }
  .count-photo { width: 64px; height: 64px; }
  .count-number { font-size: 32px; }
}

@media (max-width: 600px) {
  .d-card { max-width: 100%; padding: 18px; border-radius: 14px; }
  .d-impact-head h3 { font-size: 18px; }
  .d-note { font-size: 12px; }
  .d-badges { font-size: 12px; }
  .d-primary, .d-start { width: 100%; justify-content: center; }
  .d-impact-body { grid-template-columns: 1fr; }
  .d-meter { width: 150px; height: 150px; }
  .d-price { font-size: 34px; }
  .count-grid { grid-template-columns: 1fr; }
  .count-number { font-size: 30px; }
}

@media (max-width: 360px) {
  .d-meter { width: 140px; height: 140px; }
  .d-price { font-size: 32px; }
  .count-photo { width: 56px; height: 56px; }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    left: 20px;
    bottom: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}

.whatsapp-button i {
    margin: 0;
    line-height: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        left: 15px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-button {
        left: 10px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 15px 20px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.4s ease forwards, fadeOut 0.4s ease 3.6s forwards;
    border-left: 5px solid var(--primary-color);
}

.notification.success {
    border-left-color: var(--secondary-color);
}

.notification.error {
    border-left-color: #f44336;
}

.notification.info {
    border-left-color: #2196f3;
}

.notification-icon {
    font-size: 20px;
}

.notification.success .notification-icon { color: var(--secondary-color); }
.notification.error .notification-icon { color: #f44336; }
.notification.info .notification-icon { color: #2196f3; }

.notification-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Monthly Donation Program */
.monthly-program {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    position: relative;
    overflow: hidden;
}

.monthly-program::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FF9933" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23138808" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23A52A2A" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="%23FF9933" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="%23138808" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    z-index: 1;
    pointer-events: none; /* Added to ensure it doesn't block interactions */
}

.monthly-program .container {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    padding: 0 10px;
}

.program-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Reduced from 600px to 400px */
}

.program-main {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: none; /* Changed from translateY(30px) to none */
    opacity: 1; /* Changed from 0 to 1 to make it visible by default */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2px;
}

.program-main.in-view {
    transform: translateY(0);
    opacity: 1;
}

.program-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(255, 153, 51, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.program-main h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.program-main h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.program-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.05), rgba(19, 136, 8, 0.05));
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 153, 51, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-image-single {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-image-single:hover img {
    transform: scale(1.05);
}

.feature-image-single::before {
    content: "📷";
    font-size: 32px;
    opacity: 0.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: none; /* Hidden as requested */
    align-items: center;
    justify-content: center;
    margin: 0; /* Changed from 0 auto 20px to 0 for flex layout */
    font-size: 24px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.feature-text h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.feature-price {
    font-size: 18px;
    font-weight: 700;
    color: #8B0000; /* Deep Maroon Red as fallback */
    background: linear-gradient(135deg, #800000 0%, #B22222 50%, #800000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.program-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.program-cta h4 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.program-cta p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.program-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.program-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: var(--white);
    color: var(--primary-color);
}

.program-btn i {
    font-size: 20px;
}

/* Responsive for Monthly Program */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feature-item {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

@media (max-width: 1024px) {
    .monthly-program {
        padding: 70px 0;
    }
    
    .program-main {
        padding: 45px 35px;
    }
    
    .program-main h3 {
        font-size: 26px;
    }
    
    .program-description {
        font-size: 16px;
    }
    
    .program-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title .subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .monthly-program {
        padding: 60px 0;
    }
    
    .program-main {
        padding: 35px 25px;
        margin: 0 15px;
        border-radius: 18px;
    }
    
    .program-main h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .program-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .program-description {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .program-features {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 20px 15px;
        display: flex;
        align-items: center;
        flex-direction: row; /* Ensure horizontal layout on tablets */
        text-align: left;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-right: 15px;
        margin-bottom: 0;
        display: none; /* Hidden as requested */
    }
    
    .feature-text h4 {
        font-size: 17px;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    .feature-image-single {
        height: 150px;
        margin-bottom: 15px;
    }
    
    .feature-image-single::before {
        font-size: 24px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    .program-cta {
        padding: 25px 20px;
        margin-top: 25px;
    }
    
    .program-cta h4 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .program-cta p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .program-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .feature-item {
        padding: 25px 20px;
    }
    
    .feature-image-single {
        height: 120px;
        margin-bottom: 15px;
    }
    
    .program-cta {
        padding: 30px 20px;
    }
    
    .program-cta h4 {
        font-size: 22px;
    }
    
    .program-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .monthly-program {
        padding: 50px 0;
    }
    
    .monthly-program .container {
        padding: 0 5px;
    }
    
    .program-main {
        padding: 30px 15px;
        border-radius: 15px;
        margin: 0 5px;
    }
    
    .program-main h3 {
        font-size: 20px;
    }
    
    .feature-title-row h4 {
        font-size: 18px;
    }
    
    .feature-price {
        font-size: 16px;
        color: #8B0000; /* Deep Maroon Red as fallback */
        background: linear-gradient(135deg, #800000 0%, #B22222 50%, #800000 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .program-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .program-features {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        display: none; /* Hidden as requested */
    }
    
    .feature-text h4 {
        font-size: 18px;
    }
    
    .program-cta {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .program-cta h4 {
        font-size: 18px;
    }
    
    .program-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .monthly-program {
        padding: 40px 0;
    }
    
    .program-main {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .program-main h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .program-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 15px 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-title-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }
    
    .feature-title-row h4 {
        font-size: 16px;
    }
    
    .feature-price {
        font-size: 14px;
        color: #8B0000; /* Deep Maroon Red as fallback */
        background: linear-gradient(135deg, #800000 0%, #B22222 50%, #800000 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .feature-icon {
        margin: 0 auto 10px auto;
        width: 45px;
        height: 45px;
        font-size: 18px;
        display: none; /* Hidden as requested */
    }
    
    .feature-text h4 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 13px;
    }
    
    .program-cta {
        padding: 20px 10px;
        margin-top: 20px;
    }
    
    .program-cta h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .program-cta p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .program-btn {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }
    
    .program-features {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title .subtitle {
        font-size: 14px;
    }
}

/* =========================================
   Memorial Wall (Digital Wall of Fame)
   ========================================= */
.memorial-wall {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff7f0, #ffffff);
    position: relative;
    overflow: hidden;
}

.memorial-wall::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF9933' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wall-desc {
    max-width: 600px;
    margin: -30px auto 40px;
    color: var(--text-light);
    font-size: 18px;
}

.wall-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.wall-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.wall-grid {
    display: flex;
    gap: 30px;
    padding: 0 20px;
    width: max-content; /* Allows horizontal scrolling */
    margin: 0 auto;
}

.wall-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    width: 300px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wall-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Card Themes */
.wall-card.gold {
    background: linear-gradient(135deg, #fffcf5, #fff);
    border: 2px solid #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.wall-card.silver {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 2px solid #C0C0C0;
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.15);
}

.wall-card.bronze {
    background: linear-gradient(135deg, #fffbf7, #fff);
    border: 2px solid #CD7F32;
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.15);
}

.wall-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.wall-card.gold .wall-badge { background: linear-gradient(45deg, #FFD700, #FFA500); }
.wall-card.silver .wall-badge { background: linear-gradient(45deg, #C0C0C0, #A9A9A9); }
.wall-card.bronze .wall-badge { background: linear-gradient(45deg, #CD7F32, #8B4513); }

.wall-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.wall-card.gold .wall-img { border: 2px dashed #FFD700; }
.wall-card.silver .wall-img { border: 2px dashed #C0C0C0; }
.wall-card.bronze .wall-img { border: 2px dashed #CD7F32; }

.wall-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.wall-card h3 {
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.wall-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.wall-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    width: 100%;
}

/* =========================================
   Interactive Gaushala Map (Virtual Tour)
   ========================================= */
.gaushala-map-section {
    padding: 80px 0;
    background: #fff;
}

.map-desc {
    max-width: 600px;
    margin: -30px auto 40px;
    color: var(--text-light);
    font-size: 16px;
}

.interactive-map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    background: #f0f0f0;
}

.map-visual {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #ddd;
}

.map-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.interactive-map-container:hover .map-bg-img {
    transform: scale(1.02);
}

.map-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.2));
    pointer-events: none;
}

/* Hotspots */
.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 2;
}

.hotspot:hover .hotspot-dot {
    transform: scale(1.2);
    background: #d35400; /* Darker orange */
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: hotspot-pulse 2s infinite;
}

@keyframes hotspot-pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

/* Tooltip */
.hotspot-tooltip {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-bottom: 3px solid var(--primary-color);
    pointer-events: none;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hotspot-tooltip h4 {
    color: var(--heading-color);
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
}

.hotspot-tooltip p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments for Map */
@media (max-width: 768px) {
    .interactive-map-container {
        margin: 0 15px;
    }
    
    .hotspot-dot {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .hotspot-tooltip {
        width: 160px;
        padding: 10px;
    }
    
    .hotspot-tooltip h4 {
        font-size: 14px;
    }
    
    .hotspot-tooltip p {
        font-size: 11px;
    }
}
