@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&family=Noto+Serif+Devanagari:wght@400;600;700&display=swap');

:root {
    --saffron: #E8720C;
    --saffron-light: #FF8C33;
    --saffron-dark: #CC5500;
    --gold: #C5963A;
    --gold-light: #D4A843;
    --maroon: #800020;
    --maroon-dark: #5C0018;
    --cream: #FFF8F0;
    --cream-dark: #FFF3E6;
    --text-dark: #2C1810;
    --text-medium: #5A3E2B;
    --text-light: #8B6F5E;
    --white: #FFFFFF;
    --border-light: rgba(197, 150, 58, 0.2);
    --shadow-soft: 0 4px 30px rgba(128, 0, 32, 0.08);
    --shadow-medium: 0 8px 40px rgba(128, 0, 32, 0.12);
    --shadow-strong: 0 15px 60px rgba(128, 0, 32, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--maroon);
}

.sanskrit-text {
    font-family: 'Noto Serif Devanagari', serif;
    color: var(--gold);
}

a {
    color: var(--saffron);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--maroon); }

img { max-width: 100%; height: auto; }

/* ========== DECORATIVE ELEMENTS ========== */
.diya-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}
.diya-divider::before,
.diya-divider::after {
    content: '';
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.diya-divider .diya-icon {
    font-size: 24px;
    color: var(--gold);
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(197, 150, 58, 0.5); }
    50% { opacity: 0.8; text-shadow: 0 0 20px rgba(197, 150, 58, 0.8); }
}

.lotus-motif {
    text-align: center;
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 15px;
    opacity: 0.6;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* ========== BUTTONS ========== */
.btn-saffron {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.btn-saffron:hover {
    background: linear-gradient(135deg, var(--saffron-dark), var(--maroon));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 114, 12, 0.3);
}

.btn-maroon {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-maroon:hover {
    background: linear-gradient(135deg, var(--maroon-dark), #3D000E);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.3);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-white-outline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: var(--white);
}

/* ========== NAVBAR ========== */
.navbar-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.08);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}
.navbar-main.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 30px rgba(128, 0, 32, 0.12);
}
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.navbar-brand-custom .brand-icon {
    font-size: 28px;
}
.navbar-brand-custom .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--maroon);
    line-height: 1.2;
}
.navbar-brand-custom .brand-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.navbar-main .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--saffron) !important;
}
.navbar-main .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--saffron);
    border-radius: 2px;
}
.nav-donate-btn {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    padding: 8px 20px !important;
}
.nav-donate-btn:hover {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    transform: translateY(-1px);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0008 0%, #2d0510 30%, #3d0a15 60%, #1a0008 100%);
    padding-top: 80px;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(232, 114, 12, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(197, 150, 58, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(128, 0, 32, 0.2) 0%, transparent 60%);
    z-index: 1;
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 6s infinite;
}
@keyframes floatUp {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 0 20px;
}
.hero-sacred-line {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 2.1rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    opacity: 0.9;
    letter-spacing: 1px;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(197, 150, 58, 0.3);
    line-height: 1.15;
}
.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 20px;
}
.hero-description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: var(--gold);
    opacity: 0.6;
    font-size: 24px;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron), var(--gold), var(--maroon), var(--gold), var(--saffron));
}
.about-content {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.9;
}
.about-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 4px solid var(--border-light);
}

/* ========== FOUNDER SECTION ========== */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    position: relative;
}
.founder-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold));
}
.founder-list {
    list-style: none;
    padding: 0;
}
.founder-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: var(--text-medium);
    font-size: 1.02rem;
}
.founder-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: var(--saffron);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6c-2 6-2 12 0 18 2-6 2-12 0-18zm-14 14c2 6 6 10 12 12-4-4-6-10-6-16-3 1-5 2.5-6 4zm28 0c-1-1.5-3-3-6-4 0 6-2 12-6 16 6-2 10-6 12-12zM10 30c3 5 8 8 14 9-5-2-9-6-11-11-1.5.5-2.5 1.2-3 2zm44 0c-.5-.8-1.5-1.5-3-2-2 5-6 9-11 11 6-1 11-4 14-9zM6 40c4 4 10 6 16 6-5-1-10-4-13-8-1.5 0-2.5.5-3 2zm52 0c-.5-1.5-1.5-2-3-2-3 4-8 7-13 8 6 0 12-2 16-6zM32 26c-3 6-4 12-3 18h6c1-6 0-12-3-18zm-12 20s4 6 12 8c8-2 12-8 12-8H20z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6c-2 6-2 12 0 18 2-6 2-12 0-18zm-14 14c2 6 6 10 12 12-4-4-6-10-6-16-3 1-5 2.5-6 4zm28 0c-1-1.5-3-3-6-4 0 6-2 12-6 16 6-2 10-6 12-12zM10 30c3 5 8 8 14 9-5-2-9-6-11-11-1.5.5-2.5 1.2-3 2zm44 0c-.5-.8-1.5-1.5-3-2-2 5-6 9-11 11 6-1 11-4 14-9zM6 40c4 4 10 6 16 6-5-1-10-4-13-8-1.5 0-2.5.5-3 2zm52 0c-.5-1.5-1.5-2-3-2-3 4-8 7-13 8 6 0 12-2 16-6zM32 26c-3 6-4 12-3 18h6c1-6 0-12-3-18zm-12 20s4 6 12 8c8-2 12-8 12-8H20z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ========== TEMPLES SECTION ========== */
.temples-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 50%, #4A0012 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.temples-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(197, 150, 58, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 114, 12, 0.08) 0%, transparent 50%);
}
.temples-section h2 { color: var(--white); }
.temples-section .section-header p { color: rgba(255,255,255,0.7); }
.temple-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 150, 58, 0.3);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.temple-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 0 0 3px 3px;
}
.temple-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.temple-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}
.temple-card h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 15px;
}
.temple-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ========== SERVICES / ACTIVITIES SECTION ========== */
.services-section {
    padding: 100px 0;
    background: var(--white);
}
.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-light);
    background: var(--white);
}
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--white);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(232, 114, 12, 0.3);
}
.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--maroon);
}
.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ========== NEXT GEN SECTION ========== */
.nextgen-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream-dark) 0%, #FDE8D0 100%);
    position: relative;
    overflow: hidden;
}
.nextgen-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 114, 12, 0.08), transparent 70%);
}
.nextgen-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--saffron);
    transition: var(--transition);
}
.nextgen-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}
.nextgen-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.nextgen-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-medium);
}
.nextgen-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 12px;
    height: 12px;
    background: var(--saffron);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7h7l-5.5 4.5L18.5 21 12 16.5 5.5 21l2-7.5L2 9h7z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7h7l-5.5 4.5L18.5 21 12 16.5 5.5 21l2-7.5L2 9h7z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ========== EVENTS SECTION ========== */
.events-section {
    padding: 100px 0;
    background: var(--white);
}
.event-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}
.event-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--maroon), var(--saffron));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--maroon);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.event-date-badge .day {
    font-size: 1.4rem;
    display: block;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}
.event-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--saffron);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.event-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-card-body h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--maroon);
}
.event-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    flex: 1;
}
.event-meta {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    font-size: 0.82rem;
    color: var(--text-light);
}
.event-meta i { color: var(--saffron); margin-right: 4px; }

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(128, 0, 32, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h5 {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}
.gallery-overlay span {
    color: var(--gold-light);
    font-size: 0.8rem;
}
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gold);
    border: 2px dashed var(--border-light);
}

/* ========== DONATION SECTION ========== */
.donation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.donation-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(197, 150, 58, 0.1), transparent 70%);
}
.donation-section h2 { color: var(--white); }
.donation-section p { color: rgba(255, 255, 255, 0.8); }
.donation-amount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}
.donation-amount {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(197, 150, 58, 0.4);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.donation-amount:hover, .donation-amount.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--maroon-dark);
    transform: translateY(-3px);
}

/* ========== VOLUNTEER SECTION ========== */
.volunteer-section {
    padding: 100px 0;
    background: var(--white);
}
.volunteer-area-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}
.volunteer-area-card:hover {
    background: var(--white);
    border-color: var(--border-light);
    box-shadow: var(--shadow-soft);
    transform: translateY(-5px);
}
.volunteer-area-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232, 114, 12, 0.1), rgba(197, 150, 58, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}
.volunteer-area-card h5 {
    font-size: 1rem;
    color: var(--maroon);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 100px 0;
    background: var(--cream);
}
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    border: 1px solid var(--border-light);
}
.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}
.contact-info-item h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}
.contact-info-item p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}
.contact-form .form-control {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--cream);
}
.contact-form .form-control:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(232, 114, 12, 0.1);
    background: var(--white);
}
.contact-form label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #1a0008 0%, #0d0004 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0;
}
.footer-shlok {
    text-align: center;
    padding: 30px 0 40px;
    border-bottom: 1px solid rgba(197, 150, 58, 0.2);
    margin-bottom: 40px;
}
.footer-shlok p {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    line-height: 2;
    margin: 0;
}
.footer h5 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 16px;
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--maroon-dark);
    transform: translateY(-3px);
}

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}
.lightbox-close:hover { color: var(--gold); }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), var(--gold));
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 20px rgba(232, 114, 12, 0.3);
    transition: var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 114, 12, 0.4);
}

/* ========== PAGE HEADER (Sub-pages) ========== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    text-align: center;
    position: relative;
}
.page-header h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 10px;
}
.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
}
.page-header .breadcrumb-item a { color: var(--gold-light); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-tagline { font-size: 0.95rem; letter-spacing: 2px; }
    .section-header h2 { font-size: 2rem; }
    .founder-card { padding: 30px; }
    .nextgen-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-section {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 56px;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-description {
        font-size: 0.98rem;
        line-height: 1.75;
    }
    .hero-sacred-line { font-size: 0.9rem; }
    .hero-tagline { letter-spacing: 1.2px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn-saffron,
    .hero-buttons .btn-gold-outline,
    .hero-buttons .btn-white-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .section-header h2 { font-size: 1.7rem; }
    .section-header p { font-size: 0.98rem; }
    .temples-section, .about-section, .founder-section,
    .services-section, .nextgen-section, .events-section,
    .gallery-section, .donation-section, .volunteer-section,
    .contact-section { padding: 60px 0; }
    .event-card-body { padding: 18px; }
    .founder-card,
    .contact-form,
    .contact-info-card,
    .donation-section .fade-in {
        padding: 22px;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nextgen-list { grid-template-columns: 1fr; gap: 10px; }
    .footer { padding: 40px 0 0; }
}

@media (max-width: 480px) {
    .hero-section { padding-top: 90px; padding-bottom: 44px; }
    .hero-title { font-size: 1.8rem; line-height: 1.25; }
    .hero-tagline { font-size: 0.82rem; letter-spacing: 0.8px; }
    .hero-description { font-size: 0.94rem; line-height: 1.65; }
    .section-header h2 { font-size: 1.45rem; }
    .section-header p { font-size: 0.92rem; }
    .btn-saffron, .btn-gold-outline, .btn-white-outline {
        padding: 10px 18px;
        font-size: 0.92rem;
    }
    .gallery-grid { grid-template-columns: 1fr; }
    .donation-amount { padding: 10px 20px; font-size: 1rem; }
}

/* ========== SVG ICONS ========== */
.svg-icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    flex-shrink: 0;
}
.svg-icon-sm { width: 20px; height: 20px; }
.svg-icon-md { width: 32px; height: 32px; }
.svg-icon-lg { width: 48px; height: 48px; }
.svg-icon-xl { width: 64px; height: 64px; }
.svg-icon-xxl { width: 80px; height: 80px; }
.svg-icon-hero { width: 96px; height: 96px; }

.icon-saffron { color: var(--saffron); }
.icon-gold { color: var(--gold); }
.icon-gold-light { color: var(--gold-light); }
.icon-maroon { color: var(--maroon); }
.icon-white { color: var(--white); }

.diya-divider .svg-icon {
    animation: flicker 2s infinite alternate;
}

.lotus-motif .svg-icon {
    opacity: 0.6;
}

.service-icon .svg-icon {
    width: 36px;
    height: 36px;
    color: var(--white);
}

.temple-icon .svg-icon {
    width: 56px;
    height: 56px;
}

.volunteer-area-icon .svg-icon {
    width: 28px;
    height: 28px;
}

.contact-info-icon .svg-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.gallery-placeholder .svg-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.hero-sacred-line .svg-icon,
.hero-content .svg-icon {
    vertical-align: -2px;
}

.brand-icon .svg-icon {
    width: 28px;
    height: 28px;
    color: var(--saffron);
}

.footer .svg-icon {
    vertical-align: -2px;
}

.navbar-brand-custom .brand-icon .svg-icon {
    width: 30px;
    height: 30px;
    color: var(--saffron);
}

/* Language switcher */
.lang-switcher .btn {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    min-width: 2.25rem;
}
.lang-switcher .btn-outline-secondary {
    border-color: rgba(128, 0, 32, 0.25);
    color: var(--text-dark);
}
.lang-switcher .btn-outline-secondary:hover {
    border-color: var(--saffron);
    color: var(--saffron);
    background: rgba(232, 114, 12, 0.08);
}

body.lang-hi,
body.lang-hi .about-content,
body.lang-hi .hero-description,
body.lang-hi .service-card p,
body.lang-hi .temple-card p,
body.lang-hi .founder-card,
body.lang-hi .contact-form,
body.lang-hi .footer {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

body.lang-gu,
body.lang-gu .about-content,
body.lang-gu .hero-description,
body.lang-gu .service-card p,
body.lang-gu .temple-card p,
body.lang-gu .founder-card,
body.lang-gu .contact-form,
body.lang-gu .footer {
    font-family: 'Noto Sans Gujarati', 'Poppins', sans-serif;
}

body.lang-hi .hero-title,
body.lang-hi h1,
body.lang-hi h2,
body.lang-hi h3 {
    font-family: 'Noto Sans Devanagari', 'Playfair Display', serif;
}
body.lang-gu .hero-title,
body.lang-gu h1,
body.lang-gu h2,
body.lang-gu h3 {
    font-family: 'Noto Sans Gujarati', 'Playfair Display', serif;
}

/* ========== UTILITY CLASSES ========== */
.text-saffron { color: var(--saffron) !important; }
.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.bg-cream { background-color: var(--cream) !important; }
.bg-saffron { background-color: var(--saffron) !important; }
.gap-20 { gap: 20px; }
.mb-60 { margin-bottom: 60px; }
