/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #d32f2f;
    --primary-dark: #8b0000;
    --primary-light: #ef5350;
    --gold: #fbc02d;
    --gold-dark: #b8860b;
    --gold-light: #fff176;
    --bg-soft: #fffdf9;
    --bg-cream: #fff8e7;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind Vadodara', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--gold), 0 0 10px var(--gold); }
    50% { box-shadow: 0 0 20px var(--gold), 0 0 30px var(--gold); }
}

.fade-in { animation: fadeIn 1s ease forwards; }
.slide-up { animation: slideUp 0.8s ease forwards; }
.slide-up-delay { animation: slideUp 0.8s ease 0.3s forwards; opacity: 0; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 3px solid var(--gold);
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gold);
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.95), rgba(211, 47, 47, 0.9)),
                url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-color: var(--primary-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.mantra-top {
    font-size: 1.2rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-badge {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 10px 35px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 5px 20px rgba(251, 192, 45, 0.4);
}

/* ===== COUNTDOWN ===== */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.count-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px 15px;
    border-radius: var(--radius);
    min-width: 80px;
    border: 2px solid var(--gold);
    transition: var(--transition);
}

.count-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.count-num {
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    color: var(--gold);
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.count-label {
    font-size: 0.85rem;
    margin-top: 8px;
    display: block;
    color: #eee;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.85rem;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px 15px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(211, 47, 47, 0.05);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.section-title {
    color: var(--primary-dark);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    border-radius: 2px;
}

/* ===== PERSON SECTION ===== */
.person-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.person-item {
    background: linear-gradient(135deg, #fff5f5, #fffaf5);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid #ffe0e0;
    transition: var(--transition);
}

.person-item:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.person-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.person-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.person-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 10px;
    color: var(--text-dark);
}

/* ===== YAJMAN CARD ===== */
.yajman-card {
    background: linear-gradient(135deg, #fff7e6 0%, #fffcf5 100%);
    border: 3px solid var(--gold);
    text-align: center;
}

.yajman-header-tag {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    padding: 8px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.4);
}

.yajman-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.yajman-item {
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    border: 2px dashed var(--gold);
}

.yajman-badge {
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.yajman-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.yajman-amount {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
}

.yajman-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

/* ===== BOLI LIST ===== */
.boli-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.boli-item {
    background: linear-gradient(135deg, #fffaf5, #fff);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.boli-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.boli-info {
    flex: 1;
}

.boli-tag {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.boli-user {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.boli-amt {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
}

.video-section .section-title {
    color: var(--white);
}

.video-placeholder {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 60px 30px;
    text-align: center;
    border: 2px dashed rgba(255,255,255,0.3);
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.video-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.video-placeholder small {
    opacity: 0.7;
}

/* ===== TIMELINE ===== */
.timeline {
    padding: 10px 0;
}

.timeline-day {
    margin-bottom: 30px;
}

.day-tag {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.day-tag.highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary-dark);
    animation: glow 2s ease-in-out infinite;
}

.timeline-events {
    border-left: 3px solid var(--gold);
    margin-left: 20px;
    padding-left: 25px;
}

.event-item {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #fafafa;
    border-radius: 10px;
    transition: var(--transition);
}

.event-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--gold);
}

.event-item:hover {
    background: #fff5f5;
    transform: translateX(5px);
}

.event-item.main-event {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid var(--gold);
}

.event-item.main-event::before {
    background: var(--primary);
    width: 20px;
    height: 20px;
    left: -36px;
}

.event-item.special {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.event-time {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.event-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 3px;
}

/* ===== DONATION SECTION ===== */
.donation-section {
    margin-bottom: 0;
}

.total-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    text-align: center;
    padding: 50px 30px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    overflow: hidden;
}

.total-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: spin 20s linear infinite;
}

.total-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
}

.total-label {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
}

.total-val {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: var(--gold);
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.total-blessing {
    font-size: 1rem;
    margin-bottom: 25px;
    position: relative;
}

.donate-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===== DONOR CARD ===== */
.donor-card {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-top: 0;
}

.donor-search {
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(251, 192, 45, 0.2);
}

.donor-list {
    max-height: 500px;
    overflow-y: auto;
}

.donor-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.donor-row:hover {
    background: #fafafa;
}

.donor-row:last-child {
    border-bottom: none;
}

.donor-name {
    font-weight: 700;
    color: var(--text-dark);
}

.donor-village {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 3px;
}

.donor-amount {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== LOADER ===== */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loader-container {
    padding: 40px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--gold);
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

.footer-copy {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== MUSIC BUTTON ===== */
.music-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    border: 3px solid var(--gold);
    transition: var(--transition);
}

.music-fab:hover {
    transform: scale(1.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 3px solid var(--gold);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .person-grid,
    .yajman-grid {
        grid-template-columns: 1fr;
    }
    
    .boli-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .count-box {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .count-num {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .timeline-events {
        margin-left: 10px;
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 20px 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== PAGE SPECIFIC STYLES ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 120px 20px 60px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 15px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(251, 192, 45, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contact-text {
    color: var(--text-light);
}

/* About Page */
.about-content {
    line-height: 2;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fff7e6, #fffcf5);
    border-left: 5px solid var(--gold);
    padding: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 30px 0;
}

.highlight-box h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

    .main-donors {
        background: linear-gradient(to bottom, #fffcf5, #ffffff);
        border-top: 5px solid #ff9933;
        position: relative;
        overflow: hidden;
    }

    .main-donors::before {
        content: "🚩";
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 2rem;
        opacity: 0.1;
    }

    .donor-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 25px;
    }

    .donor-card-item {
        background: #ffffff;
        border: 1px solid #ffe0b3;
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }

    .donor-card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(255, 153, 51, 0.2);
        border-color: #ff9933;
    }

    .donor-icon-circle {
        width: 60px;
        height: 60px;
        background: #fff4e6;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 1.8rem;
        border: 2px dashed #ff9933;
    }

    .donor-name {
        font-size: 1.10rem;
        color: #b30000;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .donor-detail-box {
        background: #fdf8f2;
        padding: 10px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .detail-label {
        display: block;
        font-size: 0.85rem;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }

    .detail-value {
        display: block;
        font-weight: 600;
        color: #333;
    }

    .date-badge {
        display: inline-block;
        background: #ff9933;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        margin-top: 15px;
    }

    .gratitude-text {
        text-align: center;
        margin-top: 30px;
        padding: 15px;
        border-top: 1px solid #eee;
        font-style: italic;
        color: #555;
        line-height: 1.6;
    }

    /* Animation for the section */
    .pulse-gold {
        animation: pulse-gold 2s infinite;
    }

    @keyframes pulse-gold {
        0% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(255, 153, 51, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
    }

    @media (max-width: 600px) {
        .donor-grid {
            grid-template-columns: 1fr;
        }
    }

    /* ===== MOBILE TAB BAR STYLES ===== */
.mobile-tabs {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    height: 70px;
    display: none; /* Changed to flex in media query */
    justify-content: space-around;
    align-items: center;
    z-index: 2000;
    border-top: 3px solid var(--gold);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    padding-bottom: env(safe-area-inset-bottom); /* For iPhone notch */
}

.tab-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    flex: 1;
    transition: var(--transition);
}

.tab-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.tab-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.tab-item.active {
    color: var(--gold);
}

.tab-item:active {
    transform: scale(0.9);
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
    /* Hide the old hamburger toggle */
    .nav-toggle, .nav-menu {
        display: none !important;
    }

    /* Show the mobile tab bar */
    .mobile-tabs {
        display: flex;
    }

    /* Add padding to body so content isn't hidden behind the tab bar */
    body {
        padding-bottom: 80px;
    }

    /* Move the Music FAB and Back to Top up so they don't cover the tabs */
    .music-fab {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .back-to-top {
        bottom: 155px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* ===== DEVOTIONAL RAIN CSS ===== */
.flower-container {
    position: fixed;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows clicking buttons through the flowers */
    z-index: 9999;
    overflow: hidden;
}

.petal {
    position: absolute;
    background-color: transparent;
    user-select: none;
    cursor: default;
    animation-name: fall, sway;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-fill-mode: forwards;
}

/* Vertical Falling Animation */
@keyframes fall {
    0% { transform: translateY(-10vh); }
    100% { transform: translateY(110vh); }
}

/* Horizontal Swaying Animation */
@keyframes sway {
    0%, 100% { margin-left: 0; }
    50% { margin-left: 50px; }
}