:root {
            --kerala-gold: #d4a017;
            --kerala-red: #b83b2d;
            --kerala-green: #1d6b4e;
            --Medathiruvathira-orange: #e67e22;
            --warm-sand: #faf3e0;
        }
        body {
            font-family: 'Poppins', sans-serif;
            color: #1e2f23;
            background-color: var(--warm-sand);
            scroll-behavior: smooth;
        }
        h1, h2, h3, .navbar-brand, .section-heading {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }
        .navbar {
            background-color: rgba(255, 248, 235, 0.96);
            backdrop-filter: blur(4px);
            box-shadow: 0 4px 12px rgba(0, 40, 20, 0.08);
        }
        .navbar-brand {
            font-size: 2rem;
            font-weight: 900;
            color: var(--kerala-red) !important;
            letter-spacing: 1px;
        }
        .nav-link {
            font-weight: 600;
            color: #1d4e3a !important;
            margin: 0 6px;
            transition: 0.2s;
            border-radius: 30px;
        }
        .nav-link:hover, .nav-link.active {
            background: var(--kerala-gold);
            color: #000 !important;
        }
          .hero-Medathiruvathira {
            min-height: 90vh;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
            display: flex;
            align-items: center;
            color: white;
            position: relative;
        }
        .hero-Medathiruvathira::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to top, #fffaf0, transparent);
            pointer-events: none;
        }
        .section-padding { padding: 80px 0; }
        .section-heading {
            border-left: 12px solid var(--kerala-red);
            padding-left: 28px;
            margin-bottom: 50px;
            font-size: 2.8rem;
            padding-top: 60px;  
        }
        .event-timeline {
            position: relative;
            padding-left: 30px;
        }
        .event-timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--kerala-gold);
        }
        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
            padding-left: 25px;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -38px;
            top: 5px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: var(--kerala-red);
            border: 3px solid var(--kerala-gold);
        }
        .timeline-time {
            font-weight: 700;
            color: var(--kerala-red);
            font-size: 1.1rem;
        }
        .info-card {
            background: white;
            border-radius: 25px;
            padding: 1.8rem;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            height: 100%;
            transition: 0.3s;
        }
        .info-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(184, 59, 45, 0.15);
        }
        .info-card i {
            font-size: 3rem;
            color: var(--kerala-red);
            margin-bottom: 1rem;
        }
        .btn-rust {
            background: var(--kerala-red);
            color: white;
            border-radius: 40px;
            padding: 12px 36px;
            font-weight: 600;
            transition: 0.3s;
        }
        .btn-rust:hover {
            background: #8f2e1e;
            color: white;
            transform: translateY(-2px);
        }
        .btn-gold {
            background: var(--kerala-gold);
            color: #1e3d2e;
            border-radius: 40px;
            padding: 12px 36px;
            font-weight: 600;
            transition: 0.3s;
        }
        .btn-gold:hover {
            background: #b8860b;
            color: white;
            transform: translateY(-2px);
        }
        .gallery-img {
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: 0.3s;
        }
        .gallery-img img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: 0.3s;
        }
        .gallery-img:hover img {
            transform: scale(1.05);
        }
        .gallery-img:hover {
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        .countdown-box {
            background: linear-gradient(135deg, var(--kerala-green) 0%, #2a8b6e 100%);
            border-radius: 30px;
            padding: 2rem;
            text-align: center;
        }
        .countdown-number {
            font-size: 3rem;
            font-weight: 800;
            background: rgba(255,255,255,0.2);
            border-radius: 20px;
            padding: 0.5rem;
            min-width: 80px;
            display: inline-block;
        }
        footer {
            background: #172e1c;
            color: #ddd;
        }
        
        @media (max-width: 768px) {
            .section-heading { font-size: 2rem; }
            .hero-Medathiruvathira h1 { font-size: 2.5rem; }
            .countdown-number { font-size: 2rem; min-width: 60px; }
        }

/* Banner Styles - Responsive */
        .festival-banner {
            background: linear-gradient(135deg, #b83b2d 0%, #1d6b4e 100%);
            padding: 3rem 1rem;
            border-radius: 0 0 50px 50px;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
        }
        
        .festival-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="white" d="M20,50 Q30,35 40,50 T60,50 T80,50" stroke="white" stroke-width="2" fill="none"/><circle cx="50" cy="50" r="3" fill="white"/></svg>') repeat;
            pointer-events: none;
        }
        
        .banner-title {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            font-weight: 800;
            color: white;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
        }
        
        .banner-subtitle {
            font-size: 1.3rem;
            color: rgba(255,255,255,0.95);
            font-weight: 400;
            letter-spacing: 0.5px;
        }
        
        .festival-subheading {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--kerala-red, #b83b2d);
            margin-bottom: 1.5rem;
            border-left: 5px solid var(--kerala-gold, #d4a017);
            padding-left: 20px;
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .banner-title {
                font-size: 2.5rem;
            }
            .banner-subtitle {
                font-size: 1.1rem;
            }
            .festival-subheading {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 768px) {
            .festival-banner {
                padding: 2rem 1rem;
                border-radius: 0 0 30px 30px;
            }
            .banner-title {
                font-size: 1.8rem;
            }
            .banner-subtitle {
                font-size: 0.95rem;
            }
            .festival-subheading {
                font-size: 1.5rem;
                padding-left: 15px;
            }
        }
        
        @media (max-width: 576px) {
            .banner-title {
                font-size: 1.5rem;
            }
            .banner-subtitle {
                font-size: 0.85rem;
            }
            .festival-subheading {
                font-size: 1.3rem;
            }
        }

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none; /* Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome */
}

.scroll-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* Tablet → 2 items */
@media (min-width: 576px) {
  .scroll-item {
    flex: 0 0 50%;
  }
}

/* Desktop → 3 items */
@media (min-width: 992px) {
  .scroll-item {
    flex: 0 0 33.33%;
  }
}
        .stats-card {
            background: white;
            border-radius: 30px;
            padding: 2rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            transition: 0.3s;
        }
        .stats-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 35px rgba(184, 59, 45, 0.15);
        }

/* Footer responsive styles */
        footer {
            background: linear-gradient(145deg, #0a241a 0%, #1a3a2a 100%);
            position: relative;
            margin-top: 0 !important;
        }
        
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--kerala-gold, #d4a017), var(--kerala-red, #b83b2d), var(--kerala-green, #1d6b4e));
        }
        
        .footer-links a, .footer-info a, .footer-contact a {
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover, .footer-info a:hover, .footer-contact a:hover {
            color: var(--kerala-gold) !important;
            padding-left: 5px;
        }
        
        .hover-gold:hover {
            color: var(--kerala-gold) !important;
            transform: translateY(-3px);
            transition: all 0.3s;
        }
        
        .bg-dark-soft {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        /* Responsive breakpoints */
        @media (max-width: 1200px) {
            footer .container {
                max-width: 95%;
            }
        }
        
        @media (max-width: 992px) {
            footer {
                padding: 3rem 0 !important;
            }
            
            .footer-links, .footer-info, .footer-contact {
                margin-bottom: 2rem;
            }
            
            .bg-dark-soft {
                max-width: 300px;
            }
        }
        
        @media (max-width: 768px) {
            footer {
                padding: 2.5rem 0 !important;
            }
            
            footer h3 {
                font-size: 1.8rem;
            }
            
            footer h6 {
                font-size: 1.1rem;
                margin-top: 1rem;
            }
            
            .footer-links, .footer-info, .footer-contact {
                font-size: 0.95rem;
            }
            
            .d-flex.gap-3 {
                justify-content: center;
            }
            
            .bg-dark-soft {
                max-width: 100%;
            }
            
            hr {
                margin: 1.5rem 0;
            }
        }
        
        @media (max-width: 576px) {
            footer {
                text-align: center;
            }
            
            .footer-links .d-flex, .footer-info .d-flex, .footer-contact .d-flex {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .footer-links i, .footer-info i, .footer-contact i {
                margin-right: 0 !important;
                margin-bottom: 0.5rem;
            }
            
            .bg-dark-soft {
                margin: 0 auto;
            }
            
            .row.align-items-center {
                flex-direction: column-reverse;
                gap: 1rem;
            }
            
            .text-center.text-md-end {
                text-align: center !important;
            }
            
            .footer-links a, .footer-info span, .footer-contact span {
                justify-content: center;
            }
            
            .fab.fs-5 {
                font-size: 1.5rem !important;
                margin: 0 8px;
            }
        }
        
        /* Ultra small devices */
        @media (max-width: 380px) {
            footer h3 {
                font-size: 1.5rem;
            }
            
            .small {
                font-size: 0.8rem;
            }
            
            .bg-dark-soft {
                padding: 1rem !important;
            }
        }
        
        /* Icon fixes */
        .fa-chevron-right:before {
            content: "\f054";
        }
        
        .fa-hands-praying:before {
            content: "\f684";
        }
        
        .fa-tshirt:before {
            content: "\f553";
        }
        
        .fa-language:before {
            content: "\f1ab";
        }
        
        .fa-shield-alt:before {
            content: "\f3ed";
        }
        
        .fa-heart:before {
            content: "\f004";
        }



        


        @media (min-width: 768px) {
        .carousel-inner {
            overflow: visible;
        }
        
        .carousel-item {
            transition: transform 0.6s ease-in-out;
        }
        
        .carousel-item .row {
            margin: 0;
        }
        
        .carousel-item .col-md-4 {
            padding: 0 12px;
        }
        
        .scroll-item {
            height: 100%;
        }
        
        .scroll-item img {
            height: 280px;
            object-fit: cover;
        }
    }
    
    /* Mobile remains unchanged */
    @media (max-width: 767px) {
        .carousel-item .d-none.d-md-block {
            display: none !important;
        }
        
        .carousel-item .col-12 {
            padding: 0;
        }
        
        .scroll-item img {
            height: auto;
            object-fit: cover;
        }
    }