
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    
}

@font-face {
  font-family: 'TimesCustom';   /* you can give it any name */
  src: url('css/TimesCustom') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.full-name{
  font-family: 'TimesCustom', serif;
  font-size: 2.5em;
  font-weight: 600;
  color:    var(--blue-color);

}

/* then use it */
body {
  font-family: 'TimesCustom', serif;
}


body a {
    text-decoration: none;
    color: black;
}

body a:hover{
  color: var(--blue-color);
}

h1{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 41px;
}

h2{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 36px;
}

h3{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
}


h4{
    font-size: 16px;
  }

  
.button-1{
  
    background-color: var(--white-color);
    padding: 5px 0;
    color: var(--blue-color);
    font-size: 14px;
    font-weight: 600;
    display:  flex;
    width: auto;
    padding: 5px 15px;
    display: flex;
    gap: 50px;
    border: 1px solid black !important;
    
  }
  
  .button-2{
    color: var(--blue-color);
    background-color: var(--blue-color);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display:  flex;
    width: auto;
    padding: 5px 15px;
    display: flex;
    gap: 50px;
    border: 1px solid black !important;
    
  }

  .fa-circle-arrow-right,.fa-circle-arrow-left{
    
    font-size: 20px;
  }

  button:hover .fa-circle-arrow-right{
    transform: rotate(-45deg);
  }


  .padding-class{
    padding-top: 50px;
    padding-bottom: 50px;
  }

  
  :root{
    --orange-color:#f58220;
    --green-color:#00a651;
    --blue-color:#1b325e;
    --white-color:#fff;
  }

  .bg-main{
    background-color: var(--blue-color);
  }
  

  /* ----------------- hero main -------------------- */

  .hero-main{
    background-size: cover;
    
  }

  .carousel-inner{
    box-shadow: 0px 5px 10px #00000050;
    border: 2px solid white;
  }

/* Wrapper for the navigation elements */
.wrapper-elements {
    background-color: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Base styles for the inner elements */
.wrapper-elements .elements {
    padding: 1.5rem 1rem;
    height: 100%;
    transition: background-color 0.2s ease-in-out;
}

/* Hover effect on the elements */
.wrapper-elements .elements:hover {
    background-color: #f8f9fa;
}

/* Styles for images and text */
.wrapper-elements .elements img {
    width: 40px;
    height: 40px;
}

.wrapper-elements .elements h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #004d80;
}

/* ------------------------------
   RESPONSIVE STYLES
--------------------------------*/

/* Media query for medium to large screens (Tablet and up) */
@media (min-width: 768px) {
    /* Adjust border for the last element on tablet and larger screens */
    .wrapper-elements .col-md-6.border-end:nth-child(2) {
        border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
}

/* Media query for small screens (Mobile devices) */
@media (max-width: 767.98px) {
    .wrapper-elements {
        /* Remove rounded corners and box shadow for full-width mobile view */
        border-radius: 0 !important;
        box-shadow: none;
        margin-top: 1rem; /* Add some space from the top */
    }
    
    /* Ensure no borders on the right for mobile view */
    .wrapper-elements .border-end {
        border-right: none !important;
    }
    
    /* Add a bottom border to all but the last item for a cleaner look */
    .wrapper-elements > .col-6:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Adjust the inner element layout for smaller screens */
    .wrapper-elements .elements {
        flex-direction: row;
        justify-content: center;
        padding: 1rem;
    }

    .wrapper-elements .elements h6 {
        font-size: 0.9rem;
    }
}

  /* --------------------------reels ------------------------------------ */
  .reel-container {
    position: relative;
    width: 100%;
    /* 9:16 aspect ratio for vertical video */
    padding-top: 177.77%; /* (16 / 9) * 100 */
}

.reel-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px; /* Optional: adds rounded corners */
    outline: 2px solid var(--orange-color);
}
  /* ----------------------- Find a Doctor -------------------------------- */
/* --- Core Styles for Search Section --- */
.search-section-wrapper {
    background-color: #002b5c;
    border-radius: 12px;
    margin: 40px ;
}

.search-box-header h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

/* --- Styling Select Inputs and Button --- */
.search-section-wrapper .form-select {
    border: 1px solid #c7c7c7;
    background-color: #e9ecef;
    color: #495057;
    padding: 10px 15px;
    border-radius: 5px;
    height: 45px;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-section-wrapper .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.search-section-wrapper .form-select option {
    background-color: #fff;
    color: #495057;
}

.search-section-wrapper .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    height: 45px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}

.search-section-wrapper .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004d99;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-section-wrapper .btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* --- Doctor Profile Card Styles --- */
#results-container {
    /* padding-top: 50px; */
}

.doctor-profile {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .doctor-profile {
        text-align: center;
    }
    .search-section-wrapper {
      padding: 20px !important;
    }
}

.doctor-profile img {
    width: 120px;
    height: 120px;
    border-radius: 5%;
    object-fit: cover;
    flex-shrink: 0;
}

.doctor-profile h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: #212529;
    font-weight: 600;
}

.doctor-profile p {
    margin: 3px 0;
    font-size: 1rem;
    color: #495057;
}

.doctor-profile p strong {
    color: #333;
}

.doctor-profile .btn-success {
    margin-top: 15px;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.doctor-profile .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
}
    /* ---------------------- about section  -------------------------- */
  
    .about-section{
      background-image: url(images/night\ image\ 1.JPG);
      background-size: cover;
      background-position: center center;
      min-height: 100vh;
    }

    .about-section-details{
      border: 1px solid #ffffff60 ;
      background-color: #5e5d5d27;
      backdrop-filter: blur(9px);
  }

  @media(max-width:991px){
    .about-section-details{
      height: 200px;
    }
  }


  .about-section .about-text {
    width: 50%;
  }

  /* ---------------------- about -------------------------- */

.about-bg{
  
  background-size: cover;
  background-position: center center;
}

.bout img{  
  aspect-ratio: 1/1;
  object-fit: cover ; 
  object-position: center top;
  border-radius: 15px; 
  width: 100%;
  border: 2px solid white;
  box-shadow: 0px 10px 20px -5px #00000080;

}

.about-box img
{
  height: 20px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.about-box{
  background: #fde4cf50 ;
  border-radius: 5px;
}

.about-box p{
  font-size: 12px;
}

.col-sm-6:nth-child(2) .about-box {
  background-color: #FFCFD250;
}
.col-sm-6:nth-child(3) .about-box {
  background-color: #A3C4F350;
}
.col-sm-6:nth-child(4) .about-box {
  background-color: #98f5e150;
} 

/* ----------------- center of excellence ------------------- */

.centers-of-excellence {
  background: url(images/about-bg.jpg) center/cover no-repeat;
}

.centers {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 10px #00000050;
  transition: all transform 0.3s ease, filter 0.3s ease;
}

.centers h3{
  color: var(--orange-color);
}

.centers p {
  font-size: 0.85rem;
}

.centers img {
  max-width: 80%;
  height: auto;
}
.centers:hover img{
  transform: scale(1.3);
  transition:  transform 0.5s ease-in-out;
}

.centers .readmore {
  border: 0;
  padding-top: 10px;
  background: transparent;
  color: var(--orange-color);
  font-weight: 500;
}

.centers:hover {
  transform: scale(1.05);
}


.swiper-wrapper:hover .centers:not(:hover) {
  opacity: 0.5;
  filter: blur(2px);
  transition: 0.3s ease-in-out;
  transform: scale(0.95);
}

/*  other page section of some layout */
.row:hover .centers:not(:hover) {
  opacity: 0.5;
  filter: blur(2px);
  transition: all opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.row .centers:hover {
  opacity: 1;
  filter: blur(0);
}
.row.g-4 > [class*="col-"] {
  flex: 1 0 20%;  /* five equal parts */
}



/* new page over  */

@media (max-width: 1024px) {
  .centers img {
    max-width: 60%;
  }
  .swiper-wrapper:hover .centers:not(:hover) {
  opacity: 1;
  filter: blur(0px);
  transition: 0.3s ease-in-out;
  transform: scale(1);
}

/*  other page section of some layout */
.row:hover .centers:not(:hover) {
  opacity: 1;
  filter: blur(0px);
  transition: all opacity 0.3s ease-in-out, filter 0.3s ease-in-out;
}

}


/* ------------------ ICONS ---------------------------- */

   /* icons */



.icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 15px;
  border-radius: 100%;
  background-color: #ffffff;
  height: 150px;
  width: 150px;
  color: #1c345c;
  box-shadow: inset 10px 10px 5px -10px #a1bee654, 5px 5px 5px -5px #a1bee654;
  transition: all 0.3s ease-in-out;
}

.icons img {
  height: 60px;
  object-fit: contain;
}

.icons p {
  font-family: "Nunito Sans", serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.icons:hover {
  box-shadow: 2px 2px 2px var(--green-color), -2px -2px 2px var(--orange-color);
}
      
      /* ------------ Care and meet --------------------- */

  

/* care meet */
.caremeet {
  padding: 0px;
  transition: 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height:500px;  
}


.caremeet img {
  
  max-width: 150px; 
}

.care {
  transform: translateX(-100%) rotate(180deg);
  transition: 0.5s ease-in-out;
  animation: careAnimation 4s infinite;
}

.meet {
  transform: translate(100%) rotate(180deg);
  transition: 0.5s ease-in-out;
  animation: meetAnimation 4s infinite;
  z-index: 5;
}
/* Define responsive keyframes */
@keyframes careAnimation {
  0% {
    transform: translate(-90%, 0%) rotate(180deg);
  }
  50% {
    transform: translate(-25%, -80%) rotate(0deg);
  }
  75% {
    transform: translate(-25%, -80%) rotate(0deg);
  }
  100% {
    transform: translate(-90%, 0%) rotate(180deg);
  }
}

@keyframes meetAnimation {
  0% {
    transform: translate(90%, 0%) rotate(180deg);
  }
  50% {
    transform: translate(25%, 80%) rotate(0deg);
  }
  75% {
    transform: translate(25%, 80%) rotate(0deg);
  }
  100% {
    transform: translate(90%, 0%) rotate(180deg);
  }
}

/* Media Queries for responsiveness */
@media (max-width: 1600px) {

}


/* For very small screens (phones under 480px) */
@media (max-width: 375px) {

  .vims-details{
    height: auto;
  }
  
}

/* --------------- why choose us ------------- */

.why-choose-us {
  aspect-ratio: 1/1;
  width: 100%;
}

/* swiper */

.nav-slide div{
  color: green  !important;
  height: 50px;
  width: 100px;
  font-size: 50px !important;
}



/*----------------- Contact Section ----------  */


.contact-box{
  padding: 20px;
}

.social-icons .fa-brands{
  font-size: 24px;
}

.list-unstyled a:hover{
  color: var(--orange-color);
  transition: 0.2s ease-in-out;
}
.social-icons a:hover{
  color: var(--orange-color);
  transition: 0.2s ease-in-out;
}

.contact-box a:hover{
  color: var(--orange-color);
  transition: 0.2s ease-in-out;
} 

/*  FAQs*/

.accordion-item{
  margin-bottom: 20px;
}