:root {
    --primary-maroon: #260505; /* Header & Footer dark red/brown */
    --gold: #DDA74F;         /* Gold text and buttons */
    --gold-light: #FBEFCD;   /* Lighter gold for hover/accents */
    --gold-border: #C8963E;
    --bg-cream: #FAF7EF;     /* Main background color */
    --sidebar-bg: #F5EEDB;   /* Slightly darker cream for sidebar */
    --blue-dark: #000B6E;    /* Floating banner blue */
    --text-dark: #1F1F1F;
    --text-maroon: #5E1410;
    --ad-red: #E11929;       /* Atlanta ad colors */
    --ad-yellow: #FEDB00;
    --ad-blue: #0A32B8;
    --ad-green: #2B9B32;
    --font-english: 'Roboto', sans-serif;
    --font-malayalam: 'Mukta Malar', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-english);
    background-color: var(--bg-cream);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Main Wrapper */
.main-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.top-header {
    background-color: var(--primary-maroon);
    position: relative;
    border-bottom: 2px solid var(--primary-maroon);
}

.top-border-pattern {
    height: 12px;
    background: repeating-linear-gradient(
        45deg,
        var(--gold-border),
        var(--gold-border) 10px,
        #A87B2E 10px,
        #A87B2E 20px
    );
    border-bottom: 2px solid var(--gold);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 40px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.malayalam-title {
    font-family: var(--font-malayalam);
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.english-title {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gold);
    transition: color 0.3s;
}

.main-nav a:hover .nav-eng, .main-nav a:hover .nav-mal {
    color: #FFF;
}

.nav-eng {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-mal {
    font-family: var(--font-malayalam);
    font-size: 0.75rem;
    color: #B28F42;
    margin-top: 2px;
}

.btn-donate {
    background: linear-gradient(to bottom, #E8C16A, #B4842E);
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid #5A140F;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.btn-donate .nav-eng {
    color: #3B0F0C;
    font-weight: 800;
}
.btn-donate .nav-mal {
    color: #551D18;
    font-weight: 600;
}

/* ============================================================
   MOBILE DRAWER & HAMBURGER (Pro Level)
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.hamburger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(38, 5, 5, 0.4);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }
    
    .header-inner {
        padding: 10px 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #38070F 0%, #1a0303 100%);
        z-index: 1000;
        padding: 100px 30px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        display: block !important;
    }

    .main-nav.open { right: 0; }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(221, 167, 79, 0.1);
    }

    .main-nav ul li a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
        width: 100%;
        transition: 0.3s;
    }

    .nav-eng { font-size: 1.15rem; font-weight: 800; letter-spacing: 1px; color: var(--gold); }
    .nav-mal { font-size: 0.9rem; margin-top: 5px; color: #FFF; opacity: 0.6; }

    .donate-li { margin-top: 30px; width: 100% !important; border: none !important; }
    .btn-donate {
        width: 100%;
        justify-content: center;
        padding: 15px !important;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 750px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    transition: height 0.3s;
}

.hero-overlay-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%);
}

.hero-banner-title {
    position: absolute;
    bottom: 90px;
    z-index: 2;
    padding: 10px 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.hero-banner-title h2 {
    font-family: var(--font-malayalam);
    color: var(--gold);
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Overlapping Info Banner */
.info-banner-wrapper {
    position: absolute;
    bottom: -35px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.info-banner-wrapper.standalone {
    position: relative;
    bottom: 0;
    margin-top: 60px;
    margin-bottom: 60px;
}

.info-banner {
    background-color: var(--blue-dark);
    border: 3px solid var(--gold);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    width: 85%;
    max-width: 1100px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    color: var(--gold);
}

.clock-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--gold);
}

.info-text {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.info-divider {
    width: 2px;
    height: 60px;
    background-color: var(--primary-maroon);
    margin: 0 20px;
}

.btn-book-now {
    background: linear-gradient(to bottom, #EDC973, #B8852C);
    border: none;
    color: #000B6E;
    font-weight: 800;
    padding: 8px 30px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.btn-book-now:hover {
    transform: scale(1.05);
}

/* Special Vazhipadu */
.special-vazhipadu {
    padding: 100px 50px 60px;
    background-color: var(--bg-cream);
    text-align: center;
    position: relative;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    color: var(--primary-maroon);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-heading h3 {
    font-family: var(--font-malayalam);
    color: var(--text-maroon);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 5px;
}

.vazhipadu-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.vazhipadu-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vazhipadu-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.vazhipadu-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.vazhipadu-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    scroll-snap-align: center;
    background: #FFF;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vazhipadu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-maroon);
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: var(--gold);
    color: var(--primary-maroon);
}

.slider-btn.prev { left: -25px; }
.slider-btn.next { right: -25px; }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #DDA74F66;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--gold);
    width: 25px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .vazhipadu-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .vazhipadu-card {
        flex: 0 0 100%;
    }
    .vazhipadu-container {
        padding: 0 10px;
    }
    .slider-btn { display: none; } /* Hide buttons on mobile, use touch swipe */
}

.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-maroon);
    border: 5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.1);
}

.icon-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.vazhipadu-card h4 {
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 8px;
}

.mal-names {
    font-family: var(--font-malayalam);
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
    margin-bottom: 20px;
}

.btn-yellow {
    background-color: #DFAC4C;
    color: #000;
    border: none;
    padding: 8px 35px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}
.btn-yellow:hover {
    background-color: #F8CB6F;
}

/* News & Events */
.news-events {
    padding: 40px 50px 80px;
    background-color: #F6ECCC; /* Slightly darker cream for contrast */
    text-align: center;
}

.events-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.event-img-wrap {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    border: 4px solid #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-img-wrap:hover img {
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #C3B390;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-maroon);
}

/* ============================================================
   PROFESSIONAL FOOTER (v3.0)
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #38070F 0%, #1a0303 100%);
    color: #FFF;
    padding: 80px 0 0;
    font-family: var(--font-english);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 0 40px 60px;
}

.footer-col-1 h3 {
    font-family: var(--font-malayalam);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 25px;
    line-height: 1.4;
}

.footer-contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-info i {
    color: var(--gold);
    width: 20px;
}

.site-footer h4 {
    color: #FFF;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-col-2 ul {
    list-style: none;
    padding: 0;
}

.footer-col-2 li {
    margin-bottom: 12px;
}

.footer-col-2 a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-col-2 a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-decoration: none;
    transition: all 0.4s;
}

.social-icons a:hover {
    background: var(--gold);
    color: #38070F;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 40px;
    text-align: center;
    background: rgba(0,0,0,0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ============================================================
   GLOBAL READABILITY & MOBILE OVERRIDES
   ============================================================ */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding: 0 30px 50px;
    }

    .footer-col-1 h3 { font-size: 1.4rem; }
    
    .footer-contact-info p {
        justify-content: center;
    }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    /* Global Text Polish for Readability */
    p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
}

.footer-bottom {
    background-color: #1E0308;
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    color: #A38C76;
    margin: 0 -50px;
}
@media (max-width: 768px) {
    .footer-bottom { margin: 0 -20px; }
    .site-footer { padding: 40px 20px 0; }
}

/* Bottom Ad Banner */
.ad-banner {
    display: flex;
    background-color: #FFF;
    font-family: 'Roboto', sans-serif;
    border-top: 4px solid var(--ad-red);
}

.ad-left {
    background-color: var(--ad-red);
    color: #FFF;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    width: 25%;
    min-width: 300px;
}

.ad-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ad-letter-A {
    font-size: 4rem;
    font-weight: 900;
    color: var(--ad-green);
    position: relative;
    font-style: italic;
    line-height: 1;
}

.ad-letter-A::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 4px;
    background-color: var(--ad-blue);
    top: 50%;
    left: -5px;
    transform: rotate(-15deg);
}

.ad-logo-text {
    display: flex;
    flex-direction: column;
}

.ad-name {
    font-size: 1.8rem;
    font-weight: 800;
}

.ad-tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.ad-qr-section {
    background-color: var(--ad-red);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ad-qr-section img {
    background: #FFF;
    padding: 5px;
    border-radius: 4px;
    width: 80px;
}

.qr-text .ready-text {
    color: #FFF;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.qr-text .scan-tag {
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.ad-btn-register {
    background-color: #FFF;
    color: #000;
    border: none;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.ad-courses {
    background-color: var(--ad-yellow);
    padding: 15px 30px;
    flex: 1;
    position: relative;
}

.ad-courses h4 {
    font-family: var(--font-malayalam);
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
    line-height: 1.2;
}

.ad-courses p {
    font-family: var(--font-malayalam);
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: #333;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tags span {
    background-color: var(--ad-red);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.course-tags span:nth-child(even) {
    background-color: var(--ad-green);
}

.ad-right {
    background-color: var(--ad-blue);
    padding: 15px 30px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-width: 300px;
}

.admission-open {
    background-color: var(--ad-red);
    color: var(--ad-yellow);
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    padding: 8px 20px;
    border-radius: 25px;
    position: absolute;
    top: -20px;
    right: 30px;
    line-height: 1.1;
    border: 2px solid #FFF;
}

.contact-info {
    margin-top: 30px;
}

.ad-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.ad-contact i {
    font-size: 1.5rem;
    background: #FFF;
    color: var(--ad-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ad-contact strong {
    font-size: 1.4rem;
}

.ad-web, .ad-email {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.ad-web i, .ad-email i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .info-banner {
        width: 95%;
        padding: 15px 20px;
    }
    .ad-banner {
        flex-wrap: wrap;
    }
    .ad-left, .ad-qr-section, .ad-courses, .ad-right {
        width: 100%;
        clip-path: none;
    }
    .admission-open {
        top: 15px;
    }
    .contact-info {
        margin-top: 60px;
    }
}

@media (max-width: 992px) {
    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }
    .header-inner {
        flex-direction: column;
        align-items: center;
        padding-left: 20px;
    }
    .vazhipadu-card {
        min-width: 45%;
    }
    .event-img-wrap {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .info-banner-wrapper.standalone {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .info-banner {
        flex-direction: column;
        border-radius: 20px;
        position: relative;
        margin-top: -50px;
        width: 90%;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    }
    .info-banner-wrapper.standalone .info-banner {
        margin-top: 0;
    }
    .info-divider {
        width: 80%;
        height: 2px;
        margin: 15px 0;
    }
    .info-banner-wrapper {
        position: relative;
        bottom: 0;
    }
    .hero-section {
        height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }
}

/* Footer Dual Ads */
.footer-dual-ads {
    background-color: var(--bg-cream);
    padding: 30px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-ad-box {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    background: #FFF;
}

.footer-ad-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.footer-ad-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .footer-dual-ads {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
}

/* ============================================================
   MODERN RESPONSIVE IMPROVEMENTS (v2.0)
   ============================================================ */

/* Hero Section Refinement */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay-shadow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
}

.malayalam-hero-title {
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--font-malayalam);
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    line-height: 1.3;
    margin-bottom: 10px;
}

.english-hero-subtitle {
    color: #FFF;
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Info Banner Refinement */
.info-banner {
    background: var(--primary-maroon);
    display: flex;
    justify-content: space-around;
    padding: 30px;
    color: #FFF;
    border-radius: 15px;
    max-width: 1100px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--gold-border);
}

.info-block {
    text-align: center;
    padding: 0 15px;
    flex: 1;
}

.info-block-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.info-label {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: var(--gold-light);
}

.info-value {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Section Styling */
.section-intro {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: var(--primary-maroon);
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Highlight Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: var(--bg-cream);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 30, 5, 0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(139, 30, 5, 0.1);
    background: #FFF;
}

.card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.highlight-card h3 {
    color: var(--primary-maroon);
    margin-bottom: 15px;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.card-link {
    color: var(--primary-maroon);
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.card-link:hover {
    color: var(--gold-border);
    padding-left: 5px;
}

/* Buttons */
.btn-sm {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
}

/* ============================================================
   MOBILE RESPONSIVENESS UPDATES
   ============================================================ */

@media (max-width: 992px) {
    .info-banner {
        width: 95%;
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .info-banner {
        flex-direction: column;
        gap: 30px;
        margin-top: -30px;
        padding: 40px 20px;
        text-align: center;
    }

    .info-block {
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 25px;
    }

    .info-block:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 50px 20px;
    }

    /* Footer Mobile Fix */
    .site-footer {
        padding: 40px 20px 0;
    }

    .footer-container {
        padding: 0;
        gap: 30px;
    }

    .footer-col-1 {
        min-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-col-2, .footer-col-3 {
        min-width: 140px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* Header Mobile Fix */
    .header-inner {
        padding: 10px 15px;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        gap: 10px;
    }
    
    .malayalam-title {
        font-size: 1.1rem;
    }
    
    .english-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh;
    }

    .malayalam-hero-title {
        font-size: 2.2rem !important; /* Increased for readability */
    }

    .english-hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-glass-content {
        width: 95% !important;
        padding: 30px 15px !important;
    }
}

/* ============================================================
   SUBPAGE ENHANCEMENTS (v2.0)
   ============================================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-maroon) 0%, #38070F 100%);
    padding: 120px 20px 80px;
    position: relative;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.page-header h1 {
    font-family: var(--font-malayalam) !important;
    font-size: clamp(2.2rem, 6vw, 4rem) !important;
    color: #FFD700 !important; /* Vivid Gold for visibility */
    margin-bottom: 10px !important;
    position: relative;
    z-index: 5;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    visibility: visible !important;
    display: block !important;
}

.header-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url('https://www.transparenttextures.com/patterns/mandala.png');
    pointer-events: none;
}

.subtitle-mal {
    font-family: var(--font-malayalam);
    color: var(--gold-light);
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* Vazhipadu Search Area */
.vazhipadu-search-area {
    background: #fdfaf0;
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-container i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.search-container input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border-radius: 40px;
    border: 2px solid #eee;
    font-size: 1rem;
    font-family: var(--font-english);
    outline: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.search-container input:focus {
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(221, 167, 79, 0.2);
}

/* Vazhipadu Grid Catalog */
.vazhipadu-catalog-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vazhipadu-grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.vazhipadu-catalog-card {
    background: #FFF;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    text-align: center;
}

.vazhipadu-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--gold);
}

.vazhipadu-icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--gold);
    border: 1px solid var(--gold-light);
    font-size: 1.2rem;
}

.vazhipadu-name-mal {
    font-family: var(--font-malayalam);
    color: var(--primary-maroon);
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 15px;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tag {
    font-weight: 800;
    color: var(--gold-border);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-full {
    width: 100%;
}

/* Event Cards Enhancement */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: #FFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.event-image-header {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.event-title-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #FFF;
    margin: 0;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.event-card-header {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
}

.event-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.8rem;
}

.event-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

/* ============================================================
   FESTIVAL PAGE ENHANCEMENTS
   ============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: #FFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.event-image-header {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.event-title-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 700;
}

.event-card-header {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #FFF;
    text-align: center;
}

.event-icon-circle {
    font-size: 2rem;
    margin-bottom: 10px;
}

.event-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-desc {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
}

.event-card.expanded .event-desc {
    -webkit-line-clamp: unset;
    display: block;
}

.read-more-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--primary-maroon);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.read-more-btn.visible {
    display: flex;
}

.read-more-btn:hover {
    color: var(--gold);
}

.event-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.status-active { background: #e6fffa; color: #234e52; padding: 4px 12px; border-radius: 50px; }
.status-upcoming { background: #ebf8ff; color: #2a4365; padding: 4px 12px; border-radius: 50px; }

@media (max-width: 480px) {
    .events-grid { grid-template-columns: 1fr; }
    .event-image-header { height: 180px; }
    .event-card-body { padding: 20px; }
}

.event-date { color: #888; }
.event-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.status-active { background: #e6f9ed; color: #1a8a3c; }
.status-archived { background: #f3f3f3; color: #888; }

.empty-state {
    text-align: center;
    padding: 100px 20px;
    grid-column: 1/-1;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .vazhipadu-grid-catalog {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .vazhipadu-catalog-card {
        padding: 15px;
    }
    
    .vazhipadu-name-mal {
        font-size: 0.95rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Dual Footer Advertisement Area */
.footer-dual-ads {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px 40px;
    border-top: 4px solid var(--gold);
    width: 100%;
}

.footer-dual-ads .ad-item {
    flex: 1;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.footer-dual-ads .ad-item:hover {
    transform: translateY(-5px);
}

.footer-dual-ads .ad-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .footer-dual-ads {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
}

/* ===== BROCHURE BANNER STYLES ===== */
.brochure-banner {
    width: 100%;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
}

.brochure-content {
    max-width: 800px;
    z-index: 2;
}

.brochure-content .mal-title {
    font-family: var(--font-malayalam);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.brochure-content h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.brochure-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-download {
    background: linear-gradient(to bottom, #E8C16A, #B4842E);
    color: #260505;
    padding: 15px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 2px solid #5A140F;
}

.btn-download:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: #FFF;
}

@media (max-width: 768px) {
    .brochure-banner {
        padding: 60px 20px;
        background-attachment: scroll;
    }
    .brochure-content .mal-title {
        font-size: 1.8rem;
    }
    .brochure-content h3 {
        font-size: 1.1rem;
    }
    .btn-download {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
