html {
    font-size: 16px; /* Base font size for larger screens */
}

body {
    max-width: 1920px !important;
    margin: auto !important;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
    opacity: 95% !important;
}

@media (max-width: 768px) {
    html {
        font-size: 12px; /* Smaller base font size for smaller screens */
    }
}
 
#navbar_toggler {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@font-face {
    font-family: 'Helvetica-Font';
    src: url('fonts/helvetica-compressed-5871d14b6903a.otf');
}

@font-face {
    font-family: 'SpotifyMix-Regular';
    src: url('fonts/SpotifyMix-Regular.ttf');
}

@font-face {
    font-family: 'SpotifyMix-Bold';
    src: url('fonts/SpotifyMix-Bold.ttf');
}

@font-face {
    font-family: 'SpotifyMix-Black';
    src: url('fonts/SpotifyMix-Black.ttf');
}

.spotify_regular {
    font-family: 'SpotifyMix-Regular';
}

.spotify_bold {
    font-family: 'SpotifyMix-Bold' !important;
}

.helvetica_font {
    font-family: 'Helvetica-Font';
}

.spotify_black{
    font-family: 'SpotifyMix-Black' !important;
}

#navbar {
    z-index: 1040;
}

* {
    margin: 0;
    padding: 0;
}

@media (min-width: 769px) {
    #navbarNav {
        padding-right: 2rem;
    }

    .navbar-nav {
        margin-left: auto;
    }

    #navbar ul li a:hover {
        background-color: rgba(255, 255, 255, 0.88);
        color: #5C6BC0 !important;
        box-shadow: 0px 3px 3px 0px rgba(92,107,192,1);
        -webkit-box-shadow: 0px 3px 3px 0px rgba(92,107,192,1);
        -moz-box-shadow: 0px 3px 3px 0px rgba(92,107,192,1);
    }

    #navbar ul li a {
        list-style-type: none;
        margin: 0 .5rem;
        background-color: rgba(0, 0, 0, 0.88);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }

}

a {
    text-decoration: none !important;
}

.smallest{
    font-size: 1.1rem !important;
}

.small {
    font-size: 1.3rem !important;
}

.small_2{
    font-size: 1.25rem !important;
}

.medium_small {
    font-size: 2rem;
    letter-spacing: 1px;
}

.medium_ls {
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.medium{
    font-size: 2.5rem;
}

.very_small {
    font-size: .9rem;
}

.vh-100 {
    height: 100vh;
    overflow: hidden;
}

.vh-75 {
    height: 75vh;
}

.very_big_ls {
    font-size: 8rem !important; 
    letter-spacing: 5px;
    color: rgba(255,255,255,.95) !important;
}

.very_big2{
    font-size: 8rem !important; 
}

.very_big {
    font-size: 6rem;
}

.big_ls {
    font-size: 3rem;
    letter-spacing: 4px;
}

.big_less_ls {
    font-size: 3rem;
    letter-spacing: 1px;
}

.big {
    font-size: 4rem !important;
    letter-spacing: 1px;
}

@media (max-width: 768px) {

    .vw-100 {
        width: 100vw;
        object-fit: cover;
    }

    .very_big {
        font-size: 4rem;
        letter-spacing: 2px;
    }

    .very_big_ls {
        font-size: 5rem !important;
        letter-spacing: 2px;
    }

    .vh-sm-50 {
        height: 50vh !important
    }

    .custom-nav.open .nav-item .nav-link {
        font-size: 3rem !important;
    }

    .custom-nav.open .navbar-nav{
        text-align: start !important;
    }

    .medium {
        font-size: 2rem;
    }
    .small{
        font-size: 1.4rem;
    }

    .spotify_black_sm{
        font-family: 'SpotifyMix-Black' !important;
    }

    .very_big2{
        font-size: 5rem !important;
    }
}

#hero_section img{
        object-fit: cover;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler.toggled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 768px) {
    #navbarNav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 1030; /* Below the logo and toggler */
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
    }

    .custom-nav.open #navbarNav {
        transform: translateY(0);
    }

    .custom-nav.open .navbar-nav {
        text-align: center;
    }

    .custom-nav.open .nav-item .nav-link {
        color: black !important;
        font-size: 2rem;
        margin-bottom: 1rem;
        background-color: transparent;
    }

    .no-scroll {
        overflow: hidden;
    }

    .custom-nav.open .navbar-toggler {
        position: fixed;
        top: 1rem;
        right: 1.5rem;
        z-index: 1041;
    }

    .custom-nav.open .navbar-brand {
        position: fixed;
        top: 1rem;
        left: 1.5rem;
        z-index: 1041;
        color: black !important;
    }

    .image-panel{
        height: 15rem !important
    }
}

#hero_section {
    position: relative;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2
    text-align: center;
    color: white;
}

.text-container h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
}

#changing-text {
    display: inline-block;
    --animate-duration: 0.8s;
}

@media (max-width: 768px) {
    .text-container h1 {
        font-size: 2.5rem;
    }
}

.reveal-on-scroll {
    visibility: hidden;
}

.header_black {
    color: rgba(0, 0, 0, 0.95) !important;
}

.usd_image_right {
    border-radius: 20px 0 0 20px;
}

.usd_image_left {
    border-radius: 0 20px 20px 0;
}

#white_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* Adjust the opacity as needed */
    z-index: 1;
}

#overlay_content {
    z-index: 2;
}

.number-anim {
    animation: fade-out-in 300ms ease-in-out;
}

@keyframes fade-out-in {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.carousel-section {
    padding: 60px 0;
}

.carousel-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    color: #343a40;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* New wrapper to serve as the positioning context for the controls */
.custom-carousel-wrapper {
    position: relative;
}

.custom-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

/* The track that holds all the slides */
.custom-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    /* CRITICAL: Aligns all items to the top, creating space at the bottom for the shorter active item */
    align-items: flex-start;
    min-height: 450px; /* Define a height for the track */
}

/* Styling for each individual slide item */
.custom-carousel-item {
    flex: 0 0 40%;
    height: 450px; /* Default height (100%) */
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

/* The active slide is SHORTER to create the gap */
.custom-carousel-item.active {
    height: 360px; /* 80% of 450px */
}

.custom-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CRITICAL: Controls are now positioned absolutely */
.carousel-controls {
    position: absolute;
    bottom: 20px; /* Position it from the bottom of the wrapper */
    left: 50%;
    transform: translateX(-50%);
    width: 40%; /* Match the width of the active item */
    z-index: 20; /* Ensure it's on top */
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Optional: subtle background for better visibility */
    backdrop-filter: blur(5px);
    padding: 8px;
    border-radius: 50px;
}

.carousel-nav-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #555;
    cursor: pointer;
    padding: 0 15px;
    transition: color 0.3s ease;
}

.carousel-nav-btn:hover {
    color: #000;
}

.carousel-nav-btn:disabled {
    color: #bbb;
    cursor: default;
}

.carousel-counter {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .custom-carousel-item, .carousel-controls {
        flex-basis: 60%;
        width: 60%;
    }
}

@media (max-width: 768px) {
    .custom-carousel-item, .carousel-controls {
        flex-basis: 85%;
        width: 85%;
    }
        .custom-carousel-track, .custom-carousel-item {
        min-height: 350px;
        }
        .custom-carousel-item.active {
        height: 280px; /* 80% of 350px */
        }
}

.image-row {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.image-panel {
    height: 20rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative; 
    flex: 1;
    transition: flex 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- UPDATED: Gradient direction is now 'to bottom' --- */
.image-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2); /*linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%);*/
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-panel:hover::before {
    opacity: 1;
}

/* --- UPDATED: Positioning and text-alignment --- */
.panel-content {
    position: absolute;
    top: 20px;   
    left: 30px;    
    text-align: left; 
    color: white;
    opacity: 0;
    transition: opacity 0.5s 0.2s ease-in-out;
}

.image-panel:hover .panel-content {
    opacity: 1;
}

.panel-content h3 {
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.4);
}

.panel-content ul {
    padding: 0;
    margin: 0;
    margin-left: 1rem;
    list-style: none;
}

.panel-content svg{
    width: 1rem;
}

.panel-content li {
    padding-bottom: 5px;
    font-weight: 300;
}

.image-row.hover-left .image-panel.left {
    flex: 2.33; 
}
.image-row.hover-left .image-panel.right {
    flex: 1;
}

.image-row.hover-right .image-panel.right {
    flex: 2.33;
}
.image-row.hover-right .image-panel.left {
    flex: 1;
}

.logo-scroller {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-scroller .logo-list {
  display: flex;
  animation: scroll 10s linear infinite;
}

.logo-scroller .logo-list img {
  height: 80px;
  margin: 0 20px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

#black_hamburger {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Fix for navbar overflow */
.custom-nav {
    max-width: 1920px;
    left: 50%;
    transform: translateX(-50%);
}

/* Fix for hero_section overflow */
#hero_section {
    width: 100% !important;
}