/* Ensure the body and HTML take the full height */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Prevent default scrolling behavior */
    background-color: black; /* Maintain black background across the entire scrolling area */
}

/* Full-page sections */
.homepage > div {
    height: calc(var(--vh, 1vh) * 100); /* Use custom height to prevent scroll */
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start; /* Align sections when snapping */
}

/* Scroll snapping on the container */
.homepage {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100%; /* Ensure the entire container fits the viewport */
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; /* Prevents video overflow */
    background-color: black; /* Black background */
    flex-direction: column; /* Stack items vertically */
}

.title-hero {
    font-size: 48px; /* Adjust font size */
    color: white; /* Ensure text is visible */
    position: absolute; /* Position relative to the hero container */
    bottom: 2rem; /* Force 4rem from the bottom */
    text-align: center; /* Ensure text alignment in case of multi-line text */
    z-index: 2; /* Ensure it's above the video */
    margin: 0; /* Remove default margin */
    padding-left: 10px;
    padding-right: 10px;
}

.button-container {
    display: none; /* Align items in a row */
    justify-content: center; /* Center buttons horizontally */
    gap: 1rem; /* Add spacing between buttons */
    margin-top: 1rem; /* Space above the buttons */
    position: absolute; /* Ensure it's positioned below the title */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center alignment fix */
    z-index: 3; /* Ensure it is above the video */
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); /* Account for safe area */
}

@media (max-width: 768px) {
    .title-hero {
        font-size: 24px; /* Adjust font size */
        bottom: 6rem; /* Force 6rem from the bottom */
    }
    .button-container {
        display: flex;
    }
}

.nav-link-white, .nav-link-black {
    max-width: 40vw;
}

/* Default: show desktop video */
.hero-video {
    position: absolute;
    top: 100px;
    margin-left: 10px;
    margin-right: 10px;
    bottom: 2rem;
    height: calc(100% - 100px - 2rem - 68px);
    max-width: calc(100% - 20px);
    object-fit: cover;
    visibility: hidden; /* Hide by default */
    opacity: 0;         /* Fully transparent */
    z-index: -1;        /* Ensure it's not interactive */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for visibility */
    border-radius: 15px;
    align-items: center;
}

.hero-video-desktop {
    visibility: visible;
    opacity: 1;
    z-index: 1; /* Bring to the front */
}

/* Show mobile video for smaller screens */
@media (max-width: 768px) {
    .hero-video {
        bottom: 6rem;
        height: calc(100% - 100px - 6rem - 68px);
    }

    .hero-video-desktop {
        visibility: hidden;
        opacity: 0;
        z-index: -1;
    }

    .hero-video-mobile {
        visibility: visible;
        opacity: 1;
        z-index: 1;
    }
}


/* Homepage cards styling */
.how-it-works {
    position: relative; /* Position relative to the section */
    background-color: black; /* Black background */
    color: white; /* White text */
    text-align: center; /* Center the content */
    padding-top: 100px;
    padding-bottom: 30px;
    display: flex; /* Flex container for vertical alignment */
    flex-direction: column; /* Stack the title and cards vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    height: 100%; /* Ensure the section fills the viewport */
}

.how-it-works-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: white;
    text-align: center;
    margin: 0 0 2rem 0;
    opacity: 0.9;
}

.section-title {
    font-size: 36px; /* Slightly larger font size */
    color: white; /* Title in white */
    margin-bottom: 20px; /* Space between title and cards */
    text-align: center; /* Center-align the text */
    width: 100%; /* Ensure it spans full width */
}

.cards-container {
    position: relative; /* Adjusted for better flow */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Prevents overflow */
    width: 100%; /* Ensures it spans the full section */
    height: 100%; /* Adjust height dynamically */
}

.cards-scrollable-container {
    position: relative; /* Position relative to the section */
    display: flex; /* Arrange cards in a row */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: scroll; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to cards */
    scroll-behavior: smooth; /* Smooth scrolling */
    gap: 5px; /* Spacing between cards */
    width: 100%; /* Full width of the section */
    padding: 30px 10px; /* Padding around the cards */
    /* Hide scrollbar styles */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer */
}
.cards-scrollable-container::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Edge */
}

.homepage-card {
    flex: none; /* Prevent shrinking or wrapping */
    width: 400px;
    max-width: 400px; /* Prevent cards from growing too large */
    height: max(300px, 60vh); /* Fixed height */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Inner padding */
    background-color: var(--color-1); /* Example background color */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: var(--color-1-dark); /* Example text color */
    scroll-snap-align: center; /* Snap each card to the center */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    transform: scale(0.9); /* Slightly smaller by default */
}
@media (max-width: 1200px) {
    .homepage-card {
        width: calc(100% - 40px); /* Adjust to nearly full width on smaller phones */
        height: max(300px, 45vh); /* Adjust height for smaller screens */
    }
}

/* Scale effect */
.homepage-card {
    transform: scale(0.9); /* Default smaller size */
}

.homepage-card.focused {
    transform: scale(1); /* Slightly larger for the focused card */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Enhanced shadow for focus */
    z-index: 2; /* Bring the focused card to the front */
}

/* Mobile-specific adjustments */
@media (max-width: 1200px) {
    .cards-scrollable-container {
        gap: 5px; /* Adjust gap for smaller screens */
    }
}
/* Center cards only on Desktop */
@media (min-width: 1200px) {
    .cards-scrollable-container {
        justify-content: center; /* Center align cards */
        overflow-x: hidden; /* Disable horizontal scrolling */
    }

    .homepage-card:hover {
        transform: scale(1.05); /* Slightly enlarge the card */
        z-index: 2; /* Bring the hovered card to the front */
    }
}

/* Definition of cards */
/* Background colors based on data-color */
.homepage-card[data-color="1"] {
    background-color: var(--color-4-dark);
    color: var(--color-3);
}
.homepage-card[data-color="1"] .card-icon {
    color: var(--color-3);
}

.homepage-card[data-color="2"] {
    background-color: var(--color-6-dark);
    color: var(--color-2);
}
.homepage-card[data-color="2"] .card-icon {
    color: var(--color-2);
}

.homepage-card[data-color="3"] {
    background-color: var(--color-2);
    color: var(--color-6-dark);
}
.homepage-card[data-color="3"] .card-icon {
    color: var(--color-6-dark);
}

.card-title {
    font-size: clamp(24px, 42px, 42px); /* Adjust font size for emphasis */
    position: absolute; /* Ensure proper positioning within the card */
    top: 24px; /* Space from the top edge of the card */
    left: 24px; /* Align to the left */
    right: 24px; /* Prevent overflow on the right */
    text-align: left; /* Align the text to the left */
    color: inherit; /* Inherit the dynamic text color */
    bottom: auto;
    overflow: hidden;
    line-height: 1.1; /* Adjust line-height value */
}

.card-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between; /* Space between the icon and text */
    align-items: center;
}


.card-content p {
    text-align: right; /* Align small text to the right */
    font-size: 60px; /* Make the text larger */
    line-height: 1;
    margin: 0;
    display: flex;
    color: inherit; /* Inherit the dynamic text color */
}

@media (min-width: 1200px) {
    .card-content p {
        display: none;
    }
}

/* Container for the scroll indicator */
.scroll-indicator {
    position: relative; /* Keep static for simplicity */
    display: flex; /* Arrange dots in a row */
    justify-content: center; /* Center horizontally */
    align-items: flex-end; /* Align vertically to the bottom */
    margin-top: 20px; /* Push to the bottom of the container */
    gap: 10px; /* Space between dots */
    z-index: 10; /* Ensure it stays above other elements */
    width: 100%; /* Full width of the container */
}

/* Individual dots */
.dot {
    width: 15px;
    height: 15px;
    border: 2px solid white; /* Border color for unselected dots */
    border-radius: 50%; /* Makes it a circle */
    background-color: transparent; /* Transparent by default */
    transition: background-color 0.3s ease;
}

/* Active dot */
.dot.active {
    background-color: white; /* Full color for the active dot */
}

/* How video section */
.how-video-section {
    position: relative;
    height: 90vh;
    overflow: hidden; /* Prevents video overflow */
}

.how-video {
    position: absolute;
    top: 100px;
    margin-left: 10px;
    margin-right: 10px; 
    bottom: 10px;
    height: calc(100% - 100px - 10px);
    max-width: calc(100% - 20px);
    object-fit: cover;
    visibility: hidden; /* Hide by default */
    opacity: 0;         /* Fully transparent */
    z-index: -1;        /* Ensure it's not interactive */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for visibility */
    border-radius: 15px;
    align-items: center;
}

.how-video-desktop {
    visibility: visible;
    opacity: 1;
    z-index: 1; /* Bring to the front */
}

/* Show mobile video for smaller screens */
@media (max-width: 768px) {
    .how-video-desktop {
        visibility: hidden;
        opacity: 0;
        z-index: -1;
    }

    .how-video-mobile {
        visibility: visible;
        opacity: 1;
        z-index: 1;
    }
}

/* Event Details Section */
.event-details-section {
    position: relative;
    background-color: black;
    color: white;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.event-details-title {
    font-size: 36px;
    color: white;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

/* Event Details Container */
.event-details-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.event-details-container::-webkit-scrollbar {
    height: 8px;
}

.event-details-container::-webkit-scrollbar-track {
    background: transparent;
}

.event-details-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.event-details-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Event Detail Card */
.event-detail-card {
    flex: 0 0 auto;
    min-width: 400px;
    max-width: 500px;
    width: 400px;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: left; /* Left-align all text in cards */
    scroll-snap-align: start;
}

/* Dublin Card - Dark Purple Background with Yellow Text */
.event-card-dublin {
    background-color: var(--color-7-dark);
    color: var(--color-2);
}

.event-card-dublin .event-card-icon {
    color: var(--color-2);
}

.event-card-dublin .event-card-city {
    color: var(--color-2);
}

.event-card-dublin .event-card-day,
.event-card-dublin .event-card-time {
    color: var(--color-2);
}

.event-card-dublin .event-card-venue,
.event-card-dublin .event-card-address {
    color: var(--color-2);
}

.event-card-dublin .event-card-signup-btn {
    background-color: var(--color-2);
    color: var(--color-7-dark);
}

.event-card-dublin .event-card-arrow svg {
    fill: var(--color-2);
    stroke: var(--color-2);
}

/* Zurich Card - Yellow Background with Dark Purple Text */
.event-card-zurich {
    background-color: var(--color-2);
    color: var(--color-7-dark);
}

.event-card-zurich .event-card-icon {
    color: var(--color-7-dark);
}

.event-card-zurich .event-card-city {
    color: var(--color-7-dark);
}

.event-card-zurich .event-card-day,
.event-card-zurich .event-card-time {
    color: var(--color-7-dark);
}

.event-card-zurich .event-card-venue,
.event-card-zurich .event-card-address {
    color: var(--color-7-dark);
}

.event-card-zurich .event-card-signup-btn {
    background-color: var(--color-7-dark);
    color: var(--color-2);
}

.event-card-zurich .event-card-arrow svg {
    fill: var(--color-7-dark);
    stroke: var(--color-7-dark);
}

/* Online Card - Dark Teal Background with Bright Teal Text */
.event-card-online {
    background-color: var(--color-4-dark);
    color: var(--color-4);
}

.event-card-online .event-card-icon {
    color: var(--color-4);
}

.event-card-online .event-card-city {
    color: var(--color-4);
}

.event-card-online .event-card-day,
.event-card-online .event-card-time {
    color: var(--color-4);
}

.event-card-online .event-card-venue,
.event-card-online .event-card-address {
    color: var(--color-4);
}

.event-card-online .event-card-signup-btn {
    background-color: var(--color-4);
    color: var(--color-4-dark);
}

.event-card-online .event-card-arrow svg {
    fill: var(--color-4);
    stroke: var(--color-4);
}

.event-card-online:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Event Card Header */
.event-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-card-icon {
    font-size: 20px;
}

.event-card-city {
    font-size: 24px;
    font-weight: 600;
}

/* Event Card Schedule */
.event-card-schedule {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.event-card-day {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: left;
}

.event-card-time {
    font-size: 16px;
    margin: 0;
    text-align: left;
}

/* Event Card Location */
.event-card-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.event-card-location-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 4px;
    margin: -4px;
}

.event-card-dublin .event-card-location-link:hover {
    opacity: 0.9;
    transform: translateX(4px);
    background-color: rgba(255, 217, 0, 0.1);
}

.event-card-zurich .event-card-location-link:hover {
    opacity: 0.9;
    transform: translateX(4px);
    background-color: rgba(89, 0, 125, 0.1);
}

.event-card-online .event-card-location-link:hover {
    opacity: 0.9;
    transform: translateX(4px);
    background-color: rgba(255, 255, 255, 0.1);
}

.event-card-location-link:active {
    transform: translateX(2px);
}

.event-card-location-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.event-card-venue {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: left;
    color: inherit;
}

.event-card-address {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* Event Card Footer */
.event-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    justify-content: space-between; /* Sign Up button on left, arrow on right */
}

.event-card-signup-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.event-card-signup-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.event-card-arrow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.event-card-arrow-link:hover {
    transform: translateX(4px);
    color: inherit;
}

.event-card-arrow-link:active {
    transform: translateX(2px);
    color: inherit;
}

.event-card-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card-arrow svg {
    width: 100%;
    height: 100%;
}

/* Carousel Instructions (Mobile) */
.event-carousel-instructions {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px 12px 20px;
    margin-bottom: 4px;
}

.event-carousel-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-carousel-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.event-carousel-arrow-btn:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

.event-carousel-arrow-btn:active {
    transform: scale(0.95);
}

.event-carousel-arrow-btn:focus {
    outline: none;
}

.event-carousel-arrow-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* General Carousel Instructions (for bundles) */
.carousel-instructions {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px 12px 20px;
    margin-bottom: 4px;
}

.carousel-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.carousel-arrow-btn:hover {
    background-color: white;
    color: black;
    transform: scale(1.1);
}

.carousel-arrow-btn:active {
    transform: scale(0.95);
}

.carousel-arrow-btn:focus {
    outline: none;
}

.carousel-arrow-btn:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Carousel Indicators */
.event-carousel-indicators {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-bottom: 20px;
}

.event-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-carousel-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

/* Laptop Styles - Make Event Details bigger */
@media screen and (min-width: 769px) {
    .event-details-container {
        max-width: 1500px;
        gap: 40px;
        padding: 0 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    .event-detail-card {
        flex: 0 0 auto;
        min-width: 550px;
        max-width: 700px;
        width: 550px;
        padding: 48px;
        gap: 28px;
        scroll-snap-align: start;
    }

    .event-details-title {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .bundles-section-title {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .event-card-city {
        font-size: 32px;
    }

    .event-card-icon {
        font-size: 24px;
    }

    .event-card-day {
        font-size: 22px;
    }

    .event-card-time {
        font-size: 20px;
    }

    .event-card-venue {
        font-size: 22px;
    }

    .event-card-address {
        font-size: 18px;
    }

    .event-card-signup-btn {
        padding: 16px 32px;
        font-size: 20px;
    }

    .event-card-arrow {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .event-details-section {
        padding-top: 80px;
        padding-bottom: 20px;
        min-height: auto;
    }

    .event-details-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .bundles-section-title {
        font-size: 24px;
        margin-bottom: 16px;
        margin-top: 0;
    }

    .event-carousel-instructions {
        display: flex;
        gap: 12px;
        padding: 0 16px 16px 16px;
        margin-top: 0;
        margin-bottom: 8px;
    }

    .event-carousel-text {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .event-carousel-arrow-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-width: 1.5px;
    }

    .event-carousel-indicators {
        display: flex;
    }

    .event-details-container {
        display: flex;
        flex-direction: row;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 20px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
        justify-content: flex-start;
    }

    .event-details-container::-webkit-scrollbar {
        display: none;
    }

    .event-detail-card {
        width: calc(100vw - 80px);
        min-width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
        flex-shrink: 0;
        scroll-snap-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }
}

/* Super tiny phones - prevent button overflow */
@media screen and (max-width: 375px) {
    .event-details-container {
        padding: 16px;
        gap: 16px;
    }

    .event-detail-card {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        padding: 20px;
        gap: 16px;
    }

    .event-details-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .bundles-section-title {
        font-size: 20px;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .event-card-city {
        font-size: 20px;
    }

    .event-card-icon {
        font-size: 16px;
    }

    .event-card-day {
        font-size: 16px;
    }

    .event-card-time {
        font-size: 14px;
    }

    .event-card-venue {
        font-size: 16px;
    }

    .event-card-address {
        font-size: 12px;
        line-height: 1.3;
    }

    .event-card-footer {
        gap: 8px;
        flex-wrap: wrap;
    }

    .event-card-signup-btn {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }

    .event-card-arrow-link {
        flex-shrink: 0;
    }

    .event-card-arrow {
        width: 28px;
        height: 28px;
    }

    /* Smaller carousel instructions and arrows */
    .event-carousel-instructions,
    .carousel-instructions {
        gap: 8px;
        padding: 0 8px 4px 8px;
        margin-top: 0;
        margin-bottom: 2px;
    }

    .event-carousel-text,
    .carousel-text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .event-carousel-arrow-btn,
    .carousel-arrow-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        border-width: 1.5px;
    }
}

/* Extra tiny phones (iPhone SE, etc.) */
@media screen and (max-width: 320px) {
    .event-details-container {
        padding: 12px;
        gap: 12px;
    }

    .event-detail-card {
        width: calc(100vw - 24px);
        min-width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 16px;
        gap: 12px;
    }

    .event-card-signup-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .event-card-footer {
        gap: 6px;
    }

    /* Even smaller carousel instructions and arrows */
    .event-carousel-instructions,
    .carousel-instructions {
        gap: 6px;
        padding: 0 6px 2px 6px;
        margin-top: 0;
        margin-bottom: 2px;
    }

    .event-carousel-text,
    .carousel-text {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }

    .event-carousel-arrow-btn,
    .carousel-arrow-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
        border-width: 1px;
    }
}

/* Bundles Section on Homepage */
.bundles-section-homepage {
    position: relative;
    background-color: black;
    color: white;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.bundles-section-title {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.bundles-header-homepage {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Add extra spacing on desktop between city selector and cards */
@media screen and (min-width: 769px) {
    .bundles-header-homepage {
        margin-bottom: 60px;
    }
}

.credit-equivalence-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
    margin-bottom: 16px;
    padding: 0 20px;
    line-height: 1.4;
}

@media screen and (min-width: 769px) {
    .credit-equivalence-note {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }
}

.city-selector-homepage {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-selector-label {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.city-selector-dropdown {
    padding: 10px 16px;
    border-radius: 8px;
    background-color: var(--color-6-dark);
    border: 2px solid var(--color-6);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-selector-dropdown:hover {
    border-color: var(--color-6);
    background-color: rgba(217, 145, 255, 0.2);
}

.city-selector-dropdown:focus {
    outline: none;
    border-color: var(--color-6);
    box-shadow: 0 0 0 3px rgba(217, 145, 255, 0.3);
}

.bundles-container-wrapper-homepage {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    margin-bottom: 0;
}

.bundle-description-homepage {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 24px;
}


.bundles-container-homepage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.bundle-card-homepage {
    background-color: var(--color-6-dark);
    border-radius: 20px;
    padding: 48px 28px 40px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(217, 145, 255, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
}

.bundle-card-homepage:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
}

.bundle-card-homepage.popular {
    border-color: var(--color-2);
    background-color: var(--color-6-dark);
}

.bundle-card-homepage.popular:hover {
    border-color: var(--color-2);
    box-shadow: 0 8px 40px rgba(255, 217, 0, 0.3);
}

/* Reduce spacing for unlimited card to align price with others */
.bundle-card-homepage[data-bundle-type="unlimited"] .bundle-header {
    margin-bottom: 0px;
}

.bundle-card-homepage[data-bundle-type="unlimited"] .bundle-name {
    margin-bottom: 8px;
}

.bundle-card-homepage .bundle-credits.unlimited {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.btn-signup-homepage {
    width: 100%;
    padding: 16px 28px;
    background-color: var(--color-6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Riforma LL', sans-serif;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(217, 145, 255, 0.2);
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-signup-homepage:hover {
    background-color: var(--color-7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 171, 0.35);
    color: white;
}

.btn-signup-homepage:active {
    background-color: var(--color-7);
    transform: translateY(0);
}

/* Savings badge inline - styled like popular badge */
.savings-badge-inline {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-2);
    color: black;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 217, 0, 0.3);
    z-index: 2;
    white-space: nowrap;
}

.price-details {
    position: relative;
}

/* Tablet adjustments for bundles */
@media screen and (min-width: 769px) and (max-width: 1200px) {
    .bundles-container-homepage {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* Mobile - Horizontal scrollable for bundles */
@media screen and (max-width: 768px) {
    .bundles-section-title {
        margin-bottom: 12px;
    }

    .bundles-section-homepage {
        padding-top: 60px;
        padding-bottom: 20px;
        min-height: auto;
    }

    .bundles-header-homepage {
        margin-bottom: 6px;
        margin-top: 8px;
        padding: 0 15px;
    }

    .carousel-instructions {
        display: flex;
        gap: 12px;
        padding: 0 16px 16px 16px;
        margin-top: 0;
        margin-bottom: 18px;
    }

    .carousel-text {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .carousel-arrow-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-width: 1.5px;
    }

    .city-selector-homepage {
        flex-direction: column;
        gap: 8px;
    }

    .city-selector-label {
        font-size: 14px;
    }

    .city-selector-dropdown {
        font-size: 14px;
        padding: 8px 12px;
    }

    .bundles-container-wrapper-homepage {
        padding: 20px 0 0 0;
    }

    .bundles-container-homepage {
        display: flex;
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 0;
        padding: 16px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: relative;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
        justify-content: flex-start;
    }

    .bundles-container-homepage::-webkit-scrollbar {
        display: none;
    }

    .bundle-card-homepage {
        width: calc(100vw - 64px);
        min-width: calc(100vw - 64px);
        max-width: calc(100vw - 64px);
        padding: 24px 20px;
        flex-shrink: 0;
        scroll-snap-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }

    .bundle-card-homepage .bundle-header {
        margin-bottom: 16px;
    }

    .bundle-card-homepage .bundle-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .bundle-card-homepage .bundle-credits {
        font-size: 0.85rem;
    }

    .bundle-card-homepage .bundle-price-section {
        margin-bottom: 12px;
    }

    .bundle-card-homepage .bundle-price .amount {
        font-size: 2.2rem;
    }

    .bundle-card-homepage .price-details {
        padding: 12px;
        margin-top: 12px;
    }

    .bundle-card-homepage .savings-badge-inline {
        font-size: 0.65rem;
        padding: 5px 16px;
        top: -14px;
    }


    .bundle-card-homepage .price-per-event {
        gap: 6px;
    }

    .bundle-card-homepage .price-per-event .label {
        font-size: 0.75rem;
    }

    .bundle-card-homepage .price-per-event .value {
        font-size: 0.95rem;
    }

    .bundle-card-homepage .regular-price-compare {
        padding-top: 6px;
        gap: 2px;
    }

    .bundle-card-homepage .regular-price {
        font-size: 0.8rem;
    }

    .bundle-card-homepage .regular-label {
        font-size: 0.65rem;
    }

    .bundle-card-homepage .bundle-validity {
        font-size: 0.8rem;
        margin-bottom: 16px;
        padding: 10px 14px;
    }

    .bundle-card-homepage .bundle-validity i {
        font-size: 0.9rem;
    }

    .bundle-card-homepage .btn-signup-homepage {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .bundle-card-homepage .savings-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

    /* Carousel dots for bundles on homepage */
    #bundles-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 32px;
        margin-bottom: 24px;
        padding: 0;
    }

    #bundles-carousel-dots .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(217, 145, 255, 0.3);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    #bundles-carousel-dots .carousel-dot.active {
        background-color: var(--color-6);
        width: 24px;
        border-radius: 4px;
    }
}

/* Super tiny phones - prevent bundle and city selector overflow */
@media screen and (max-width: 375px) {
    .bundles-header-homepage {
        padding: 0 8px;
        gap: 10px;
        margin-top: 4px;
        margin-bottom: 8px;
    }

    .city-selector-homepage {
        gap: 6px;
        width: 100%;
    }

    .city-selector-label {
        font-size: 12px;
    }

    .city-selector-dropdown {
        font-size: 13px;
        padding: 8px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Smaller carousel instructions and arrows for bundles - match event details */
    .bundles-container-wrapper-homepage .carousel-instructions {
        gap: 8px !important;
        padding: 0 8px 4px 8px !important;
        margin-top: 0 !important;
        margin-bottom: 2px !important;
    }

    .bundles-container-wrapper-homepage .carousel-text {
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }

    .bundles-container-wrapper-homepage .carousel-arrow-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
        border-width: 1.5px !important;
    }

    .bundles-container-wrapper-homepage {
        padding: 8px 0 0 0;
    }

    .bundles-container-homepage {
        padding: 15px;
        gap: 12px;
    }

    .bundle-card-homepage {
        width: calc(100vw - 24px);
        min-width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        padding: 20px 16px;
    }

    .bundle-card-homepage .bundle-name {
        font-size: 1.1rem;
    }

    .bundle-card-homepage .bundle-credits {
        font-size: 0.8rem;
    }

    .bundle-card-homepage .bundle-price .amount {
        font-size: 1.9rem;
    }

    .bundle-card-homepage .price-details {
        padding: 10px;
        margin-top: 10px;
    }

    .bundle-card-homepage .price-per-event .label {
        font-size: 0.7rem;
    }

    .bundle-card-homepage .price-per-event .value {
        font-size: 0.85rem;
    }

    .bundle-card-homepage .regular-price {
        font-size: 0.75rem;
    }

    .bundle-card-homepage .regular-label {
        font-size: 0.6rem;
    }

    .bundle-card-homepage .bundle-validity {
        font-size: 0.75rem;
        padding: 8px 12px;
        margin-bottom: 12px;
    }

    .bundle-card-homepage .btn-signup-homepage {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .bundle-card-homepage .savings-badge-inline {
        font-size: 0.6rem;
        padding: 4px 12px;
        top: -12px;
    }
}

/* Extra tiny phones (iPhone SE, etc.) - bundles */
@media screen and (max-width: 320px) {
    .bundles-header-homepage {
        padding: 0 6px;
        gap: 8px;
        margin-top: 2px;
        margin-bottom: 6px;
    }

    .city-selector-label {
        font-size: 11px;
    }

    .city-selector-dropdown {
        font-size: 12px;
        padding: 6px 8px;
    }

    /* Even smaller carousel instructions and arrows for bundles - match event details */
    .bundles-container-wrapper-homepage .carousel-instructions {
        gap: 6px !important;
        padding: 20 6px 2px 6px !important;
        margin-top: 0 !important;
        margin-bottom: 2px !important;
    }

    .bundles-container-wrapper-homepage .carousel-text {
        font-size: 0.7rem !important;
        letter-spacing: 0.3px !important;
    }

    .bundles-container-wrapper-homepage .carousel-arrow-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
        border-width: 1px !important;
    }

    .bundles-container-homepage {
        padding: 10px;
        gap: 10px;
    }

    .bundle-card-homepage {
        width: calc(100vw - 20px);
        min-width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        padding: 16px 12px;
    }

    .bundle-card-homepage .bundle-name {
        font-size: 1rem;
    }

    .bundle-card-homepage .bundle-price .amount {
        font-size: 1.7rem;
    }

    .bundle-card-homepage .btn-signup-homepage {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Hide carousel indicators on desktop for bundles */
@media screen and (min-width: 769px) {
    #bundles-carousel-dots {
        display: none;
    }

    .bundles-container-wrapper-homepage .carousel-instructions {
        display: none;
    }
}

/* Collapsible container styling */
.collapsible-section {
    position: relative; /* Ensures the container aligns relative to this section */
    width: 100%; /* Full width of the parent container */
    height: auto; /* Adjust height based on content */
    background-color: var(--color-4-dark); /* Section background */
    overflow: hidden;
}

.collapsible-container {
    position: absolute; /* Position relative to the section */
    top: 100px; /* Adjust this value to move it below the navbar */
    right: 24px; /* Add space from the right edge */
    left: 24px;
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 48px);
    gap: 0.5rem;
    align-items: flex-end; /* Align menus to the right */
}

/* Collapsible box styling */
.collapsible-box {
    background-color: var(--color-3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: min(1200px, 90vw); /* Use the smaller of 700px or 90% of the screen width */
    max-width: 100%;
    scrollbar-width: thin; /* For Firefox: Makes the scrollbar thinner */
    scrollbar-color: var(--color-4-dark) transparent;
}
/* Add smooth scrolling for content */
.collapsible-box::-webkit-scrollbar {
    width: 8px; /* Thin scrollbar for better aesthetics */
}
.collapsible-box::-webkit-scrollbar-thumb {
    background-color: var(--color-4-dark); /* Thumb matches the desired color */
    border-radius: 4px; /* Rounded corners for the thumb */
}
.collapsible-content::-webkit-scrollbar-track {
    background-color: transparent; /* Transparent track */
}

/* Collapsible title styling */
.collapsible-title {
    background: none;
    border: none;
    color: var(--color-3-dark);
    font-size: 24px;
    padding: 0rem 1.5rem;
    text-align: left; /* Keeps text aligned to the left */
    width: 100%;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between; /* Space between title and symbol */
    align-items: center;
}

.collapsible-title .toggle-symbol {
    font-size: 44px;
    color: var(--color-3-dark); /* Use the darker color for the symbol */
}

/* Collapsible content styling */
.collapsible-content {
    padding: 1rem;
    display: none;
    font-size: 16px;
    line-height: 19px;
    transition: max-height 0.3s ease;
    color: var(--color-4-dark);
    white-space: nowrap; /* Prevent text wrapping */
    overflow-y: hidden;
    text-overflow: ellipsis; /* Add "..." to hidden text */
    max-height: 0px; /* Default closed state */
    box-sizing: border-box;
}

/* Expand only vertically */
.collapsible-box.active .collapsible-content {
    display: block;
    white-space: normal; /* Allow text to expand vertically when open */
    overflow-y: auto;
    max-height: none; /* Allow the content to expand */
}

/* New styles for the location cards */
.location-container {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    gap: 1rem; /* Space between cards */
    justify-content: center; /* Center cards horizontally */
}

.location-card {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    flex: 1 1 300px; /* Flex properties for responsiveness */
    max-width: 400px; /* Max width for each card */
    box-shadow: none;
    color: var(--color-4-dark);
}

.location-city {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: var(--color-4-dark);
}

.location-day,
.location-time {
    font-size: 16px;
    margin: 0.1rem 0;
}

.location-hr {
    border: none;
    border-top: 1px solid var(--color-4-dark);
    margin: 0.25rem 0;
}

.location-address-title,
.location-schedule-title {
    font-weight: bold;
    margin-top: 0.5rem;
}

.location-address,
.location-schedule {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.location-cost {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    margin-top: 0.5rem;
}

/* New styles for tabs */
.location-tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid var(--color-4-dark);
}

.tab-link {
    background-color: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-4-dark);
    transition: background-color 0.3s, color 0.3s;
}

.tab-link.active {
    background-color: var(--color-4-dark);
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
    border: 2px solid var(--color-4-dark);
    border-top: none;
    padding: 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tab-content.active-content .location-day {
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .location-container {
        flex-direction: column; /* Stack cards vertically on smaller screens */
        align-items: center; /* Center cards in the column */
    }

    .location-card {
        width: 100%; /* Full width for cards on mobile */
        max-width: none;
    }
}

/* Collage Section Styling */
.collage-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: black;
    padding: 0;
    min-height: 100vh;
    overflow: hidden;
}

/* Collage Container */
.collage-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0;
    box-sizing: border-box;
}

/* Collage Text */
.collage-text {
    flex: 0 0 auto;
    display: flex;
    color: white;
    padding: 0 24px;
    order: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .collage-text {
        justify-content: flex-start;
    }
}

.collage-text h2 {
    font-size: 56px; /* Larger title */
    margin-bottom: 0rem;
    color: white;
}

.collage-text p {
    font-size: 16px; /* Smaller text under the title */
    margin-bottom: 1rem;
    color: white;
}

.collage-button {
    background-color: white;
    color: black;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
}
.collage-button:hover {
    background-color: var(--color-3); /* Lighten button on hover */
}
.collage-button:active {
    box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    transform: translateY(2px); /* Slightly "push" the button down */
}

/* Collage Image Wrapper */
.collage-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
    margin: 0;
    order: 2;
}

.collage-image {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 200px);
    object-fit: contain;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .collage-section {
        padding-top: calc(var(--vh, 1vh) * 10); /* Use the custom property */
        padding-bottom: 2rem; /* Add bottom padding to prevent footer overlap */
        min-height: auto; /* Allow section to be smaller on very small screens */
    }

    .collage-container {
        flex-direction: column;
        justify-content: flex-end;
        min-height: calc((var(--vh, 1vh) * 100) - 300px); /* Use min-height instead of height */
    }

    .collage-text {
        order: 2;
        margin-bottom: 6rem;
        width: 100%;
    }

    .collage-text h2 {
        font-size: 28px;
    }

    .collage-image-wrapper {
        order: 1;
        width: 100%;
        flex: 1;
        padding: 0;
        margin-top: calc(var(--vh, 1vh) * 10);
        margin-bottom: 20px;
    }

    .collage-image {
        max-height: calc((var(--vh, 1vh) * 100) - 500px);
        width: 90%;
    }
}

/* Footer Section Styling */
.footer {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: black;
    padding: 4rem 0 1rem 0; /* Reduced bottom padding */
    min-height: auto;
    z-index: 0; /* Ensure it's below collage section */
}

/* Desktop: Push footer content to bottom */
@media (min-width: 769px) {
    .homepage > .footer {
        align-items: stretch; /* Override parent's center alignment */
        justify-content: flex-end; /* Push content to bottom */
    }
    
    .footer {
        justify-content: flex-end; /* Push content to bottom */
    }
}

@media (max-width: 768px) {
    .footer {
        margin-top: 0; /* Ensure no negative margin */
        padding: 3rem 0 1rem 0; /* Reduced bottom padding on mobile */
    }
}

/* Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: grey;
    margin-bottom: 3rem; /* Space below divider */
}

/* Social Links Section */
.footer-social {
    display: flex;
    flex-direction: row; /* Align all three sections horizontally */
    justify-content: space-between; /* Distribute sections evenly */
    align-items: flex-start; /* Align sections to the top */
    width: 100%; /* Full width of the footer */
    max-width: 1200px; /* Wider maximum width for better organization */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box; /* Include padding in calculations */
    margin-bottom: 2rem; /* Reduced spacing below */
    gap: 4rem; /* More gap between columns for better readability */
    padding: 0 24px; /* Add horizontal padding */
}

/* Hide the footer-top-row wrapper on desktop - we want direct columns */
.footer-social .footer-top-row {
    display: contents; /* This makes the wrapper transparent */
}

.footer-link {
    color: rgba(255, 255, 255, 0.85); /* Slightly muted white for links vs titles */
    text-decoration: none; /* Remove underline */
    font-size: clamp(14px, 1.8vw, 17px); /* Responsive font size */
    margin-bottom: 0.6rem; /* More spacing between links */
    display: block; /* Make links stack vertically */
    line-height: 1.6; /* Better line height for readability */
    font-weight: 400; /* Normal weight to contrast with bold titles */
    transition: color 0.2s ease; /* Smooth color transition */
}

.footer-link:hover {
    color: white; /* Brighter white on hover */
    text-decoration: none; /* No underline, just color change */
}

.footer-column {
    flex: 1; /* Each column takes equal space */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack content vertically */
    align-items: flex-start; /* Align content to the left of the column */
    box-sizing: border-box; /* Include padding in calculations */
    min-width: 0; /* Allow columns to shrink */
    padding-right: 2rem; /* Add spacing between columns */
}

.footer-column:last-child {
    padding-right: 0; /* Remove padding from last column */
}

.footer-column h3 {
    margin: 0 0 1.25rem 0; /* More bottom margin for headers */
    font-size: clamp(18px, 2vw, 22px); /* Responsive font size */
    color: white; /* Section title color */
    font-weight: 700; /* Bolder weight for titles */
    letter-spacing: 0.5px; /* Slight letter spacing for distinction */
    text-transform: uppercase; /* Uppercase for better visual hierarchy */
    white-space: nowrap; /* Prevent header wrapping */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle underline for separation */
    padding-bottom: 0.75rem; /* Space for the border */
}

.footer-column p {
    margin: 0 0 0.1rem 0; /* Margins for paragraphs */
    font-size: 14px; /* Font size */
    color: white; /* Text color */
    line-height: 1.2; /* Line height */
}

.footer-column .location-item {
    margin-bottom: 0.4rem; /* Margin between location items */
}

.footer-column .location-item .city {
    font-weight: bold;
    margin-bottom: 0.1rem; /* Margin below city name */
    font-size: 14px; /* Consistent font size */
}

.footer-column .location-item .details {
    font-size: 12px; /* Smaller details text */
    color: #ccc;
    margin: 0;
    line-height: 1.2; /* Compact line height */
}

.footer-locations {
    margin-top: 1rem; /* More space above locations */
    display: flex;
    flex-direction: column; /* Stack vertically for better organization */
    gap: 0.5rem; /* More gap between items */
    align-items: flex-start;
}

.footer-locations-label {
    font-size: clamp(14px, 1.8vw, 17px); /* Responsive font size */
    color: rgba(255, 255, 255, 0.75); /* More muted than titles */
    margin-bottom: 0.5rem;
    font-weight: 500; /* Medium weight */
    text-transform: uppercase; /* Match the style of section titles */
    letter-spacing: 0.3px;
}

.footer-locations-links {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 0.5rem; /* More gap between links */
    width: 100%;
}

.footer-locations-links .footer-link {
    display: block; /* Make each link a block */
}

.footer-location-link {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1px;
}
.footer-location-link .details {
    color: #ccc; /* Ensure the text color is consistent */
}

/* Bottom Logos */
.footer-logos {
    position: relative; /* Position relative to the footer */
    width: 100%; /* Full width of the footer */
    height: 60px; /* Fixed height for the logos container */
    margin-top: 2rem; /* Margin from links to logos */
}

.footer-logo {
    height: auto;
}

.footer-logo-left-desktop {
    display: flex;
    position: absolute;
    left: 24px;
    bottom: 0;
    filter: invert(1); 
    height: 48px;
}
.footer-logo-left-mobile {
    display: none;
    position: absolute;
    left: 24px;
    bottom: 0;
    filter: invert(1); 
    height: 48px;
}

.footer-logo-right {
    position: absolute;
    right: 24px;
    bottom: 0;
    filter: invert(1); 
    height: 48px;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem 0; /* Adjusted padding for mobile */
        margin-top: 0; /* Ensure no negative margin */
        position: relative; /* Ensure proper stacking */
    }

    .footer-social {
        padding: 2rem 24px 0 24px; /* More top padding for space */
        margin-bottom: 2rem; /* Reduced bottom margin */
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.3); /* Subtle top border */
        flex-direction: column; /* Stack columns vertically on mobile */
        gap: 3rem; /* More gap between columns for better separation */
    }
    
    /* Top row with Social and Connect side by side */
    .footer-top-row {
        display: flex;
        flex-direction: column; /* Stack vertically on mobile for better organization */
        gap: 2.5rem; /* More gap */
        width: 100%;
    }
    
    .footer-locations {
        margin-top: 1.5rem; /* More space on mobile */
    }
    
    .footer-locations-label {
        font-size: clamp(13px, 3.5vw, 15px); /* Responsive font size for mobile */
    }
}

/* Short screens - reduce font sizes for better fit */
@media (max-height: 700px) {
    /* Smaller h1/h2/h3 titles on vertically short phones */
    h1 {
        font-size: clamp(22px, 3.5vh, 28px) !important;
    }
    
    h2, .section-title, .event-details-title, .bundles-section-title, .collage-text h2 {
        font-size: clamp(22px, 3.2vh, 28px) !important;
    }
    
    h3, .how-it-works-subtitle, .card-title {
        font-size: clamp(20px, 3.5vh, 28px) !important;
    }
    
    .footer-column h3 {
        font-size: clamp(16px, 2.3vh, 20px) !important; /* Smaller on short screens */
        margin: 0 0 0.75rem 0; /* Reduced margin */
        padding-bottom: 0.5rem; /* Reduced padding */
    }
    
    .footer-link {
        font-size: clamp(11px, 2vh, 14px) !important; /* Smaller on short screens */
        margin-bottom: 0.4rem; /* Reduced spacing */
        line-height: 1.4; /* Tighter line height */
    }
    
    .footer-link-small {
        font-size: clamp(11px, 2vh, 14px) !important; /* Smaller on short screens */
        margin-bottom: 0.4rem; /* Reduced spacing */
    }
    
    .footer-locations-label {
        font-size: clamp(11px, 1.9vh, 13px) !important; /* Smaller on short screens */
    }
    
    .footer-social {
        margin-bottom: 3rem; /* Reduced spacing */
        gap: 2rem; /* Reduced gap */
    }
    
    .footer {
        padding: 2rem 0 0.75rem 0; /* Reduced bottom padding on short screens */
    }
    
    @media (max-width: 768px) {
        .footer {
            padding: 2rem 0 0.75rem 0; /* Reduced bottom padding on short mobile screens */
        }
        
        .footer-social {
            padding: 1rem 24px 0 24px; /* Reduced padding */
            margin-bottom: 1.5rem; /* Reduced margin */
        }
    }
    
    .footer-top-row .footer-column {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1; /* Equal width for both columns */
    }
    
    .footer-column h3 {
        font-size: clamp(16px, 4vw, 20px); /* Responsive font size for mobile */
        color: white;
        font-weight: 700;
        margin: 0 0 1.25rem 0; /* More margin */
        white-space: nowrap;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 0.75rem;
    }
    
    .footer-link {
        font-size: clamp(13px, 3.5vw, 16px); /* Responsive font size for mobile */
        color: white;
        text-decoration: none;
        margin-bottom: 0.5rem; /* More spacing */
        display: block;
        line-height: 1.5; /* Better line height */
    }
    
    /* Links for Social and Connect sections */
    .footer-link-small {
        font-size: clamp(13px, 3.5vw, 16px) !important; /* Responsive font size */
        margin-bottom: 0.5rem; /* More spacing */
        line-height: 1.5; /* Better line height */
    }
    
    .footer-link:hover {
        text-decoration: underline;
        color: var(--color-3);
    }
    
    .footer-column p {
        margin: 0 0 0.1rem 0;
        font-size: 14px;
        color: white;
        line-height: 1.2;
    }
    
    .footer-column .location-item {
        margin-bottom: 0.6rem;
        width: 100%;
    }
    
    .footer-column .location-item .city {
        font-weight: bold;
        margin-bottom: 0.1rem;
        font-size: 14px;
        color: white;
    }
    
    .footer-column .location-item .details {
        font-size: 12px;
        color: #ccc;
        margin: 0;
        line-height: 1.2;
    }
    
    .footer-logo-left-desktop {
        display: none;
    }
    .footer-logo-left-mobile {
        display: flex;
    }
}