    /* Base styles for both desktop and mobile */
    /* Home slider — permanent fixed full-viewport background */
    .home-slider {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      margin: 0;
      padding: 0;
      z-index: 0;
      overflow: hidden;
    }

    .home-slider .slide .flex {
      width: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-color: var(--AzureDark);
      display: block;
      position: relative;
      z-index: 0;
    }

    .home-slider ul,
    .home-slider li {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .home-slider h1 {
      font-size: var(--FontSize4XL);
    }

    .home-slider .slides {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .home-slider .slide {
      opacity: 0;
      transition: opacity 1s ease-in-out;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      isolation: isolate;
    }

    .home-slider .slide.active {
      opacity: 1;
      position: absolute;
    }

    .home-slider .slide video,
    .home-slider .slide .flex {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }

    .home-slider .slide .flex {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-color: var(--AzureDark);
    }

    .home-slider .slide::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: -1px;
      left: 0;
      background: linear-gradient(to top,
        hsla(0, 0%, 0%, 1) 0%,
        hsla(0, 0%, 0%, 0.8) 20%,
        hsla(0, 0%, 0%, 0.4) 100%);
      z-index: 10;
      pointer-events: none;
    }

    .home-slider .slideContent {
      box-sizing: border-box;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 20;
      width: 80%;
      max-width: 1920px;
      overflow: hidden;
    }

    .home-slider .slideContent h1 {
      color: white;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }

    .home-slider .slideContent h2 {
      color: white;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }

    .home-slider .slideContent h3 {
      color: white;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }

    .home-slider .slideContent p {
      color: white;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
    }

    .home-slider .slideContent a {
      color: white;
      text-shadow: 0 0 10px hsla(0, 0%, 0%, 0.7);
      text-decoration: none;
    }

    /* Badge positioning */
    .home-slider .badge {
      position: absolute;
      z-index: 11;
      transition: all 0.3s ease;
    }

    /* Desktop styles */
    @media screen and (min-width: 769px) {
      .home-slider {
        margin-top: 0;
      }

      .home-slider .slide .flex {
        /* height handled by position: absolute top/bottom in base styles */
      }

      .home-slider .controls {

        height: 20vh;
        /* Height of the control area */
      }

      .home-slider .badge {
        right: 50px;
        bottom: 5vh;
        width: 150px;
      }
    }

    /* Mobile styles */
    @media screen and (max-width: 768px) {
      .home-slider {
        margin-top: 0;
        /* Remove negative margin on mobile */
      }

      .home-slider .slide {
        /* fullscreen via fixed parent */
      }

      .home-slider .slide::after {
        bottom: -1px;
      }

      .home-slider .slide video {
        width: 100%;
        object-fit: cover;
      }

      .home-slider .slideContent {
        bottom: 15%;
        padding: 10px;
        top: 60%;
        min-height: 60%;
      }
    

      .home-slider .slideContent h1 {
        font-size: 1.5em;
      }

      .home-slider .slideContent a {
        font-size: 1em;
      }

      .home-slider .slideContent h2 {
        font-size: 1.1em;
      }
      .home-slider .slideContent h3 {
        font-size: 1em;
      }

      .home-slider .badge {
        width: 100px;
        right: 50%;
        /* Center horizontally */
        bottom: -1vh;
        transform: translateX(50%);
        /* Center adjustment */
      }

      /* Fix background image display on mobile */
      .home-slider .slide .flex {
        background-size: cover;
        background-position: 50% center;
      }
    }