:root {
    --primary: #0a192f;
    --accent: #64ffda;
    --bg: #0a192f;
    --vibrant-blue: #00f2ff;
    --text-bright: #ffffff;
    --text-dim: #d1e8ff;
    --text-muted: #a3c9ff;
    --transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Syncopate', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 3000;
    transition: width 0.2s ease-out;
    opacity: 0.8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text-bright);
    overflow-x: hidden;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   STICKY BOOKING BUTTON
   ========================================================================== */
.sticky-booking {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    background: var(--accent);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-booking:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--text-bright);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.65);
    z-index: -1;
}

.hero-brand {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 12px;
    color: var(--vibrant-blue);
    margin-bottom: 25px;
    display: block;
    text-transform: uppercase;
}

.hero-text h1 {
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 10vw, 6.5rem);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.85;
    background: linear-gradient(180deg, #ffffff 30%, var(--vibrant-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.elegant-subtitle {
    font-family: var(--font-elegant);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: var(--text-dim);
    letter-spacing: 0.05em;
    margin-top: 25px;
    max-width: 800px;
}

/* ==========================================================================
   GENERAL SECTIONS
   ========================================================================== */
section:not(#home) {
    min-height: 100vh;
    padding: 100px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

section:not(#home)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.88);
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-main);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    text-transform: uppercase;
    font-weight: 900;
    color: var(--accent);
    text-align: center;
    margin-top: 0;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 16px rgba(100, 255, 218, 0.5);
}

/* Tighter top padding when sections follow each other */
#about,
#lessons,
#mentors,
#spots,
#gallery,
#testimonials,
#trust,
#faq,
#contact {
    padding-top: 40px;
}

/* Extra breathing room before footer */
section:not(#home):last-of-type,
#contact {
    padding-bottom: 160px;
}

/* Background images */
#about {
    background-image: url('../assets/images/teach.webp') !important;
}

#mentors {
    background-image: url('../assets/images/mentor.webp') !important;
}

#gallery {
    background: var(--bg) !important;
}

#lessons {
    background-image: url('../assets/images/lesson.webp') !important;
}

#prices {
    background-image: url('../assets/images/price.webp') !important;
}

#spots {
    background-image: url('../assets/images/spot.webp') !important;
}

#events {
    background-image: url('../assets/images/din-camp-baggrund.webp') !important;
}

#contact {
    background-image: url('../assets/images/faq.webp') !important;
}

#faq {
    background-image: url('../assets/images/faq.webp') !important;
}

#trust {
    background-image: url('../assets/images/trust.webp') !important;
}

#community-days {
    background-image: url('../assets/images/community.webp') !important;
}

/* ==========================================================================
   CONTENT GRID & CARDS
   ========================================================================== */
.content-grid,
.gallery-grid,
.trust-grid {
    margin-top: 30px;
    margin-bottom: 60px;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    width: 100%;
    justify-content: center;
}

.card {
    background: rgba(17, 34, 64, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    padding-bottom: 35px;
    flex: 1 1 320px;
    max-width: 380px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(100, 255, 218, 0.18);
    border-color: var(--accent);
    background: rgba(17, 34, 64, 0.85);
}

.card-body {
    padding: 35px;
    text-align: left;
}

.card h3 {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

/* Mentor-specific */
.mentor-card {
    text-align: center;
    padding: 40px;
}

.mentor-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    margin-bottom: 25px;
    filter: grayscale(0.5);
    transition: 0.4s;
}

.mentor-card:hover .mentor-img {
    filter: grayscale(0);
    transform: scale(1.05);
    border-color: var(--vibrant-blue);
}

/* ==========================================================================
   GALLERY – Polished hover & scroll-reveal captions
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-info-tab {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 80%, transparent 100%);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 2;
}

.gallery-item:hover .gallery-info-tab {
    transform: translateY(0);
}

.info-category {
    color: var(--accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.gallery-info-tab h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.gallery-info-tab p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 15px;
}

.info-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-item.mobile-reveal .gallery-info-tab {
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(100, 255, 218, 0.18);
    border-color: rgba(100, 255, 218, 0.35);
}

.gallery-item img {
    transition: transform 1s ease;
    filter: brightness(0.92) contrast(1.05);
}

.gallery-item:hover img {
    transform: scale(1.14);
    filter: brightness(1.08) contrast(1.12);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(100, 255, 218, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 16px;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item.tall {
    aspect-ratio: 3 / 5;
    grid-row: span 2;
}

.gallery-item.wide {
    aspect-ratio: 5 / 3;
    grid-column: span 2;
}

.gallery-caption {
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.92) 0%, transparent 60%);
    color: white;
    padding: 24px 28px;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(60px);
    pointer-events: none;
    animation: none;
}

.gallery-item.visible .gallery-caption {
    animation: captionReveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes captionReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

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

/* Mobile fallback – captions always visible, no animation */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 4 / 5;
    }

    .gallery-item {
        min-height: 360px;
    }

    .gallery-caption {
        opacity: 1 !important;
        transform: translateY(0) !important;
        background: rgba(10, 25, 47, 0.88);
        animation: none !important;
    }
}

/* ==========================================================================
   PRICE & CARD LIST STYLES
   ========================================================================== */
.price-tag {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--vibrant-blue);
    margin: 25px 0;
    text-align: center;
}

.price-per {
    font-size: 1.1rem;
    color: var(--text-dim);
    text-align: center;
    margin: 0 auto 25px;
    font-weight: 400;
    line-height: 1.3;
}

.card ul {
    list-style: none;
    padding: 0 35px;
    margin-bottom: 35px;
}

.card ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-dim);
    position: relative;
    padding-left: 25px;
}

.card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.card-link {
    font-family: var(--font-heading);
    display: block;
    text-align: center;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   OTHER SHARED STYLES
   ========================================================================== */
.lesson-intro,
.reveal>div:not(.content-grid):not(.gallery-grid):not(.trust-grid) {
    margin-bottom: 70px;
}

.social-link {
    color: white;
    transition: 0.3s;
}

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

/* Touch & keyboard */
a,
button,
.faq-question,
.nav-dot {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--vibrant-blue);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.3);
}


/* ==========================================================================
   TRUST SECTION
   ========================================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trust-card {
    text-align: center;
    padding: 50px 30px;
    background: rgba(17, 34, 64, 0.4);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 24px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.trust-card:hover {
    border-color: var(--vibrant-blue);
    transform: translateY(-10px);
    background: rgba(17, 34, 64, 0.6);
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 25px;
    display: block;
}

.trust-card h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
#testimonials {
    background: rgba(10, 25, 47, 0.5) !important;
}

.testimonial-container {
    max-width: 800px;
    position: relative;
    text-align: center;
    padding: 40px;
}

.testimonial-card {
    display: none;
    padding: 40px;
    background: rgba(17, 34, 64, 0.4);
    border-radius: 30px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease;
}

.testimonial-card.active {
    display: block;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.client-info strong {
    display: block;
    color: var(--vibrant-blue);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.testimonial-nav {
    margin-top: 30px;
}

.nav-dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.nav-dot.active {
    background-color: var(--accent);
    width: 30px;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ==========================================================================
   INSTAGRAM FEED
   ========================================================================== */
.instagram-feed {
    width: 100%;
    text-align: center;
    margin-top: 80px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.insta-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.insta-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.insta-btn {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    transition: 0.3s;
}

.insta-btn:hover {
    background: #fff;
    color: #000;
}

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

/* ==========================================================================
   FORM STYLES
   ========================================================================== */
.booking-form {
    background: rgba(17, 34, 64, 0.75);
    padding: 60px;
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(20px);
}

.booking-form input,
.booking-form textarea,
.booking-form select {
    width: 100%;
    padding: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    outline: none;
    font-family: var(--font-main);
    transition: 0.3s;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.booking-form select {
    appearance: none;
    cursor: pointer;
}

.booking-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    font-family: var(--font-heading);
    min-width: 220px;
    max-width: 320px;
    padding: 18px 32px;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 12px;
    transition: 0.4s;
    cursor: pointer;
    text-align: center;
}

.submit-btn:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
}

@media (max-width: 767px) {
    .submit-btn {
        width: 100%;
        max-width: none;
        min-width: auto;
        padding: 18px 24px;
    }
}

/* ==========================================================================
   LESSON CARDS - Fixed image sizing
   ========================================================================== */
#lessons .card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(17, 34, 64, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

#lessons .card>.card-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

#lessons .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#lessons .card:hover .card-img {
    transform: scale(1.08);
    transition: transform 0.6s ease;
    filter: brightness(0.92);
}

/* ==========================================================================
   HEADER & LOGO (non-menu part)
   ========================================================================== */
.logo {
    position: absolute;
    left: 40px;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 900;
    background: rgba(10, 25, 47, 0.55);
    padding: 4px 14px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.logo-blue {
    color: var(--vibrant-blue);
}

.logo-white {
    color: #ffffff;
}

.logo:hover {
    background: rgba(100, 255, 218, 0.15);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .logo {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        padding: 4px 12px;
        background: rgba(10, 25, 47, 0.65);
    }
}

/* ==========================================================================
   SPOT SECTION INFO TAB (from end of your file)
   ========================================================================== */
.spots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1600px;
    margin: 50px auto;
}

.spot-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    background: var(--bg);
}

.spot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.spot-tag {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.spot-info-tab h3 {
    margin: 5px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
}

.spot-card:hover .spot-info-tab p {
    opacity: 1;
}

@media (max-width: 768px) {
    .spots-grid {
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .spot-image-container {
        width: 100%;
        overflow: hidden;
        border-radius: 20px;
    }
}

@keyframes simpleFade {
    to {
        opacity: 1;
    }
}

/* When menu open, keep toggle button clickable (or hide it if you prefer) */
.overlay-menu.active~header .menu-toggle,
.menu-open .menu-toggle {
    pointer-events: auto !important;
    z-index: 10001 !important;
    /* above menu */
    opacity: 1 !important;
}

/* Optional: hide original toggle when menu open, rely on × */
.overlay-menu.active~header .menu-toggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Make sure toggle button stays clickable when menu is open */
.menu-toggle {
    pointer-events: auto !important;
    z-index: 10001 !important;
    position: relative;
}

/* Optional: slightly dim when open, rely on × */
.overlay-menu.active~header .menu-toggle {
    opacity: 0.85;
}

/* Prevent overlay from blocking clicks on toggle */
.overlay-menu {
    pointer-events: none;
}

.overlay-menu.active {
    pointer-events: auto;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    /* Using your dark bg with opacity */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Above everything, including header/menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    /* Limits height to viewport */
    display: block;
    object-fit: contain;
    /* Keeps aspect ratio */
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(100, 255, 218, 0.15);
    /* Your accent with opacity */
    color: var(--accent);
    border: none;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    color: var(--bg);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
}

/* ==========================================================================
   LEVELS / COURSE PROGRESSION CARDS
   ========================================================================== */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    width: 100%;
    max-width: 1200px;
}

.level-card {
    background: rgba(17, 34, 64, 0.7);
    /* Consistent with #lessons .card and overlay backgrounds */
    backdrop-filter: blur(10px);
    /* Matches header, overlay-menu, spot-info-tab */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    border-radius: 24px;
    /* Matches #lessons .card and common rounded elements */
    border: 1px solid rgba(100, 255, 218, 0.1);
    /* Subtle teal border like cards and header.scrolled */
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    /* Matches --transition and sticky-booking */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Matches sticky-booking and header.scrolled shadow */
}

.level-card:hover {
    transform: translateY(-5px) scale(1.05);
    /* Matches sticky-booking:hover and spot-card:hover */
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
    /* Accent glow on hover like sticky-booking */
    border-color: rgba(100, 255, 218, 0.25);
    /* Brighter teal edge on interaction */
}

.level-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.6s ease;
    /* Matches #lessons .card:hover .card-img */
}

.level-card:hover img {
    transform: scale(1.1);
    /* Subtle zoom on hover like spot-card and lessons cards */
    filter: brightness(0.92);
    /* Slight dim to focus on overlay text */
}

.level-content {
    padding: 1.8rem 1.8rem 2.2rem;
    /* Consistent padding like forms and card content */
    position: relative;
    z-index: 2;
}

.level-content h3 {
    font-family: var(--font-heading);
    /* Matches logos, section titles, spot-tags */
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 0 16px rgba(100, 255, 218, 0.5);
    /* Matches section-title glow */
}

.level-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.level-content li {
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
    color: var(--text-dim);
    /* Matches elegant-subtitle and text */
    position: relative;
    padding-left: 2rem;
    line-height: 1.6;
    /* Matches body line-height */
}

.level-content li::before {
    content: "\f058";
    /* Font Awesome check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 2px;
    margin-right: 0.8rem;
}

.outcome {
    font-style: italic;
    font-family: var(--font-elegant);
    /* Matches elegant-subtitle style */
    color: var(--text-muted);
    margin-top: 1.4rem;
    font-size: 0.98rem;
    text-align: center;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    /* Subtle separator like borders site-wide */
    padding-top: 1rem;
}


/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (matching site patterns)
   ========================================================================== */
@media (max-width: 768px) {
    .levels-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        /* Matches mobile spots-grid and sections */
    }

    .level-card {
        border-radius: 20px;
        /* Slightly smaller like spot-image-container */
    }

    .level-card img {
        height: 200px;
    }

    .level-content {
        padding: 1.5rem;
    }

    .level-content h3 {
        font-size: 1.4rem;
    }

    .level-content li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .level-card img {
        height: 180px;
    }

    .level-content {
        padding: 1.4rem;
    }
}

/* Better mobile card readability – prevents ultra-narrow feel */
@media (max-width: 480px) {
    .card {
        max-width: 100%;
        /* full width inside its container */
        margin-left: auto;
        margin-right: auto;
        min-width: 0;
        width: 100%;
        /* don't force it wider than the screen */
        padding: 20px 15px;
        /* consistent padding, not too close to edges */
        box-sizing: border-box;
    }

    .card h3,
    .card p {
        font-size: clamp(1.0rem, 4.5vw, 1.25rem);
        /* slightly smaller so it fits nicely on micro screens */
        line-height: 1.45;
    }

    /* If the downwinder has bigger heading text */
    .card h2,
    .card h1 {
        /* or target a specific class if it uses one */
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
}

.content-grid .card {
    transition: all 0.35s ease;
    background: rgba(17, 34, 64, 0.75);
    border: 1px solid rgba(100, 255, 218, 0.12);
}

.content-grid .card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(100, 255, 218, 0.15);
}

.content-grid .card i {
    transition: transform 0.4s ease;
}

.content-grid .card:hover i {
    transform: scale(1.15);
}

section:not(#home) {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    /* This makes the image relative to the screen, not the height of the section */
    background-attachment: fixed !important;
}

@media (max-width: 768px) {
    #faq {
        background-attachment: scroll !important;
    }
}

.consistent-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* This keeps the image scale relative to the screen, not the div height */
    background-repeat: no-repeat;
}

/* ==========================================================================
   UTILITY CLASSES (Typography, Layout, Components)
   ========================================================================== */

/* Typography */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-dim {
    color: var(--text-dim) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-bright {
    color: var(--text-bright) !important;
}

.text-italic {
    font-style: italic !important;
}

.font-elegant {
    font-family: var(--font-elegant) !important;
}

.font-heading {
    font-family: var(--font-heading) !important;
}

.font-main {
    font-family: var(--font-main) !important;
}

/* Spacing */
.mt-30 {
    margin-top: 30px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.py-120 {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

.px-60 {
    padding-left: 60px !important;
    padding-right: 60px !important;
}

@media (max-width: 768px) {
    .py-120 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .px-60 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Sizing */
.max-w-700 {
    max-width: 700px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
}

.max-w-800 {
    max-width: 800px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
}

.max-w-900 {
    max-width: 900px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
}

.w-full {
    width: 100% !important;
}

/* Components */
.glass-card {
    background: rgba(17, 34, 64, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 30px !important;
    border: 1px solid rgba(100, 255, 218, 0.1) !important;
}

.divider {
    height: 1px;
    background: var(--accent);
    margin: 0 auto;
    opacity: 0.5;
}

.divider-w-80 {
    width: 80px;
}

.divider-w-120 {
    width: 120px;
}

/* Unified Buttons */
.btn-primary,
.btn-outline,
.btn-solid {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--vibrant-blue));
    color: var(--bg);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
}

.btn-solid {
    background: var(--accent);
    color: var(--bg);
    border: none;
}

.btn-solid:hover {
    background: var(--text-bright);
    transform: translateY(-5px) scale(1.05);
}

/* Common Section padding to prevent inline overrides */
.section-padding-large {
    padding: 100px 0 !important;
}

.section-padding-medium {
    padding: 60px 0 50px !important;
}

.section-padding-community {
    padding: 100px 20px 140px !important;

}

.intro-quote {
    font-size: clamp(1.6rem, 1.0vw + 0.8rem, 3rem);
    line-height: 1.38;
    max-width: 80ch;
    /* Better readability than % */
    font-weight: 300;
    text-align: center;
}

/* images in IKO section */

/* Target ONLY images inside .level-card */
.level-card img {
    width: 100%;
    height: 220px;
    /* your fixed height */
    object-fit: cover;
    object-position: 50% 40%;
    /* Crops ~10-15% from top, keeps subject near center */
    display: block;
    margin-bottom: 4%;
    /* Keep your desired bottom space */
}

/* Optional safety: ensure no extra top space sneaks in from .level-content */
.level-card .level-content {
    padding-top: 0.5rem !important;
    /* minimal or zero top inside card */
}

/* If negative margin feels better (alternative to object-position) */
.level-card img {
    margin-top: -10%;
    /* pulls image up, hiding top 10% */
    margin-bottom: 4%;
}

.spot-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    /* ← keeps nice proportion */
    width: 100%;
    /* ← make sure container is fluid */
    max-width: 100%;
    /* prevent overflow */
    background: var(--bg);
}

.spot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ← this is key – crops nicely without distortion */
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

/* Optional: even better mobile experience */
@media (max-width: 768px) {
    .spot-image-container {
        aspect-ratio: 4 / 3;
        /* or 3 / 4 – taller feels better on phones */
        height: auto;
        /* let it breathe */
    }
}

.spot-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    /* Your original desktop ratio – keeps width-based height calc */
    width: 100%;
    max-width: 100%;
    background: var(--bg);
}

.spot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Prevents any weird inline spacing */
    transition: transform 0.8s ease;
}

/* Mobile override: remove fixed height, let aspect-ratio handle it */
@media (max-width: 768px) {
    .spot-image-container {
        aspect-ratio: 4 / 5;
        /* Make the image taller to fit the overlay text */
        height: auto !important;
        /* Crucial: overrides your existing 420px !important */
        width: 100%;
    }

    .spot-image-container img {
        height: 100%;
        /* Fill the aspect ratio */
    }
}

/* Base for the overlay tab – keep it clean */
.spot-info-tab {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Ensure it always spans full image width */
    padding: 35px 25px 25px 25px;
    /* Added extra top padding */
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 80%, transparent 100%);
    backdrop-filter: blur(8px);
    transform: translateY(62%);
    /* Adjust so the tag is fully visible on desktop */
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-sizing: border-box;
    z-index: 10;
    pointer-events: auto;
}

/* Show everything on active/hover, extracted from media query so it works across touch and mouse */
.spot-card:active .spot-info-tab,
.spot-image-container:focus-within .spot-info-tab,
.spot-card.tab-active .spot-info-tab,
.spot-card:hover .spot-info-tab,
.spot-image-container:active .spot-info-tab,
.spot-image-container:focus .spot-info-tab {
    transform: translateY(0) !important;
}

/* Text sizing – scale down aggressively on mobile */
.spot-info-tab .spot-tag {
    font-size: clamp(0.75rem, 3.5vw, 0.9rem);
    /* small & scales a bit */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.spot-info-tab h3 {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    /* starts smaller, grows a bit */
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.spot-info-tab p {
    font-size: clamp(0.85rem, 4vw, 1rem);
    line-height: 1.45;
    margin: 0;
    color: var(--text-dim);
}

/* Mobile-specific overrides – tighter & smaller */
@media (max-width: 768px) {
    .spot-info-tab {
        padding: 25px 20px 20px 20px;
        /* less padding = more breathing room */
        width: 100% !important;
        box-sizing: border-box !important;
        transform: translateY(75%) !important;
        /* Push down so only 'Klik her for at åbne spots' shows */
        transition: transform 0.4s ease;
    }

    .spot-info-tab .spot-tag {
        font-size: 0.70rem;
    }

    .spot-info-tab h3 {
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }

    .spot-info-tab p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .spot-info-tab {
        padding: 12px 14px;
        transform: translateY(70%) !important;
        /* Adjust slightly for smaller screens */
    }

    .spot-info-tab .spot-tag {
        font-size: 0.65rem;
        /* Scale down spot-tag as well */
    }

    .spot-info-tab h3 {
        font-size: 0.9rem !important;
    }

    .spot-info-tab p {
        font-size: 0.75rem !important;
    }
}

.spot-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    /* ← important */
    margin: 0 auto;
    border-radius: 20px;
    aspect-ratio: 16 / 9;
    /* adjust to your image's natural ratio – 16/9 or 4/3 works well */
    background: var(--bg);
}

.spot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure no parent interference */
.spot-card {
    width: 100%;
    max-width: 900px;
    /* or whatever your design wants */
    margin: 0 auto;
    padding: 0;
}