
/* *************** */
/* Tailoring */
/* *************** */

/* Rental Section Layout */
.tailoring-container {
    display: flex; /* Use flexbox for horizontal alignment */
    flex-wrap: nowrap;
    align-items: center; /* Align items vertically */
    width: 100%; /* Full page width */
    min-height: 100vh; /* Ensure it takes up at least the full viewport height */
    box-sizing: border-box; /* Include padding and border in width calculations */
    gap: 40px;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 50px;
    padding-top: 0;
    margin-top: 0;
  }
  
  /* Left Content Section */
  .tailoring-content {
    width: 50%; /* Occupy the left half */
    padding: 20px; /* Add padding for spacing */
    text-align: left; /* Align text to the left */
  }
  
  /* Right Carousel Section */
  .tailoring-carousel-container {
    width: 50%; /* Occupy the right half */
    display: flex;
    overflow: hidden;
    position: relative; /* Ensure it stays within the section */
    background-color: black; /* Optional: Add a background to define the area */
  }
  
  /* Carousel Container */
  .tailoring-carousel {
    width: 50%; /* Right 50% for carousel */
    min-height: 80vh;
    height: auto;
    position: relative; /* Needed for positioning slides */
    overflow: hidden; /* Hide non-visible slides */
    display: flex;
    flex-direction: column;
  }
  
  .carousel {
    animation: none !important;
    
  }


  /* Individual Carousel Slides */
  .tailoring-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensure the image fills the slide */
    background-position: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 1s ease-in-out;
  }
  
  
  /* Ensure the first slide is visible initially */
  .tailoring-carousel-slide:first-child {
    opacity: 1;
  }
  
  .tailoring-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
  }
  
  .tailoring-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .tailoring-content p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
  