/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(9, 13, 22, 0.8);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
    transition: var(--transition-snappy);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(9, 13, 22, 0.95);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    gap: 4px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 4px;
    position: relative;
    transition: var(--transition-snappy);
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-saffron-gold);
    transition: var(--transition-snappy);
}

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

.nav-link.active {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-snappy);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background-image: url('../assets/hero_banner.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 153, 51, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(18, 136, 7, 0.05) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
    animation: hero-particles 8s ease-in-out infinite;
}

@keyframes hero-particles {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 13, 22, 0.4) 0%, rgba(9, 13, 22, 0.85) 60%, rgba(9, 13, 22, 0.95) 100%);
    z-index: 1;
    animation: overlay-shift 12s ease-in-out infinite;
}

@keyframes overlay-shift {
    0%, 100% {
        background: linear-gradient(to bottom, rgba(9, 13, 22, 0.4) 0%, rgba(9, 13, 22, 0.85) 60%, rgba(9, 13, 22, 0.95) 100%);
    }
    50% {
        background: linear-gradient(to bottom, rgba(9, 13, 22, 0.35) 0%, rgba(9, 13, 22, 0.8) 60%, rgba(9, 13, 22, 0.93) 100%);
    }
}

.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    z-index: 2;
    padding-top: calc(var(--navbar-height) + 20px);
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 30px;
    animation: hero-glow 3s ease-in-out infinite;
}

@keyframes hero-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 176, 31, 0.2);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 176, 31, 0.5), 0 0 50px rgba(255, 153, 51, 0.2);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: var(--gradient-saffron-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-saffron-gold);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

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

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
    animation: mouse-pulse 2s ease-in-out infinite;
}

@keyframes mouse-pulse {
    0%, 100% {
        border-color: var(--text-muted);
    }
    50% {
        border-color: var(--primary-gold);
    }
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

/* ==========================================================================
   INTERACTIVE MAP SECTION
   ========================================================================== */

.map-section {
    background: linear-gradient(to bottom, var(--bg-dark-deep) 0%, hsl(222, 47%, 6%) 100%);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(18, 136, 7, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.map-section .section-container {
    position: relative;
    z-index: 1;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.map-container {
    background: var(--bg-dark-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 550px;
}

.map-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(18, 136, 7, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-container:hover::before {
    opacity: 1;
}

.map-loading {
    color: var(--text-muted);
    font-size: 1.1rem;
    animation: pulse 1.5s infinite ease-in-out;
}

/* SVG Map styling */
.india-svg-map {
    width: 100%;
    max-height: 580px;
    height: auto;
}

.india-svg-map path {
    fill: hsl(220, 25%, 20%);
    stroke: hsl(220, 25%, 35%);
    stroke-width: 1;
    stroke-linejoin: round;
    transition: var(--transition-snappy);
    cursor: pointer;
}

/* Map hover, selection styles */
.india-svg-map path:hover {
    fill: var(--primary-saffron);
    stroke: var(--primary-gold);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(255, 153, 51, 0.4));
    transform: scale(1.002);
}

.india-svg-map path.highlighted-active {
    fill: var(--primary-gold) !important;
    stroke: var(--primary-saffron) !important;
    stroke-width: 2.5;
    animation: map-pulse-glow 2s infinite alternate;
}

@keyframes map-pulse-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 176, 31, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255, 153, 51, 0.8));
    }
}

/* Sidebar panel control styles */
.map-sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

/* Info Card hover glow */
.info-card {
    background: var(--bg-dark-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--shadow-soft);
    width: 100%;
    flex: 1;
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: rgba(255, 176, 31, 0.35);
    box-shadow: var(--shadow-glow);
}

.info-card.active-state {
    border-style: solid;
    border-color: rgba(255, 176, 31, 0.4);
    box-shadow: var(--shadow-glow);
}

.info-card.active-state {
    border-style: solid;
    border-color: rgba(255, 176, 31, 0.4);
    box-shadow: var(--shadow-glow);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 176, 31, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.5rem;
    letter-spacing: -0.3px;
}

.info-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.map-action-box {
    margin-top: auto;
}

.btn-gold.ripple {
    width: 100%;
}

/* Floating Rich Tooltip Card */
.map-tooltip {
    position: fixed;
    pointer-events: none;
    width: 300px;
    padding: 0;
    background: rgba(9, 13, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    color: var(--text-light);
    border-radius: 14px;
    font-size: 0.88rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.08);
    opacity: 0;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
    transform: translateY(6px);
    z-index: 1000;
    overflow: hidden;
}

.map-tooltip[style*="opacity: 1"] {
    transform: translateY(0);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 153, 51, 0.1));
}

.tooltip-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tooltip-state-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #d4af37, #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tooltip-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.35), transparent);
}

.tooltip-details {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.tooltip-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.tooltip-value {
    font-weight: 600;
    font-size: 0.82rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

.tooltip-footer {
    padding: 8px 16px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tooltip-cta {
    padding: 7px 16px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ==========================================================================
   CUISINE EXPLORER SECTION
   ========================================================================== */

.cuisine-section {
    background: var(--bg-dark-deep);
    position: relative;
}

.cuisine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 176, 31, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cuisine-section .section-container {
    position: relative;
    z-index: 1;
}

.tab-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.tab-btn:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background: var(--gradient-saffron-gold);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Cards Grid layout */
.cuisine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.cuisine-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-lg);
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.cuisine-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 153, 51, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 153, 51, 0.1) inset;
}

.cuisine-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cuisine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cuisine-card:hover .cuisine-card-image img {
    transform: scale(1.08);
}

.cuisine-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cuisine-card:hover .cuisine-card-image::after {
    opacity: 1;
}

.cuisine-region-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.cuisine-origin {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cuisine-card-body h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.cuisine-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Card hover glow, zoom and tilt simulations */
.cuisine-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow-active);
    border-color: rgba(255, 176, 31, 0.35);
}

.cuisine-card:hover .cuisine-card-image img {
    transform: scale(1.1);
}

/* ==========================================================================
   FESTIVALS SECTION
   ========================================================================== */

.festivals-section {
    background: linear-gradient(to bottom, hsl(222, 47%, 6%) 0%, var(--bg-dark-deep) 100%);
    position: relative;
}

.festivals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 153, 51, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.festivals-section .section-container {
    position: relative;
    z-index: 1;
}

.festival-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.festival-card {
    background: var(--bg-dark-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.festival-card-img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
}

.festival-card-content {
    flex-grow: 1;
}

.festival-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.festival-card-content .subtitle {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.festival-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.festival-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 153, 51, 0.4);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.12);
}

.festival-card-img {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.festival-card:hover .festival-card-img {
    transform: scale(1.05);
}

.festival-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.festival-meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.story-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* ==========================================================================
   CULTURE SLIDER SECTION
   ========================================================================== */

.culture-section {
    background: var(--bg-dark-deep);
    position: relative;
}

.culture-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(18, 136, 7, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.culture-section .section-container {
    position: relative;
    z-index: 1;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 5px;
    /* Allow vertical page scroll but let JS handle horizontal swipe gestures */
    touch-action: pan-y;
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: var(--transition-smooth);
}

.slider-card {
    min-width: calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.slider-card-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.slider-card-body {
    padding: 25px;
}

.slider-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
    margin-bottom: 6px;
}

.slider-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slider-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.slider-card:hover {
    transform: scale(1.02);
    border-color: rgba(18, 136, 7, 0.35);
    box-shadow: 0 10px 25px rgba(18, 136, 7, 0.15);
}

.slider-card-img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider-card:hover .slider-card-img {
    transform: scale(1.08);
}

/* Slider buttons controls */
.slider-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-snappy);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.slider-control:hover {
    background: var(--primary-gold);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-glow-active);
}

.slider-control.prev {
    left: -25px;
}

.slider-control.next {
    right: -25px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-snappy);
}

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

/*======================================================
dynasty section
.dynasty-card {
  max-width: 380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.dynasty-card-content {
  padding: 20px;
  color: #222;
}

.dynasty-card-content h3 {
  color: #111;
  margin: 0 0 10px;
}

.dynasty-card-content p {
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

.dynasty-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  background: #b8860b;
}

.dynasty-btn:hover {
  background: #8f6808;
}

.dynasty-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* =========================================================
   HISTORICAL DYNASTIES

.dynasty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 2.5rem;
}


/* =========================
   CARD

.dynasty-card {
    background: #111c2d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.dynasty-card:hover {
    transform: translateY(-6px);

    border-color: rgba(251, 191, 36, 0.5);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3);
}


/* =========================
   IMAGE

.dynasty-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}


.dynasty-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}


.dynasty-card:hover .dynasty-card-image img {
    transform: scale(1.05);
}


/* =========================
   CARD BODY

.dynasty-card-body {
    padding: 1.25rem;
}


/* =========================
   CATEGORY

.dynasty-card-category {
    display: inline-block;

    color: #fbbf24;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    margin-bottom: 0.5rem;
}


/* =========================
   TITLE

.dynasty-card h3 {
    margin: 0 0 0.7rem;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 1.35rem;
}


.dynasty-card h3 a {
    color: #f8fafc;

    text-decoration: none;

    transition: color 0.25s ease;
}


.dynasty-card h3 a:hover {
    color: #fbbf24;
}


/* =========================
   DESCRIPTION

.dynasty-card p {
    margin: 0;

    color: #a9c1dd;

    font-size: 0.92rem;

    line-height: 1.7;
}


/* =========================================================
   TABLET

@media (max-width: 1024px) {

    .dynasty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE

@media (max-width: 650px) {

    .dynasty-grid {
        grid-template-columns: 1fr;

        gap: 1.25rem;
    }

    .dynasty-card-image {
        height: 220px;
    }

}
/* ==========================================================================
   QUIZ SECTION
   ========================================================================== */

.quiz-section {
    background: linear-gradient(to bottom, var(--bg-dark-deep) 0%, hsl(222, 47%, 6%) 100%);
    position: relative;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 176, 31, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.quiz-section .section-container {
    position: relative;
    z-index: 1;
}

.quiz-card {
    width: min(100%, 680px);
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-dark-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.quiz-screen {
    transition: var(--transition-smooth);
}

.quiz-screen.hidden {
    display: none !important;
}

.quiz-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.quiz-card h3 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin-bottom: 15px;
    line-height: 1.25;
}

.quiz-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.65;
}

/* Quiz progress items */
.quiz-progress-bar-wrapper {
    margin-bottom: 30px;
}

.quiz-progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 10px;
    text-align: left;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 12.5%;
    /* starts at 1/8 */
    background: var(--gradient-saffron-gold);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.quiz-question {
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.45;
}

/* Option choices grid styles */
.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-btn {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.option-btn:focus-visible {
    outline: 3px solid rgba(255, 153, 51, 0.5);
    outline-offset: 3px;
}

/* Correct/Incorrect choices coloring */
.option-btn.correct {
    background: rgba(18, 136, 7, 0.2) !important;
    border-color: var(--primary-green) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(18, 136, 7, 0.3);
}

.option-btn.wrong {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}

.option-btn.disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* Quiz feedback banner */
.quiz-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    margin-top: 20px;
    font-weight: 600;
    animation: bounce-in 0.4s ease;
}

.quiz-feedback.correct {
    background: rgba(18, 136, 7, 0.1);
    color: var(--primary-green);
}

.quiz-feedback.wrong {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.quiz-feedback.hidden {
    display: none !important;
}

@keyframes bounce-in {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.quiz-score-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin: 15px 0 25px;
}

/* ==========================================================================
   AWARDS SECTION
   ========================================================================== */

.awards-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, rgba(30, 20, 50, 0.9) 0%, rgba(11, 15, 25, 0.95) 100%);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.award-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: card-entrance 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes card-entrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.award-card:nth-child(1) { animation-delay: 0.05s; }
.award-card:nth-child(2) { animation-delay: 0.1s; }
.award-card:nth-child(3) { animation-delay: 0.15s; }
.award-card:nth-child(4) { animation-delay: 0.2s; }
.award-card:nth-child(5) { animation-delay: 0.25s; }
.award-card:nth-child(6) { animation-delay: 0.3s; }
.award-card:nth-child(7) { animation-delay: 0.35s; }
.award-card:nth-child(8) { animation-delay: 0.4s; }

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9933 0%, #D4AF37 50%, #138808 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

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

.award-card-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.award-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0 0 8px;
    line-height: 1.3;
}

.award-category {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.award-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.award-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.award-stat {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.award-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.award-btn:hover {
    background: var(--primary-gold);
    color: #000;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-links {
    width: 100%;
    max-width: 420px;
    justify-self: start;
}

.footer-links h3 {
    margin: 0 0 24px;
    padding: 0;
    text-align: center;
}

.footer-links ul {
    margin-left: 50px !important;
    padding-left: 0 !important;
    transform: translateX(0) !important;
}

.footer-links {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.footer-links li {
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer-links a {
    display: block;
    margin: 0;
    padding: 0;
    text-align: left;
}

.footer-credits {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-credits p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        max-width: 420px;
    }

    .footer-links ul {
        grid-template-columns: repeat(2, 160px);
    }
}




/* ==========================================================================
   DETAILS MODAL
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 13, 22, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 20px;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-dark-modal);
    border: 2px solid rgba(255, 176, 31, 0.25);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    padding: 40px;
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-snappy);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-size: 2.2rem;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.modal-capital-line {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.modal-capital-line span {
    font-weight: 600;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.modal-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.meta-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.meta-icon {
    font-size: 1.8rem;
}

.meta-content h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.meta-content p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
}

/* ==========================================================================
   SCROLL TO TOP & SCROLL ANIMATIONS
   ========================================================================== */

.btn-scroll-top {
    position: fixed;
    bottom: 110px;      /* above chatbot */
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 176, 31, 0.25);
    color: var(--primary-gold);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 90;
}

.btn-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background: var(--primary-gold);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-glow-active);
}

.btn-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-scroll-top:hover {
    background: var(--primary-gold);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-glow-active);
}

/* Scroll-triggered Fade in anims */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header fade in delays */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 1s forwards ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slide-up 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-delay: 0.2s;
}

.animate-fade-in-delayed {
    opacity: 0;
    animation: fade-in 1s forwards ease-out;
    animation-delay: 0.5s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .cuisine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .map-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-sidebar {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .slider-card {
        min-width: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }

    .science-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .science-isro-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .science-modal-layout {
        grid-template-columns: 1fr;
    }

    .science-modal-hero {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 1024px) {
    :root {
        --navbar-height: 70px;
    }

    /* Mobile nav overrides */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: hsl(222, 47%, 6%);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 80px;
        /* offset for visual centering */
    }

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

    /* burger menu morph */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-container {
        padding: 60px 16px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .award-card {
        padding: 24px;
    }

    .award-card-icon {
        font-size: 2.8rem;
    }

    .award-card h3 {
        font-size: 1.2rem;
    }

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

    .slider-card {
        min-width: 100%;
        max-width: 100%;
    }

    .festival-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .festival-card-img {
        width: 120px;
        height: 120px;
    }

    .quiz-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quiz-card {
        padding: 30px 20px;
    }

    .quiz-card h3 {
        font-size: 1.5rem;
    }

    .quiz-question {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .option-btn {
        padding: 14px 16px;
    }

    .modal-card {
        padding: 30px 20px;
    }

    .modal-meta-grid {
        grid-template-columns: 1fr;
    }

    .sports-filters-bar {
        align-items: stretch;
    }

    .sports-filters-bar .search-box-wrapper {
        width: 100%;
    }

    .sports-athlete-grid {
        grid-template-columns: 1fr;
    }

    .athlete-media {
        width: 84px;
    }

    .sports-modal-avatar {
        width: 104px;
        height: 104px;
    }

    .sports-timeline {
        grid-template-columns: 1fr;
    }

    .sports-modal-layout {
        grid-template-columns: 1fr;
    }

    .sports-modal-hero,
    .sports-modal-body {
        padding: 28px 20px;
    }

    .sports-modal-hero {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .sports-modal-stats {
        grid-template-columns: 1fr;
    }

    .science-hero {
        min-height: 420px;
        padding: 100px 0 70px;
    }

    .science-hero h1 {
        font-size: 2.8rem;
        max-width: 12ch;
    }

    .science-hero-actions {
        flex-direction: column;
        width: min(100%, 320px);
    }

    .science-hero-actions .btn {
        width: 100%;
    }

    .science-stats-grid {
        grid-template-columns: 1fr;
    }

    .science-isro-grid {
        grid-template-columns: 1fr;
    }

    .science-scientist-grid {
        grid-template-columns: 1fr;
    }

    .science-scientist-card-head,
    .science-isro-card-top {
        flex-direction: column;
    }

    .science-scientist-avatar {
        width: 82px;
        height: 82px;
    }

    .science-mission-avatar {
        width: 68px;
        height: 68px;
    }

    .science-timeline {
        grid-template-columns: 1fr;
    }

    .science-modal-layout {
        grid-template-columns: 1fr;
    }

    .science-modal-hero,
    .science-modal-body {
        padding: 28px 20px;
    }

    .science-modal-hero {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .science-modal-stats {
        grid-template-columns: 1fr;
    }

    .science-filters-bar {
        align-items: stretch;
    }

    .science-filters-bar .search-box-wrapper {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links ul {
        grid-template-columns: 1fr;
    }

    .slider-control {
        display: none;
        /* Swipe/scroll is native on mobile */
    }
}

@media (max-height: 750px) {
  .hero-content {
    padding-top: calc(var(--navbar-height) + 10px);
  }

  .hero-tagline {
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 2.6rem;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-scroll-indicator {
    margin-top: 16px;
  }
}

@media (max-height: 600px) {
  .hero-scroll-indicator {
    display: none; /* not enough room for it at all */
  }
}

/* ==========================================================================
   SUB-PAGES GENERAL STYLES
   ========================================================================== */
.page-padding {
    padding-top: 100px;
}

.sub-hero {
    position: relative;
    height: 380px;
    background: url('../assets/hero_banner.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.45) 0%, rgba(9, 13, 22, 0.92) 100%);
    z-index: 1;
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.sub-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow);
}

.sub-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.sub-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ==========================================================================
   FREEDOM HEROES SECTION (Issue #1872 — Sarojini Naidu card)
   Reuses the existing cuisine-card visual language but is anchored in its
   own landing-page section so additional freedom-fighter cards can be
   added later without touching the cuisine grid.
   ========================================================================== */

.freedom-heroes-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.freedom-heroes-grid {
    /* Inherits .cuisine-grid for the auto-fill layout, but constrains the
       Sarojini Naidu card to a comfortable reading width so it doesn't
       stretch awkwardly when only one card is present. */
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    max-width: 760px;
    margin: 0 auto;
}

.freedom-hero-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.freedom-hero-card .cuisine-card-body {
    text-align: left;
}

.freedom-hero-cta {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.45rem 1rem;
    background: var(--saffron, #FF9933);
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: var(--transition-snappy, all 0.25s ease);
}

.freedom-hero-card:hover .freedom-hero-cta {
    background: var(--gold, #FFB01F);
    transform: translateX(4px);
}







/* ==========================================================================
   BATTLES SECTION (Issue #1613 — Second Battle of Panipat card)
   ========================================================================== */

.battles-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.battles-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    max-width: 760px;
    margin: 0 auto;
}

.battle-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.battle-card .cuisine-card-body {
    text-align: left;
}

.battle-cta {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.45rem 1rem;
    background: var(--saffron, #FF9933);
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: var(--transition-snappy, all 0.25s ease);
}

.battle-card:hover .battle-cta {
    background: var(--gold, #FFB01F);
    transform: translateX(4px);
}

body.light-theme .battle-card .cuisine-card-body h3 {
    color: #1E293B;
}

body.light-theme .battle-card .cuisine-origin {
    color: #C2410C;
}

body.light-theme .battle-card .cuisine-card-body p {
    color: #475569;
}


