.font-hindi { 
    font-family: 'Noto Sans Devanagari', sans-serif; 
}

.font-english { 
    font-family: 'Crimson Text', serif; 
}

.spiritual-gradient {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE4B5 25%, #FFD700 50%, #FFA500 75%, #FF8C00 100%);
}

.om-gradient {
    background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
}

.temple-shadow {
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.golden-text {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

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

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 53, 0.8); }
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.lotus-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="lotus" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23FFE4B5;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23DDA0DD;stop-opacity:0.1" /></radialGradient></defs><circle cx="50" cy="50" r="30" fill="url(%23lotus)"/></svg>');
    background-size: 200px 200px;
    background-repeat: repeat;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(45deg, #FF6B35, #FFD700);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover:after {
    width: 100%;
}

.card-hover {
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.ashram-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 215, 63, 0.1) 0%, transparent 50%);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .video-container {
        padding-bottom: 75%; /* More square for mobile */
    }
}

.instagram-gradient {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.youtube-gradient {
    background: linear-gradient(45deg, #FF0000 0%, #CC0000 100%);
}

.facebook-gradient {
    background: linear-gradient(45deg, #1877F2 0%, #42A5F5 100%);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Donation Styles */
.donation-card {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFA500 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.upi-button {
    background: linear-gradient(45deg, #0F4C75, #3282B8);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.upi-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 130, 184, 0.4);
}

/* Stats visibility fix */
.stats-item {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C00 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Special sections for guruji and idols */
.guruji-section {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFD700 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.idol-section {
    background: linear-gradient(135deg, #E6F3FF 0%, #B3E5FC 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(179, 229, 252, 0.3);
}

.guests-section {
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(225, 190, 231, 0.3);
}

/* Live video section */
.live-indicator {
    background: linear-gradient(45deg, #FF0000, #FF4444);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.weekly-schedule {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.schedule-day {
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-day.current {
    background: linear-gradient(45deg, #FF6B35, #FFA500);
    color: white;
    font-weight: bold;
}

.schedule-day:not(.current) {
    background: rgba(255, 255, 255, 0.2);
}

/* Heritage of Gurus Section Styles */
.heritage-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.heritage-scroll-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #fbbf24 #fef3c7;
}

.heritage-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.heritage-scroll-wrapper::-webkit-scrollbar-track {
    background: #fef3c7;
    border-radius: 4px;
}

.heritage-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

.heritage-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

.heritage-card {
    background: linear-gradient(135deg, #FEFAF5 0%, #FFF7E6 100%);
    border: 2px solid #fbbf24;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.heritage-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(251, 191, 36, 0.3);
    border-color: #f59e0b;
}

.heritage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.heritage-card:hover::before {
    opacity: 1;
}

/* Yellow guru badge styling */
.heritage-card .absolute.top-2.right-2 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    border: 1px solid #f59e0b;
    transition: all 0.3s ease;
}

.heritage-card:hover .absolute.top-2.right-2 {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Heritage section background */
#heritage {
    background: linear-gradient(135deg, #FEF7E6 0%, #FFF4CC 25%, #FEF0CC 50%, #FFEBA6 75%, #FFE680 100%);
    position: relative;
}

#heritage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.05) 0%, transparent 50%);
    background-size: 300px 300px, 250px 250px, 400px 400px;
    opacity: 0.7;
    z-index: 0;
}

#heritage > .container {
    position: relative;
    z-index: 1;
}

/* Heritage scroll buttons styling */
#heritage-scroll-left,
#heritage-scroll-right {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    border: 2px solid #f59e0b;
    transition: all 0.3s ease;
}

#heritage-scroll-left:hover,
#heritage-scroll-right:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

#heritage-scroll-left:active,
#heritage-scroll-right:active {
    transform: translateY(0);
}

/* Heritage quote section */
.heritage-container + .text-center .bg-gradient-to-r {
    background: linear-gradient(135deg, #FEF7E6 0%, #FFEBA6 100%);
    border: 2px solid #fbbf24;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.heritage-container + .text-center .bg-gradient-to-r::before {
    content: '🕉️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    opacity: 0.1;
    transform: rotate(15deg);
    color: #f59e0b;
}

/* Heritage title styling */
#heritage h2 {
    text-shadow: 2px 2px 4px rgba(251, 191, 36, 0.3);
    position: relative;
}

#heritage h2::before {
    content: '🕉️';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

#heritage h2::after {
    content: '🕉️';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite reverse;
}

/* Responsive heritage section */
@media (max-width: 768px) {
    .heritage-scroll {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .heritage-card {
        width: 280px;
        height: 360px;
    }
    
    #heritage-scroll-left,
    #heritage-scroll-right {
        padding: 8px;
    }
    
    #heritage h2::before,
    #heritage h2::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .heritage-card {
        width: 250px;
        height: 340px;
    }
}