.navbar-expand-lg .navbar-collapse {
    display: none !important;
    flex-basis: auto;
}

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.header .caption p {
    font-size: 18px;
    color: #eee;
    width: 45%;
    word-spacing: 2px;
    text-shadow: 3px 3px #151616;
    animation-delay: 1.2s;
}

.header .caption h1 {
    margin: 10px 0;
    font-size: 45px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    animation-delay: 0.8s;
}

.bg-light {
    background-color: #dadeeb !important;
}

.text-uppercase {
    text-transform: uppercase !important;
    color: #121212 !important;
    text-shadow: 1px 1px transparent !important;
}

.text-uppercaseft {
    text-transform: uppercase !important;
    color: #fff !important;
    text-shadow: 1px 1px transparent !important;
}

h1, h2, h3, h4, h5, h6, h7, h8 {
    margin: 0 0 25px;
    padding: 0;
    letter-spacing: 0;
    font-weight: 600;
    font-family: "Mulish", sans-serif;
    color: #212529;
    opacity: 0.9;
}

/* Class for highlighted text */
.highlight {
    color: #fff !important;
    font-weight: bold;
    font-size: 18px !important;
    text-shadow: 1px 1px #000 !important;
}

.caption .highlight {
    color: #7893ed;
    text-shadow: 1px 1px #000;
}


/* Buttons container styling */
.buttons-container {
    position: absolute;
    right: 120px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

/* Buttons Animation */
.buttons-container .animation-element {
    opacity: 0;
    transform: translateX(20px); /* Slide in from the side */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.buttons-container .animation-element.in-view {
    animation: rotateIn 1.2s ease-out forwards;
}

/* SlideInLeft Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Rotating entrances */
@-webkit-keyframes rotateIn {
  from {
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes rotateIn {
  from {
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
.animate__rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
  -webkit-transform-origin: center;
  transform-origin: center;
}

/* Button-specific delays to stagger animations */
.buttons-container .animation-element:nth-child(1) {
    animation-delay: 1.2s;
}
.buttons-container .animation-element:nth-child(2) {
    animation-delay: 1.4s;
}
.buttons-container .animation-element:nth-child(3) {
    animation-delay: 1.6s;
}
.buttons-container .animation-element:nth-child(4) {
    animation-delay: 1.8s;
}


/* Button styling */
.custom-btn {
    display: block;
    padding: 15px 25px;
    text-align: center;
    border: none;
    border-radius: 30px 0 30px 0;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.custom-btn span {
    display: block;
}

.custom-btn strong {
    font-weight: bold;
}

/* Individual button background colors */
.btn-1 { background-color: #d555c4; }
.btn-2 { background-color: #7454c3; }
.btn-3 { background-color: #416cd5; }
.btn-4 { background-color: #312f2f; }

.custom-btn:hover {
    background: #bf9dba;
    color: #fff !important;
}


/* Static Image Grid */
.image-grid {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 32%;
    margin-bottom: 40px;
    flex-shrink: 0; /* Prevent shrinking */
    display: none;
}

/* Large image (top row, spanning two columns) */
.image-grid img:nth-child(1) {
    grid-column: span 2;
    width: 100%;
    height: auto;
    border-radius: 30px 0 30px 0;
    object-fit: cover;
}

/* Bottom left image */
.image-grid img:nth-child(2) {
    width: 75%;
    height: 250px;
    border-radius: 30px 0 30px 0;
    object-fit: cover;
}

/* Bottom right image */
.image-grid img:nth-child(3) {
    width: 100%;
    height: 250px;
    border-radius: 30px 0 30px 0;
    object-fit: cover;
}

/* Center the text container */
.text-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content at the top */
    align-items: flex-start; /* Align content to the left */
    padding: 80px 20px; /* Increased top padding for extra space */
    height: 100vh; /* Full height of the viewport */
    box-sizing: border-box; /* Include padding in height calculation */
    overflow: visible; /* Ensure no clipping occurs */
}
/* Ensure the container for the image and overlay is positioned correctly */
/* Overlay container */
.overlay-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 200px; /* Adjust container width */
    height: auto; /* Adjust container height */
    border-radius: 30px 0 30px 0;
}

/* Style for the overlay */
.overlay-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay initially */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out; /* Smooth fade effect */
    z-index: 1; /* Ensure overlay appears above the image */
}

/* On hover, make the overlay darker */
.overlay-container:hover::before {
    opacity: 0.9; /* More opaque overlay on hover */
}

/* Style for the link */
.overlay-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    opacity: 0; /* Hidden by default */
    z-index: 2; /* Above the overlay */
    transition: opacity 0.3s ease-in-out; /* Smooth fade effect */
}

/* On hover, display the link */
.overlay-container:hover .overlay-link {
    opacity: 1; /* Fully visible on hover */
}

/* Ensure the image remains visible under the overlay */
.affiliate-logo {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out; /* Optional: add image zoom effect */
}

/* Optional: Slight zoom effect on hover */
.overlay-container:hover .affiliate-logo {
    transform: scale(1.1); /* Zoom image slightly on hover */
}



/* Ensure the image is responsive */

.affiliate-logo {
    max-height: 200px !important;
    max-width: 200px !important;
    vertical-align: middle;
}
/* Optional: Add a slight zoom effect on the image on hover */
.overlay-container:hover .affiliate-logo {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 45px;
}

.footer-link {
    text-decoration: none;
    font-size: 16px;
    color: #000;
    transition: color 0.3s ease; /* Smooth transition effect */
}

.footer-link:hover {
    color: #fff !important;
}
.footer-link strong {
    font-weight: bold;
}

/* Specific colored links */
.footer-link.pink { color: #f062c0; }
.footer-link.purple { color: #825fd3; }
.footer-link.blue { color: #4a90e2; }
.footer-link.black { color: #979494; }

.divider {
    color: #aaa;
    font-size: 18px;
}
/* Styling for social links */
.header-social {
    margin-top: 0px; /* Space between logo and social icons */
    text-align: center; /* Center-align the icons */
}

.header-social a {
    margin: 0 10px; /* Add space between icons */
    color: #fff; /* Icon color */
    font-size: 18px; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth transition for hover */
}

.header-social a:hover {
    color: #f062c0; /* Hover color */
}
.side-menu-social {
    margin-top: 0px; /* Space between logo and social icons */
    text-align: left; /* Center-align the icons */
}

.side-menu-social a {
    margin: 0 10px; /* Add space between icons */
    color: #fff; /* Icon color */
    font-size: 18px; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth transition for hover */
}

.side-menu-social a:hover {
    color: #f062c0; /* Hover color */
}
/* Intro logo styles */
#intro-logo {
    position: absolute; /* Position relative to the parent container */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;

    /* Adjust size */
    width: 100%; /* Set a percentage-based width or a fixed width, e.g., 800px */
    height: 80%; /* Set a percentage-based height or a fixed height, e.g., 600px */
}
#intro-logo .letters-container img {
    max-width: 100px;
    height: auto;
    display: inline-block;
    opacity: 0; /* Initial state */
    animation: 
        backInDown 1.2s ease-out forwards, /* First animation */
        fadeOut 1s 1.4s ease-out forwards; /* FadeOut starts after 1.2s + 1.2s delay */
}

/* Staggered delays for each image */
#intro-logo .letters-container img:nth-child(1) {
    animation-delay: 0s;
}
#intro-logo .letters-container img:nth-child(2) {
    animation-delay: 0.3s; /* Shorter delay */
}
#intro-logo .letters-container img:nth-child(3) {
    animation-delay: 0.6s; /* Shorter delay */
}

/* Specific styling for the T, S, E letter images */

#intro-logo .letters-container img {
    max-width: 100px;
    height: auto;
    display: inline-block;
    animation: combinedAnimation 5.6s ease-out forwards; /* Total duration = 1.2s (backInDown) + 4.4s (pause) + 1s (fadeOut) */
}
.container-to-hide {
    opacity: 0;
    z-index: 1;
    position: relative;
    transition: opacity 0.5s ease-in;
}
body.show-content .container-to-hide {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in;
}
/* Keyframes for letters with fadeOutLeftBig */
@keyframes combinedAnimation {
    0% {
        transform: translateY(-1200px) scale(0.7);
        opacity: 0.7;
    }
    16% {
        transform: translateY(0px) scale(0.7);
        opacity: 1;
    }
    87% {
        transform: scale(1);
        opacity: 1;
    }
    100% { /* Replace with fadeOutLeftBig effect */
        opacity: 0;
        transform: translate3d(-2000px, 0, 0);
    }
}



.live-container img {
    max-width: 500px; /* Adjust size */
    height: auto;
    display: block;
    margin: 0;
}
#intro-logo .live-container img {
    width: 250px;
    height: auto;
    opacity: 0; /* Start invisible */
    transform: scale(0); /* Start at 0 size for zoom effect */
    animation: zoomInPauseFadeOutDownBig 4s ease forwards;
    animation-delay: 2.5s; /* Delay the start of the animation by 2 seconds */
}

/* Combined keyframes for zoomIn, pause, and delayed fadeOutDownBig */
@keyframes zoomInPauseFadeOutDownBig {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    21.875% { /* Zoom-in completes at 1.75s (21.875% of 8s) */
        transform: scale(1);
        opacity: 1;
    }

    50% { /* Pause for 3 seconds after zoom-in */
        transform: scale(1);
        opacity: 1; /* Maintain visibility during the pause */
    }

    100% { /* FadeOutDownBig effect starts */
        transform: translate3d(0, 2000px, 0); /* Move downward off the screen */
        opacity: 0;
    }
}
/* Slide-in keyframes */
@keyframes slideInLong {
    0% {
        transform: translateY(-50%); /* Start above the screen */
        opacity: 0; /* Invisible */
    }
    100% {
        transform: translateY(0); /* End in place */
        opacity: 1; /* Fully visible */
    }
}
/* Faster Zoom-In Effect for LIVE */
@keyframes zoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes backInDown {
    0% {
        -webkit-transform: translateY(-1200px) scale(0.7);
        transform: translateY(-1200px) scale(0.7);
        opacity: 0.7;
    }

    80% {
        -webkit-transform: translateY(0px) scale(0.7);
        transform: translateY(0px) scale(0.7);
        opacity: 1; /* Fully visible */
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1; /* Maintain visibility */
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1; /* Fully visible */
    }

    100% {
        opacity: 0; /* Fully faded out */
    }
}

.animate__backInDown {
  -webkit-animation-name: backInDown;
  animation-name: backInDown;
}

@keyframes lightSpeedOutLeft {
  from {
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(-100%, 0, 0) skewX(-30deg);
    transform: translate3d(-100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }
}
.animate__lightSpeedOutLeft {
  -webkit-animation-name: lightSpeedOutLeft;
  animation-name: lightSpeedOutLeft;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}

/* Styling for the headline container */
.banner-headline {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Space between rows */
    max-width: 100%; /* Ensure content does not overflow the viewport */
    margin-top: 30px; /* Add spacing above the headline */
    padding-top: 20px; /* Additional padding for safety */

}
/* Letter-row: container for letter and side content */
.letter-row {
    display: flex;
    align-items: baseline; /* Align letter and side content horizontally */
    gap: 20px; /* Space between the letter and the side content */
    margin-top: 20px; /* Add spacing above each row */
}

/* Letter styling */
.letter {
    font-size: 100px;
    font-weight: bold;
    color: #fff;
    display: block;
    flex-shrink: 0; /* Prevent the letter from shrinking */
    line-height: 1; /* Ensure vertical alignment of the letter */
    opacity: 0;
    margin-top: 10px; /* Add margin to prevent clipping */
    padding-top: 10px; /* Add internal padding to prevent clipping */
    transform: translate3d(0, 2000px, 0);
    animation: fadeInUpBig 1.6s ease-out forwards;
}

/* Keyframes for fadeInUpBig */
@keyframes fadeInUpBig {
    from {
        opacity: 0;
        transform: translate3d(0, 2000px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Add staggered animation delays for letters with a 6-second initial delay */
.letter-row:nth-child(1) .letter {
    animation-delay: 6.0s; /* 6-second delay + 0.5s */
}
.letter-row:nth-child(2) .letter {
    animation-delay: 6.3s; /* 6-second delay + 1.5s */
}
.letter-row:nth-child(3) .letter {
    animation-delay: 6.6s; /* 6-second delay + 2.5s */
}


/* Side content wrapper */
.side-content {
    display: flex;
    flex-direction: column; /* Stack side-text and side-paragraph vertically */
    align-items: flex-start; /* Align side-text and paragraph to the left */
    gap: 10px; /* Space between side-text and paragraph */
    max-width: 800px; /* Limit width for better readability */
    margin-top: 20px; /* Offset the side content to align with the letter */
    opacity: 0;
    transform: translateX(20px); /* Slight slide-in effect */
    animation: backInDown 2s ease-out forwards;
    animation-delay: 8s; /* Add 8-second delay */
}

/* Side text styling */
.side-content .side-text {
    font-size: 35px;
    font-weight: normal;
    color: #fff;
    white-space: nowrap; /* Prevent text wrapping */
    opacity: 0;
    transform-origin: left bottom;
    transform: rotate(-90deg) translateX(-50px);
    animation: backInDown 2.9s ease-out forwards;
    animation-delay: 8s; /* Add 8-second delay */
}

/* Keyframes for backInDown */
@-webkit-keyframes backInDown {
    0% {
        -webkit-transform: translateY(-1200px) scale(0.7);
        transform: translateY(-1200px) scale(0.7);
        opacity: 0.7;
    }

    80% {
        -webkit-transform: translateY(0px) scale(0.7);
        transform: translateY(0px) scale(0.7);
        opacity: 0.7;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes backInDown {
    0% {
        -webkit-transform: translateY(-1200px) scale(0.7);
        transform: translateY(-1200px) scale(0.7);
        opacity: 0.7;
    }

    80% {
        -webkit-transform: translateY(0px) scale(0.7);
        transform: translateY(0px) scale(0.7);
        opacity: 0.7;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}


/* Side paragraph styling */
.side-content .side-paragraph {
    font-size: 18px; /* Maintain readability */
    font-weight: normal;
    color: #accbeb;
    line-height: 1.5;
    max-width: 850px; /* Limit width for better layout on all screens */
    text-align: justify; /* Align text for readability */
    opacity: 0;
    transform: translateY(-50px); /* Drop-down effect */
    animation: fadeInDown 1.9s ease-out forwards;
    animation-delay: 9s; /* Add delay */
    margin: 0 auto; /* Center the paragraph */
    padding: 0 15px; /* Ensure proper spacing on both sides */
    box-sizing: border-box; /* Include padding in width calculation */
}
/* Screen size indicator styling */
.screen-size-indicator {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    pointer-events: none; /* Prevent interaction */
}
@media (max-height: 650px) {
  .banner-headline {
    margin-top: 10px !important;
    padding-top: 5px !important;
  }

  .letter-row {
    margin-bottom: 0 !important;
    gap: 6px !important;
  }

  .buttons-container {
    top: 45% !important;
    right: 20px !important;
  }

  .side-content .side-text {
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  .side-content .side-paragraph {
    font-size: 13px !important;
    line-height: 1.1 !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 0 8px !important;
  }
}

@media (min-width: 992px) and (max-width: 1023px)
  /* Styles targeting 13â€“16" laptops */
    .letter {
        width: 40px; /* Smaller size for laptop screens */
        height: 40px;
        background-size: cover; /* Ensure the image scales properly */
        background-repeat: no-repeat;
        background-position: center;
    }

    .letter-t {
        background-image: url('img/intro/T_small55.png'); /* New T image for laptops */
    }

    .letter-s {
        background-image: url('img/intro/S_small55.png'); /* New S image for laptops */
    }

    .letter-e {
        background-image: url('img/intro/E_small55.png'); /* New E image for laptops */
    }

    .side-content .side-text {
        font-size: 22px; /* Slightly smaller for laptop screens */
        line-height: 1.4; /* Adjust line height for readability */
    }

    /* Adjust spacing between letter and side content */
.letter-row {
    gap: 10px; /* Space between items inside the row */
    margin-top: 5px; /* Space above the row */
    margin-bottom: -38px; /* Slightly reduce the space below */
}

    .custom-btn {
    display: block;
    padding: 15px 25px;
    text-align: center;
    border: none;
    border-radius: 30px 0 30px 0;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.buttons-container {
    position: absolute; /* Position relative to the parent container */
    right: 40px; /* Keep it near the right edge of the container */
    top: 52%; /* Center vertically relative to the container */
    transform: translateY(-50%); /* Adjust for centering */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.side-content .side-paragraph {
    font-size: 16px; /* Maintain readability */
    font-weight: normal;
    color: #accbeb;
    line-height: 1.0;
    max-width: 85%; /* Limit width for better layout on all screens */
    text-align: justify; /* Align text for readability */
    margin: 0 auto; /* Center the paragraph */
    padding: 0 15px; /* Ensure proper spacing on both sides */

}
.banner-headline {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 100%;
    margin-top: 50px;
    padding-top: 20px;
}
.header-social {
    margin-top: 0px; /* Keep the spacing above */
    text-align: left; /* Align the icons to the left */
    position: relative;
    left: -50px; /* Move it further left (adjust as needed) */
    top: 0px; /* Adjust vertical positioning if required */
    display: flex; /* Ensure icons are in a row */
    gap: 10px; /* Add spacing between icons */
}

.header-social a {
    margin: 0; /* Remove default margin */
    color: #fff; /* Icon color */
    font-size: 20px; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth transition for hover */
}
}

/* Specific adjustments for laptop screens */
@media only screen and (min-width: 1024px) and (max-width: 1600px) {
    /* Adjust letters */
    .letter {
        width: 40px; /* Smaller size for laptop screens */
        height: 40px;
        background-size: cover; /* Ensure the image scales properly */
        background-repeat: no-repeat;
        background-position: center;
    }

    .letter-t {
        background-image: url('img/intro/T_small55.png'); /* New T image for laptops */
    }

    .letter-s {
        background-image: url('img/intro/S_small55.png'); /* New S image for laptops */
    }

    .letter-e {
        background-image: url('img/intro/E_small55.png'); /* New E image for laptops */
    }

    .side-content .side-text {
        font-size: 22px; /* Slightly smaller for laptop screens */
        line-height: 1.4; /* Adjust line height for readability */
    }

    /* Adjust spacing between letter and side content */
.letter-row {
    gap: 10px; /* Space between items inside the row */
    margin-top: 5px; /* Space above the row */
    margin-bottom: -38px; /* Slightly reduce the space below */
}

    .custom-btn {
    display: block;
    padding: 10px 20px;
    text-align: center;
    border: none;
    border-radius: 30px 0 30px 0;
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.buttons-container {
    position: absolute; /* Position relative to the parent container */
    right: 40px; /* Keep it near the right edge of the container */
    top: 60%; /* Center vertically relative to the container */
    transform: translateY(-50%); /* Adjust for centering */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.side-content .side-paragraph {
    font-size: 16px; /* Maintain readability */
    font-weight: normal;
    color: #accbeb;
    line-height: 1.0;
    max-width: 85%; /* Limit width for better layout on all screens */
    text-align: justify; /* Align text for readability */
    margin: 0 auto; /* Center the paragraph */
    padding: 0 15px; /* Ensure proper spacing on both sides */

}
.banner-headline {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 100%;
    margin-top: 50px;
    padding-top: 20px;
}
.header-social {
    margin-top: 0px; /* Keep the spacing above */
    text-align: left; /* Align the icons to the left */
    position: relative;
    left: -50px; /* Move it further left (adjust as needed) */
    top: 0px; /* Adjust vertical positioning if required */
    display: flex; /* Ensure icons are in a row */
    gap: 10px; /* Add spacing between icons */
}

.header-social a {
    margin: 0; /* Remove default margin */
    color: #fff; /* Icon color */
    font-size: 20px; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth transition for hover */
}
}
/* Specific adjustments for ipad screens */
@media (min-width: 768px) and (max-width: 1024px) {
        /* Navbar collapse menu styling */
    .navbar-collapse {
        background: #121212 !important; /* Ensure dropdown menu is visible */
        z-index: 9998 !important; /* Slightly below the navbar */
        position: absolute !important;
        top: 70px !important; /* Align dropdown menu below the navbar */
        left: 0;
        width: 100%;
    }

    .navbar-collapse.show {
        display: block !important;
        height: auto !important;
        padding: 10px 0 !important;
    }

    /* Navbar links */
    .navbar .nav-link {
        color: #fff !important;
        text-align: center;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #383838;
    }
    /* Adjust letters */
    .letter {
        width: 40px; /* Smaller size for laptop screens */
        height: 40px;
        background-size: cover; /* Ensure the image scales properly */
        background-repeat: no-repeat;
        background-position: center;
    }

    .letter-t {
        background-image: url('img/intro/T_small55.png'); /* New T image for laptops */
    }

    .letter-s {
        background-image: url('img/intro/S_small55.png'); /* New S image for laptops */
    }

    .letter-e {
        background-image: url('img/intro/E_small55.png'); /* New E image for laptops */
    }

    .side-content .side-text {
        font-size: 22px; /* Slightly smaller for laptop screens */
        line-height: 1.4; /* Adjust line height for readability */
    }

    /* Adjust spacing between letter and side content */
.letter-row {
    gap: 10px; /* Space between items inside the row */
    margin-top: 1px; /* Space above the row */
    margin-bottom: -38px; /* Slightly reduce the space below */
}
    .custom-btn {
    display: block;
    padding: 10px 20px;
    text-align: center;
    border: none;
    border-radius: 30px 0 30px 0;
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.buttons-container {
    position: absolute; /* Position relative to the parent container */
    right: 10px; /* Keep it near the right edge of the container */
    top: 50%; /* Center vertically relative to the container */
    transform: translateY(-50%); /* Adjust for centering */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.side-content .side-paragraph {
    font-size: 16px; /* Maintain readability */
    font-weight: normal;
    color: #accbeb;
    line-height: 1.0;
    max-width: 85%; /* Limit width for better layout on all screens */
    text-align: justify; /* Align text for readability */
    margin: 0 auto; /* Center the paragraph */
    padding: 0 15px; /* Ensure proper spacing on both sides */

}
.highlight {
    color: #3a7bd5;
    font-weight: bold;
    font-size: 16px !important;
}
.banner-headline {
    display: flex;
    flex-direction: column;
    gap: 0px;
    max-width: 100%;
    margin-top: 100px;
    padding-top: 20px;
}
.header-social {
    margin-top: 0px; /* Keep the spacing above */
    text-align: left; /* Align the icons to the left */
    position: relative;
    left: -50px; /* Move it further left (adjust as needed) */
    top: 0px; /* Adjust vertical positioning if required */
    display: flex; /* Ensure icons are in a row */
    gap: 10px; /* Add spacing between icons */
}

.header-social a {
    margin: 0; /* Remove default margin */
    color: #fff; /* Icon color */
    font-size: 20px; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth transition for hover */
}
}
@media screen and (min-width: 992px) and (max-height: 600px) {
  header {
    position: relative;
    min-height: auto !important;
    height: auto !important;
  }

  .banner-headline {
    margin-top: 15px !important;
    padding-top: 0 !important;
  }

  .letter-row {
    gap: 6px !important;
    margin-top: 0 !important;
    margin-bottom: -2px !important;
  }

  .letter img {
    width: 32px !important;
    height: 32px !important;
  }

  .side-content .side-text {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .side-content .side-paragraph {
    font-size: 12px !important;
    line-height: 1.2 !important;
    max-width: 95% !important;
    padding: 0 8px !important;
    margin-bottom: 4px !important;
  }

  .buttons-container {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 8px !important;
    z-index: 1 !important;
    gap: 6px !important;
  }

  .custom-btn {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  .header-social {
    top: 8px !important;
    left: -30px !important;
    gap: 6px !important;
  }

  .header-social a {
    font-size: 15px !important;
  }

  html,
  body {
    overflow-y: auto !important;
    height: auto !important;
  }
}



/* For 768px Width (Mobile) */
@media (max-width: 768px) {
/* hide page scrollbar */
html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
/* end hide page scrollbar */
[data-overlay-dark] .container,
[data-overlay-light] .container {
    position: relative; /* Maintain stacking context */
    height: auto; /* Allow it to grow as needed */
    overflow-y: visible; /* Ensure it doesn't clip elements */
}
    /* Adjust the navbar */
    .navbar-collapse {
        background: #121212 !important; /* Ensure dropdown menu is visible */
        z-index: 9998 !important; /* Slightly below the navbar */
        position: absolute !important;
        top: 70px !important; /* Align dropdown menu below the navbar */
        left: 0;
        width: 100%;
    }

    .navbar-collapse.show {
        display: block !important;
        height: auto !important;
        padding: 10px 0 !important;
    }

    /* Navbar links */
    .navbar .nav-link {
        color: #fff !important;
        text-align: center;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #383838;
    }

    /* Letter-row adjustments */
    .letter-row {
        display: flex;
        align-items: center; /* Vertically center-align letter and content */
        gap: 10px; /* Adjust spacing between the letter and text */
        margin-bottom: 15px; /* Add spacing between rows */
    }
   /* Letter styling */

    .letter {
        width: 30px; /* Smaller size for laptop screens */
        height: 30px;
        background-size: cover; /* Ensure the image scales properly */
        background-repeat: no-repeat;
        background-position: center;
    }
    /* Hide letter images */
    .letter img {
        display: none !important;
    }

    /* Side content adjustments */
    .side-content {
        display: flex;
        flex-direction: column; /* Stack side-text and paragraph vertically */
        gap: 5px; /* Reduce space between elements */
        max-width: 100%; /* Ensure it fits within the viewport */
        text-align: left; /* Align text to the left */
        animation-delay: 5.1s; /* Add 8-second delay */
    }

    /* Side-text adjustments */
    .side-content .side-text {
        font-size: 18px; /* Resize text */
        font-weight: bold; /* Add emphasis */
        color: #fff; /* Match letter color */
        animation-delay: 5.1s; /* Add 8-second delay */
    }

    /* Side-paragraph adjustments */
    .side-content .side-paragraph {
        font-size: 14px; /* Smaller font size */
        color: #accbeb; /* Paragraph color */
        line-height: 1.5; /* Ensure proper spacing */
        max-width: 100%; /* Utilize full container width */
        margin: 0; /* Remove extra margin */
        animation-delay: 5.6s;
    }

    /* Add scroll functionality */
    .scrollable-container {
        overflow-y: auto !important;
        height: calc(100vh - 70px) !important; /* Full height minus navbar */
        padding-bottom: 20px; /* Add padding at the bottom */
    }
.text-container {
    overflow: scroll; /* Ensure no clipping occurs */
}
    /* Buttons and social links adjustments */
    .buttons-container,
    .header-social {
        display: none !important; /* Hide on mobile */
    }
/* Class for highlighted text */
.highlight {
    color: #fff !important;
    font-weight: bold;
    font-size: 15px !important;
    text-shadow: 1px 1px #000 !important;
}
.footer-link {
    text-decoration: none;
    font-size: 14px;

}
}
@media screen and (max-width: 575px) {
    .header .caption h1 {
        font-size: 20px;
        margin-top: 5px;
    }
}
/* 5th button animation delay (matches your stagger pattern) */
.buttons-container .animation-element:nth-child(5) {
  animation-delay: 2.0s;
}

/* LiveWire button (shared) */
.btn-livewire {
  font-size: 18px;
  background-color: #fff;             /* use color only here */
  padding: 15px 25px;
  border-radius: 30px 0 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  color: #111;
  height: 84px;
  width: 210px;
}

/* Image version (if you use <img>) */
.btn-livewire-img {
  height: 70px;
  width: auto;
  transform: scale(1.05);
  display: block;
}

/* Background-image version */
.btn-livewire-bg {
  background-color: #fff; /* keep separate from image */
  background-image: url("/img/intro/TSELivewire-02.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120px auto;
}

/* IMPORTANT: Do not use background shorthand on hover.
   Re-affirm the image in case a global :hover resets it. */
.btn-livewire:hover,
.btn-livewire-bg:hover,
.custom-btn.btn-livewire-bg:hover {
  background-color: #f7f7f7;
  background-image: url("/img/intro/TSELivewire-02.png") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120px auto;
  color: #000 !important;
}

/* Also guard against focus/active states resetting the bg */
.btn-livewire-bg:focus,
.btn-livewire-bg:active {
  background-image: url("/img/intro/TSELivewire-02.png") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .btn-livewire {
    height: 72px;
    width: 190px;
  }
  .btn-livewire-img {
    height: 38px;
  }
  .btn-livewire-bg {
    background-size: 78%;
  }
}

/* Font variable (optional) */
:root {
  --btn-font: "Inter", "Poppins", "Segoe UI", Arial, sans-serif;
}
/* LOCK THE STACK WIDTH */
.buttons-container{
  width: 240px;        /* <- set the exact column width you want */
  right: 40px;         /* optional: tuck closer to the edge */
  align-items: stretch;/* default, fine since we now control width */
}

/* MAKE EACH BUTTON MATCH THE STACK WIDTH */
.custom-btn{
  display: block;      /* keep your existing look */
  width: 70%;         /* fill the 240px column */
  box-sizing: border-box;
}

/* LiveWire tile: remove any fixed widths so it matches the rest */
.btn-livewire,
.btn-livewire-bg{
  width: 70% !important;   /* override earlier 210px */
  height: 84px;             /* keep your tile height */
}

/* If you want a slightly slimmer column on laptops */
@media (min-width:1024px) and (max-width:1480px){
  .buttons-container{ width: 220px; }
}
/* Philosophy section: buttons only (horizontal + shorter height) */
.philosophy-section.philosophy-buttons-only{
  padding: 28px 0;
  min-height: 0;
  height: auto;
}

.philosophy-section.philosophy-buttons-only .buttons-container{
  position: relative;
  top: auto;
  right: auto;
  transform: none;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

  gap: 42px;
  width: 100%;
  z-index: 2;
}

/* Make each button size nicely in a row */
.philosophy-section.philosophy-buttons-only .custom-btn,
.philosophy-section.philosophy-buttons-only .btn-livewire,
.philosophy-section.philosophy-buttons-only .btn-livewire-bg{
  width: auto !important;
}

/* Optional: slightly tighter padding to help shorten overall height */
.philosophy-section.philosophy-buttons-only .custom-btn{
  padding: 18px 58px;
  font-size: 20px;
}

/* Keep LiveWire tile from being too tall in this row */
.philosophy-section.philosophy-buttons-only .btn-livewire,
.philosophy-section.philosophy-buttons-only .btn-livewire-bg{
  height: 80px;
  min-width: 212px;
}

/* Mobile: stack if needed */
@media (max-width: 768px){
  .philosophy-section.philosophy-buttons-only{
    padding: 18px 0;
  }

  .philosophy-section.philosophy-buttons-only .buttons-container{
    gap: 10px;
  }
}
/* Hide Philosophy buttons-only section on 992px and below */
@media (max-width: 991.98px){
  .philosophy-section.philosophy-buttons-only{
    display: none !important;
  }
}
/* TSE Difference grid section */
.tse-diff{
  background: #000;
  padding: 58px 0 70px;
}

.tse-diff-title{
  color: #fff;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 26px;
}

/* 4 columns x 2 rows */
.tse-diff-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tse-tile{
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.tse-tile-inner{
  padding: 22px 22px;
  width: 100%;
}

/* Text styles (match screenshot vibe) */
.tse-big{
  font-weight: 900;
  font-size: 44px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.tse-mid{
  font-weight: 800;
  font-size: 28px;
  line-height: 1.12;
}

.tse-small{
  margin-top: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  opacity: 0.95;
}

/* Tile backgrounds */
.tse-tile--dark{ background: #000; }

.tse-tile--blue{ background: #446CE6; }

.tse-tile--pink{ background: #D84EC9; }

.tse-tile--purple{ background: #6B57C8; }

/* Blue/Purple gradient tile (top-left) */
.tse-tile--grad{
  background: radial-gradient(120% 120% at 10% 10%, #6fa6ff 0%, #6a68ff 35%, #a64bd3 70%, #7e42c1 100%);
}

/* Responsive */
@media (max-width: 991.98px){
  .tse-diff-title{ font-size: 34px; }
  .tse-diff-grid{ grid-template-columns: repeat(2, 1fr); }
  .tse-tile{ min-height: 150px; }
  .tse-mid{ font-size: 24px; }
  .tse-big{ font-size: 40px; }
}

@media (max-width: 575.98px){
  .tse-diff{ padding: 44px 0 50px; }
  .tse-diff-title{ font-size: 28px; }
  .tse-diff-grid{ grid-template-columns: 1fr; }
}
.tse-diff-intro{
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.35;
  margin: 0 0 26px;
  max-width: 1200px;
}

/* Responsive */
@media (max-width: 991.98px){
  .tse-diff-intro{
    font-size: 20px;
    line-height: 1.4;
  }
}

@media (max-width: 575.98px){
  .tse-diff-intro{
    font-size: 18px;
  }
}
/* Testimonials: scrolling still images (replaces video) */
.testimonials.testimonials-marquee{
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 70px 0 65px;
}

/* Make sure heading always sits above the strip */
.testimonials.testimonials-marquee .testimonials-video-content{
  position: relative;
  z-index: 3;
  padding: 0 !important;
}

/* If your template adds a dark overlay, keep it but do NOT haze the cards */
.testimonials.testimonials-marquee .opacity-full-dark{
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;            /* key: reduce haze */
  pointer-events: none;
}

/* Background layer */
.testimonials-marquee-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Dedicated strip area under the title */
.testimonials-strip{
  position: relative;
  z-index: 2;
  margin-top: 22px;         /* space under h3/divider */
  height: 380px;            /* strip height */
  overflow: hidden;
}

/* subtle overhead light glow in the strip (like the reference) */
.testimonials-strip:before{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 160px;
  background: radial-gradient(ellipse at top, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%);
  z-index: 2;
  pointer-events: none;
}

/* Track */
.testimonials-marquee-track{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 22px;
  width: max-content;

  animation: tseMarquee 42s linear infinite;
  will-change: transform;
}

/* Cards */
.tmarquee-item{
  flex: 0 0 auto;
  width: 520px;
  height: 320px;
  background: #f2f2f2;
  border-radius: 4px;
  overflow: hidden;

  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
}

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

  /* keeps the screenshots crisp instead of dull */
  filter: contrast(1.08) brightness(1.05);
}

/* Smooth infinite scroll */
@keyframes tseMarquee{
  0%{ transform: translateY(-50%) translateX(0); }
  100%{ transform: translateY(-50%) translateX(-50%); }
}

/* Responsive */
@media (max-width: 1199.98px){
  .testimonials-strip{ height: 350px; }
  .tmarquee-item{ width: 460px; height: 300px; }
}

@media (max-width: 991.98px){
  .testimonials.testimonials-marquee{ padding: 60px 0 55px; }
  .testimonials-strip{ height: 320px; }
  .testimonials-marquee-track{ gap: 22px; animation-duration: 38s; }
  .tmarquee-item{ width: 380px; height: 270px; }
}

@media (max-width: 575.98px){
  .testimonials-strip{ height: 280px; }
  .testimonials-marquee-track{ gap: 16px; animation-duration: 34s; }
  .tmarquee-item{ width: 320px; height: 240px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .testimonials-marquee-track{ animation: none; }
}