/* ===================================================
   SHREE PANCHMUKHI HANUMAN MANDIR – MAIN STYLESHEET
   =================================================== */

/* ── CSS Variables ── */
:root {
    --saffron: #FF8C00;
    --saffron-dark: #E07000;
    --saffron-light: #FFB347;
    --deep-red: #8B0000;
    --crimson: #C41E3A;
    --gold: #FFD700;
    --gold-dark: #B8860B;
    --cream: #FFF8E7;
    --off-white: #FEFAF2;
    --dark: #1A0800;
    --text: #333;
    --text-light: #666;
    --border: #f0e6d0;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 35px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Bootstrap 5 missing helpers ── */
.text-white-75 { color: rgba(255,255,255,0.75) !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.hindi-text { font-family: 'Tiro Devanagari Hindi', serif; }

/* ── Top Bar ── */
.top-bar {
    background: linear-gradient(90deg, var(--dark) 0%, #3a0a00 100%);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}
.top-bar-left span { margin-right: 8px; }
.top-bar-left i { color: var(--saffron); margin-right: 5px; }
.social-links a {
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-left: 6px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--saffron); color: #fff; transform: translateY(-2px); }

/* ── Navbar ── */
.main-nav {
    background: linear-gradient(90deg, #1A0800 0%, #3a0a00 60%, #5c1000 100%);
    padding: 8px 0;
    border-bottom: 3px solid var(--saffron);
    z-index: 1000;
}
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-icon img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--saffron); object-fit: cover; }
.logo-text-icon { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--saffron); display: flex; align-items: center; justify-content: center; font-size: 28px; background: rgba(255,140,0,0.15); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Yatra One', cursive; font-size: 16px; color: var(--gold); line-height: 1.2; letter-spacing: 0.5px; }
.logo-sub { font-size: 10px; color: rgba(255,255,255,0.65); letter-spacing: 1px; text-transform: uppercase; }
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 8px;
    margin: 0 2px;
    transition: var(--transition);
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 14px; right: 14px;
    height: 2px;
    background: var(--saffron);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; background: rgba(255,140,0,0.15); }
.donate-btn {
    background: linear-gradient(135deg, var(--saffron), var(--deep-red)) !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 7px 18px !important;
}
.donate-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,140,0,0.4); }

/* ── Mega Menu ── */
.mega-menu-parent { position: relative; }
.mega-menu {
    position: absolute !important;
    top: 100%; left: 50%; transform: translateX(-50%);
    width: 680px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    padding: 0;
    overflow: hidden;
    margin-top: 8px;
}
.mega-menu-inner { padding: 20px; }
.mega-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--cream);
    margin-bottom: 16px;
}
.mega-menu-header h5 { color: var(--deep-red); font-size: 15px; font-weight: 600; margin: 0; }
.view-all-btn {
    font-size: 13px;
    color: var(--saffron);
    font-weight: 600;
    padding: 5px 14px;
    border: 2px solid var(--saffron);
    border-radius: 20px;
}
.view-all-btn:hover { background: var(--saffron); color: #fff; }
.mega-menu-years {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.year-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 10px;
    background: var(--cream);
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    position: relative;
}
.year-card:hover, .year-card.has-images:hover {
    border-color: var(--saffron);
    background: rgba(255,140,0,0.08);
    transform: translateY(-3px);
}
.year-number { font-size: 18px; font-weight: 700; color: var(--deep-red); line-height: 1.2; }
.year-label { font-size: 10px; color: #888; margin-top: 2px; }
.year-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--saffron);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.year-card.has-images .year-number { color: var(--saffron-dark); }

/* ── Ticker ── */
.temple-ticker {
    background: linear-gradient(90deg, var(--deep-red), #c41e3a);
    color: #fff;
    padding: 8px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.ticker-label {
    background: var(--gold);
    color: var(--dark);
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.ticker-content { flex: 1; overflow: hidden; padding: 0 16px; font-size: 13px; }
/* CSS marquee – replaces deprecated <marquee> tag */
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: cssMarquee 35s linear infinite;
}
.ticker-track span { display: inline-block; padding-right: 20px; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes cssMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Page Banner ── */
.page-banner {
    min-height: 280px;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.page-banner-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    font-family: 'Yatra One', cursive;
    margin-bottom: 12px;
}
.breadcrumb { background: transparent; padding: 0; margin: 0; }
.breadcrumb-item a { color: var(--saffron-light); }
.breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── Section Tags/Headings ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255,140,0,0.12);
    color: var(--saffron-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,140,0,0.3);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-heading {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-heading .hindi { font-family: 'Yatra One', cursive; font-size: 1em; }
.section-sub { color: var(--text-light); font-size: 16px; line-height: 1.7; }
.section-lead { font-size: 17px; color: var(--text); line-height: 1.8; }
.bg-light-saffron { background: linear-gradient(135deg, #fffbf2 0%, #fff5e0 100%); }
.bg-deep-saffron { background: linear-gradient(135deg, #8B0000 0%, #c41e3a 40%, #FF8C00 100%); }

/* ── Hero Section ── */
.hero-section { position: relative; overflow: hidden; }
.hero-swiper { width: 100%; }
.hero-slide {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    /* Fallback gradient if hero images are missing — no broken-image spinner */
    background-color: #1a0800;
}
.hero-content { max-width: 850px; z-index: 2; position: relative; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,215,0,0.2);
    border: 2px solid var(--gold);
    font-size: 28px;
    color: var(--gold);
    margin: 0 auto 20px;
    animation: floatUpDown 3s ease-in-out infinite;
}
@keyframes floatUpDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-title { margin-bottom: 16px; }
.hero-title .hindi-text {
    display: block;
    font-family: 'Yatra One', cursive;
    font-size: clamp(30px, 5vw, 56px);
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 8px;
}
.hero-title .eng-text {
    display: block;
    font-size: clamp(16px, 2.5vw, 24px);
    color: rgba(255,255,255,0.9);
    letter-spacing: 2px;
    font-weight: 300;
}
.hero-sub {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,140,0,0.5); color: #fff; }
.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); color: #fff; border-color: #fff; }
.hero-om-float {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 200px;
    color: rgba(255,215,0,0.06);
    pointer-events: none;
    animation: floatUpDown 5s ease-in-out infinite;
    z-index: 1;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev { color: var(--gold); }
.hero-swiper .swiper-pagination-bullet-active { background: var(--gold); }

/* ── Stats Bar ── */
.stats-bar {
    background: linear-gradient(90deg, var(--dark), #3a0a00);
    padding: 0;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.stat-item:hover { background: rgba(255,140,0,0.08); }
.stat-icon { font-size: 28px; color: var(--saffron); }
.stat-num { display: block; font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ── About Section ── */
.about-img-wrapper { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; display: block; }
.about-img-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: linear-gradient(135deg, var(--saffron), var(--deep-red));
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}
.badge-year { display: block; font-size: 28px; font-weight: 700; }
.badge-text { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.about-decorative-om {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px; height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    box-shadow: var(--shadow-hover);
    font-family: 'Tiro Devanagari Hindi', serif;
    color: var(--dark);
}
.section-tag { margin-bottom: 12px; }
.about-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}
.feature-pill i { color: var(--saffron); }
.btn-primary-saffron {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-primary-saffron:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,140,0,0.4); color: #fff; }
.btn-outline-saffron {
    background: transparent;
    color: var(--saffron);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--saffron);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.btn-outline-saffron:hover { background: var(--saffron); color: #fff; transform: translateY(-2px); }

/* ── Five Faces Section ── */
.five-faces-section { background: linear-gradient(135deg, #0d0000 0%, #2a0a00 50%, #1a0500 100%); }
.five-faces-section .section-tag { color: var(--gold); background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.3); }
.five-faces-section .section-heading { color: var(--gold); font-family: 'Yatra One', cursive; }
.five-faces-section .section-sub { color: rgba(255,255,255,0.7); }
.face-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.face-card:hover {
    background: rgba(255,215,0,0.08);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255,215,0,0.1);
}
.face-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.face-card h5 { color: var(--gold); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.face-direction { font-size: 11px; color: var(--saffron); text-transform: uppercase; letter-spacing: 1px; background: rgba(255,140,0,0.15); padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.face-card p { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.6; margin: 0; }

/* ── Events Section ── */
.events-section { background: #fff; }
.event-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--saffron); }
.event-date-badge {
    background: linear-gradient(135deg, var(--deep-red), var(--crimson));
    color: #fff;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    text-align: center;
}
.event-day { font-size: 28px; font-weight: 800; line-height: 1; }
.event-mon { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.event-yr { font-size: 11px; color: rgba(255,255,255,0.7); }
.event-card { flex-direction: row !important; }
.event-body { flex: 1; padding: 16px 20px; }
.event-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.event-meta span { font-size: 12px; color: var(--text-light); }
.event-meta i { color: var(--saffron); margin-right: 4px; }
.event-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.event-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; margin: 0; }
.event-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--cream); }
.event-link { font-size: 13px; color: var(--saffron); font-weight: 600; }
.event-link:hover { color: var(--deep-red); }
.event-register {
    font-size: 12px;
    background: var(--saffron);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
}
.event-register:hover { background: var(--saffron-dark); color: #fff; }

/* ── Timings Section ── */
.timings-card {
    background: linear-gradient(135deg, var(--dark), #3a0a00);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.timings-header-col { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 40px; }
.timings-icon { font-size: 56px; margin-bottom: 12px; }
.timings-header-col h3 { font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1.3; margin-bottom: 12px; }
.timings-header-col p { color: rgba(255,255,255,0.7); }
.special-note { background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--gold); margin-top: 16px; }
.timing-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.timing-box:hover { background: rgba(255,140,0,0.12); border-color: rgba(255,140,0,0.4); }
.timing-icon { font-size: 24px; }
.morning .timing-icon { color: #FFD700; }
.evening .timing-icon { color: #c0c0ff; }
.aarti .timing-icon, .aarti2 .timing-icon { color: var(--saffron); }
.timing-box h6 { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.timing-box strong { font-size: 15px; color: #fff; }

/* ── Gallery Preview ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}
.gallery-grid-item { position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-grid-item.gallery-item-1 { grid-column: span 2; grid-row: span 2; }
.gallery-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 150px; transition: transform 0.5s ease; }
.gallery-grid-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
}
.gallery-grid-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 28px; color: var(--gold); margin-bottom: 8px; }
.gallery-overlay span { font-size: 13px; color: #fff; font-weight: 500; }

/* Placeholder gallery */
.placeholder-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.placeholder-shimmer {
    background: linear-gradient(135deg, var(--cream), #f5e8c8);
    border-radius: var(--radius);
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--saffron);
    gap: 8px;
}
.placeholder-shimmer p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ── Gallery Page ── */
.gallery-filter-bar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.gfb-label { font-weight: 600; color: var(--dark); white-space: nowrap; padding-top: 6px; }
.year-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.year-filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--cream);
    color: var(--text);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.year-filter-btn:hover { border-color: var(--saffron); color: var(--saffron); }
.year-filter-btn.active { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.year-filter-btn.no-images { opacity: 0.5; }
.filter-count {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--deep-red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.gallery-masonry {
    columns: 4;
    column-gap: 12px;
}
.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-masonry-item img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.gallery-masonry-item:hover img { transform: scale(1.04); }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition);
}
.gallery-masonry-item:hover .gallery-caption { opacity: 1; }
.gallery-caption h6 { color: #fff; font-size: 13px; margin: 0; }
.gallery-caption span { color: rgba(255,255,255,0.7); font-size: 11px; }
.gallery-empty-icon { font-size: 64px; margin-bottom: 16px; }
.gallery-year-header { padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.tab-underline { width: 60px; height: 3px; background: var(--saffron); border-radius: 3px; margin-top: 8px; }

/* ── Chalisa Section ── */
.chalisa-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.chalisa-bg-text {
    position: absolute;
    right: -20px; bottom: -40px;
    font-size: 180px;
    font-family: 'Tiro Devanagari Hindi', serif;
    color: rgba(255,215,0,0.04);
    pointer-events: none;
}
.chalisa-card h3 { color: var(--gold); font-size: 24px; margin-bottom: 16px; }
.chalisa-verse { font-family: 'Tiro Devanagari Hindi', serif; font-size: 16px; color: rgba(255,255,255,0.85); line-height: 2.2; margin-bottom: 16px; }
.chalisa-card p { color: rgba(255,255,255,0.7); }

/* Chalisa Box on About page */
.chalisa-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.chalisa-doha, .chalisa-chaupai { margin-bottom: 20px; }
.chalisa-doha h5, .chalisa-chaupai h5 { color: var(--gold); font-size: 15px; margin-bottom: 12px; }
.chalisa-doha p, .chalisa-chaupai p { font-family: 'Tiro Devanagari Hindi', serif; color: rgba(255,255,255,0.85); line-height: 2.2; font-size: 14px; margin-bottom: 10px; }
.jai-text { font-family: 'Yatra One', cursive; font-size: 22px; color: var(--gold); }

/* ── Testimonials ── */
.devotee-section { background: var(--cream); }
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}
.quote-icon { color: var(--saffron); font-size: 24px; margin-bottom: 14px; }
.testimonial-card p { color: var(--text); font-size: 15px; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.devotee-info { display: flex; align-items: center; gap: 12px; }
.devotee-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--saffron), var(--deep-red));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.devotee-info strong { display: block; font-size: 14px; color: var(--dark); }
.devotee-info span { font-size: 12px; color: var(--text-light); }
.devotee-swiper { padding-bottom: 40px !important; }
.devotee-pagination .swiper-pagination-bullet-active { background: var(--saffron) !important; }

/* ── Location / Map ── */
.location-info-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
}
.location-info-card h3 { font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.reach-item { display: flex; gap: 16px; margin-bottom: 20px; }
.reach-icon { width: 40px; height: 40px; background: var(--saffron); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.reach-item h6 { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.reach-item p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.6; }
/* Map wrapper — fixed height so right column never overflows into donate section */
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; height: 300px; min-height: unset; }
.map-wrapper iframe { width: 100%; height: 300px; border: 0; display: block; }
/* Contact page right column — never taller than viewport so no overflow into next section */
.contact-right-col { display: flex; flex-direction: column; }
.social-connect-card { flex-shrink: 0; }
.btn-map {
    display: inline-flex;
    align-items: center;
    background: var(--saffron);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-map:hover { background: var(--saffron-dark); color: #fff; transform: translateY(-2px); }

/* ── About Page Extras ── */
.about-image-collage { position: relative; }
.collage-main { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius-lg); }
.collage-side1, .collage-side2 {
    position: absolute;
    width: 200px; height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 4px solid #fff;
    box-shadow: var(--shadow);
}
.collage-side1 { bottom: -20px; left: -20px; }
.collage-side2 { top: -20px; right: -20px; }
.story-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; border-left: 4px solid var(--saffron); }
.story-card h4 { font-size: 18px; color: var(--dark); margin-bottom: 14px; }
.source-note { font-size: 12px; color: var(--text-light); margin-top: 14px; background: rgba(255,140,0,0.08); padding: 8px 12px; border-radius: 6px; }
.face-detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fdc-header { padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.face-color-1 { background: linear-gradient(90deg, #FF8C00, #FF6B00); }
.face-color-2 { background: linear-gradient(90deg, #8B0000, #c41e3a); }
.face-color-3 { background: linear-gradient(90deg, #1a5276, #2980b9); }
.face-color-4 { background: linear-gradient(90deg, #196f3d, #27ae60); }
.face-color-5 { background: linear-gradient(90deg, #7d3c98, #a569bd); }
.fdc-num { background: rgba(255,255,255,0.3); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.fdc-dir { color: rgba(255,255,255,0.9); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-left: auto; }
.fdc-body { padding: 14px 16px; }
.fdc-body h6 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.fdc-body p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; line-height: 1.6; }
.fdc-benefit { font-size: 12px; color: var(--text-light); }
.fdc-benefit i { color: var(--saffron); margin-right: 5px; }
.face-5th .fdc-body { display: flex; align-items: center; gap: 20px; }
.trust-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); transition: var(--transition); }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--saffron); }
.trust-icon { font-size: 40px; margin-bottom: 14px; }

/* ── Events Page ── */
.jagran-info-banner { background: linear-gradient(90deg, #fff5e0, #ffecd0); border-bottom: 1px solid var(--border); }
.jagran-banner-inner { background: var(--cream); border-radius: var(--radius); padding: 20px 24px; border-left: 5px solid var(--saffron); }
.jagran-banner-inner h4 { color: var(--dark); font-size: 18px; margin-bottom: 6px; }
.jagran-banner-inner p { color: var(--text-light); font-size: 14px; }
.event-card-full {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    gap: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}
.event-card-full:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.ecf-date {
    background: linear-gradient(135deg, var(--saffron), var(--deep-red));
    color: #fff;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}
.ecf-day { font-size: 32px; font-weight: 800; line-height: 1; }
.ecf-mon { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.ecf-yr { font-size: 11px; color: rgba(255,255,255,0.7); }
.ecf-body { flex: 1; padding: 18px 22px; }
.ecf-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.ecf-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.ecf-meta-item { font-size: 12px; color: var(--text-light); }
.ecf-meta-item i { color: var(--saffron); margin-right: 4px; }
.ecf-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.ecf-footer { display: flex; align-items: center; justify-content: space-between; }
.badge-upcoming { background: rgba(255,140,0,0.12); color: var(--saffron-dark); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.ecf-inquire { font-size: 13px; color: var(--saffron); font-weight: 600; }
.ecf-inquire:hover { color: var(--deep-red); }
.annual-event-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    transition: var(--transition);
}
.annual-event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--saffron); }
.ae-icon { font-size: 32px; margin-bottom: 8px; }
.ae-month { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--saffron); font-weight: 600; }
.ae-title { font-size: 14px; font-weight: 600; color: var(--dark); margin: 4px 0; }
.ae-desc { font-size: 12px; color: var(--text-light); margin: 0; }
.past-event-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); }
.past-event-card:hover { box-shadow: var(--shadow); border-color: rgba(255,140,0,0.4); }
.pec-date { font-size: 12px; color: var(--saffron); font-weight: 600; margin-bottom: 8px; }
.pec-date i { margin-right: 5px; }
.past-event-card h6 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.past-event-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.pec-location { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.pec-gallery-link { font-size: 13px; color: var(--saffron); font-weight: 600; }
.jagran-details { margin-top: 20px; }
.jd-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.jd-item i { color: var(--gold); width: 20px; margin-top: 2px; flex-shrink: 0; }
.jd-item div { color: rgba(255,255,255,0.85); font-size: 14px; }
.jagran-cta-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 36px; }
.jcc-icon { font-size: 56px; margin-bottom: 16px; }
.jagran-cta-card h4 { color: #fff; margin-bottom: 12px; }
.jagran-cta-card p { color: rgba(255,255,255,0.75); margin-bottom: 24px; font-size: 14px; }
.btn-whatsapp { background: #25D366; color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.btn-whatsapp:hover { background: #1ebe59; color: #fff; }

/* ── Contact Page ── */
.contact-info-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--saffron); }
.cic-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--saffron), var(--deep-red)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; margin: 0 auto 12px; }
.contact-info-card h6 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-info-card p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.7; }
.contact-info-card a { color: var(--saffron); }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 0; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 6px; display: block; }
.required { color: var(--crimson); }
.form-control { border-radius: 8px; padding: 11px 14px; border: 2px solid var(--border); font-size: 14px; width: 100%; transition: var(--transition); font-family: 'Poppins', sans-serif; }
.form-control:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(255,140,0,0.12); outline: none; }
.alert-success-custom { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; padding: 14px 18px; border-radius: 10px; }
.alert-danger-custom { background: #fff0f0; border: 1px solid #ffc9c9; color: #c0392b; padding: 14px 18px; border-radius: 10px; }
.social-connect-card { background: var(--cream); border-radius: var(--radius-lg); padding: 24px; }
.social-connect-card h5 { color: var(--dark); margin-bottom: 16px; }
.social-connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; transition: var(--transition); color: #fff; }
.sc-item:hover { transform: translateY(-3px); color: #fff; }
.sc-item i { font-size: 22px; }
.facebook { background: #1877f2; }
.youtube { background: #ff0000; }
.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.whatsapp { background: #25d366; }
.seva-item { background: rgba(255,255,255,0.1); padding: 10px 14px; border-radius: 8px; font-size: 13px; color: rgba(255,255,255,0.85); }
.donate-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg); padding: 32px; color: #fff; }
.donate-card h5 { color: var(--gold); margin-bottom: 12px; }
.do-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.do-item i { color: var(--gold); width: 20px; }
.do-item a { color: rgba(255,255,255,0.9); }
.btn-white-outline { background: transparent; border: 2px solid rgba(255,255,255,0.7); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Footer ── */
.main-footer { background: linear-gradient(135deg, #0d0200 0%, #1a0800 60%, #2a0500 100%); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 40px; }
.footer-widget { }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--saffron); }
.footer-logo-text h4 { font-family: 'Yatra One', cursive; font-size: 17px; color: var(--gold); margin: 0; }
.footer-logo-text p { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 20px; color: rgba(255,255,255,0.6); }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-3px); }
.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--saffron); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a i { color: var(--saffron); margin-right: 6px; }
.footer-links a:hover { color: var(--saffron); padding-left: 5px; }
.timing-table { }
.timing-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; }
.timing-row.highlight .timing-label,
.timing-row.highlight .timing-value { color: var(--gold); font-weight: 600; }
.timing-label { color: rgba(255,255,255,0.6); }
.timing-value { color: rgba(255,255,255,0.85); font-weight: 500; }
.contact-info { margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13px; align-items: flex-start; }
.contact-item i { color: var(--saffron); margin-top: 2px; flex-shrink: 0; }
.contact-item span { color: rgba(255,255,255,0.7); line-height: 1.6; }
.contact-item a { color: rgba(255,255,255,0.8); }
.contact-item a:hover { color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom-mantra { font-size: 12px; color: rgba(255,215,0,0.5); }

/* ── Scroll to Top ── */
.scroll-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    background: var(--saffron);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255,140,0,0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--saffron-dark); transform: translateY(-3px); }

/* ── Responsive ── */
@media (max-width: 991px) {
    .mega-menu { width: 100%; left: 0 !important; transform: none !important; }
    .mega-menu-years { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid-item.gallery-item-1 { grid-column: span 2; }
    .gallery-masonry { columns: 3; }
    .timings-header-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; padding-bottom: 30px; margin-bottom: 20px; }
    .hero-om-float { display: none; }
    .placeholder-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .top-bar .top-bar-left span.ms-3 { display: none; }
    .hero-slide { min-height: 70vh; }
    .mega-menu-years { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid-item.gallery-item-1 { grid-column: span 2; }
    .gallery-masonry { columns: 2; }
    .about-img-badge { right: 10px; }
    .about-decorative-om { display: none; }
    .event-card { flex-direction: column !important; }
    .event-date-badge { flex-direction: row; gap: 10px; padding: 12px 16px; min-width: auto; }
    .collage-side1, .collage-side2 { display: none; }
    .placeholder-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .social-connect-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-slide { min-height: 60vh; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .mega-menu-years { grid-template-columns: repeat(2, 1fr); }
    .gallery-masonry { columns: 2; }
    .stat-item { flex-direction: column; text-align: center; gap: 8px; padding: 16px 10px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid-item.gallery-item-1 { grid-column: span 2; }
}

/* ── AOS overrides ── */
[data-aos] { transition-duration: 0.8s !important; }
