/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* CRITICAL FIX: Always reserve space for scrollbar to prevent layout shift */
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto; /* Allow vertical scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen - Porter Robinson Inspired */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
    overflow: hidden;
    /* CRITICAL FIX: Ensure immediate visibility */
    opacity: 1;
    visibility: visible;
}

/* Disable body scrolling when loading screen is active */
body.loading {
    overflow: hidden;
}

.loading-content {
    /* CRITICAL FIX: Use fixed positioning for stable centering */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: auto; /* Let content determine width */
    text-align: center;
    /* Force immediate visibility */
    opacity: 1 !important;
    visibility: visible !important;
    /* Prevent any margin collapse */
    padding: 1px;
}

/* 🌟 CLOVER LOGO (Main Visual) */
.clover-logo {
    /* CRITICAL FIX: Use absolute positioning for stable centering */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Force immediate visibility */
    opacity: 1 !important;
    visibility: visible !important;
    /* Ensure proper stacking context */
    z-index: 5;
    /* Remove margins that could cause shifts */
    margin: 0;
}

.heartbeat-clover {
    /* Force immediate visibility */
    width: 900px;
    height: 900px;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    /* Start animation immediately */
    animation: heartbeat 1.2s ease-in-out infinite, glowPulse 2.4s ease-in-out infinite;
    /* Ensure it's always on top */
    position: relative;
    z-index: 10;
    /* Remove any transition delays */
    transition: none !important;
}

/* Heartbeat animation: scale from 100% to 110% and back */
@keyframes heartbeat {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1); 
    }
    100% { 
        transform: scale(1); 
    }
}

/* Arrow from Experience to Get Lucky Badge */
.arrow-container {
    position: relative;
    height: 40px;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow {
    width: 2px;
    height: 30px;
    background: #D4AF37;
    position: relative;
    animation: arrowPulse 2s ease-in-out infinite;
    transform: rotate(180deg);
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #D4AF37;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* Subtle glow effect */
@keyframes glowPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    }
}

/* 🎯 LOADING TEXT BAR – "THE LUCKY ONE" */
.loading-text-container {
    /* CRITICAL FIX: Position relative to loading-content */
    position: relative;
    width: 100%;
    text-align: center;
    /* Position text well below the clover */
    margin-top: 20rem;
    /* Ensure proper stacking */
    z-index: 5;
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #cccccc;
    position: relative;
    /* Ensure text is visible */
    display: inline-block;
    padding: 0.5rem 1rem;
}

/* Individual letter animation for loading bar effect */
.loading-text::before {
    content: 'THE LUCKY ONE';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #D4AF37;
    overflow: hidden;
    white-space: nowrap;
    /* Ensure text fills properly */
    animation: fillText 1.5s ease-in-out forwards;
    /* Fix text alignment */
    text-align: left;
    padding: inherit;
}

@keyframes fillText {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Mobile-specific animation that properly fills text with padding */
@keyframes fillTextMobile {
    0% {
        width: 0%;
    }
    100% {
        width: 100%; /* Full width - box-sizing: border-box handles padding */
    }
}

/* 🌀 PLAYFUL PAGE TRANSITION - Background Preview */
.background-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.background-preview .hero-background {
    width: 100%;
    height: 100%;
    position: relative;
}

.background-preview .hero-background video,
.background-preview .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    opacity: 0.4;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Loading screen fade out animation */
#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    /* Lock position during fade */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: opacity;
}

#loading-screen.fade-out .heartbeat-clover {
    /* Keep the heartbeat animation running during fade */
    animation: heartbeat 1.2s ease-in-out infinite, glowPulse 2.4s ease-in-out infinite;
    /* Lock position */
    transform: translateZ(0);
    backface-visibility: hidden;
}

#loading-screen.fade-out .loading-text {
    /* Keep text in place during fade */
    animation: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes scaleOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes fadeOutText {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Removed duplicate loading-text rule that was hiding the text */

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#main-content {
    opacity: 1;
    transition: opacity 0.5s ease-out;
    position: relative;
    width: 100%;
    visibility: visible;
}

#main-content.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Only apply initial hidden state on main page */
#main-content .navbar {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure navbar is visible on workshops page */
.workshops-page .navbar {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure consistent navigation styling across all pages */
.workshops-page .nav-menu a,
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.workshops-page .nav-menu a:hover,
.nav-menu a:hover {
    color: #D4AF37;
}

.workshops-page .nav-menu a.active,
.nav-menu a.active {
    color: #D4AF37;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    flex: 1;
    align-items: center;
    height: 100%;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #D4AF37;
}

.nav-menu a.active {
    color: #D4AF37;
}

/* Page Transition */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Navbar Social Links - Removed as moved to hero section */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Freddy Moreira Style */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Animated Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Single background video with smooth fade-in and horizontal pan animation */
.hero-bg-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    overflow: hidden;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroPan 20s ease-in-out infinite;
}



/* Semi-transparent overlay for text legibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Hero Social Links */
.hero-social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.hero-social-link {
    color: #fff;
    font-size: 2.34rem;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0.9;
}

.hero-social-link:hover {
    color: #D4AF37;
    transform: scale(1.2);
    opacity: 1;
}

/* Background Animation Keyframes */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #137547;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background-color: #D4AF37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #D4AF37;
    opacity: 1 !important;
}

/* Media Section */
.media {
    padding: 100px 0;
    background-color: #111;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
}

.media-item h3 {
    color: #D4AF37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.spotify-player,
.soundcloud-player,
.youtube-player {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* Desktop-first styles - original styling restored */
.spotify-player,
.soundcloud-player,
.youtube-player {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.youtube-player iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: 10px;
}

.spotify-player,
.soundcloud-player {
    margin-bottom: 2rem;
}

.spotify-player iframe,
.soundcloud-player iframe {
    width: 100%;
    height: 380px;
    border-radius: 10px;
}

/* Mobile-only styling overrides */
@media (max-width: 767px) {
    /* Mobile YouTube player - reverted to original larger size */
    .youtube-player {
        width: 85%;
        max-width: 340px;
        margin: 1.5rem auto;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        overflow: hidden;
    }

    .youtube-player iframe {
        width: 100% !important;
        height: 380px !important; /* Reverted to original height */
        border: none;
        border-radius: 12px;
        display: block;
    }

    /* Mobile Spotify and SoundCloud embeds - reverted to original sizes */
    .spotify-player,
    .soundcloud-player {
        width: 85%;
        max-width: 340px;
        margin: 1.5rem auto;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        overflow: hidden;
    }

    /* Reverted to original heights */
    .spotify-player iframe,
    .soundcloud-player iframe {
        width: 100% !important;
        height: 380px !important; /* Reverted to original height matching other embeds */
        border-radius: 12px;
        border: none;
    }

    /* Mobile video containers - natural video size without black banners */
    .video-container,
    #workshop-highlights .video-container {
        width: 85%;
        margin: 1.5rem auto;
        max-width: 320px;
        height: auto; /* Natural height instead of fixed aspect ratio */
        padding-bottom: 0; /* Remove padding that creates black banners */
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        position: relative;
    }
    
    /* Shows grid video containers - natural video size without black banners */
    .shows-grid .video-container {
        width: 85%;
        margin: 0 auto;
        margin-bottom: 1.5rem;
        max-width: 320px;
        height: auto; /* Natural height instead of fixed aspect ratio */
        padding-bottom: 0; /* Remove padding that creates black banners */
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        position: relative;
    }
    
    /* Shows section videos - natural size without positioning tricks */
    .shows-grid .video-container .show-video {
        position: relative; /* Remove absolute positioning */
        width: 100%;
        height: auto; /* Natural height */
        object-fit: contain;
        object-position: center;
        border-radius: 0;
        pointer-events: auto;
        border: none;
        outline: none;
        background: transparent;
        display: block;
    }
    
    /* Workshop highlights videos - natural size without positioning tricks */
    #workshop-highlights .video-container .show-video {
        object-fit: contain;
        position: relative; /* Remove absolute positioning */
        width: 100%;
        height: auto; /* Natural height */
        border-radius: 0;
        background: transparent;
        border: none;
        outline: none;
        display: block;
    }
    
    /* Mobile video functionality - ensure proper behavior */
    .video-container .show-video[autoplay] {
        -webkit-playsinline: true;
    }
    
    /* Mobile video overlays - position over natural-sized videos */
    .video-container .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: auto;
    }
    
    .video-container .play-icon {
        font-size: 2rem; /* Slightly smaller play icon for mobile */
    }
    
    /* Mobile media grid adjustments */
    .media-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .media-item {
        margin-bottom: 2rem;
    }
    
    .media-item h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Mobile shows grid adjustments */
    .shows-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .show-card {
        margin-bottom: 1.5rem;
        /* Remove any padding that could add space around videos */
        padding: 0;
    }
    
    .show-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        text-align: center;
        padding: 0 0.5rem;
    }
}

/* Desktop adjustments */
@media (min-width: 768px) {
  /* Show desktop language switcher, hide mobile version */
  .desktop-only {
    display: flex !important;
  }
  
  .mobile-language-switcher {
    display: none !important;
  }
  
  /* Hide mobile close button on desktop */
  .nav-close {
    display: none !important;
  }
  
  /* Desktop YouTube player - enhanced for better text visibility */
  .youtube-player {
    overflow: visible !important; /* Allow iframe to extend beyond container */
  }
  
  .youtube-player iframe {
    width: 110% !important;       /* Increase width by 10% for better text visibility */
    height: 380px !important;     /* Keep original height */
    margin-left: -5% !important;  /* Center iframe since it's wider than parent */
    border-radius: 10px !important; /* Match rounded edges of Spotify and SoundCloud */
  }
}

.spotify-player:hover,
.soundcloud-player:hover,
.youtube-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Shows Section */
.shows {
    padding: 100px 0;
    background-color: #000;
}

.shows .section-title {
    margin-bottom: 3rem;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Show Card Styling */
.show-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.show-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

/* Show Subsections */
.show-subsection {
    margin-bottom: 4rem;
}

.show-subsection .shows-grid {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.subsection-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.subsection-intro p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    text-align: center;
}

.subsection-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Center videos in Show Compilations section */
#show-compilations .shows-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

/* Workshop Highlights section - reuse LIVE SHOWS styling */
#workshop-highlights .shows-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

#workshop-highlights .show-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#workshop-highlights .show-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

#workshop-highlights .video-container {
    position: relative;
    width: 100%;
    height: auto; /* Natural height instead of fixed aspect ratio */
    padding-bottom: 0; /* Remove padding that creates black banners */
    border-radius: 0; /* Remove rounded corners for consistency */
    overflow: visible;
    box-shadow: none; /* Remove shadows for clean look */
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

#workshop-highlights .video-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

#workshop-highlights .show-video {
    position: relative; /* Remove absolute positioning */
    width: 100%;
    height: auto; /* Natural height */
    object-fit: contain; /* Preserve aspect ratio and show full content */
    border-radius: 0; /* Remove rounded corners */
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
    display: block;
}

#workshop-highlights .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#workshop-highlights .play-icon {
    font-size: 3rem;
    color: #D4AF37;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#workshop-highlights .video-overlay:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

#workshop-highlights .video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

#workshop-highlights .video-container.playing .play-icon {
    opacity: 0;
}

/* Downloads Section */
.downloads-section {
    padding: 1.5rem 0;
    background-color: #111;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.downloads-content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.downloads-description {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #137547;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 117, 71, 0.3);
    white-space: nowrap;
    min-width: 200px;
}

.download-btn:hover {
    background-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    font-size: 1.2rem;
}

/* Call-to-Action Section */
.cta-section {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #111;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #D4AF37;
    margin-top: 2rem;
    letter-spacing: 0.05em;
}

.get-lucky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    min-height: 44px;
    min-width: 44px;
}

.get-lucky-btn:hover {
    transform: scale(1.05);
}

.get-lucky-btn:active {
    transform: scale(0.95);
}

.get-lucky-btn.spinning {
    animation: spin 0.6s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lucky-badge {
    width: 120px;
    height: auto;
    object-fit: contain;
    animation: heartbeat 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.lucky-badge:hover {
    filter: drop-shadow(0 8px 25px rgba(212, 175, 55, 0.5));
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}







/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio for vertical videos */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* Video Styling */
.show-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Video Overlay with Play Icon */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-icon {
    font-size: 3rem;
    color: #D4AF37;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-overlay:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Video Playing State */
.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-container.playing .play-icon {
    opacity: 0;
}

/* Show Description - Removed as requested */

/* Social Proof Section */
.featured-in {
    padding: 1.5rem 0;
    background-color: #111;
    text-align: center;
}

.featured-in h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}



.featured-logos {
    display: flex;
    justify-content: space-between; /* equal edge-to-edge spacing */
    align-items: center;
    max-width: 1200px;  /* constrain the row's total width */
    margin: 0 auto;     /* center the row in the page */
}

.brand-item {
    opacity: 1;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.featured-logos a {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.featured-logos a:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8));
}

.featured-logo {
    max-width: 120px;    /* restore original sizing */
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1 !important;
}

/* Consistent logo sizing for all featured logos */

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #000;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 2px solid #137547;
    border-radius: 5px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.submit-btn {
    padding: 1rem 2rem;
    background-color: #D4AF37;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    background-color: #137547;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: #000;
    border-top: 1px solid #137547;
}

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

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #D4AF37;
    transform: translateY(-3px);
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Workshops page – keep Bootcamp textbox intact on small screens */
    .workshops-page .bootcamp-section {
        position: relative;          /* allow content to size naturally */
        height: auto;                /* avoid forcing viewport height on small screens */
        padding: 3rem 0;             /* breathing room above/below */
        display: flex;
        align-items: center;
        min-height: 100vh;
    }

    .workshops-page .bootcamp-content {
        width: 92vw;                 /* snug to viewport without touching edges */
        max-width: 640px;            /* keep proportion similar to desktop */
        margin: 0 auto;              /* centered */
        padding: 2rem 1.25rem;       /* balanced internal spacing */
        transform: translateY(-2rem) !important; /* move entire box up by 2rem on mobile - override desktop */
    }

    .workshops-page .bootcamp-title {
        text-align: center;
        font-size: 1.75rem;
    }

    .workshops-page .workshop-tagline {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .workshops-page .content-wrapper {
        align-items: stretch;       /* prevent collapse/misalignment */
        gap: 1.25rem;
    }

    .workshops-page .workshop-description {
        max-width: 100%;
        text-align: left;
    }

    .workshops-page .feature-list {
        width: 100%;                /* keep group width predictable */
        margin: 0 auto;
        align-items: flex-start;    /* left align items inside */
    }

    .workshops-page .feature-list li {
        grid-template-columns: 1.2rem auto; /* slightly tighter icon column */
        column-gap: 0.75rem;
    }

    .workshops-page .book-button {
        width: 100%;                /* large tap target */
        text-align: center;
        margin-top: 0.5rem;
    }

    /* Mobile Live Shows video styling - ensure desktop-style play overlay */
    .video-container {
        position: relative;
        overflow: hidden;
    }

    .show-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1); /* Very light overlay to see first frame clearly */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        cursor: pointer;
        z-index: 2;
    }

    .play-icon {
        width: 0 !important;
        height: 0 !important;
        border-left: 2rem solid #D4AF37 !important;
        border-top: 1.2rem solid transparent !important;
        border-bottom: 1.2rem solid transparent !important;
        opacity: 0.8 !important;
        transition: all 0.3s ease !important;
        pointer-events: none;
        font-size: 0 !important; /* Hide the emoji */
        color: transparent !important; /* Hide any text */
        text-indent: -9999px !important; /* Move text out of view */
        overflow: hidden !important;
        margin-left: 0.3rem; /* Center the triangle */
        background: transparent !important;
    }

    .video-overlay:hover .play-icon,
    .video-overlay:active .play-icon {
        opacity: 1;
        transform: scale(1.1);
    }

    /* Video playing state */
    .video-container.playing .video-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .video-container.playing .play-icon {
        opacity: 0;
    }

    /* Mobile loader layout changes */
    .loading-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
    }

    /* Position clover above text */
    .clover-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0;
        order: 1;
    }

    .heartbeat-clover {
        /* Responsive sizing for tablet - 5x larger */
        width: 600px;
        height: 600px;
    }
    
    /* Position text container below clover - move up to reduce gap by 50% */
    .loading-text-container {
        position: relative;
        margin-top: -1rem;
        order: 2;
    }
    
    /* Increase text size by 50% (1.1rem * 1.5 = 1.65rem) */
    .loading-text {
        font-size: 1.65rem; /* 50% increase from 1.1rem */
        letter-spacing: 0.06em; /* Balanced letter spacing */
        /* Force single line display */
        white-space: nowrap !important;
        line-height: 1 !important;
        /* Ensure both layers use identical metrics */
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        padding: 0.5rem 1rem;
        /* Ensure text fits on screen */
        max-width: 100vw;
        overflow: visible;
        position: relative;
        display: inline-block;
        /* Prevent any text wrapping */
        word-break: keep-all;
        word-wrap: normal;
    }
    
    /* Tablet: Use exact same approach as desktop for consistency */
    .loading-text::before {
        content: 'THE LUCKY ONE';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        color: #D4AF37;
        overflow: hidden;
        white-space: nowrap;
        text-align: left;
        padding: inherit;
        font-size: 1.65rem; /* Match main text size */
        letter-spacing: 0.06em; /* Match main text spacing */
        /* Simple animation - same as desktop */
        animation: fillText 1.5s ease-in-out forwards;
    }
    
    .loading-text-container {
        margin-top: -4rem;
        /* Prevent container from causing wrapping */
        overflow: visible;
        white-space: nowrap;
        /* Ensure container accommodates full text */
        width: 100vw;
        max-width: none;
        /* Center content properly */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Reduce video size on mobile */
    .hero-bg-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(0.8);
    }
    
    /* Fix featured logos layout on mobile */
    .featured-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .featured-logo {
        max-width: 80px;
        height: auto;
        flex-shrink: 0;
    }
    
    .nav-logo-image {
        width: 30px;
        height: 30px;
    }
    
    .hero-logo-image {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-image {
        width: 160px;
        height: 160px;
    }
    
    /* Navbar social links removed - now in hero section */
    
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -300px;
        top: 0;
        height: 50vh; /* Adjusted to ensure Contact ends at half screen height */
        width: 300px;
        flex-direction: column;
        background: transparent; /* Remove solid black background */
        backdrop-filter: blur(20px);
        text-align: left;
        transition: left 0.4s ease;
        padding: 80px 0 1rem 0; /* Reduced bottom padding */
        align-items: flex-start;
        justify-content: space-between; /* Distribute items evenly */
        z-index: 1000;
        box-shadow: none; /* Remove dark backdrop shadow */
        border-radius: 0 0 20px 0; /* Rounded bottom-right corner */
    }
    
    .nav-menu a {
        background-color: transparent;
        padding: 0.4rem 2rem; /* Reduced spacing to fit Contact at 50% screen height */
        margin: 0;
        border-radius: 0;
        width: 100%;
        display: block;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* More subtle borders */
        flex-shrink: 0; /* Prevent items from shrinking */
    }

    .nav-menu a:hover {
        background-color: rgba(212, 175, 55, 0.1);
        color: #D4AF37;
        padding-left: 2.5rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Mobile menu backdrop overlay */
    .menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 999;
    }
    
    .menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile menu close button */
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
        font-size: 1.5rem;
        transition: all 0.3s ease;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-close:hover {
        color: #D4AF37;
        background: rgba(212, 175, 55, 0.2);
        transform: rotate(90deg);
    }
    
    /* Mobile language switcher positioning - aligned with hamburger menu middle line */
    .mobile-language-switcher {
        position: fixed;
        top: calc(1rem + 7.5px); /* 1rem navbar padding + hamburger middle line position (6px + 1.5px) */
        right: 20px;
        display: flex;
        align-items: center;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        transform: translateY(-50%); /* Center the flag icon itself on the calculated line */
    }
    
    /* Show mobile language switcher when menu is active */
    .mobile-language-switcher.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hide desktop language switcher on mobile */
    .desktop-only {
        display: none !important;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-social-links {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .hero-social-link {
        font-size: 1.95rem;
    }
    
    /* Ensure smooth video transitions on mobile */
    .hero-bg-video {
        transition: opacity 0.8s ease-in-out;
    }
    
    .hero-logo-image {
        width: 60px;
        height: 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    


    .shows-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
    }
    
    #show-compilations .shows-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    #workshop-highlights .shows-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
    }
    
    /* Reduce vertical spacing between Latest Releases and Live Shows by 50% */
    .media {
        padding: 100px 0 50px 0; /* Reduce bottom padding from 100px to 50px */
    }
    
    .shows {
        padding: 50px 0 100px 0; /* Reduce top padding from 100px to 50px */
    }
    
    /* Reduce vertical spacing between Workshops Highlights and Lucky Academy by 50% */
    #workshop-highlights {
        padding: 100px 0 50px 0; /* Reduce bottom padding from 100px to 50px */
    }
    
    .formula-section {
        padding: 50px 0 100px 0; /* Reduce top padding from 100px to 50px */
    }
    
    /* Hide FunX DJ Battle sentences on mobile to fix CTA overlap */
    .mobile-hide {
        display: none !important;
    }

    
    .subsection-intro p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
        text-align: center;
    }
    
    .subsection-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
    
    .lucky-badge {
        width: 100px;
    }
    
    .downloads-content {
        padding: 2rem 1rem;
    }
    
    .cta-section,
    .downloads-section,
    .social-proof {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 1.5rem 0;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
        max-width: 600px;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        min-width: auto;
        width: 100%;
    }
    
    .downloads-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .arrow-container {
        height: 30px;
        margin: 0.5rem 0;
    }
    
    .arrow {
        height: 20px;
    }
    
    .show-title {
        font-size: 1rem;
    }
    



    .featured-logos {
        gap: 2rem;
        max-width: 100%;
        margin: 0 1rem;
    }

    .brand-item {
        /* Brand item styling handled by images */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .brand-logo {
        height: 45px; /* Smaller on mobile */
    }
    
    .featured-logo {
        max-width: 80px; /* Smaller on mobile */
        height: auto;
    }

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

@media (max-width: 480px) {
    /* Mobile Live Shows video styling - ensure desktop-style play overlay */
    .video-container {
        position: relative;
        overflow: hidden;
    }

    .show-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1); /* Very light overlay to see first frame clearly */
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        cursor: pointer;
        z-index: 2;
    }

    .play-icon {
        width: 0;
        height: 0;
        border-left: 1.5rem solid #D4AF37 !important; /* Slightly smaller for small mobile */
        border-top: 1rem solid transparent !important;
        border-bottom: 1rem solid transparent !important;
        opacity: 0.8 !important;
        transition: all 0.3s ease !important;
        pointer-events: none;
        font-size: 0 !important; /* Hide the emoji */
        color: transparent !important; /* Hide any text */
        text-indent: -9999px !important; /* Move text out of view */
        overflow: hidden !important;
        margin-left: 0.2rem; /* Center the triangle */
        background: transparent !important;
    }

    .video-overlay:hover .play-icon,
    .video-overlay:active .play-icon {
        opacity: 1;
        transform: scale(1.1);
    }

    /* Video playing state */
    .video-container.playing .video-overlay {
        opacity: 0;
        pointer-events: none;
    }

    .video-container.playing .play-icon {
        opacity: 0;
    }

    /* Mobile loader layout changes */
    .loading-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
    }

    /* Position clover above text */
    .clover-logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0;
        order: 1;
    }

    .heartbeat-clover {
        /* Responsive sizing for mobile - 5x larger */
        width: 450px;
        height: 450px;
    }
    
    /* Position text container below clover - move up to reduce gap by 50% */
    .loading-text-container {
        position: relative;
        margin-top: -1rem;
        order: 2;
        /* Prevent container from causing wrapping */
        overflow: visible;
        white-space: nowrap;
        /* Ensure container is wide enough but doesn't overflow */
        width: 100vw;
        max-width: none;
        /* Center content properly */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Increase text size by 50% (0.9rem * 1.5 = 1.35rem) */
    .loading-text {
        font-size: 1.35rem; /* 50% increase from 0.9rem */
        letter-spacing: 0.04em; /* Reduced letter spacing to save space */
        /* Force single line display */
        white-space: nowrap !important;
        line-height: 1 !important;
        /* Ensure consistent positioning */
        position: relative;
        display: inline-block;
        /* Force both layers to use identical metrics */
        font-weight: 700;
        font-family: 'Poppins', sans-serif;
        padding: 0.5rem 1rem;
        /* Ensure container doesn't overflow viewport */
        max-width: 100vw;
        overflow: visible;
        /* Prevent any text wrapping */
        word-break: keep-all;
        word-wrap: normal;
    }
    
    /* Mobile: Use exact same approach as desktop for consistency */
    .loading-text::before {
        content: 'THE LUCKY ONE';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        color: #D4AF37;
        overflow: hidden;
        white-space: nowrap;
        text-align: left;
        padding: inherit;
        font-size: 1.35rem; /* Match main text size */
        letter-spacing: 0.04em; /* Match main text spacing */
        /* Simple animation - same as desktop */
        animation: fillText 1.5s ease-in-out forwards;
    }
    
    .loading-text-container {
        margin-top: -3rem;
        /* Prevent container from causing wrapping */
        overflow: visible;
        white-space: nowrap;
        /* Ensure container is wide enough but doesn't overflow */
        width: 100vw;
        max-width: none;
        /* Center content properly */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav-logo-image {
        width: 25px;
        height: 25px;
    }
    
    .hero-logo-image {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo-image {
        width: 140px;
        height: 140px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo-image {
        width: 50px;
        height: 50px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
    
    /* Further reduce video size on small mobile */
    .hero-bg-video video {
        transform: scale(0.6);
    }
    
    /* Smaller featured logos on small mobile */
    .featured-logo {
        max-width: 60px;
    }
    
    /* Better navigation spacing on small mobile */
    .nav-menu a {
        padding: 0.5rem 1rem;
        margin: 0.15rem 0;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Workshops Page Styles */
.workshops-page {
    background-color: #000;
}

/* Workshop Hero Section */
.workshop-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.workshop-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.workshop-hero .hero-overlay {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

/* Bootcamp Section */
.bootcamp-section {
    position: absolute;
    top: var(--navbar-height, 0px);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.bootcamp-section .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.bootcamp-section .section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.workshop-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.flag-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.bootcamp-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.workshop-tagline {
    text-align: center;
    font-style: italic;
    font-size: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 800px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.bootcamp-content {
    max-width: 800px;
    padding: 6rem 2rem 3rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Workshops only: nudge the black text box upward by 0.5rem without altering inner spacing */
.workshops-page .bootcamp-content {
    transform: translateY(-0.5rem);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.workshop-description {
    max-width: 42rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    align-items: center; /* Center group horizontally */
    width: fit-content; /* Group width matches content */
    margin-inline: auto; /* Center as a unit */
}

.feature-list li {
    display: grid; /* Stable icon column + text column */
    grid-template-columns: 1.25rem auto; /* Fixed icon column */
    column-gap: 1rem;
    align-items: center;
    justify-content: center; /* Center the two-column block */
    width: auto; /* Do not stretch to full width */
}

.feature-list i {
    color: #137547;
    margin-right: 0; /* Grid gap handles spacing */
    width: 1.25rem; /* Explicit width to align checks vertically */
    text-align: center; /* Center the icon within its column */
}

.book-button {
    display: inline-block;
    margin-top: -0.5rem;
    padding: 1rem 2rem;
    background-color: #137547;
    color: #fff;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.book-button:hover {
    background-color: #D4AF37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #111;
}

.partners-carousel-container {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
}

/* Add gradient masks for smooth fading on sides */
.partners-carousel-container::before,
.partners-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.partners-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 100%);
}

.partners-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0) 100%);
}

.partners-carousel {
    display: flex;
    align-items: center;
    gap: 3rem; /* equalized horizontal spacing between all logos */
    width: max-content;
    will-change: transform;
}

.carousel-item {
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: center;
    /* Uniform visual footprint for all logos (1.5x larger than before) */
    width: 180px;   /* was ~120px */
    height: 120px;  /* maintain generous box for tall logos */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Per-request: make Nova College and JJI Lelystad appear 2x within the same footprint */
.carousel-item.logo-double {
    transform: scale(2);
}

/* Remove hover-based scaling to keep constant motion */
.carousel-item:hover {
    transform: none;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.2s linear; /* transform-only for GPU smoothness */
}

/* No hover effects on logos */
.carousel-item:hover .partner-logo {
    transform: none;
    filter: none;
}

/* Center-focused scaling classes */
.carousel-item.center {
    transform: scale(1.2);
    z-index: 5;
}

.carousel-item.near-center {
    transform: scale(1.1);
    z-index: 3;
}

.carousel-item.far {
    transform: scale(0.9);
    z-index: 1;
}

.carousel-item.edge {
    transform: scale(0.8);
    z-index: 1;
}

.partner-item {
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.partner-item:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8));
}

.partner-item img {
    max-width: 120px;    /* same as featured logos */
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #000;
    position: relative;       /* allow absolute background video */
    min-height: 100vh;        /* full viewport height */
    overflow: hidden;         /* hide bleed from cover scaling */
    display: flex;            /* center the box within video area */
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
    overflow: hidden;
}

/* Shared textbox wrapper for title + slider */
.testimonials-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.88); /* about ~30% darker than previous 0.8 */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
    /* match Bootcamp translucent panel */
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Full-bleed background video for testimonials */
.testimonials-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;              /* put video above section background */
    pointer-events: none;    /* ignore interactions */
}

/* Ensure content appears above the video */
.testimonials-section > .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(19, 117, 71, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

/* Remove hover movement on testimonials */
.testimonial-card:hover {
    transform: none;
}

.quote {
    font-size: 1.1rem;
    color: #fff;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.quote-author {
    color: #D4AF37;
    font-weight: 600;
    text-align: center;
    display: block;
}

.author-name {
    color: #D4AF37;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Formula Section */
.formula-section {
    padding: 100px 0;
    background: linear-gradient(to top, rgba(19, 117, 71, 0.1), rgba(0, 0, 0, 0.8));
}

/* Reduce vertical spacing between Workshops Highlights and Lucky Academy by 50% on desktop */
#workshop-highlights {
    padding: 100px 0 50px 0; /* Reduce bottom padding from 100px to 50px */
}

.formula-section {
    padding: 50px 0 100px 0; /* Reduce top padding from 100px to 50px */
}

.formula-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.formula-subtitle {
    font-size: 1.8rem;
    color: #D4AF37;
    margin-bottom: 2rem;
    font-weight: 600;
}

.formula-description {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background-color: #137547;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-top: 1rem; /* Move down by 1rem */
}

.formula-cta {
    margin-top: 1rem;
}

/* Individual button positioning */
.coming-soon .cta-button {
    margin-top: 2rem; /* Move down by 2rem */
    /* Global consistency - ensure identical appearance across all languages */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #137547 0%, #16a34a 100%);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Prevent text wrapping */
    min-width: 200px; /* Ensure consistent width */
    box-sizing: border-box;
}

/* Consistent hover effects across all languages */
.coming-soon .cta-button:hover {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 117, 71, 0.3);
}

.coming-soon .cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(19, 117, 71, 0.2);
}

/* Ensure icon is always visible and properly styled */
.coming-soon .cta-button i.fas.fa-envelope {
    display: inline-block !important;
    margin-right: 8px !important;
    color: #fff !important;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bootcamp-content {
        padding: 4rem 1.5rem 2rem 1.5rem; /* Reverted to normal bottom padding */
        margin: 0 1rem;
    }

    .workshop-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .feature-list {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .book-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        margin-bottom: 1rem; /* Normal bottom margin since box is moved up */
        position: relative; /* Ensure proper stacking on mobile */
        z-index: 10; /* Higher z-index to stay above other content on mobile */
    }

    .formula-content {
        padding: 1.5rem;
    }

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

    .formula-subtitle {
        font-size: 1.5rem;
    }

    .partners-carousel-container {
        max-width: 100%;
        margin: 0 1rem;
        overflow-x: hidden; /* prevent accidental horizontal scroll */
    }

    /* Adjust fade width for mobile */
    .partners-carousel-container::before,
    .partners-carousel-container::after {
        width: 60px;
    }



    .partners-carousel {
        max-width: 100%;
        margin: 0 1rem;
        padding: 1.5rem 0;
        gap: 2rem; /* slightly tighter on small screens */
    }

    .partner-item img {
        max-width: 80px; /* Smaller on mobile */
        height: auto;
    }

    .testimonials-slider {
        margin: 1.5rem auto 0;
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #137547;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Language Switcher - Perfect Positioning & Visibility */
.language-switcher {
    margin-left: 1rem;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0; /* remove extra vertical padding */
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0; /* tighter to restore navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    height: auto;
    min-height: 0;
    border-radius: 9999px; /* fully circular */
}

.language-btn:hover {
    transform: scale(1.1);
    background-color: transparent; /* remove grey hover background */
}

.language-flag {
    width: 18px; /* restore compact size */
    height: 18px;
    object-fit: cover;
    border-radius: 50%; /* circle */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    flex-shrink: 0;
}

/* Ensure flag stays centered and visible on mobile */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0.5rem;
        padding: 0.25rem 0; /* Reduced padding on mobile */
    }
    .language-btn {
        min-height: 40px;
        padding: 0.2rem;
    }
    .language-flag {
        width: 18px; /* Same as desktop for round appearance */
        height: 18px; /* Same as desktop for round appearance */
        border-radius: 50%; /* Ensure circular shape on mobile */
        object-fit: cover; /* Maintain proper scaling */
    }
}

/* Ensure flag is never cropped */
.nav-menu {
    align-items: center; /* Center all nav items vertically */
}

.nav-menu li {
    display: flex;
    align-items: center; /* Center each nav item */
    height: 100%;
} 

/* Workshops-only: lock tick/text alignment and group centering */
.workshops-page .feature-list {
    /* Keep existing typography; only control layout */
    width: max-content;            /* Center as a unit regardless of text length */
    margin: 0 auto;                /* Center the whole list block */
    align-items: flex-start;       /* Keep items left-aligned inside the group */
    text-align: left;              /* Ensure text stays left-aligned */
}

/* Video loading spinner */
.loading-spinner {
    font-size: 2rem;
    color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.workshops-page .feature-list li {
    display: grid;                 /* Fixed icon column + flexible text column */
    grid-template-columns: 1.35rem auto; /* Slightly wider column for perfect icon alignment */
    column-gap: 0.9rem;            /* Equal spacing between tick and text */
    align-items: center;
    justify-content: start;        /* Do not re-center based on text length */
}

.workshops-page .feature-list i {
    width: 1.35rem;                /* Exact width so all ticks share one vertical column */
    text-align: center;            /* Center icon within its column */
    margin-right: 0;               /* Gap handles spacing */
}