/* =============================================
   File: public_html/durgamandir/assets/css/main.css
   Theme: Deep Purple + Gold - Sarwajanik Durga Mandir
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Tiro+Devanagari+Hindi:ital@0;1&family=Cinzel:wght@400;600;700&display=swap');

/* =============================================
   CSS VARIABLES - COLOR THEME
   ============================================= */
:root {
    /* Primary - Deep Royal Purple */
    --primary:        #4a0e8f;
    --primary-dark:   #2d0a5a;
    --primary-light:  #7b2fd4;

    /* Accent - Sacred Gold */
    --gold:           #d4af37;
    --gold-light:     #f0d060;
    --gold-dark:      #b8860b;

    /* Secondary - Deep Maroon */
    --maroon:         #8b0000;
    --maroon-light:   #c0392b;

    /* Backgrounds */
    --bg-dark:        #0d0618;
    --bg-card:        #1a0a2e;
    --bg-section:     #f8f4ff;
    --bg-white:       #ffffff;

    /* Text */
    --text-primary:   #1a0a2e;
    --text-light:     #666688;
    --text-white:     #ffffff;
    --text-gold:      #d4af37;

    /* Borders */
    --border:         #e0d4f7;
    --border-gold:    #d4af37;

    /* Shadows */
    --shadow-sm:      0 2px 8px rgba(74,14,143,0.1);
    --shadow-md:      0 4px 20px rgba(74,14,143,0.15);
    --shadow-lg:      0 8px 40px rgba(74,14,143,0.2);
    --shadow-gold:    0 4px 20px rgba(212,175,55,0.3);

    /* Gradients */
    --grad-primary:   linear-gradient(135deg, #4a0e8f, #7b2fd4);
    --grad-gold:      linear-gradient(135deg, #d4af37, #f0d060, #b8860b);
    --grad-dark:      linear-gradient(135deg, #0d0618, #1a0a2e, #2d0a5a);
    --grad-hero:      linear-gradient(160deg, #0d0618 0%, #2d0a5a 50%, #4a0e8f 100%);

    /* Fonts */
    --font-main:      'Poppins', sans-serif;
    --font-hindi:     'Tiro Devanagari Hindi', serif;
    --font-title:     'Cinzel', serif;

    /* Spacing */
    --radius:         12px;
    --radius-lg:      20px;
    --radius-xl:      30px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--primary-dark);
    line-height: 1.3;
}

.hindi-text {
    font-family: var(--font-hindi);
    font-size: 1.1em;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--grad-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* =============================================
   FLASH NEWS TICKER
   ============================================= */
.news-ticker {
    background: var(--grad-primary);
    color: var(--gold-light);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.ticker-label {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0 16px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    white-space: nowrap;
}

.ticker-wrapper {
    margin-left: 100px;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    font-size: 0.9rem;
    font-weight: 500;
}

.ticker-content span { margin: 0 40px; }
.ticker-content span::before { content: '🔔 '; }

@keyframes tickerScroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.nav-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
    background: var(--grad-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.nav-logo-text .name {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.nav-logo-text .tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

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

.nav-link {
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-light);
    color: var(--gold-light);
}

.nav-donate-btn {
    background: var(--grad-gold);
    color: var(--primary-dark) !important;
    font-weight: 700;
    border-radius: 25px;
    padding: 8px 18px !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s;
}

.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); }

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        border-bottom: 2px solid var(--gold);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }

    .nav-menu.open { transform: translateY(0); }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
        border: 1px solid rgba(212,175,55,0.2);
    }
}

/* =============================================
   INTRO SCREEN
   ============================================= */
.intro-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.intro-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 20px;
}

.golden-text {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 5rem);
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(212,175,55,0.6));
    animation: goldenPulse 2s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

@keyframes goldenPulse {
    0%  { filter: drop-shadow(0 0 20px rgba(212,175,55,0.4)); }
    100%{ filter: drop-shadow(0 0 50px rgba(212,175,55,0.9)); }
}

.mantra-text {
    font-family: var(--font-hindi);
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    line-height: 2;
    margin-top: 10px;
}

.skip-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(212,175,55,0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 9999;
}

.skip-btn:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Petals */
.petals-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.petal {
    position: absolute;
    top: -20px;
    border-radius: 50% 0 50% 0;
    opacity: 0.8;
    animation: petalFall linear forwards;
}

@keyframes petalFall {
    0%   { transform: translateY(-20px) rotate(0deg); opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 85vh;
    background: var(--grad-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(123,47,212,0.3) 0%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(212,175,55,0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-hindi);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--gold);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-family: var(--font-hindi);
    color: rgba(255,255,255,0.8);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 40px;
}

.hero-image-wrap {
    margin: 30px auto;
    max-width: 380px;
    border-radius: var(--radius-xl);
    border: 3px solid var(--gold);
    overflow: hidden;
    box-shadow: var(--shadow-gold), 0 0 60px rgba(123,47,212,0.4);
}

.hero-image-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.hero-placeholder {
    width: 100%;
    height: 280px;
    background: var(--grad-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 5rem;
}

.hero-placeholder span {
    font-family: var(--font-title);
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 2px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.btn-gold {
    background: var(--grad-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,175,55,0.5);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-lg { padding: 15px 35px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* =============================================
   BELL SECTION
   ============================================= */
.bell-section {
    background: var(--bg-dark);
    padding: 50px 20px;
    text-align: center;
    border-top: 2px solid rgba(212,175,55,0.3);
    border-bottom: 2px solid rgba(212,175,55,0.3);
}

.bell-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.bell-icon {
    font-size: 4rem;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.1s;
    filter: drop-shadow(0 0 15px rgba(212,175,55,0.5));
}

.bell-icon.ringing {
    animation: bellRing 0.5s ease-in-out;
}

@keyframes bellRing {
    0%,100%{ transform: rotate(0); }
    20%    { transform: rotate(-20deg); }
    40%    { transform: rotate(20deg); }
    60%    { transform: rotate(-15deg); }
    80%    { transform: rotate(15deg); }
}

.bell-text {
    color: var(--gold-light);
    font-family: var(--font-hindi);
    font-size: 1.1rem;
}

.bell-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--grad-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.4s;
    z-index: 9000;
    pointer-events: none;
}

.bell-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =============================================
   AARTI SECTION
   ============================================= */
.aarti-section {
    padding: 60px 20px;
    background: var(--bg-section);
    text-align: center;
}

.aarti-btn {
    font-size: 1.2rem;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--maroon), var(--primary));
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(139,0,0,0.4);
    transition: all 0.3s;
}

.aarti-btn:hover { transform: translateY(-3px); }
.aarti-btn.active { animation: aartiBtnPulse 1s infinite; }

@keyframes aartiBtnPulse {
    0%,100%{ box-shadow: 0 4px 20px rgba(139,0,0,0.4); }
    50%    { box-shadow: 0 4px 40px rgba(212,175,55,0.6); }
}

.aarti-diya {
    font-size: 4rem;
    margin: 20px auto;
    display: none;
    filter: drop-shadow(0 0 20px rgba(255,150,0,0.8));
}

.aarti-diya.burning {
    display: block;
    animation: diyaFlicker 0.3s infinite alternate;
}

@keyframes diyaFlicker {
    0%  { transform: scale(1) rotate(-2deg);   filter: drop-shadow(0 0 15px rgba(255,100,0,0.8)); }
    100%{ transform: scale(1.05) rotate(2deg); filter: drop-shadow(0 0 30px rgba(255,200,0,0.9)); }
}

/* =============================================
   COUNTER SECTION
   ============================================= */
.counter-section {
    padding: 60px 20px;
    background: var(--grad-dark);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(74,14,143,0.4) 0%, transparent 70%);
}

.counter-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.counter-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: var(--radius-lg);
    padding: 35px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.counter-box:hover { transform: translateY(-5px); }

.counter-icon { font-size: 2.5rem; margin-bottom: 10px; }

.counter-value {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
}

.counter-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* =============================================
   COUNTDOWN
   ============================================= */
.countdown-section {
    padding: 60px 20px;
    background: var(--primary-dark);
    text-align: center;
    position: relative;
}

.countdown-title {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(212,175,55,0.1);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    min-width: 90px;
}

.countdown-number {
    display: block;
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
}

.countdown-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

/* =============================================
   GALLERY SECTION (Homepage)
   ============================================= */
.gallery-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74,14,143,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    font-size: 0.9rem;
}

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

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold-light);
}

/* =============================================
   COMMITTEE SECTION
   ============================================= */
.committee-section {
    padding: 80px 20px;
    background: var(--bg-section);
}

.committee-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.committee-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.committee-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-gold);
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.committee-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

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

.committee-name {
    font-family: var(--font-title);
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.committee-role {
    background: var(--grad-gold);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.committee-phone {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.news-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

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

.news-img {
    height: 180px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

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

.news-body { padding: 20px; }

.news-date {
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.news-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =============================================
   RECENT DONORS
   ============================================= */
.donors-section {
    padding: 70px 20px;
    background: var(--bg-section);
}

.donors-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.donors-table {
    width: 100%;
    border-collapse: collapse;
}

.donors-table thead {
    background: var(--grad-primary);
    color: var(--gold-light);
}

.donors-table th,
.donors-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.9rem;
}

.donors-table tbody tr:nth-child(even) {
    background: var(--bg-section);
}

.donors-table tbody tr:hover {
    background: rgba(74,14,143,0.05);
}

.amount-cell {
    color: var(--primary);
    font-weight: 700;
}

/* =============================================
   SOCIAL + MAP SECTION
   ============================================= */
.social-map-section {
    padding: 70px 20px;
    background: var(--bg-dark);
}

.social-map-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

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

.social-title {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius);
    color: white;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.social-link:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateX(5px);
}

.social-link .icon { font-size: 1.5rem; }

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(212,175,55,0.3);
    box-shadow: var(--shadow-md);
}

.map-wrap iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* =============================================
   CARDS / SECTIONS GENERAL
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

/* =============================================
   DONATION FORM
   ============================================= */
.donate-section {
    padding: 80px 20px;
    background: var(--bg-white);
}

.donate-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
    color: var(--text-primary);
    transition: border-color 0.3s;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(74,14,143,0.1);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-dark);
    padding: 60px 20px 30px;
    border-top: 2px solid rgba(212,175,55,0.3);
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-heading {
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

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

.footer-social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* =============================================
   ALERTS / TOASTS
   ============================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: #e8f8e8;
    color: #1a6b1a;
    border: 1px solid #86d486;
}

.alert-error {
    background: #fde8e8;
    color: #8b0000;
    border: 1px solid #f4a4a4;
}

/* =============================================
   PAGE BANNER
   ============================================= */
.page-banner {
    background: var(--grad-hero);
    padding: 70px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(123,47,212,0.3) 0%, transparent 70%);
}

.page-banner h1 {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: clamp(1.8rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
    font-family: var(--font-hindi);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* =============================================
   MODAL / LIGHTBOX
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f0f2f7;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-dark);
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    border-right: 2px solid rgba(212,175,55,0.2);
}

.sidebar-logo {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    text-align: center;
}

.sidebar-logo-text {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 0.95rem;
    margin-top: 8px;
}

.sidebar-nav { padding: 15px 0; }

.sidebar-section-title {
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(212,175,55,0.1);
    color: var(--gold-light);
    border-left-color: var(--gold);
}

.sidebar-link .icon { font-size: 1.1rem; width: 20px; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 99;
}

.admin-content {
    padding: 30px;
    flex: 1;
}

.admin-page-title {
    font-family: var(--font-title);
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-light);
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-3px); }
.stat-card:nth-child(2) { border-left-color: var(--gold); }
.stat-card:nth-child(3) { border-left-color: var(--maroon); }
.stat-card:nth-child(4) { border-left-color: #2ecc71; }

.stat-icon { font-size: 2rem; margin-bottom: 10px; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary-dark); }
.stat-label { color: var(--text-light); font-size: 0.85rem; }

.admin-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 25px;
}

.admin-card-header {
    padding: 18px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-section);
}

.admin-card-title {
    font-family: var(--font-title);
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.admin-card-body { padding: 25px; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead {
    background: var(--bg-section);
}

.admin-table th {
    padding: 12px 15px;
    text-align: left;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.admin-table tbody tr:hover { background: var(--bg-section); }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-success { background: #e8f8e8; color: #1a6b1a; }
.badge-warning { background: #fff8e1; color: #8b6914; }
.badge-danger  { background: #fde8e8; color: #8b0000; }
.badge-info    { background: #e8f0ff; color: #1a3a8f; }

.btn-action {
    padding: 5px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 2px;
    transition: all 0.2s;
}

.btn-approve { background: #e8f8e8; color: #1a6b1a; }
.btn-approve:hover { background: #1a6b1a; color: white; }
.btn-reject  { background: #fde8e8; color: #8b0000; }
.btn-reject:hover  { background: #8b0000; color: white; }
.btn-edit    { background: #e8f0ff; color: #1a3a8f; }
.btn-delete  { background: #fde8e8; color: #8b0000; }

/* Admin Login */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-hero);
    padding: 20px;
}

.admin-login-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 45px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(212,175,55,0.3);
    text-align: center;
}

.login-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.login-title {
    font-family: var(--font-title);
    color: var(--primary-dark);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.login-sub {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .hero { min-height: 70vh; }
    .hero-btns { flex-direction: column; align-items: center; }

    .admin-sidebar { width: 240px; transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }

    .donate-wrap { padding: 25px 20px; }

    .social-map-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .countdown-item { padding: 15px 18px; min-width: 75px; }
    .countdown-number { font-size: 2rem; }
}
