/* ==========================================================================
   ISKCON MAHABUBNAGAR - PEAK LEVEL UI THEME
   ========================================================================== */

:root {
    /* Color Palette - Devotional Light Theme */
    --bg-primary: #FFFBF2;
    /* Warm Off-White */
    --bg-secondary: #FFF5E1;
    /* Soft Cream */

    --primary-color: #F57F17;
    /* Radiant Saffron */
    --primary-dark: #E65100;
    --primary-light: #FFF8E1;

    --secondary-color: #D81B60;
    /* Deep Lotus Pink */
    --accent-color: #FFB300;
    /* Golden Yellow */

    /* Text Colors */
    --text-dark: #2C3E50;
    --text-muted: #546E7A;
    --text-light: #FFFFFF;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;

    /* Effects & Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 10px 25px rgba(245, 127, 23, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* Layout */
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================================
   RESET & BASE TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   UTILITIES & LAYOUT
   ========================================= */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.flex-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.bg-light-pattern {
    background-color: var(--bg-secondary);
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 30px 30px;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.separator-line {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 5px;
}

.separator-line.left-align {
    margin: 0;
}

.lead-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =========================================
   GLASSMORPHISM & CARDS
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.decorative-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#main-header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.logo {
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.logo a {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    font-size: 22px;
    transition: var(--transition);
}

#main-header.scrolled .logo img {
    height: 55px;
}

#main-header.scrolled .logo-text {
    font-size: 18px;
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo a {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 13px;
    }

    #main-header.scrolled .logo img {
        height: 35px;
    }

    #main-header.scrolled .logo-text {
        font-size: 12px;
    }
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 127, 23, 0.4);
    color: white !important;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    /* Extends under transparent header */
}

.slides {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Slight scale for ken burns effect */
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.caption {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 600px;
    color: white;
    text-align: left;
    padding: 50px;
}

.caption .subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.caption h1 {
    font-size: clamp(32px, 5vw, 60px);
    /* Responsive font sizing to prevent overflow/crushing */
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Stronger shadow for readability */
}

.caption p {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 127, 23, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.3);
}

.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 127, 23, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(245, 127, 23, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 127, 23, 0);
    }
}

/* =========================================
   FESTIVAL CARDS
   ========================================= */
.card {
    padding: 0;
    /* Override glass-card padding for image cards */
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    opacity: 0.5;
    transition: var(--transition);
}

.card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card:hover .img-overlay {
    opacity: 0.8;
}

.card-body {
    padding: 30px;
    text-align: center;
}

.card-body h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card-body p {
    color: var(--text-muted);
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 127, 23, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* =========================================
   EVENTS HIGHLIGHT
   ========================================= */
.event-highlight .container {
    padding: 0;
}

.event-text {
    flex: 1;
    padding: 60px;
    min-width: 300px;
}

.event-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: var(--bg-secondary);
    min-height: 400px;
}

.blob-shape {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    animation: morph 8s ease-in-out infinite both alternate;
    box-shadow: var(--shadow-soft);
}

.blob-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.events-list {
    list-style: none;
    margin: 30px 0;
}

.events-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-muted);
}

.events-list i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 3px;
}

.events-list strong {
    color: var(--text-dark);
    display: block;
    font-size: 18px;
}

/* =========================================
   LOCATION & CONTACT WIDGET
   ========================================= */
.icon-large {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-donate {
    justify-content: center;
}

.support-box {
    text-align: center;
    background: linear-gradient(135deg, white, var(--bg-secondary));
}

.support-box h2 {
    margin-bottom: 15px;
}

.support-box p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.contact-shortcut {
    text-align: center;
    padding: 30px;
}

.contact-shortcut h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-shortcut p {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-content {
    margin-bottom: 50px;
}

.footer-content h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about .logo {
    color: white;
}

.footer-about p {
    margin: 20px 0;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    background: #111;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* =========================================
   ANIMATIONS
   ========================================= */
/* Setup for JS IntersectionObserver */
[data-animate] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-animate="fade-in"] {
    transform: scale(0.95);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="slide-up"] {
    transform: translateY(60px);
}

[data-animate="fade-right"] {
    transform: translateX(-50px);
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

/* Classes applied by JS when in view */
.is-animated {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* =========================================
   CUSTOM SELECT (GALLERY)
   ========================================= */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

.premium-select {
    appearance: none;
    background: var(--glass-bg);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 12px 45px 12px 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    outline: none;
    min-width: 200px;
}

.premium-select:hover,
.premium-select:focus {
    box-shadow: 0 4px 15px rgba(245, 127, 23, 0.2);
    border-color: var(--primary-dark);
}

.select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    transition: var(--transition);
}

.premium-select:focus+.select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
    .caption h1 {
        font-size: 45px;
    }

    .section {
        padding: 60px 0;
    }

    .event-highlight .container {
        flex-direction: column-reverse;
    }

    .event-text {
        padding: 40px;
    }

    .event-image-wrapper {
        min-height: 300px;
        padding: 20px;
    }

    .blob-shape {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-slider {
        height: 80vh;
    }

    .caption {
        left: 5%;
        right: 5%;
        padding: 30px;
        border-radius: var(--radius-lg);
        border: none;
        text-align: center;
    }

    .caption h1 {
        font-size: 36px;
    }

    .slider-controls {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 14px;
    }

    .section {
        padding: 45px 0;
    }

    .glass-card {
        padding: 20px;
        border-radius: 14px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .lead-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .navbar {
        height: 70px;
    }

    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
        gap: 18px;
        padding: 12px 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hero-slider {
        height: 72vh;
    }

    .caption {
        top: 52%;
        padding: 18px;
    }

    .caption .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .caption h1 {
        font-size: 27px;
        margin-bottom: 12px;
    }

    .caption p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .slider-controls button {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    .event-text,
    .event-image-wrapper {
        padding: 20px;
        min-width: 0;
    }

    .blob-shape {
        height: 220px;
    }

    .card-body {
        padding: 18px;
    }

    .card-body h3 {
        font-size: 20px;
    }

    .gallery-item {
        height: 190px;
    }

    .map-container iframe {
        height: 220px;
    }

    .footer-content {
        margin-bottom: 28px;
    }

    .footer-content h3 {
        font-size: 18px;
    }

    .page-title-banner {
        margin-top: 80px !important;
        padding: 20px 0 !important;
    }

    .page-title {
        font-size: 30px;
    }

    .main-footer img[alt="ISKCON Mahabubnagar"] {
        height: 68px !important;
        margin-bottom: 12px !important;
    }

    .about-image,
    .about-text,
    .prabhupada-image,
    .prabhupada-text {
        min-width: 0 !important;
        width: 100%;
    }

    .prabhupada-image img {
        max-width: 100% !important;
    }

    .card-img-wrapper[style*="max-height: 400px"] {
        max-height: 240px !important;
    }

    #gallery-controls,
    .gallery-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
    }

    #gallery-controls .section-title,
    #gallery-album-title {
        font-size: 22px !important;
    }

    .premium-select {
        min-width: 160px;
        width: 100%;
    }

    #back-to-albums {
        width: 100%;
        justify-content: center;
    }

    #caption {
        width: 90% !important;
        max-width: none !important;
        height: auto !important;
        bottom: 12px !important;
        font-size: 14px !important;
        padding: 8px 0 !important;
    }
}

@media (max-width: 400px) {
    .logo-text {
        font-size: 12px !important;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* =========================================
   FINAL RESPONSIVE OVERRIDES
   (kept at end to win specificity/order)
   ========================================= */
@media (max-width: 992px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero-slider {
        height: min(88svh, 760px);
    }

    .caption {
        max-width: min(92vw, 640px);
        padding: 28px;
    }

    .flex-row > * {
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    #main-header {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .navbar {
        height: 68px !important;
    }

    .menu-toggle {
        display: block;
        z-index: 1102;
        padding: 8px;
    }

    .nav-links {
        position: fixed;
        top: 68px !important;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100svh - 68px) !important;
        transform: translateX(-100%);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px 14px 18px;
        transition: transform .28s ease, opacity .2s ease;
        z-index: 1101;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 15px !important;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-slider {
        height: min(76svh, 620px) !important;
    }

    .slide-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.44));
    }

    .caption {
        left: 14px !important;
        right: 14px !important;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        max-width: none;
        padding: 18px !important;
        text-align: left !important;
        border-radius: 14px;
        border-left: none;
    }

    .caption h1 {
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .caption p {
        font-size: 14px !important;
        margin-bottom: 12px;
        line-height: 1.45;
    }

    .caption .subtitle {
        font-size: 11px;
        letter-spacing: 1.6px;
        margin-bottom: 6px;
    }

    .slider-controls {
        right: 14px !important;
        bottom: 14px !important;
        transform: none !important;
        gap: 8px;
    }

    .slider-controls button {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }

    .section .container,
    .bg-light-pattern .container,
    .bg-gradient .container {
        width: 100%;
        overflow-x: clip;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: min(70svh, 540px) !important;
    }

    .caption {
        padding: 14px !important;
    }

    .caption .btn {
        width: auto;
        min-width: 130px;
        padding: 10px 14px;
    }

    .glass-card,
    .location-box,
    .contact-shortcut,
    .support-box {
        padding: 16px !important;
    }

    .event-highlight .container,
    .split-section .container,
    .footer-content {
        gap: 14px;
    }
}