 #carousel-section {
     position: relative;
     width: 100%;
     height: 100vh;
     margin: 0;
     background: #0F0D0D;
     font-family: 'Outfit', sans-serif;
 }

 .carousel {
     position: relative;
     width: 100%;
     height: 100%;
 }

 .carousel-inner {
     position: relative;
     width: 100%;
     height: 100%;
 }

 .carousel-item {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     z-index: 0;
     pointer-events: none;
     animation: none;
 }

 .carousel-item.show {
     opacity: 1;
     z-index: 1;
     pointer-events: auto;
     animation: fade 1.5s ease-in-out;
 }

 .carousel-item.zoom-out {
     animation: zoomOut 1.5s ease-in-out;
     opacity: 0;
     z-index: 0;
 }

 .carousel-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0.6;
 }

 @keyframes fade {
     from {
         opacity: 0.1;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes zoomOut {
     from {
         opacity: 1;
         transform: scale(1);
     }

     to {
         opacity: 0.1;
         transform: scale(0.8);
     }
 }

 .carousel-caption {
     text-align: left;
     left: 15%;
     top: 50%;
     transform: translateY(-50%);
     color: white;
     /* max-width: 600px; */
     z-index: 2;
     position: absolute;
 }

 .carousel-caption h5 {
     font-family: 'Caveat';
     font-style: italic;
     font-weight: 700;
     font-size: 24px !important;
     color: white;
     font-style: italic;
 }

 .carousel-caption h1 {
     font-family: 'Parkinsans', sans-serif;
     font-size: 72px;
     color: white;
     font-weight: 900;
 }

 .carousel-caption p {
     font-family: 'Outfit', sans-serif;
     font-size: 16px;
     color: white;
     margin-bottom: 1.5rem;
 }

 .carousel-caption .btn {
  position: relative;
  display: inline-block;
  background-color: white;
  color: black;
  border-radius: 50px;
  padding: 14px 40px;
  font-family: 'Outfit', sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.3s ease, padding-right 0.3s ease;
}

.carousel-caption .btn::after {
  content: "↗";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-10%) scale(0);
  color: black;
  font-size: 25px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-caption .btn:hover {
  background: #DFE121;
  padding-right: 60px; /* make space for arrow */
}

.carousel-caption .btn:hover::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.d-flex-hero {
    display: flex;
    padding: 0px 20px 20px 20px !important;
    margin: 10px 0px;
}

 .progress-container {
    position: absolute;
    bottom: 0px;
    /* padding: 0px 30px 20px 30px; */
    background-color: black;
    right: 0%;
    display: flex;
    flex-direction: row;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    z-index: 2;
    gap: 0px; /* spacing between items */
}

 .progress-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -15px; /* half of .progress-container gap */
    width: 1px;
    height: 80%;
    background-color: #555;
    opacity: 0.5;
}

 .progress-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* padding: 0 10px; */
    position: relative;
}

 .progress-item strong {
     font-size: 36px;
     font-weight: bold;
     margin: 5px 10px 0px 10px;
     color: white;
 }

 .text-and-line {
     display: flex;
     flex-direction: column;
     width: 100%;
 }

 .text-and-line span {
     display: block;
     font-size: 15px;
     font-weight: 800;
     color: white;
 }

 .text-and-line small {
     font-size: 14px;
     font-weight: 400;
     opacity: 0.8;
     color: white;
 }

 .progress-line-container {
     display: flex;
     width: 100%;
     margin-bottom: 5px;
     background: #ddd;
 }

 .progress-line {
     height: 4px;
     width: 0;
     background: #DFE121;
     transition: width 6s linear;
 }

 .progress-line.active {
     width: 100%;
 }

 @media (max-width: 768px) {
     .carousel-caption {
         left: 5%;
         max-width: 80%;
     }

     .carousel-caption h5 {
         font-size: 1.5rem;
     }

     .carousel-caption h1 {
         font-size: 2.5rem;
     }

     .carousel-caption p {
         font-size: 1rem;
     }

     .carousel-caption .btn {
         padding: 0.4rem 1rem;
         font-size: 0.9rem;
     }

     .progress-container {
         right: 5%;
         bottom: 3%;
         flex-direction: column;
         max-width: 100%;
         width: 95%;
     }

     .progress-item {
         padding: 0;
         max-width: 100%;
     }

     .progress-item strong {
         font-size: 1rem;
     }

     .text-and-line span {
         font-size: 0.8rem;
     }

     .text-and-line small {
         font-size: 0.7rem;
     }

     .progress-line-container {
         margin-bottom: 5px;
     }
 }

 @media (max-width: 768px) {
    .progress-item:not(:last-child)::after {
        display: none;
    }

    #carousel-section {
        height: 70vh !important;
    }

    .carousel-caption {
        top: 42% !important;
    }
 }

 @media (max-width: 576px) {
     .carousel-caption h5 {
         font-size: 1.2rem;
     }

     .carousel-caption h1 {
         font-size: 1.8rem;
     }

     .carousel-caption p {
         font-size: 0.9rem;
     }

     .carousel-caption .btn {
         padding: 0.3rem 0.8rem;
         font-size: 0.8rem;
     }

     .progress-container {
         right: 3%;
         bottom: 2%;
         gap: 15px !important;
     }

     .progress-item strong {
         font-size: 25px;
     }

     .text-and-line span {
         font-size: 18px;
     }

     .text-and-line small {
         font-size: 15px;
     }

     .progress-item strong {
          margin: 0px 10px 0px 10px;
     }

     .d-flex-hero{
        margin: 0px;
        padding: 0px 20px 5px 20px !important;
     }
 }

 .carousel-item.active {
     opacity: 1;
     z-index: 1;
     pointer-events: auto;
     animation: fade 1.5s ease-in-out;
 }


 @media (max-width: 768px) {
  .progress-item {
    display: none;
  }

  .progress-item.active {
    display: flex; /* or block, depending on layout */
  }
}
