@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --clr-one: #f6f5f5;
  --clr-two: #e1f0da;
  --clr-font: #1b9c85;
  --clr-text: #677483;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 1rem;
}
body {
  font-family: "Poppins", sans-serif;
}
button {
  cursor: pointer;
}
i {
  cursor: pointer;
}
/* .container {
  margin: 2rem 4rem;
} */
.nav__bar {
  display: flex;
  justify-content: space-between;
  position: fixed;
  align-items: center;
  width: 100%;
  background: var(--clr-one);
  padding: 0.4rem 1rem;
  z-index: 1000000;
}
.nav__bar .logo {
  display: flex;
  align-items: center;
}
.nav__bar .logo img {
  height: 80px;
  margin-right: 10px;
}
.nav__bar .logo span {
  font-size: 2rem;
  padding-bottom: 0.5rem;
  margin: 0;
  display: flex;
  align-items: center;
}
.nav__bar .logo h2 {
  font-size: 2rem;
  margin: 5px;
  display: flex;
  align-items: center;
}
.nav__bar ul {
  display: flex;
  list-style: none;
  font-size: 1.1rem;
  gap: 1rem;
}
ul li a {
  color: var(--clr-font);
  text-decoration: none;
}
hr {
  color: var(--clr-font);
  height: 6.4rem;
  background: var(--clr-one);
}
/* -------------------------------------- */
.home {
  background: var(--clr-two);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 2rem 8rem;
}
.home .home__first {
  padding-top: 4rem;
  font-size: 0.9rem;
}
.home .home__first h2 {
  padding: 3rem 0 2rem 0;
  color: var(--clr-font);
  font-size: 2rem;
}


.home .home__second img {
  width: 400px;
  height: 400px;
  margin-left: 5rem;
}
/* --------------------------------------- */
.service {
  background: var(--clr-one);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8rem;
  text-align: center;
  gap: 1rem;
}

.service__top h2 span {
    color: var(--clr-font);
    font-size: 3rem;
  }

.service .service__first,
.service .service__second,
.service .service__third,
.service .service__fourth {
  border: 2px solid var(--clr-font);
  border-radius: 0.3rem;
}
.service .service__first i,
.service .service__second i,
.service .service__third i,
.service .service__fourth i {
  font-size: 5rem;
  padding: 2rem 0;
  color: var(--clr-font);
}
.service .service__first h2,
.service .service__second h2,
.service .service__third h2,
.service .service__fourth h2 {
  font-size: 2rem;
}
.service .service__first p,
.service .service__second p,
.service .service__third p,
.service .service__fourth p {
  padding: 1rem 0;
  font-size: 1rem;
}
/* ------------------------------------- */
.about__page {
  background: var(--clr-two);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8rem;
  text-align: left;
  gap: 1rem;
}
.about__page .about__one,
.about__page .about__two,
.about__page .about__three,
.about__page .about__four,
.about__page .about__five,
.about__page .about__six {
  border: 2px solid var(--clr-font);
  padding-left: 2rem;
  border-radius: 0.3rem;
}
.about__page .about__one i,
.about__page .about__two i,
.about__page .about__three i,
.about__page .about__four i,
.about__page .about__five i,
.about__page .about__six i {
  color: var(--clr-font);
  font-size: 5rem;
  padding: 2rem 2rem 1rem 2rem;
}
.about__page .about__one h2,
.about__page .about__two h2,
.about__page .about__three h2,
.about__page .about__four h2,
.about__page .about__five h2,
.about__page .about__six h2 {
  padding-bottom: 1rem;
  font-size: 1.5rem;
}
.about__page .about__one p,
.about__page .about__two p,
.about__page .about__three p,
.about__page .about__four p,
.about__page .about__five p,
.about__page .about__six p {
  color: var(--clr-text);
  font-size: 1rem;
}
.about__page .about__one button,
.about__page .about__two button,
.about__page .about__three button,
.about__page .about__four button,
.about__page .about__five button,
.about__page .about__six button {
  padding: 0.6rem 1.9rem;
  border: 2px solid var(--clr-font);
  border-radius: 0.5rem;
  background: var(--clr-font);
  margin: 1rem 0;
  color: var(--clr-one);
}
/* ------------------------------------------ */

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5rem 8rem;
  gap: 1rem;
  background-color: var(--clr-one);
}
.about__top h2 {
  text-align: center;
  font-size: 2rem;
  padding-top: 5rem;
  background-color: var(--clr-one);
}
.about__top h2 span {
  color: var(--clr-font);
  font-size: 3rem;
}
.about .about__second {
  padding-top: 1cap;
}
.about .about__second h2 {
  color: var(--clr-font);
  font-size: 1rem;
  padding-bottom: 2rem;
}
.about .about__second p {
  color: var(--clr-text);
  padding-top: 1rem;
  font-size: 1rem;
}
.about .about__second button {
  padding: 0.6rem 1.9rem;
  border: 2px solid var(--clr-font);
  border-radius: 0.5rem;
  background: var(--clr-font);
  margin: 2rem 1rem;
  color: var(--clr-one);
}
/* ------------------------------------- */
.doctor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px 0;
}
.doctor__title  span {
    color: var(--clr-font);
    font-size: 2.5rem;
  }

.doctor__one,
.doctor__two,
.doctor__three,
.doctor__four,
.doctor__five,
.doctor__six {
  flex: 1 1 30%;
  margin: 10px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  transition: transform 0.3s;
}

.doctor__one:hover,
.doctor__two:hover,
.doctor__three:hover,
.doctor__four:hover,
.doctor__five:hover,
.doctor__six:hover {
  transform: scale(1.05);
}

.doctor img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.doctor h2 {
  font-size: 1rem;
  margin: 10px 0;
}

.doctor p {
  font-size: 1r.2em;
  color: #555;
}

.doctor__title h2 {
  /* background: var(--clr-two); */
  text-align: center;
  font-size: 2.4rem;
  padding: 5rem 0 2rem 0;
}
.doctor__title h2 span {
  color: var(--clr-font);
}
.media__icon {
  text-align: center;
  font-size: 1.4em;
  padding: 2rem;
  color: var(--clr-font);
}
.media__icon i {
  padding: 0.6rem;
  border: 2px solid var(--clr-font);
  border-radius: 0.3rem;
}
/* -------------------------------------------- */
.book {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem 8rem;
}
.book__title h2 {
  text-align: center;
  font-size: 2.4rem;
  padding: 5rem 0 6rem 0;
}
.book__title span {
  color: var(--clr-font);
}
.book .book__first img {
  width: 300px;
  height: 300px;
}
.book .book__second {
  border: 2px solid var(--clr-font);
}
.book .book__second h2 {
  text-align: center;
  font-size: 20em;
  padding: 2rem 0;
}

/* Styles for the contact information */
.contact__info p {
    margin: 15px 0; /* Adds vertical spacing between paragraphs */
    font-size: 1rem; /* Adjusts font size for better readability */
    color: #555; /* Sets a lighter black (dark gray) color */
}

.contact__info strong {
    display: inline-block; /* Ensures the label (Email, Phone, Address) is on the same line */
    width: 120px; /* Sets a fixed width for labels to align them */
    color: #333; /* Sets a darker color for labels */
}
.book__title h2 span {
    color: var(--clr-font);
    font-size: 2.5rem;
  }

/* Remove underline from links */
.contact__info a {
    text-decoration: none; /* Removes the underline */
    color: #007BFF; /* Optional: sets a color for the links */
}

.contact__info a:hover {
    text-decoration: underline; /* Optional: adds underline on hover for better UX */
}
/* Bio-Medical Wastes Section */
#BioMedicalWastes {
    padding: 20px 2%; /* Padding for the section */
    background-color: #ffffff; /* White background for the section */
    border-radius: 8px; /* Optional: rounded corners */
    margin: 40px 0; /* Increased margin to separate from other sections */
    box-shadow: none; /* Remove any box shadow */
}


.bio-medical-title h2 {
    /* background: var(--clr-two); */
    color: black;
    margin-bottom: 15px;
    text-align: center;
    font-size: 2.4rem;
    padding: 1rem 0 6rem 0;

  }


.bio-medical-title h2 span {
    color: var(--clr-font);
    font-size: 2.5rem;
  }

#BioMedicalWastes ul {
    list-style-type: disc; /* Bullet points */
    padding-left: 20px; /* Indentation for bullet points */
    margin: 0; /* Remove default margin */
    border: none; /* Ensure no border is applied */
}

#BioMedicalWastes li {
    margin: 10px 0; /* Space between list items */
    color: #555; /* Dark gray color for list items */
    text-align: left; /* Align text to the left */
    font-size: 1.1rem;
}

#BioMedicalWastes a {
    color: #007BFF; /* Link color */
    text-decoration: none; /* Remove underline */
}

#BioMedicalWastes a:hover {
    text-decoration: underline; /* Underline on hover */
}


/* --------------------------------------------- */
.bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 5rem 8rem;
  background: var(--clr-two);
}
.bottom .bottom__one h2,
.bottom .bottom__two h2,
.bottom .bottom__three h2,
.bottom .bottom__four h2 {
  padding-bottom: 1rem;
}
.bottom .bottom__one ul,
.bottom .bottom__two ul,
.bottom .bottom__three ul,
.bottom .bottom__four ul {
  list-style: none;
  padding-bottom: 2rem;
}
.bottom .bottom__one ul li a span,
.bottom .bottom__two ul li a span,
.bottom .bottom__three ul li a span,
.bottom .bottom__four ul li a span {
  color: var(--clr-text);
  padding-left: 1rem;
  font-size: 0.9rem;
  
}
footer p {
  text-align: center;
  background: var(--clr-two);
}
/* ----------------------------------------------- */
/* First, update your CSS */
#menu__btn {
    color: var(--clr-font);
    font-size: 1.7em;
    cursor: pointer;
    display: none;
  }
  
  /* Remove the previous fa-bars and fa-times styles */
  #menu__btn i {
    display: block;
  }
  
  /* Add specific styles for the icons */
  #menu__btn i.fa-times {
    display: none;
  }
  
  #menu__btn.active i.fa-bars {
    display: none;
  }
  
  #menu__btn.active i.fa-times {
    display: block;
  }
  
 

/* Faded Text for Our Services in Footer */
/* .bottom__two h2, */
.bottom__two ul  {
  color: var(--clr-text); /* Adjust the color to a faded version */
  /* transition: color 0.3s ease; Smooth transition for hover effect */
  /* font-size: 0.8rem; */
  padding-left: 1rem;
}



.service__top h2 {
    text-align: center;
    font-size: 2.7rem;
    /* padding-top: 0rem; */
    padding-bottom: 4rem;
    background-color: var(--clr-one);
    
}

.service__top h2 span {
    color: var(--clr-font);
}

/* * Updated Media Queries for Better Responsiveness */ 
@media (max-width: 1024px) {
  .service {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--spacing-lg);
  }
  
  .about__page {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--spacing-lg);
  }
  
  .home {
    padding: var(--spacing-lg);
  }
  
  .doctor {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 830px) {
  body {
    overflow-x: hidden;
  }
  
  #menu__btn {
    display: block;
  }
  
  .nav__bar {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .nav__bar .navbar {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 100%;
    height:50vh;
    background: var(--clr-one);
    transition: 0.3s ease;
    padding: var(--spacing-md);
    z-index: 1000;
  }
  
  .nav__bar .navbar.active {
    right: 0;
  }
  
  .nav__bar ul {
    flex-direction: column;
    padding-top: var(--spacing-md);
  }
  
  .nav__bar ul li {
    margin: var(--spacing-sm) 0;
  }
  
  .home .home__second img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }
  
  .about .about__second {
    padding: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .service {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .about__page {
    grid-template-columns: 1fr;
  }
  
  .doctor {
    grid-template-columns: 1fr;
  }
  
  .book {
    grid-template-columns: 1fr;
    padding: var(--spacing-md);
  }
  
  .bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .nav__bar .logo h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
    --spacing-md: 1rem;
    --spacing-sm: 0.5rem;
  }
  
  /* .nav__bar {
    /* padding: var(--spacing-sm) var(--spacing-md); }*/
  
  .home {
    padding: var(--spacing-md);
  }
  
  .home .home__first h2 {
    font-size: 1.7rem;
  }
  
  .service,
  .about__page,
  .about,
  .doctor,
  .book,
  .bottom {
    padding: var(--spacing-md);
  }
  
  .bottom {
    grid-template-columns: 1fr;
  }
  
  .service__top h2,
  .doctor__title h2,
  .book__title h2,
  .bio-medical-title h2 {
    font-size: 2.8rem;
    padding: var(--spacing-lg) 0;
  }
  
  .nav__bar .logo img {
    height: 60px;
  }
  
  .nav__bar .logo h2 {
    font-size: 1.8em;
  }
}

/* Utility Classes for Responsiveness */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}


@media (max-width: 1024px) {
  .home {
    padding: 2rem 4rem;
  }
  
  .home .home__second img {
    width: 350px;
    height: 350px;
    margin-left: 2rem;
  }
}

@media (max-width: 830px) {
  .home {
    min-height: auto;
    padding: 6rem 2rem 2rem 2rem;
  }
  
  .home .home__first {
    padding-top: 2rem;
  }
  
  .home .home__first h2 {
    font-size: 2.5rem;
    padding: 2rem 0 1.5rem 0;
  }
  
  .home .home__second img {
    width: 300px;
    height: 300px;
    margin-left: 1rem;
  }
}

@media (max-width: 750px) {
  .home {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .home .home__first {
    padding-top: 0;
    order: 1;
  }
  
  .home .home__second {
    order: 0;
  }
  
  .home .home__second img {
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 5rem 1rem 2rem 1rem;
  }
  
  .home .home__first h2 {
    font-size: 1.8rem;
  }
  
  .home .home__first {
    font-size: 0.9rem;
  }
  
  .home .home__second img {
    width: 250px;
    height: 250px;
  }
}
/* Updated About Section Styles */
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5rem 8rem;
  gap: 1rem;
  background-color: var(--clr-one);
}

.about__top h2 {
  text-align: center;
  font-size: 3em;
  padding-top: 5rem;
  background-color: var(--clr-one);
}

.about__top h2 span {
  color: var(--clr-font);
}

.about .about__first img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin:  auto;
  margin-top: 20px;
  
}

.about .about__second {
  padding-top: 1cap;
}

.about .about__second h2 {
  color: var(--clr-font);
  font-size: 1.8rem;
  padding-bottom: 2rem;
}

.about .about__second p {
  color: var(--clr-text);
  padding-top: 1rem;
  font-size: 1.1rem;
}

/* Updated Contact Section Styles */
.contact__section {
  padding: 2rem 8rem;
  background: var(--clr-one);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact__info {
  padding: 2rem;
}


/* Media Queries for About and Contact Sections */
@media (max-width: 1024px) {
  .about {
    padding: 3rem 4rem;
  }
  
  .contact__section {
    padding: 2rem 4rem;
  }
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }

  .about .about__first img {
    max-width: 300px;
    margin: 0 auto 2rem;
  }

  .about .about__second {
    padding: 0 1rem;
  }

  .about .about__second h2 {
    font-size: 1.6em;
  }

  .about .about__second p {
    font-size: 0.9rem;
  }

  .contact__section {
    padding: 2rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
  }

  .map__container {
    height: 300px;
  }

  .contact__info p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 2rem 1rem;
  }

  .about .about__first img {
    max-width: 350px;
  }

  .about__top h2 {
    font-size: 2.8rem;
    padding-top: 3rem;
  }

  .about .about__second h2 {
    font-size: 1.5em;
  }

  .about .about__second p {
    font-size: 0.8rem;
  }

  .contact__section {
    padding: 1rem;
  }

  .map__container {
    height: 250px;
  }

  .contact__info {
    padding: 1rem;
  }

  .contact__info p {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
    .contact__section {
        padding: 3rem;
    }
    
    .map__container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact__section {
        padding: 2rem;
    }

    .contact__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact__info p {
        font-size: 0.8rem;
    }

    .map__container {
        height: 250px;
        order: 2;
    }

    .contact__info {
        order: 1;
    }
}

@media (max-width: 480px) {
    .contact__section {
        padding: 1.5rem;
    }

    .contact__info {
        padding: 0.5rem;
    }

    .contact__info h2 {
        font-size: 1.4rem;
    }

    .contact__info p {
        font-size: 0.8rem;
        margin: 0.8rem 0;
    }

    .contact__info strong {
        width: 90px;
    }

    .map__container {
        height: 200px;
    }
    }
    @media (max-width: 480px) {
        .nav__bar .logo h2 {
          font-size: 1.6rem; /* Reduced size for better fit */
          word-wrap: break-word; /* Allows wrapping of long text */
          text-align: left; /* Align text for better presentation */
            

        }
        .nav__bar .logo span {
            font-size: 1.5rem;
            /* padding-bottom: 0.5rem; */
            margin: 0;
            display: flex;
            align-items: center;
          }
      
        .nav__bar .logo img {
          height: 35px; /* Adjust logo size for smaller screens */
        }
        
        .nav__bar ul {
          flex-direction: column; /* Stack the menu items vertically */
          text-align: center; /* Align text */
        }
      }

/* Responsive styles for the map */
.map-container {
  width: 100%; /* Make the container full width */
  max-width: 100%; /* Set a maximum width to 100% */
  margin: 0 auto; /* Center the map */
  position: relative; /* Position relative for absolute children */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0; /* Set height to 0 */
  /* z-index: -1000; */
}

.map-container iframe {
  position: absolute; /* Position absolute to fill the container */
  top: 0;
  left: 0;
  width: 100%; /* Make the iframe full width */
  height: 100%; /* Make the iframe full height */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .map-container {
    padding-bottom: 75%; /* Adjust aspect ratio for smaller screens */
  }
}

@media (max-width: 480px) {
  .map-container {
    padding-bottom: 100%; /* Further adjust aspect ratio for very small screens */
  }
}



.button {
  display: inline-block;
  background-color: #007BFF; /* Blue background */
  color: white; /* White text */
  padding: 10px 20px; /* Padding for size */
  font-size: 16px; /* Text size */
  border: none; /* No border */
  border-radius: 5px; /* Rounded corners */
  text-decoration: none; /* Remove underline */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth hover effect */
  margin-top: 20px; /* Space above the button */
}

.button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}
.logo {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps the original text color */
  display: flex; /* Ensures the logo elements stay aligned */
  align-items: center; /* Vertically aligns items */
}
