.timings-section {
    position: relative;
    background-image: url('../img/3rd-section-desktop-pic.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 4.8vh, 50px) 0 clamp(8px, 1.2vh, 16px);
    border-top: 3px solid rgba(216, 67, 21, 0.35);
    border-bottom: 3px solid rgba(216, 67, 21, 0.35);
    scroll-margin-top: 70px;
    box-sizing: border-box;
    overflow: hidden;
    color: #FFFFFF;
}

.timings-overlay {
    display: none !important;
}

.timings-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(-10px);
}

.timings-section .timings-header-wrapper {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    will-change: transform, opacity;
}

.timings-section .timings-heading-sub {
    display: block;
    font-family: 'Noto Serif Devanagari', 'Plus Jakarta Sans', serif;
    font-weight: 700;
    font-size: clamp(0.72rem, 0.82vw, 0.85rem);
    color: #FFE082;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 2px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.timings-section .timings-heading-main {
    font-family: 'Baloo 2', 'Cinzel', cursive, sans-serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 1.7vw, 1.85rem);
    color: #FFFFFF;
    text-align: center;
    margin-bottom: clamp(8px, 1.2vh, 12px);
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.timings-section .row {
    --bs-gutter-y: clamp(8px, 1.2vh, 14px);
    --bs-gutter-x: clamp(16px, 2vw, 28px);
    align-items: stretch;
    justify-content: center;
}

.timings-section .col-lg-5,
.timings-section .col-lg-7 {
    display: flex;
}

/* 3D Container & Dynamic Animated Divine Sunburst Rays */
.timings-section .countdown-3d-container {
    position: relative;
    padding: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

/* Continuous 360-degree Rotating Golden Sunburst Rays */
.timings-section .divine-rays-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    margin-top: -300px;
    margin-left: -300px;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(230, 198, 135, 0.22) 0deg 15deg,
        transparent 15deg 30deg
    );
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(circle, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 70%);
    animation: spinDivineRays 25s linear infinite;
}

@keyframes spinDivineRays {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Breathing Divine Aura Glow */
.timings-section .divine-aura-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(230, 198, 135, 0.55) 0%, rgba(197, 168, 128, 0.2) 45%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
    animation: divineAuraBreathe 3.5s ease-in-out infinite alternate;
}

@keyframes divineAuraBreathe {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* Glassmorphic 3D Card with Gentle Continuous Floating Animation */
.timings-section .countdown-box {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(216, 67, 21, 0.25);
    border-radius: 28px 12px 28px 12px;
    padding: clamp(26px, 3.2vh, 36px) clamp(24px, 2.4vw, 34px);
    text-align: center;
    box-shadow: 0 15px 45px rgba(140, 29, 0, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: clamp(470px, 63vh, 540px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
    animation: continuousFloatCard 5s ease-in-out infinite;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

@keyframes continuousFloatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Animated Golden Shimmer Beam around Top Border */
.timings-section .countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E6C687, #FFFFFF, #E6C687, transparent);
    animation: borderShimmerBeam 3.5s linear infinite;
}

@keyframes borderShimmerBeam {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.timings-section .countdown-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 235, 190, 0.45) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.timings-section .countdown-box:hover .countdown-card-shine {
    opacity: 1;
}

.timings-section .countdown-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF9F3 0%, #FFF0E0 100%);
    border: 1.5px solid #C5A880;
    color: #C5A880;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    padding: 5px 20px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: clamp(6px, 1vh, 10px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
    animation: badgeGlowPulse 2.5s ease-in-out infinite alternate;
}

@keyframes badgeGlowPulse {
    0% {
        box-shadow: 0 0 10px rgba(197, 168, 128, 0.2);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 20px rgba(230, 198, 135, 0.6);
        transform: scale(1.04);
    }
}

.timings-section .countdown-title {
    font-family: 'Baloo 2', 'Cinzel', cursive, sans-serif;
    font-size: clamp(1.35rem, 1.6vw, 1.7rem);
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: clamp(4px, 0.5vh, 6px);
    letter-spacing: 0.3px;
    line-height: 1.25;
}

.timings-section .countdown-subtitle {
    font-family: 'Noto Serif Devanagari', 'Plus Jakarta Sans', serif;
    font-size: clamp(0.88rem, 0.95vw, 1rem);
    color: #555555;
    margin-bottom: clamp(16px, 2.2vh, 24px);
    line-height: 1.45;
}

/* Aarti Fixed Schedule 2-Card Layout (Morning 7:30 AM & Evening 7:30 PM) */
.timings-section .aarti-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 1.6vw, 20px);
    margin: 0 0 clamp(16px, 2.2vh, 24px) 0;
}

.timings-section .aarti-timing-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(197, 168, 128, 0.4);
    border-radius: 18px;
    padding: clamp(18px, 2.4vh, 26px) clamp(14px, 1.5vw, 20px);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timings-section .aarti-timing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
}

.timings-section .aarti-timing-card.morning-card::before {
    background: linear-gradient(90deg, #FFB300, #FF6F00);
}

.timings-section .aarti-timing-card.evening-card::before {
    background: linear-gradient(90deg, #E65100, #C2185B);
}

.timings-section .aarti-timing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(216, 67, 21, 0.16);
    border-color: #E6C687;
}

.timings-section .timing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.timings-section .timing-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.timings-section .morning-card .timing-card-icon {
    background: #FFF8E1;
    color: #FF8F00;
    border: 1px solid rgba(255, 143, 0, 0.25);
}

.timings-section .evening-card .timing-card-icon {
    background: #FBE9E7;
    color: #D84315;
    border: 1px solid rgba(216, 67, 21, 0.25);
}

.timings-section .timing-card-badge {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}

.timings-section .morning-card .timing-card-badge {
    background: #FFF3E0;
    color: #E65100;
}

.timings-section .evening-card .timing-card-badge {
    background: #FCE4EC;
    color: #AD1457;
}

.timings-section .timing-card-title {
    font-family: 'Baloo 2', 'Cinzel', cursive, sans-serif;
    font-size: clamp(1.02rem, 1.18vw, 1.22rem);
    font-weight: 700;
    color: #1C1C1E;
    margin-bottom: 4px;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.timings-section .timing-card-time {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 5px 0 4px 0;
}

.timings-section .time-number {
    font-family: 'Baloo 2', 'Cinzel', cursive, sans-serif;
    font-size: clamp(2.05rem, 2.5vw, 2.5rem);
    font-weight: 800;
    color: #1C1C1E;
    line-height: 1;
    letter-spacing: 0.4px;
}

.timings-section .time-ampm {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: #D84315;
    margin-left: 5px;
}

.timings-section .timing-card-sub {
    font-family: 'Noto Serif Devanagari', 'Plus Jakarta Sans', serif;
    font-size: clamp(0.82rem, 0.9vw, 0.9rem);
    color: #555555;
    font-weight: 500;
}

.timings-section .schedule-welcome-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF9F3 0%, #FFF3E0 100%);
    border: 1px solid rgba(216, 67, 21, 0.3);
    color: #D84315;
    font-family: 'Noto Serif Devanagari', 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(0.82rem, 0.88vw, 0.9rem);
    padding: 7px 22px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.08);
}

/* ==========================================================================
   2-Column Aarti Layout: Left AI Divine Image Card & Right Countdown Timings
   ========================================================================== */
.timings-section .aarti-feature-card {
    position: relative;
    padding: clamp(16px, 2vh, 22px);
    background: rgba(255, 255, 255, 0.97);
    border: 1.5px solid rgba(230, 198, 135, 0.5);
    border-radius: 28px 12px 28px 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 4px 15px rgba(230, 198, 135, 0.2);
    width: 100%;
    height: 100%;
    min-height: clamp(470px, 63vh, 540px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.timings-section .aarti-feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 55px rgba(230, 198, 135, 0.45);
    border-color: #E6C687;
}

.timings-section .feature-image-frame {
    border-radius: 18px 8px 18px 8px;
    overflow: hidden;
    height: clamp(370px, 51vh, 440px);
    position: relative;
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.timings-section .feature-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timings-section .aarti-feature-card:hover .feature-image-frame img {
    transform: scale(1.05);
}

.timings-section .feature-caption-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFF9F3 0%, #FFF0E0 100%);
    border: 1.5px solid #C5A880;
    color: #8C5B23;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(0.78rem, 0.85vw, 0.86rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 7px 22px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-top: clamp(10px, 1.4vh, 14px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.2);
}

/* ==========================================================================
   Phool Barsana (Divine Flower Showering Effect from Left & Right Corners)
   ========================================================================== */
.timings-section .flower-shower-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.timings-section .falling-petal {
    position: absolute;
    top: -40px;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.timings-section .falling-petal.shower-left {
    animation: flowerFallLeft var(--fall-duration, 6s) linear infinite var(--fall-delay, 0s);
}

@keyframes flowerFallLeft {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
    }
    15% {
        opacity: 0.95;
    }
    50% {
        transform: translate3d(60px, 45vh, 0) rotate(190deg) scale(1.1);
    }
    85% {
        opacity: 0.85;
    }
    100% {
        opacity: 0;
        transform: translate3d(120px, 105vh, 0) rotate(360deg) scale(0.7);
    }
}

.timings-section .falling-petal.shower-right {
    animation: flowerFallRight var(--fall-duration, 6s) linear infinite var(--fall-delay, 0s);
}

@keyframes flowerFallRight {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.6);
    }
    15% {
        opacity: 0.95;
    }
    50% {
        transform: translate3d(-60px, 45vh, 0) rotate(-190deg) scale(1.1);
    }
    85% {
        opacity: 0.85;
    }
    100% {
        opacity: 0;
        transform: translate3d(-120px, 105vh, 0) rotate(-360deg) scale(0.7);
    }
}

/* Responsive Styles */
@media (max-width: 991.98px), (max-height: 600px) {
    .timings-section {
        height: auto !important;
        min-height: 100vh;
        min-height: 100dvh;
        max-height: none !important;
        padding: 70px 0 45px !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
    }

    .timings-section .divine-rays-spin {
        width: 90vw;
        height: 90vw;
        max-width: 360px;
        max-height: 360px;
        margin-top: -180px;
        margin-left: -180px;
    }

    .timings-section .divine-aura-bg {
        width: 100%;
        max-width: 100%;
    }

    .timings-section .container {
        height: auto;
        max-height: none;
        transform: none !important;
    }

    .timings-section .col-lg-5,
    .timings-section .col-lg-7 {
        display: block;
    }

    .timings-section .timings-heading-main {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .timings-section .aarti-feature-card {
        min-height: auto;
        margin-bottom: 20px;
    }

    .timings-section .feature-image-frame {
        height: 280px;
    }

    .timings-section .countdown-box {
        padding: 28px 20px;
        min-height: auto;
    }

    .timings-section .aarti-schedule-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
