/* ========================================
   Jagannath Temple Vapi - Main Stylesheet
   Modern, Responsive, SEO-Friendly Design
   Primary Color: Red (#DC143C)
   ======================================== */


/* ========== CSS Variables ========== */

:root {
    --primary-color: #DC143C;
    --primary-dark: #B71C1C;
    --primary-light: #FF6B6B;
    --secondary-color: #FF9800;
    --accent-color: #FFD700;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 10px rgba(220, 20, 60, 0.1);
    --shadow-md: 0 5px 20px rgba(220, 20, 60, 0.15);
    --shadow-lg: 0 10px 40px rgba(220, 20, 60, 0.2);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}


/* ========== Global Styles ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
    overflow: hidden;
}

/* ========== GSAP Animation Enhancements ========== */

/* Smooth GPU-accelerated transforms */
.service-card,
.quick-info-card,
.gallery-item,
.timing-card,
.event-card,
.festival-card,
.donation-method-card,
.impact-card,
.video-card,
.past-event-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Smooth hover transitions */
.btn,
.service-card,
.gallery-item,
.event-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shift during animations */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Performance optimization for animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========== Top Bar ========== */

.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--accent-color);
}

.top-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}


/* ========== Navigation ========== */

.navbar {
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .navbar .container {
        gap: 30px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-color) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateX(5px);
}

/* Navbar Toggler (Hamburger Icon) */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    z-index: 1001;
}

.navbar-toggler:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6b00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Mobile Drawer Styles - Hidden by default, visible on mobile */
@media (max-width: 991px) {
    .mobile-drawer {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        z-index: 9999 !important;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        visibility: visible !important;
    }

    .mobile-drawer.show {
        left: 0 !important;
        display: flex !important;
    }

    /* Ensure drawer header is visible */
    .drawer-header {
        display: flex !important;
    }

    /* Ensure overlay works on mobile */
    .drawer-overlay {
        display: block;
    }
}

@media (min-width: 992px) {
    /* Desktop: normal navbar */
    .mobile-drawer {
        display: flex !important;
    }
}

/* Smooth scrollbar for drawer */
.mobile-drawer::-webkit-scrollbar {
    width: 6px;
}

.mobile-drawer::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.mobile-drawer::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.mobile-drawer::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-bottom: 3px solid var(--accent-color);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-brand .brand-icon {
    font-size: 2rem;
    color: var(--bg-white);
    animation: pulse 2s ease-in-out infinite;
}

.drawer-brand .brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-white);
    font-family: var(--font-heading);
}

/* Drawer Close Button */
.drawer-close {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10000;
}

.drawer-close:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.drawer-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998 !important;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(2px);
}

.drawer-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Drawer Navigation */
.mobile-drawer .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.mobile-drawer .nav-item {
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
    width: 100%;
}

.mobile-drawer .nav-item:last-child {
    border-bottom: none;
}

.mobile-drawer .nav-link {
    padding: 16px 20px !important;
    font-size: 1rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
}

.mobile-drawer .nav-link i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-drawer .nav-link::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.mobile-drawer .nav-link:hover::after,
.mobile-drawer .nav-link.active::after {
    opacity: 1;
    transform: translateX(0);
}

.mobile-drawer .nav-link:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color) !important;
    border-left-color: var(--primary-color);
}

.mobile-drawer .nav-link:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.mobile-drawer .nav-link.active {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.15) 0%, transparent 100%);
    color: var(--primary-color) !important;
    font-weight: 700;
    border-left-color: var(--primary-color);
    border-left-width: 5px;
}

.mobile-drawer .nav-link.active i {
    color: var(--primary-color);
    transform: scale(1.15);
}

/* Drawer Dropdown */
.mobile-drawer .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: rgba(255, 107, 0, 0.05);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 0;
}

.mobile-drawer .dropdown-item {
    padding: 12px 20px 12px 50px;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(220, 20, 60, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-drawer .dropdown-item i {
    width: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.mobile-drawer .dropdown-item:last-child {
    border-bottom: none;
}

.mobile-drawer .dropdown-item:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    padding-left: 55px;
}

.mobile-drawer .dropdown-item:hover i {
    color: var(--bg-white);
}

.mobile-drawer .dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-drawer .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ========== Desktop Navbar - Clean Professional Look ========== */
@media (min-width: 992px) {
    /* Hide all drawer-specific elements */
    .drawer-header,
    .drawer-overlay,
    .navbar-toggler {
        display: none !important;
    }
    
    /* Reset mobile drawer to normal navbar */
    .mobile-drawer {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        overflow-y: visible !important;
        left: 0 !important;
        transition: none !important;
        display: flex !important;
        padding: 0 !important;
    }

    .mobile-drawer .navbar-nav {
        flex-direction: row !important;
        background: transparent !important;
        gap: 5px !important;
        padding: 0 !important;
        width: auto !important;
    }

    .mobile-drawer .nav-item {
        border-bottom: none !important;
        width: auto !important;
    }

    /* Clean nav link styling for desktop */
    .mobile-drawer .nav-link {
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        border-left: none !important;
        border-radius: 8px !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }
    
    /* Hide drawer-specific arrow */
    .mobile-drawer .nav-link::after {
        display: none !important;
    }
    
    /* Hide icons on desktop navbar */
    .mobile-drawer .nav-link i {
        display: none !important;
    }
    
    /* Hover effect - subtle background */
    .mobile-drawer .nav-link:hover {
        background: rgba(255, 107, 0, 0.08) !important;
        color: var(--primary-color) !important;
        padding-left: 16px !important;
    }
    
    /* Active link styling */
    .mobile-drawer .nav-link.active {
        background: rgba(255, 107, 0, 0.12) !important;
        color: var(--primary-color) !important;
        font-weight: 700 !important;
        border-left: none !important;
    }

    /* Dropdown styling for desktop */
    .mobile-drawer .dropdown-menu {
        position: absolute !important;
        width: auto !important;
        min-width: 200px !important;
        background: var(--bg-white) !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px !important;
        padding: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        margin-top: 10px !important;
    }

    .mobile-drawer .dropdown-item {
        padding: 12px 16px !important;
        border-radius: 8px !important;
        border-bottom: none !important;
        gap: 10px !important;
        display: flex !important;
        align-items: center !important;
        font-weight: 500 !important;
        color: var(--text-dark) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-drawer .dropdown-item i {
        width: 20px !important;
        font-size: 0.9rem !important;
        color: var(--primary-color) !important;
    }

    .mobile-drawer .dropdown-item:hover {
        background: var(--primary-color) !important;
        color: white !important;
        padding-left: 20px !important;
    }
    
    .mobile-drawer .dropdown-item:hover i {
        color: white !important;
    }
    
    /* Dropdown toggle arrow */
    .mobile-drawer .dropdown-toggle::after {
        margin-left: 6px !important;
        transition: transform 0.3s ease !important;
    }
    
    .mobile-drawer .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg) !important;
    }
}

/* Brand Icon Animation */
.brand-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(220, 20, 60, 0.3));
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.brand-text {
    font-family: var(--font-heading);
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 10px 14px !important;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 10px;
    padding: 10px;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--bg-white);
}


/* ========== Hero Slider Section ========== */

.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-slide.active .hero-slide-bg {
    animation: kenBurns 20s ease-out infinite alternate;
}


/* Removed fallback gradient to show actual images */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--bg-white);
    text-align: center;
    padding: 20px;
}


/* Slider Text Animations */

.hero-slide.active .animate-up {
    animation: slideUpFade 1s ease forwards;
}

.hero-slide.active .delay-1 {
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-slide.active .delay-2 {
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-slide.active .delay-3 {
    animation-delay: 0.9s;
    opacity: 0;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 1);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 35px;
    color: #f5f5f5;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 1);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
}


/* Slider Controls */

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(220, 20, 60, 0.8);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control:hover {
    background: rgba(220, 20, 60, 1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

.slider-control.prev {
    left: 30px;
}

.slider-control.next {
    right: 30px;
}


/* Slider Indicators */

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-white);
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background: rgba(220, 20, 60, 0.9);
    border-color: var(--bg-white);
}

.indicator.active::before {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.hero-scroll a {
    color: var(--bg-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* ========== Buttons ========== */

/* Base button improvements */
.btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Primary button - Orange/Primary color (for light backgrounds) */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    color: var(--bg-white);
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c42 0%, var(--primary-color) 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:hover {
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.5);
    border-color: transparent;
}

/* Ensure button text/icons are always visible */
.btn-primary-custom > *,
.btn-white-custom > *,
.btn-outline-primary-custom > * {
    position: relative;
    z-index: 2;
}

/* White button for dark/gradient backgrounds */
.btn-white-custom {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--bg-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-white-custom:hover {
    background: transparent;
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-primary-custom:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Button sizes */
.btn-lg {
    padding: 14px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Button icon spacing */
.btn i {
    transition: all 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn i.me-2,
.btn i.fas.me-2 {
    margin-right: 8px !important;
}

.btn i.ms-2,
.btn i.fas.ms-2 {
    margin-left: 8px !important;
}

/* Button focus states */
.btn-primary-custom:focus,
.btn-white-custom:focus,
.btn-outline-primary-custom:focus,
.btn-outline-light:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.3);
}

/* Button active states */
.btn-primary-custom:active {
    transform: scale(0.98) !important;
}

.btn-white-custom:active {
    transform: scale(0.98) !important;
}

/* Disabled button states */
.btn-primary-custom:disabled,
.btn-white-custom:disabled,
.btn-outline-primary-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Submit button pulse animation */
button[type="submit"].btn-primary-custom {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(255, 107, 0, 0.6);
    }
}

button[type="submit"].btn-primary-custom:hover {
    animation: none;
}


/* ========== Section Common Styles ========== */

.section-subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 20px 0;
    border-radius: 2px;
}


/* ========== Welcome Section ========== */

.welcome-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.floating-om {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.welcome-content {
    padding-left: 30px;
}

.welcome-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}


/* ========== Timings Section ========== */

.timings-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.timing-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--border-color);
}

.timing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.timing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.timing-card:hover .timing-icon {
    transform: rotate(360deg);
}

.timing-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.timing-time {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timing-desc {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* ========== Services Section ========== */

.services-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    margin-left: 5px;
}


/* ========== Events Section ========== */

.events-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.event-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    min-width: 80px;
}

.event-date .date {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.event-desc {
    font-size: 0.95rem;
    margin-bottom: 15px !important;
}


/* ========== Gallery Section ========== */

.gallery-preview-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 20, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--bg-white);
    font-size: 3rem;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* ========== Video Gallery Section ========== */

.video-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Bootstrap 5 Responsive Embed */
.embed-responsive {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.video-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ========== Donation CTA ========== */

.donation-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.donation-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}


/* ========== Contact Section ========== */

.contact-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.contact-box {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.contact-box:hover {
    background: var(--bg-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 2rem;
}

.contact-box h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.contact-box p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
}


/* ========== Donation Page Styles ========== */

.donation-method-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.donation-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
}

.donation-method-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.bank-details {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.detail-row .value {
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

.qr-code-placeholder {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    font-size: 80px;
    color: var(--primary-light);
}

.qr-code-placeholder p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.upi-id {
    display: inline-flex;
    align-items: center;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 30px;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.upi-id i {
    color: var(--primary-color);
}

.copy-btn {
    margin-left: 10px;
    border-radius: 20px;
    font-size: 12px;
    padding: 4px 12px;
}

.payment-apps .badge {
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
}

.donation-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.donation-form-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.donation-form-card .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.donation-form-card .form-control,
.donation-form-card .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    transition: var(--transition);
}

.donation-form-card .form-control:focus,
.donation-form-card .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 20, 60, 0.1);
}

.impact-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.impact-card h5 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.impact-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

.donation-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-icon {
    font-size: 60px;
    color: white;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

/* Responsive for donation page */
@media (max-width: 991px) {
    .donation-form-card {
        padding: 30px 25px;
    }
    
    .qr-code-placeholder {
        width: 200px;
        height: 200px;
        font-size: 60px;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .donation-method-card {
        padding: 30px 20px;
    }
    
    .donation-method-card h3 {
        font-size: 20px;
    }
    
    .donation-form-card {
        padding: 25px 20px;
    }
    
    .donation-form-card h3 {
        font-size: 24px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-row .value {
        text-align: left;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-icon {
        font-size: 50px;
    }
}


/* ========== Events Page Styles ========== */

/* Upcoming Events */
.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    gap: 0;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.date-box {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.date-box .day {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.date-box .month {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
}

.date-box .year {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 3px;
}

.event-content {
    padding: 30px;
    flex: 1;
}

.event-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.upcoming-badge {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.event-content h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta i {
    color: var(--primary-color);
}

.event-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.event-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-highlights li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.event-highlights i {
    color: #4CAF50;
    font-size: 16px;
}

/* Festival Cards */
.festival-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.festival-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.festival-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.festival-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
    transition: var(--transition);
}

.festival-card:hover .festival-icon {
    transform: scale(1.1) rotate(5deg);
}

.festival-content h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.festival-month {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.festival-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.festival-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.festival-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
}

.festival-features i {
    color: var(--secondary-color);
    font-size: 10px;
}

/* Calendar Card */
.calendar-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calendar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 25px 30px;
    color: white;
}

.calendar-header h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-body {
    padding: 30px;
}

.calendar-event {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 2px solid var(--bg-light);
}

.calendar-event:last-child {
    border-bottom: none;
}

.calendar-day {
    min-width: 140px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.calendar-day i {
    font-size: 32px;
    color: var(--primary-color);
}

.calendar-day span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-details h5 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.calendar-details p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* Past Events */
.past-event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.past-event-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.1);
}

.past-event-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.past-event-date {
    background: rgba(220, 20, 60, 0.95);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.past-event-content {
    padding: 25px;
}

.past-event-content h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.past-event-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.event-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Event CTA */
.event-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.event-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.event-cta h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-cta p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

/* Responsive for Events */
@media (max-width: 991px) {
    .event-date {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .date-box .day {
        font-size: 40px;
    }
    
    .date-box .month {
        font-size: 16px;
    }
    
    .event-content {
        padding: 25px 20px;
    }
    
    .event-content h3 {
        font-size: 22px;
    }
    
    .calendar-day {
        min-width: 120px;
        padding: 15px;
    }
    
    .calendar-day i {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        min-width: 100%;
        padding: 25px;
    }
    
    .date-box {
        flex-direction: row;
        align-items: baseline;
        justify-content: center;
        gap: 10px;
    }
    
    .date-box .day {
        font-size: 36px;
    }
    
    .date-box .month {
        font-size: 18px;
    }
    
    .date-box .year::before {
        content: ', ';
    }
    
    .event-content {
        padding: 25px 20px;
    }
    
    .event-content h3 {
        font-size: 20px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .festival-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .calendar-event {
        flex-direction: column;
        gap: 15px;
    }
    
    .calendar-day {
        min-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .calendar-day i {
        font-size: 28px;
    }
    
    .calendar-header h4 {
        font-size: 20px;
    }
    
    .calendar-body {
        padding: 20px;
    }
    
    .event-cta h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .event-cta p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .event-cta .btn {
        width: 100%;
    }
}


/* ========== Footer ========== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #E0E0E0;
    padding: 60px 0 0;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--primary-color);
}

.footer-desc {
    color: #B0B0B0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.1);
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-social-icon:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-5px);
}

.footer-widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--bg-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #B0B0B0;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-timings,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-timings li,
.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #B0B0B0;
}

.footer-timings i,
.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.developer-credit {
    margin: 0;
    color: #B0B0B0;
    font-size: 0.95rem;
}

.developer-credit a {
    color: var(--primary-color);
    font-weight: 600;
}

.developer-credit a:hover {
    color: var(--primary-light);
}

.developer-credit i {
    color: var(--primary-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    10%,
    30% {
        transform: scale(0.9);
    }
    20%,
    40%,
    60%,
    80% {
        transform: scale(1.1);
    }
    50%,
    70% {
        transform: scale(1.05);
    }
}


/* ========== Scroll to Top Button ========== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}


/* ========== Modern Page Header / Breadcrumb ========== */

.page-header {
    position: relative;
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    padding: 100px 0 80px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.page-header .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.page-header .breadcrumb-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 600;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}


/* ========== WhatsApp Floating Button ========== */

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
}


/* ========== Responsive Design ========== */

/* ========== Laptop / Medium Screens ========== */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand {
        font-size: 1.3rem;
        gap: 10px;
    }
    .brand-icon {
        font-size: 1.8rem;
    }
    .brand-text {
        display: none;
    }
    .nav-link {
        padding: 10px 10px !important;
        font-size: 0.875rem;
    }
    .navbar-nav {
        gap: 2px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .timing-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .timing-card {
        padding: 35px 25px;
    }
    .timing-card h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    /* Navbar Mobile Styling */
    .navbar {
        padding: 15px 0;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.3rem;
        gap: 10px;
        flex: 1;
        margin-right: auto;
    }

    .brand-icon {
        font-size: 2rem;
    }

    .brand-text {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .navbar-toggler {
        margin-left: 15px;
        flex-shrink: 0;
        order: 2;
    }

    /* Hero Slider Mobile */
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .welcome-content {
        padding-left: 0;
        margin-top: 30px;
    }
    .top-info,
    .top-social {
        justify-content: center;
        margin: 5px 0;
    }

    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }

    .top-info {
        gap: 6px;
    }

    .top-info span {
        font-size: 12px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .timing-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    .timing-card {
        padding: 30px 20px;
    }
    .timing-card h4 {
        font-size: 1.2rem;
    }

    /* Tablet specific navbar adjustments */
    .navbar-brand {
        font-size: 1.4rem;
    }

    .brand-icon {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }
    /* Slider Controls for Tablet */
    .slider-control {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .slider-control.prev {
        left: 20px;
    }
    .slider-control.next {
        right: 20px;
    }
    .slider-indicators {
        bottom: 30px;
    }
    .hero-scroll {
        bottom: 80px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    /* Slider Controls for Mobile */
    .slider-control {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .slider-control.prev {
        left: 10px;
    }
    .slider-control.next {
        right: 10px;
    }
    .slider-indicators {
        bottom: 20px;
        gap: 10px;
    }
    .indicator {
        width: 12px;
        height: 12px;
    }
    .hero-scroll {
        bottom: 60px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .timing-card,
    .service-card,
    .event-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    .timing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .timing-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    .section-description {
        font-size: 1rem;
    }

    /* Button responsive adjustments */
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .cta-content .btn {
        margin-bottom: 10px;
        width: 100%;
        max-width: 280px;
    }

    .cta-content .btn.me-3 {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    /* Top Bar Extra Small */
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }

    .top-bar .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .top-info span {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }

    .top-info i {
        font-size: 12px;
        flex-shrink: 0;
    }

    .top-social {
        gap: 8px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    /* Navbar Extra Small Screens */
    .navbar {
        padding: 12px 0;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        font-size: 1.1rem;
        gap: 8px;
    }

    .brand-icon {
        font-size: 1.7rem;
    }

    .brand-text {
        font-size: 1rem;
    }

    .navbar-toggler {
        padding: 6px 10px;
        margin-left: 10px;
    }

    .navbar-toggler-icon {
        width: 20px;
        height: 20px;
    }

    .nav-link {
        padding: 10px 15px !important;
        font-size: 0.95rem;
    }

    /* Hero Slider */
    .hero-slider-section {
        height: 80vh;
        min-height: 500px;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }
    .hero-description {
        font-size: 1rem;
    }

    /* Button adjustments for small screens */
    .btn-lg {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    /* Hide slider controls on very small screens */
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .slider-indicators {
        bottom: 15px;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    .timing-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .timing-card {
        padding: 20px 15px;
    }
    .timing-card h4 {
        font-size: 1rem;
    }
    .alert {
        font-size: 0.9rem;
        padding: 12px;
    }
}

.event-card {
    flex-direction: column;
    text-align: center;
}

.event-date {
    margin: 0 auto 20px;
}

.footer-widget {
    text-align: center;
}

.footer-widget-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer-social {
    justify-content: center;
}


}

/* ========== Additional Utility Classes ========== */
.text-primary-custom {
    color: var(--primary-color) !important;
}
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}
.shadow-custom {
    box-shadow: var(--shadow-md) !important;
}

/* ========== Loading Animation ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(220, 20, 60, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}