* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: poppins;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
/*----Hero section-----*/
#hero {
  background-color: #eabaf9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  max-width: auto;
}
/*----nav-------*/
.navigation {
  display: flex;
  position: fixed;
  justify-content: space-evenly;
  align-items: center;
  max-width: auto;
  width: 100%;
  margin: auto;
  padding: 20px 10px;
  border-bottom: 3px solid #ffffff;
  background-color: #eabaf9;
  z-index: 5;
  padding-left: 50px;
  padding-right: 50px;
}
.logo {
  color: #122853;
  font-weight: 700;
  font-size: 1.4rem;
  border: solid 3px;
  border-left: none;
  padding-right: 5px;
  border-radius: 8px;
}
.logo span {
  background-color: #014dd5;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 8px;
  font-weight: 600px;
  letter-spacing: 5px;
}
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: auto;
  margin-left: 40px;
}
.menu li a {
  display: flex;
  justify-items: center;
  margin: 0px 10px;
  color: #303030;
  font-weight: 500px;
  padding: 4px;
}
.menu li a:hover {
  color: #014dd5;
  background-color: #ffffff;
  border-radius: 4px;
}
.nav-appointment-btn {
  height: 45px;
  padding: 0px 20px;
  border-radius: 4px;
  background-color: #014dd5;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500px;
  letter-spacing: 1px;
  font-size: 0.9rem;
  z-index: auto;
}
/*-----Hero Content------*/
.hero-content {
  max-width: 1200px;
  width: 90%;
  margin: 0px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  margin-top: auto;
}
.hero-img {
  display: flex;
  margin-top: 10px;
}
.hero-img img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: contain;
  object-position: center bottom;
  padding-top: 30px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.hero-text h1 {
  font-size: 3.2rem;
  color: #122853;
  line-height: 3.6rem;
}
.hero-text p {
  color: #535353;
  margin: 15px 0px;
  max-width: 500px;
  letter-spacing: 0.3px;
  line-height: 1.8rem;
}
.hero-text-btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.hero-text-btn a {
  height: 45px;
  padding: 0px 15px;
  background-color: #122853;
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-right: 10px;
}
.hero-text a i {
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #014dd5;
  margin-right: 8px;
  font-size: 0.5rem;
  padding-bottom: 1px;
}
/*---------search-------*/
.appointmnt-search-container {
  max-width: 1000px;
  width: 90%;
  background-color: #ffffff;
  padding: 20px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 2px 16px 30px rgba(0, 0, 0, 0.12);
  z-index: 3;
  position: relative;
  margin-top: -60px;
  z-index: 1;
}
.appointmnt-search-container h3 {
  color: #122853;
  font-size: 1rem;
  margin-bottom: 5px;
}
.appointment-search {
  display: grid;
  grid-template-columns: 1fr 90px;
  grid-gap: 10px;
}
.appo-search-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f7fbff;
  padding: 15px;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
}
.appo-search-box i {
  color: #535353;
  margin-right: 10px;
}
.appo-search-box input {
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
}
.appointment-search button {
  background-color: #014dd5;
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
}

/***why-choose-us-section-starting***/
#why-choose-us {
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.why-choose-us-left {
  padding: 50px;
  background-color: #3c8167;
}
.why-choose-us-right {
  padding: 50px;
  background-color: #4c71d0;
}
.why-choose-us-left h3,
.why-choose-us-right h3 {
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 3.2rem;
}
.why-choose-box-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
  grid-gap: 10px;
}
.why-choose-us-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px;
  background-color: #4a8a70;
}
.why-choose-us-box i {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #25503f;
  margin-right: 10px;
  color: #ffffff;
}
.why-choose-box-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-choose-box-text strong {
  color: #ffffff;
  font-weight: 600;
}
.why-choose-box-text p {
  color: #ececec;
  font-size: 0.9rem;
  opacity: 0.7;
}
.why-choose-us-btn {
  background-color: #1a1a1b;
  color: #ffffff;
  padding: 0px 10px;
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  max-width: 200px;
  margin-top: 30px;
  font-size: 0.9rem;
}
.why-choose-us-right p {
  color: #dfdfdf;
  font-size: 0.8rem;
  line-height: 1.4rem;
  letter-spacing: 0.5px;
  margin: 10px 0px;
}
.w-right-contact-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.w-right-contact-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}
.w-right-contact-box i {
  width: 50px;
  height: 50px;
  background-color: #4060b3;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.2rm;
  margin-right: 10px;
}
.w-right-contact-box-text {
  display: flex;
  flex-direction: column;
}
.w-right-contact-box-text span {
  color: #e4e4e4;
  font-size: 0.7rem;
}
.w-right-contact-box-text strong {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
}

/**Doctors Section**/
.container1 {
  max-width: auto;
  margin: auto;
  margin: 40px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tab.active {
  background-color: #007bff;
  color: #fff;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  text-align: center;
  padding-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.card h3 {
  margin: 15px 0 5px;
}

.price {
  color: #2e7d32;
  font-weight: bold;
}

.read-more {
  margin-top: 10px;
  padding: 8px 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.read-more:hover {
  background-color: #0056b3;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: scroll;
  border: 2px solid #333;
  padding: 10px;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 2fr;
  margin-top: 10%;
  margin-bottom: 10%;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.modal-price {
  color: #2e7d32;
  font-weight: bold;
  margin-top: 10px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
  color: #020202;
}

/**Doctors Section ends**/
/**testimonial-section**/
#testimonials {
  background-color: #d6dff1;
  padding: 50px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.testimonials-heading {
  max-width: 1200px;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.testimonials-heading h3 {
  font-size: 2.4rem;
  color: #122853;
}
.testimonials-heading p {
  color: #535353;
  font-size: 0.9rem;
  max-width: 600px;
  line-height: 1.4rem;
  letter-spacing: 0.5px;
  text-align: justify;
}
.testimonials-content {
  max-width: 1200px;
  width: 90%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  margin-top: 50px;
}
.testimonials-img {
  height: 100%;
  margin-left: auto;
  margin-right: 60px;
}
.testimonials-img img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  object-position: center;
}
.testimonials-box-container {
  margin-top: 50px;
  overflow: hidden;
}
.testimonials-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.t-profile {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.t-profile-img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  background-color: #c7d0eb;
  margin-right: 10px;
  overflow: hidden;
}
.t-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.t-profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.t-profile-text strong {
  color: #122853;
  font-size: 1.2rem;
}
.t-profile-text span {
  color: #535353;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}
.t-rating {
  font-size: 0.8rem;
  color: #ffbc02;
  margin-top: 5px;
}
.testimonial-box p {
  font-size: 0.9rem;
  color: #122853;
  line-height: 1.4rem;
  letter-spacing: 0.3px;
  margin-top: 30px;
  padding-bottom: 30px;
}

/****Subscribe**/
#subscribe {
  max-width: 1000px;
  width: 90%;
  background-color: #174dac;
  padding: 50px;
  border-radius: 10px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#subscribe h3 {
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 3.4rem;
  max-width: 600px;
  text-align: center;
}
.subscribe-box {
  max-width: 600px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 4px;
  height: 50px;
  display: flex;
  padding: 5px;
  margin-top: 20px;
}
.subscribe-box input {
  width: 100%;
  height: 100%;
  padding: 0px 10px;
  background-color: transparent;
  border: none;
  outline: none;
}
.subscribe-box button {
  background-color: #122853;
  color: #ffffff;
  border-radius: 4px;
  max-width: 120px;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.4px;
}
/*****footer-section***/

footer {
  width: 100%;
  background-color: #f5f7fb;
}
.footer-container {
  padding: 50px 0px;
  max-width: 1200px;
  width: 90%;
  padding: 50px 0px;
  margin: 0px auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
.image-logo img {
  width: 100px;
  height: 100px;
}
.footer-company-box {
  max-width: 500px;
}
.footer-company-box p {
  color: #585858;
  margin: 5px 0px;
  font-size: 0.9rem;
  line-height: 1.4rem;
  letter-spacing: 0.3px;
}
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social a {
  margin-top: 10px;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ffe564;
  color: #333333;
  font-size: 0.9rem;
  transition: all ease 0.3s;
}
.footer-social a:hover {
  background-color: #122853;
  color: #ffffff;
}
.footer-link-box strong {
  color: #122853;
  font-size: 1.2rem;
  font-weight: 600;
  padding-top: 40px;
}
.footer-link-box ul {
  margin-top: 5px;
}
.footer-link-box ul li a {
  color: #585858;
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: flex;
  transition: all ease 0.3s;
}
.footer-link-box ul li a:hover {
  color: #122853;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-gap: 10px;
  border-top: 1px solid #ffe564;
  padding: 20px 0px;
  max-width: 1200px;
  width: 90%;
  margin: auto;
  flex-wrap: wrap;
}
.footer-bottom span {
  color: #252525;
  font-size: 0.9rem;
}

/***making_responsive****/

.menu-btn {
  display: none;
}
@media (max-width: 1050px) {
  .hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: 50px auto;
  }
  .hero-text {
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 30px;
    margin-top: 0px;
  }
}
@media (max-width: 950px) {
  .navigation {
    justify-content: space-between;
    padding: 20px;
    width: 100%;
    position: fixed;
    z-index: 5;
  }
  .logo,
  .nav-appointment-btn,
  .menu-btn {
    z-index: 4;
  }
  .logo {
    margin-right: auto;
    margin-left: 20px;
  }
  .footer-container .logo {
    margin-left: 0px;
  }
  .menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    width: 100%;
    padding: 0px;
    margin: 0px;
    box-shadow: 2px 30px 30px rgba(0, 0, 0, 0.06);
    top: 100%;
    left: 0px;
  }
  .menu::after {
    content: "";
    position: absolute;
    left: 0px;
    top: -100%;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
  }
  .menu li {
    width: 100%;
    margin: 0px;
    padding: 0px;
  }
  .menu li a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    margin: 0px;
    height: 45px;
  }
  .menu-icon {
    cursor: pointer;
    float: right;
    padding: 10px 0px;
    position: relative;
    user-select: none;
    z-index: 106;
  }
  .menu-icon .nav-icon {
    background-color: #181818;
    display: block;
    position: relative;
    height: 2px;
    width: 25px;
    transition: all ease-out 0.2s;
  }
  .menu-icon .nav-icon::before,
  .menu-icon .nav-icon::after {
    background-color: #181818;
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    transition: all ease-out 0.2s;
  }
  .menu-icon .nav-icon::before {
    top: 9px;
  }
  .menu-icon .nav-icon::after {
    top: -9px;
  }
  .menu-btn:checked ~ .menu-icon .nav-icon::before {
    transform: rotate(-45deg);
    top: 0px;
  }
  .menu-btn:checked ~ .menu-icon .nav-icon::after {
    transform: rotate(45deg);
    top: 0px;
  }
  .menu-btn:checked ~ .menu-icon .nav-icon {
    background-color: transparent;
  }
  .menu-btn:checked ~ .menu {
    display: block;
  }
  .what-we-provide {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
  }
  #our-story {
    grid-template-columns: 1fr;
  }
  .our-story-img {
    max-height: 400px;
  }
  .our-story-text {
    padding: 30px;
  }
  #why-choose-us {
    grid-template-columns: 1fr;
  }
  #testimonials {
    padding: 50px 0px;
  }
  .testimonials-img {
    margin-right: auto;
  }
  .testimonials-img img {
    width: 100%;
  }
  .testimonials-content {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    grid-gap: 40px;
  }
  .footer-container p {
    visibility: hidden;
  }
}
@media (max-width: 620px) {
  .hero-text {
    padding: 20px;
  }
  .hero-text h1,
  .our-story-text h2,
  .services-heading h2,
  .why-choose-us-left h3,
  .why-choose-us-right h3,
  .team-heading h3,
  .testimonials-heading h3 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }
  .hero-text-btn {
    flex-direction: column;
  }
  .hero-text-btn a {
    width: 100%;
    margin-top: 5px;
  }
  .appointment-search {
    grid-template-columns: 1fr;
  }
  .appointment-search button {
    height: 45px;
  }
  .what-we-provide {
    grid-template-columns: 1fr;
  }
  .our-story-text {
    padding: 20px 15px;
  }
  .story-number-box strong {
    font-size: 1.4rem;
  }
  .our-story-text p {
    margin-left: 0px;
  }
  .why-choose-us-left,
  .why-choose-us-right {
    padding: 30px 20px;
  }
  .why-choose-box-container {
    grid-template-columns: 1fr;
  }
  #subscribe {
    padding: 20px;
  }
  #subscribe h3 {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }
  .footer-container p {
    visibility: visible;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 440px) {
  .nav-appointment-btn {
    display: none;
  }
  .story-number-container {
    grid-template-columns: 1fr;
  }
}
