    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 10%;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        overflow: hidden;
    }
    .modal-content {
        position: relative;
        margin: auto;
        top: 10%;
        text-align: center;
        width: 50%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 500px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 60px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 5px;
        z-index: 1001;
    }
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
    .specialize-section-two {
        position: relative;
        padding: 35px 0 !important;
    }
/*@media only screen and (min-width: 2100px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 20%;
        text-align: center;
        width: 40%;
        color: white;
    }
}*/
@media only screen and (max-width: 1290px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 10%;
        text-align: center;
        width: 50%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 380px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 50px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
}
@media only screen and (max-width: 1080px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 8%;
        text-align: center;
        width: 50%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 380px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 50px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
}
@media only screen and (max-width: 991px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 9%;
        text-align: center;
        width: 90%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 500px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 50px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 35%;
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 5px;
        z-index: 1001;
    }
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
}
@media only screen and (max-width: 594px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 20%;
        text-align: center;
        width: 90%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 500px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 100px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 35%;
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 5px;
        z-index: 1001;
    }
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
}
@media only screen and (max-width: 479px){
    .modal-content {
        position: relative;
        margin: auto;
        top: 20%;
        text-align: center;
        width: 90%;
        color: white;
    }
    .modal-content img {
        max-width: 100%;
        max-height: 500px;
        margin-bottom: 10px;
    }
    .close {
        position: absolute;
        top: 100px;
        right: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }
    .prev, .next {
        cursor: pointer;
        position: absolute;
        top: 35%;
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 5px;
        z-index: 1001;
    }
    .prev {
        left: 20px;
    }
    .next {
        right: 20px;
    }
}

.carousel-caption {
      text-align: left; 
      right: auto;
      font-size: 36px;                                                      
    }   
.custom-carousel-img {
  width: 100%;        /* Makes the image fit the screen width */
  height: auto;       /* Adjusts height automatically based on width */
  object-fit: cover;  /* Ensures the image covers the container proportionally */
  max-height: 70vh;  /* Prevents the image from becoming too tall */
  top: 10vh;
  margin-top:0vh;
}
@media(max-width: 2000px) {
  .custom-carousel-img {
      max-height: 70vh; /* Further adjust height for extra small devices */
  }
}
@media(max-width: 1800px) { 
  .custom-carousel-img {
      max-height: 70vh; /* Further adjust height for extra small devices */
      /*transform: scale(0.8);*/
  }
    
}
@media(max-width: 1291px) {  
  .custom-carousel-img {
      max-height: 70vh; /* Further adjust height for extra small devices */
  }
    
}
@media (max-width: 991px) { 
  .custom-carousel-img {
      max-height: 70vh; /* Further adjust height for extra small devices */
  }
   
}
@media (max-width: 768px) { 
  .custom-carousel-img {
      max-height: 60vh; /* Adjust height for smaller devices */
  }
} 
/* Very small devices (phones) */
@media (max-width: 480px) { 
  .custom-carousel-img {
      max-height: 80vh; /* Further adjust height for extra small devices */
  }
}
@media(max-height: 768px) { 
  .custom-carousel-img {
      max-height: 100vh; /* Further adjust height for extra small devices */
  }
}
.inner-column { 
  background-color: #FFF;
}

