.carousel-caption {
    position: absolute;
    z-index: 10;
    color: black;
    padding: 1rem;
    right: 0%;
    left: 5%;
    bottom: 45%;
  
  }

  .carousel-caption.top-left {
    top: 10%;
    left: 5%;
    text-align: left;
  }
  
  /* .carousel-caption.bottom-right {
    bottom: 10%;
    right: 5%;
    text-align: right;
  }
   */
  /* Typography classes for scaling */
  .carousel-caption .headline {
    font-size: 2rem;
    font-weight: bold;

  }
  
  .carousel-caption .subheadline {
    font-size: 1.8rem;
    color: #217066; 
  }
  
  .carousel-caption .caption-desc {
    font-size: 1.2rem;
  }



 /* Limit caption container width */
.carousel-caption.bottom-right {
    bottom: 10%;
    right: 5%;
    text-align: right;
    width: auto;
    max-width: 90%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
  }
  
  /* Style for the button */
  .offer-button {
    background-color: #217066;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    max-width: 100%;
    white-space: nowrap;
    display: inline-block;
  }
/* Base styles */
.Introbook, .Mob {
    background-color: #217066;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none;
    max-width: 100%;
    white-space: nowrap;
    display: inline-block;
    margin-right: 10px;
  }
  
  .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
  }
  

  /* Responsive carousel caption fix */
.carousel-caption.bottom-left {
    position: absolute;
    bottom: 30%;
    left: 5%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 10;
}

  /* Responsive styles */
  @media (max-width: 768px) {
    .carousel-caption.responsive-caption {
      bottom: 20px;
      left: 10px;
      right: 150px;
      text-align: center;
    }
  
    .button-group {
      flex-direction: column;
      align-items: center;
    }
  
    .Introbook, .Mob {
      font-size: 0.8rem;
      padding: 4px 8px;
      width: fit-content;
      text-align: left;
    }
  
    
  }
  
  @media (max-width: 480px) {
    .Introbook, .Mob {
      font-size: 0.5rem;
      padding: 2px 4px;
    }
  
    .button-group {
      gap: 4px;
    }
  }
  
  /* Responsive adjustments for small screens */
  @media (max-width: 768px) {
    .offer-button {
      font-size: 0.5rem;
      padding: 8px 16px;
    }
  
    .carousel-caption.bottom-right {
      right: 2%;
      bottom: 5%;
    }
  }
  
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .carousel-caption {
  
      padding: 0.5rem;
    }
  
    .carousel-caption .headline {
      font-size: 0.6rem;
    }
  
    .carousel-caption .subheadline {
      font-size: 0.4rem;
    }
  
    .carousel-caption .caption-desc {
      font-size: 0.3rem;
    }
  }
  