@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Quattrocento:wght@400;700&display=swap');
:root {
  --screen-width: 0;
  --primary-color: #ee1395;
  --text-color: #3b3939;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Oswald', sans-serif;
}
body,
html {
  width: 100%;
  min-height: 100%;
  font-size: 15px;
  font-family: 'Oswald', sans-serif;
  background: #fff;
  color: var(--text-color);
}
body {
  display: flex;
  justify-content: center;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: 1300px;
  padding: 0 16px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-x: hidden;
}

.header-span{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100px;
    justify-content: center;
    align-items: center;
    position: relative;
    /* border: 1px solid black; */
}


.span-logo {
    width: 25%;
    height: 150px;
    justify-content: center;
    align-items: center;
    color: #ee1395;
    font-size: 3em;
    font-weight: 800;
    /* font-family: 'Times New Roman', Times, serif; */
    /* border: 1px solid black; */
    /* border-radius: 50%; */
}


.span-logo img{
    width: 100%;
    height: 150px;
    /* border: 1px solid black; */    
}
.header-icons{
    display: flex;
    flex-direction: row;
    width: 80%;
    margin-right: 30px;
    /* margin-left: 30px; */
    /* align-items: center; */
    justify-content: flex-end;
}

.header-sub-icons{
    display: flex;
    flex-direction: row;
}

.header-sub-icons img{
    width: 40px;
    height: 40px;
}

/* Navigation menu starts here */

nav{
    /* padding: 0px; */
    margin-right: 0;
    margin-top: 10px;
    padding-left: 10px;
    /* padding-left: 5px; */
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* box-sizing: border-box; */
    flex-wrap: wrap;
    height: 40px;
    background-color:#ee1395 ;
}

nav ul{
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 600; 
    
}

nav ul li a:hover{
    color: antiquewhite;
}

/*Navigation menu ends here */

/* Home page welcome to Meera Hospital starts here */

.intro{
    
    /* border: 2px solid black; */
    width: 90vw;
    position: relative;
    margin: 10px auto;
    display: flex;
    flex-direction: column;

    overflow: hidden;
    align-items: center;
    justify-content: center;

    padding: 10px 10px;
    font-size: 1.5em;
    font-weight: bolder;
    padding-bottom: 10px;
    color:rgb(116, 109, 109);   
    font-family: 'Oswald', sans-serif;
}

.intro p{
  margin-top: 10px;
}

.colorcode{
    color: #ee1395;
    
}
.font-size2em{
    font-size: 1em;
}

.home-ul-div{
    display: flex;
    flex-direction: row;
}

.home-ul-div div{
    display: flex;
    flex-direction: column;
}

.home-ul-div ul {
    list-style-type: circle;
    color: #ee1395;
    font-size: 1em;
    margin: 50px;
}

.home-ul-div div button{
    border-radius: 10px;
    height: 50px;
    width: 200px;
    margin: 20px;
    color: #ee1395;
    font-weight: 800;
    font-size: 1em;
    border: 2px solid #ee1395;
    cursor: pointer;
    margin-left: 40px;
}

.home-ul-div div button:hover{    
    background-color: #ee1395;
    color: white;
}

/* emergency call details page */
.innerpage-header-title{
    width: 100%;
    height: 50px;
    color:  #ee1395;
    
    font-size: 2em;
    font-weight: 800;
    align-items: center;
    padding-left: 30px;
    padding-top: 12px;
}

.header-color{
    color: #ee1395;
    font-size: 20px;
    font-weight: 600;
}

.header-alignment{
    margin-left: 30px;
    margin-top: 20px;
}

.table-layout{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    font-weight: 900;
    margin-left: 30px;
}

.table-layout-row{
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0px;
    
}

/* .table-layout-value  */
.table-layout-value{
    padding: 10px;
    width: 50%;
    
    padding-left: 10px; 
}
.table-layout-label{
    padding: 10px;
    width: 50%;
    
    padding-left: 10px; 
}


/* emergency call details page ends here*/

/*Homepage Specalized section*/

.section-class {
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    color: rgb(116, 109, 109);
    width: 90vw;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow-y: hidden;
    overflow-x: hidden;
    padding: 40px 40px;
    /* border: 1px solid red; */
  }
  
  .section-class .section-class-lbl {
    width: 60%;
    /* border: 1px solid black; */
    /* margin: 10px auto; */
    align-items: center;
    justify-content: center;
  }
  
  .pagination-container {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 95%;
    height: 300px;
    cursor: pointer;
    /* left: 0; */
    align-items: center;
    overflow: hidden; /* hide overflowing content */
    /* border: 1px solid black; */
    /* background-color: red; */
    padding: 50px;
  }
  
  .section-boxes {
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 100%;
    /* border: 1px solid blue; */
    align-items: center;
    justify-content: center;
    /* padding-left: 50px; */
    /* top: 0; */
    /* left: 100;
    right: 100; */
    /* margin-left: 50vw; */
    /* margin-top: 100px; */
    /* padding: 100px 100px; */
    /* margin-top: 50px; */
    /* margin-bottom: 160px; */
  }
  
  .box-container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    /* margin-left: 50px; */
    /* overflow: hidden; */
    width: 1000px; /* 100% for each set of three boxes */
    transition: transform 0.5s ease-in-out;
  }
  
  .section_singlebox {
    /* flex: 0 0 33.33%; */
    /* left: 0; */
    display: flex;
        flex-direction: column;
        padding: 5px 5px;
    align-items: center;
    justify-content: center;
    margin: 30px;
    width: 100%;
    height: 70%;
    border: 1px solid transparent;
    box-shadow: 10px 14px 18px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
  }

  .section_singlebox h3{
    color: #ee1395;
    
  }

  .section_singlebox a{
    /* text-decoration: none; */
    cursor: pointer;
    color: black;
  }

  
  /* .nav-dots {
    display: flex;
    margin-top: 10px;
  } */
  
  .nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0 5px;
    cursor: pointer;
    z-index: 3;
  }

  
  /*END Homepage specalized section*/

  /*Footer*/


  .footer{
    /* display: flex;
    flex-direction: row; */
    padding: 10px 10px;
    padding-bottom: 30px;
    font-size: 1.2em;
    color: white;
    margin-top: 30px;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(90deg, #931460  0%, #b41976 35%, #ee1395 100%);
  }

  .footer_location{
    width: 95%;
    display: flex;
    flex-direction: column;
  }

  .footer_location1{
    padding: 10px;
    display: flex;
    flex-direction: column;
  }

  .footer_copyright{
    font-family: 'Oswald', sans-serif;
    font-size: 1.2em;
    width: 95vw;
    height: 100%;
    margin-left: 20px;
    flex-direction: column;
    color:rgb(116, 109, 109);
  }

  .carousel {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000;
    position: relative;
    height: 560px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  }

  .carousel_track {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .carousel_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .carousel_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .carousel_label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: clamp(220px, 32%, 360px);
    padding: 32px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    z-index: 2;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.1));
  }

  .carousel_label_text {
    width: 100%;
    max-width: 320px;
    line-height: 1.2;
  }

  .carousel_button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease;
  }

  .carousel_button:hover {
    background: rgba(255, 255, 255, 0.45);
  }

  .carousel_btn--left {
    left: 16px;
  }

  .carousel_btn--right {
    right: 16px;
  }

  .carousel_button img {
    width: 28px;
    height: 28px;
    border-radius: 0;
  }

  .carousel_nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
    cursor: pointer;
  }

  .carousel_nav button {
    cursor: pointer;
  }

  .carousel_indicator {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.6);
  }

  .carousel_indicator.current_slide {
    background-color: rgba(255, 255, 255, 0.95);
  }

  .is-hidden {
    display: none;
  }

  /* This CSS for text animation label on top of image */

  /* .carousel_label_text ul {
      list-style: none;
      padding: 0;
      margin: 0;
      overflow: hidden;
    }
  
    .carousel_label_text li {
      opacity: 0;
      transform: translateY(0);
      transition: opacity 0.5s ease, transform 0.5s ease;
    } */
  
  /* .carousel_label_text li.hide {
      opacity: 0;
      transform: translateY(0);
    } */
  /* .carousel_label_text li:first-child {
      transition-delay: 0s;
    }
  
    .carousel_label_text li:nth-child(2) {
      transition-delay: 3s;
    }
  
    /* Add more rules for additional li elements as needed */
  
    /* .carousel_label_text li.show {
      opacity: 1;
      transform: translateY(0);
    } */

    .carousel-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
    }
  
    .carousel-item.show {
      opacity: 1;
    }

  @media screen and (max-width: 800px) {

    .carousel {
      height: 420px;
    }
    .carousel_label {
      width: 100%;
      position: absolute;
      padding: 20px;
      font-size: 1.2rem;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
    }
    .carousel_label_text {
      max-width: 100%;
    }
    .carousel_button {
      width: 44px;
      height: 44px;
    }
    .carousel_nav {
      gap: 0.5rem;
    }
  }

  .innerpage_heading{
    font-size: 1.5em;
    color: #ee1395;
    flex-direction: column;
    align-items:center;
  }
  .page_description{
    flex-direction: column;
    margin-top: 20px;
  }

  .page_description ul{
    margin-left: 30px;
  }
  .page_description p{
    margin-left: 30px;
  }

  .pagebody{
    flex-direction: row;
    height: 100%
  }

  .pagebody .pagebody_left{
    flex-direction: column;
    width: 75vw;
  }

  .pagebody .pagebody_right{
    flex-direction: column;
    /* padding-top: 200px; */
    top: 0;
    /* margin: 100px; */
    /* padding: 70px; */
    width: 25vw;
    position: relative;
    height: 100%;
    /* overflow: hidden; */
  }

  .doctors_profile{
    flex-direction: column;
    margin-top: 40px;
    width: 90%;
    height: 400px;
    align-items: center;
    /* align-items:last baseline; */
    border: 1px solid transparent;
    box-shadow: 10px 14px 18px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
  }

  .doctors_profile .doctors_image{
    position: relative;
    /* width: 100px; */
    /* width: 15vw; */
    height: 200px;
  }

  .doctors_profile .doctors_image img{
    height: 200px;
    width: 100%;
  }

  .doctors_profile .doctors_name {
    color: #ee1395;
    font-weight: 700;
  }

 .doctors_profile .book_appointment{
  margin-top: 10px;
  left: 0;
  width: 60%;
  height: 40px;
  margin-bottom: 10px;
  /* margin-left: 180px; */
  align-items: center;
  /* border: 1px solid black; */
 }

  .doctors_profile .book_appointment a{
    text-decoration: none;
    width: 100%;
    height: 40px;
    align-items: center;
    
  }

  .bookappointment_btn{
    width: 100%;
    height: 40px;
    border: 2px solid #ee1395;
    align-items:center;
    justify-content: center;
    border-radius: 15px;
    color: #ee1395;
    /* align-items: center; */
  }
  .bookappointment_btn:hover{
    color: white;
    background-color: #ee1395;
  }
  .customhight500px{
    height: 450px;
  }
  /* .doctors_profile .doctors_image img{
    width: 100%;
    height:100%;
  } */

  /* deparment page*/
  .department_section{
    font-size: 1.5em;
    height: 100%;
    color: #ee1395;
    flex-direction: column;
    align-items:center;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    /* width: 90%; */
  }

  .grid-container {
    display: grid;
    width: 90%;
    height: 100%;
    /* border: 1px solid black; */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    row-gap: 40px;
    padding: 20px;
    /* margin: ; */
    justify-content: center;
    align-items: center;
}

.grid-item {
    /* background-color: #3498db; */
    color: #fff;
    padding: 20px;
    text-align: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 200px;
    height: 200px;
    flex-direction: column;
}

.grid-item-img{
  height: 180px;
  /* width: 120px; */
}

.grid-item-img img{
  height: 180px;
  width: 180px;
}


.grid-item-label{
  color: #ee1395;
  font-weight: 300;
}


  /*Department Page ends here*/

  /*Insurance page*/
.insurance-label{
  margin-top: 20px;
}
  .insurance-container{
    
    color: black;
    justify-content: left;
    width: 90%;
    margin-top: 50px;
    font-size: 1.3rem;
    flex-direction: column;
  }
  .insurance-description{
    flex-direction: column;
    margin-top: 10px;
  }
  .insurance-table{
    margin-top: 10px;
    flex-direction: column;
    /* border: 1px solid black; */
    /* padding: 5px; */
  }
  .insurance-row{
    padding: 5px;
    border: 1px solid black
  }
  /*Insurance Page ends here*/

  /*Gallery-Facilities*/

  .gallery-container{
    font-size: 1.2rem;
    width: 100%;
    align-items: center;
    flex-direction: column;
  }
  .gallery-container h3{
    color: #ee1395;
    font-weight: 800;
    font-size: 2rem;
  }

  .gallery-tab-btns{
    width: 100%;
    gap: 50px;
    margin-top: 30px;
    cursor: pointer;
    /* align-items: center; */
    justify-content: center;
    /* background-color: beige; */
  }

  .gallery-button{
    font-size: 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid #ee1395;
  }

  .gallery-button:hover{
    color: #ee1395;
    font-weight: 500;
  }

  .gallery-body{
    margin-top: 30px;
    width: 90%;
    /* border: 1px solid black; */
    /* align-items: center;
    justify-content: center; */
  }

  .grid-item img{
    width: 100%;
    height: 100%;
  }

  .grid-gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
  }

  .grid-gallery-item {
    border: 1px solid #ccc;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
  }
  .grid-gallery-label{
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 900;
    color: black;
    /* margin: 250px 50px; */
  }

  .grid-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .span-2-columns {
    grid-column: span 2;
  }

  .span-2-rows {
    grid-row: span 2;
  }

  .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: rgba(0, 0, 0, 0.3); /* Black overlay with transparency */
    padding: 10px;
    box-sizing: border-box;
    color: white; /* Text color */
  }

  .text-overlay h2 {
    margin: 0;
  }
  /*End Gallery Facilities*/

  /*Contact Us*/

  .contact-form{
    margin-top: 30px;
    
    width: 50%;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .contact-form-row{
    flex-direction: row;
    padding: 10px;
    width: 100%;
  }
  .contact-label{
    width: 50%;
  }
  .contact-field{
    width: 50%;
  }
  .contact-field input{
    width: 200px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
  }
  .contact-btn{
    width: 200px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    background-color: #ee1395;
  }
  /*end Contact Us*/

  /*About us*/
  .aboutus-body{
    flex-direction: column;
    width: 90%;
  }
  /*end about us*/