@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #12ac8e;
  --primary-color-dark: #0d846c;
  --primary-color-light: #e9f7f7;
  --secondary-color: #fb923c;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn {
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-image: linear-gradient(
      to right,
      rgba(18, 172, 142, 0.9),
      rgba(18, 172, 142, 0.7)
    ),
    url("assets/header.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nav__container {
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.nav__logo span {
  color: var(--secondary-color);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.link a {
  padding: 0.5rem;
  color: var(--primary-color-light);
}

.link a:hover {
  color: var(--white);
}

.header__container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.header__container h1 {
  margin-bottom: 1rem;
  max-width: 800px;
  font-size: 3rem;
  line-height: 4rem;
  color: var(--white);
}

.header__container p {
  margin-bottom: 2rem;
  max-width: 600px;
  color: var(--primary-color-light);
}

.header__form {
  width: 100%;
  max-width: 350px;
}

.header__form form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.header__form input {
  padding: 1rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 5px;
}

.header__form input::placeholder {
  color: var(--primary-color);
}

.form__btn {
  background-color: var(--primary-color);
  transition: 0.3s;
}

.form__btn:hover {
  background-color: var(--primary-color-dark);
}

.header__form h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.service__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service__header__content p {
  max-width: 600px;
  color: var(--text-light);
}

.service__btn {
  padding: 0.75rem 1rem;
  outline: none;
  font-size: 1rem;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background-color: transparent;
  border-radius: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}

.service__btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service__card {
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.service__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 20px;
  font-size: 2.5rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  border-radius: 100%;
  transition: 0.3s;
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service__card a {
  color: var(--primary-color);
}

.service__card a:hover {
  color: var(--primary-color-dark);
}

.service__card:hover span {
  color: var(--primary-color-light);
  background-color: var(--primary-color);
}

.about__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.about__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

.why__image img {
  max-width: 400px;
  margin: auto;
  border-radius: 10px;
}

.why__content p {
  color: var(--text-light);
}

.why__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 80px auto;
  gap: 2rem;
}

.why__grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.why__grid h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.why__grid p {
  color: var(--text-light);
}

.doctors__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.doctors__header__content p {
  max-width: 600px;
  color: var(--text-light);
}

.doctors__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.doctors__nav span {
  padding: 5px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--primary-color-light);
  cursor: pointer;
}

.doctors__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.doctors__card {
  text-align: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.doctors__card__image {
  position: relative;
  overflow: hidden;
}

.doctors__socials {
  position: absolute;
  left: 0;
  bottom: -4rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: 0.5s;
}

.doctors__socials span {
  display: inline-block;
  padding: 6px 12px;
  font-size: 1.5rem;
  color: var(--text-dark);
  background-color: var(--white);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.doctors__socials span:hover {
  color: var(--primary-color);
}

.doctors__card:hover .doctors__socials {
  bottom: 2rem;
}

.doctors__card h4 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.doctors__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-color-light);
}

.footer__container {
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__col h3 span {
  color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__col p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: 0.3s;
}

.footer__col p:hover {
  color: var(--primary-color);
}

.footer__col i {
  color: var(--primary-color);
}

.footer__bar {
  background-color: var(--primary-color);
}

.footer__bar__content {
  max-width: var(--max-width);
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__bar__content p {
  font-size: 0.8rem;
  color: var(--white);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--white);
  cursor: pointer;
}

@media (width < 900px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .about__image {
    grid-area: 1/1/2/2;
  }

  .about__content {
    text-align: center;
  }

  .why__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__content {
    text-align: center;
  }

  .why__grid {
    text-align: left;
  }

  .doctors__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 780px) {
  .nav__links {
    display: none;
  }

  .header__container {
    flex-direction: column;
  }
}

@media (width < 600px) {
  .service__header {
    flex-direction: column;
    text-align: center;
  }

  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .why__grid {
    column-gap: 1rem;
  }

  .doctors__header {
    flex-direction: column;
    text-align: center;
  }

  .doctors__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__bar__content {
    flex-direction: column;
    gap: 1rem;
  }
  .footer__container {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
  }

  .footer__col p {
    text-align: center;
  }
}




/* Testimonials Section */ .testimonials__container { background-color: var(--primary-color-light); border-radius: 10px; margin-top: 2rem; margin-bottom: 2rem; } .testimonials__header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; } .testimonials__header__content p { max-width: 600px; color: var(--text-light); } .testimonials__nav { display: flex; align-items: center; gap: 1rem; } .testimonials__nav span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 1.2rem; color: var(--white); background-color: var(--primary-color); border-radius: 50%; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 10px rgba(18, 172, 142, 0.3); } .testimonials__nav span:hover { background-color: var(--secondary-color); transform: translateY(-2px); } .testimonials__slider { position: relative; margin-top: 3rem; overflow: hidden; height: 454px; } .testimonials__slide { position: absolute; top: 0; left: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; opacity: 0; transform: translateX(100%); transition: all 0.5s ease; } .testimonials__slide.active { opacity: 1; transform: translateX(0); } .testimonial__card { padding: 2.5rem; background-color: var(--white); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: 0.3s; height: 93%; display: flex; flex-direction: column; } .testimonial__card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); } .testimonial__quote { margin-bottom: 1.5rem; font-size: 2.5rem; color: var(--secondary-color); } .testimonial__card > p { margin-bottom: 2rem; color: var(--text-light); font-style: italic; line-height: 1.7; flex-grow: 1; } .testimonial__client { display: flex; align-items: center; gap: 1.2rem; border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 1.5rem; } .client__image { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; border: 3px solid var(--primary-color-light); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .client__image img { width: 100%; height: 100%; object-fit: cover; } .client__info h4 { font-size: 1.1rem; font-weight: 600; color: var(--primary-color); margin-bottom: 0.2rem; } .client__info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.5rem; } .client__rating { display: flex; gap: 0.2rem; color: var(--secondary-color); font-size: 0.9rem; } @media (width < 900px) { .testimonials__slide { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } .testimonials__slider { height: 580px; } } @media (width < 600px) { .testimonials__header { flex-direction: column; text-align: center; } .testimonials__slide { grid-template-columns: repeat(1, 1fr); } .testimonials__slider { height: 1050px; } .testimonial__card { padding: 2rem; } }



/* FAQ Section */ .faq__container { margin-top: 2rem; margin-bottom: 4rem; } .faq__header { text-align: center; max-width: 800px; margin: 0 auto 3rem; } .faq__header p { color: var(--text-light); margin-top: 1rem; } .faq__accordion { max-width: 900px; margin: 0 auto; } .faq__item { margin-bottom: 1.5rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); overflow: hidden; background-color: var(--white); transition: all 0.3s ease; } .faq__item:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); transform: translateY(-2px); } .faq__question { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 2rem; cursor: pointer; background-color: var(--white); transition: all 0.3s ease; } .faq__question h4 { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); transition: color 0.3s ease; } .faq__icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background-color: var(--primary-color-light); color: var(--primary-color); font-size: 1.2rem; transition: all 0.3s ease; } .faq__answer { max-height: 0; overflow: hidden; padding: 0 2rem; transition: all 0.4s ease; } .faq__answer p { color: var(--text-light); padding-bottom: 1.5rem; line-height: 1.7; } /* Active state */ .faq__item.active { border-left: 4px solid var(--secondary-color); } .faq__item.active .faq__question { background-color: var(--primary-color-light); } .faq__item.active .faq__question h4 { color: var(--primary-color); } .faq__item.active .faq__icon { background-color: var(--secondary-color); color: var(--white); transform: rotate(45deg); } .faq__item.active .faq__answer { max-height: 500px; padding-top: 0.5rem; } @media (width < 768px) { .faq__question { padding: 1.2rem 1.5rem; } .faq__question h4 { font-size: 1rem; } .faq__answer { padding: 0 1.5rem; } }