#one {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    color: white;
    z-index: 1;
}

/*

.parallax-section {
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/8/85/Skull_and_Crossbones.png"); 
    min-height: 400px;
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

*/

/* Container holds the background (low-res) and foreground (high-res) */
.progressive-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* Example aspect ratio */

    /* NEW: Apply blur and low-res background here */
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    /* Blur the background image */
    transition: filter 500ms;
    /* Optional: Transition the blur when the sharp image loads */
}

/* 1. High-Res Image Styling */
.high-res {
    border-radius: 15px !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    /* Starts hidden */
    transition: opacity 800ms ease-in-out;
    z-index: 20;
    
}

/* 2. Class added by JS when high-res image is loaded */
.progressive-image-container.is-loaded {
    filter: blur(0);
    /* Remove the blur from the container */
}

.progressive-image-container.is-loaded .high-res {
    opacity: 1;
    /* Fade in the sharp image */
}


.dutch-img {
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 15px !important;
}



.overlay h1 {
    font-size: clamp(1.2rem, calc(3vw + 2vh), 4rem);
}

.overlay h2 {
    font-size: clamp(0.8rem, calc(2vw + 1.5vh), 2rem);
}

.overlay h3 {
    font-size: clamp(0.6rem, calc(1.5vw + 1vh), 1.5rem);
}

@media (max-width: 768px) {

    .custom-collapse {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        /* shift left by 50% of its width */
        width: 150px;

        text-align: center;
        border-radius: 6px;
        padding: 10px 0;
        z-index: 9999;
    }

    .overlay {
        padding: 0 20px;
        margin-top: clamp(35px, calc(1.5vw + 1vh), 40px);
        text-align: center;
    }

    #bg-video {
        /* object-fit: contain; */
        /* min-width: 100%; */
        /* min-height: auto; */
        height: 100vh;
        width: 100vw;
        object-fit: cover;
        top: 50px;
    }

    .custom-collapse .nav-item {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    /* .img-thumbnail {
        width: clamp(50px, calc(1vw + 1vh), 100px); 
        height: auto;
    } */

    .overlay {
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90%; 
        text-align: center;
        top: 40%;

    }

    .navbar-text {}
}


.img-thumbnail {
    width: clamp(35px, calc(5vw + 5vh), 100px);
    height: auto;



    object-fit: contain;
    object-position: center;
}

.marquee-content {
    /* Set the line height to match the font size exactly */
    line-height: 2.0;

    /* Add a little padding to the top/bottom for a tiny gap between the border */
    /* padding-top: 2px;
    padding-bottom: 2px; */

    /* Display inline-block helps with vertical alignment */
    display: inline-block;
}

#testimonials-section {
    z-index: 1;
}

.quote-item {
    /* Set a consistent horizontal margin on the right of each quote. */
    /* Adjust '40px' to increase or decrease the spacing. */
    margin-right: 40px;

    /* Ensure the span behaves like a block element for margin to work */
    display: inline-block;
}

#navbar-inquire {
    /* width: clamp(35px, calc(5vw + 5vh), 100px);
    height: auto; */
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: contain;
}

.coach-card {
    padding: 10px;
}

.coach-img {
    width: clamp(150px, 25vw, 300px);
    height: auto;
    /* width: clamp(150px, 25vw, 300px); */

    object-fit: cover;
    margin: 0 auto;
    border-radius: 6px;
    display: block;
}

/* .athlete-image {
    height: 100px;
    width: auto;
    margin: 0 auto;
    border-radius: 6px;
    display: block;
} */

.athlete-image {
    /* Remove fixed height */
    width: 100%;
    height: auto; 
    
    /* Ensure it looks professional */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Center it for mobile, though width: 100% usually handles this */
    display: block;
    margin: 0 auto;

    color-interpolation-filters:sRGB;
    
    /* A tiny bit of brightness reduction can also "clip" the HDR peaks */
    filter: brightness(0.99);
}

#dynamic-tab-content {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.overlay {
    position: absolute;
    top: 25%;
    left: 5%;
    transform: translate(20px);
    padding: 20px 40px;
    /* background: rgba(0, 0, 0, 0.5); */
    /* semi-transparent */
    opacity: 0;
    pointer-events: none;
    color: white;
    border-radius: 8px;
    text-align: left;
    z-index: 1;
    max-width: 500px
}

.slide-up {
    animation: slideUpFade 1.5s ease-out forwards; 
}

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

#dutchman_overlay {
    font-family: 'Brush Script MT', cursive;
}

.content {
    height: auto;
    /* Add height to enable scrolling */
    background-color: #f2f2f2;
    /* z-index: 1; */
    padding: 20px;
}

#dutchman_window {
    height: 100vh;
}

.text-md-center {
    color: white;
}

/* --- Styles for the Horizontal Scrollable Content Area --- */
.horizontal-scroll-content {
    /* REQUIRED: Set a fixed height and enable horizontal scrolling */
    height: 300px;
    /* Example height */
    overflow-x: scroll;
    overflow-y: hidden;

    /* Make the content flow horizontally */
    white-space: nowrap;

    /* Ensure the scrollable items are displayed in a line */
    font-size: 0;
    /* Important: Prevents extra spacing from white-space: nowrap; */
    border: 1px solid #ccc;
    /* Border for visibility */
}

/* --- Styles for the Individual Content Items --- */
.horizontal-item {
    /* Set a fixed width for each content panel */
    width: 300px;
    /* Example fixed width */

    /* Make the items appear in a row */
    display: inline-block;

    /* Reset font size for content */
    font-size: 16px;

    padding: 20px;
    height: 100%;
    /* Take full height of parent */
}

.brand-button {
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.1s;
}

.brand-button:active {
    background-color: #555;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.pirata-one-regular {
    font-family: "Pirata One", system-ui;
    font-weight: 400;
    font-style: normal;
}

.pirata-one-light {
    font-family: "Pirata One", system-ui;
    font-weight: 200;
    font-style: normal;
}


.rajdhani-light {
    font-family: "Rajdhani", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.rajdhani-regular {
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.rajdhani-medium {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.rajdhani-semibold {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.rajdhani-bold {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#animatedText {
    z-index: 100;
    pointer-events: auto;
}

/* CRITICAL: Ensure the UL (the Flex container) prevents wrapping */
.nav-pills {
    flex-wrap: nowrap !important;
    /* Use !important to override any conflicting Bootstrap default */
}

/* Target the list items (the flex children) inside the nav-pills container */
.nav-pills .nav-item {
    /* CRITICAL: Force the list item not to shrink or grow */
    flex-shrink: 0;
    flex-grow: 0;
    color: black;
}

.nav-pills .nav-link {
    padding: 0.25rem 0.5rem;
    background-color: transparent;
    color: #6c757d;
    font-weight: normal;
    border-radius: 0;

    /* rajdhani-regular */
    font-family: "Rajdhani", sans-serif;
    font-weight: 400;
    font-style: normal;

    white-space: nowrap;

    /* Ensures the button itself does not shrink or grow based on content */
    flex-shrink: 0;

}

.nav-pills .nav-link.active {
    color: #212529 !important;
    font-weight: bold;
    background-color: transparent !important;
    /* border-left: 3px solid #007bff;
    padding-left: calc(0.5rem - 3px); */
    text-decoration: underline;

    /* rajdhani-bold */
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.scrolling-tabs-wrapper {

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    position: relative;

    height: 100%;

    mask-image: linear-gradient(to right,
            transparent,
            /* Fades out on the left */
            black 50px,
            /* Fully visible past 20px */
            black calc(100% - 50px),
            /* Fully visible up to 20px from the right */
            transparent
            /* Fades out on the right */
        );

    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 20px,
            black calc(100% - 20px),
            transparent);
}

/* Note: You might need to set the background-color of the scrolling wrapper 
   or the parent element (col-12) to match your overall background color. 
   If your background is solid white, use white in the gradient instead of black. */

.scrolling-tabs-wrapper::-webkit-scrollbar {
    display: none;
}