@import "./variables.css";

/* Header */
.header {
  padding: 15px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
}
.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.header nav .logo {
  display: inline-block;
}
.header nav .logo h1 {
  font-size: 25px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  padding: 0 5px;
}
.header nav .logo h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: var(--secondary);
}
.hero .image {
  width: 80%;
  margin: auto;
}
.hero .text h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 160%;
}

/* About Section */
.about {
  background: var(--dark);
}
.about .pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
}
.about p {
  color: var(--light-alt);
}
.about h5 {
  font-size: 20px;
  font-weight: 500;
  color: var(--light-alt);
  line-height: 170%;
}

/* Speciality Section */
.speciality {
  background: var(--light-alt);
}
.speciality .items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}
.speciality .items .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.speciality .items .item:nth-child(even) {
  flex-direction: row-reverse;
}
.speciality .items .item:nth-child(odd) {
  flex-direction: row;
}
.speciality .items .item .icon {
  width: 100px;
  height: 100px;
  background: var(--primary);
  text-align: center;
  line-height: 100px;
  border-radius: 50px;
  font-size: 30px;
  color: var(--light);
  position: relative;
}
.speciality .items .item .icon::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: 50px;
  border-top: 3px dashed var(--primary);
}
.speciality .items .item:nth-child(even) .icon::after {
  right: 100%;
}
.speciality .items .item:nth-child(odd) .icon::after {
  left: 100%;
}
.speciality .items .item .card {
  width: 60%;
  min-width: 45vw;
  padding: 30px;
  border: 0;
}
.speciality .items .item:nth-child(even) .card {
  border-right: 5px solid var(--primary);
}
.speciality .items .item:nth-child(odd) .card {
  border-left: 5px solid var(--primary);
}
.speciality .items .item .card h5 {
  font-size: 23px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
  background: var(--light-alt);
}
.testimonials .owl-nav {
  position: absolute;
  margin: 0;
  top: -70px;
  right: 0;
}
.testimonials .owl-nav button {
  width: 40px;
  height: 40px;
  background: var(--primary) !important;
  margin: 0 5px !important;
  color: var(--light) !important;
}
.testimonials .card {
  border: 0;
  width: 100%;
  padding: 30px;
  height: 100%;
  min-height: 30vh;
  border-radius: 5px;
  position: relative;
  border-bottom: 5px solid var(--primary);
}
.testimonials .card i {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  color: var(--light-alt);
}
.testimonials .card h5 {
  font-size: 20px;
  font-weight: 600;
  margin-left: 50px;
  margin-bottom: 10px;
  position: relative;
  color: var(--dark);
  z-index: 1;
}
.testimonials .card p {
  margin-left: 50px;
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 50px 0;
}
.footer h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--light);
  position: relative;
  padding: 0 15px;
  display: inline-block;
}
.footer h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}
.footer .box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  border: 2px solid var(--dark-alt);
  padding: 10px;
  border-radius: 5px;
}
.footer .box .icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--light);
  border-radius: 5px;
  text-align: center;
  line-height: 50px;
}
.footer .box {
  text-align: left;
}
.footer .box b {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  display: block;
}
.footer .box a {
  color: var(--light);
  font-size: 18px;
  font-weight: 600;
}
.footer p {
  color: var(--light);
}
.footer p a {
  font-weight: 600;
}

/* Quick Connect */
.quick-connect {
  position: fixed;
  z-index: 9;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 60px;
  text-align: center;
  line-height: 60px;
  color: var(--light);
  font-size: 20px;
  transition: 0.5s ease all;
}
.quick-connect:hover {
  background: var(--dark);
}

/* Appoitment Modal */
.appointment-modal .modal-content {
  border: 2px solid var(--primary);
  padding: 15px;
  background: transparent;
}
.appointment-modal .modal-body {
  background: var(--light);
  border-radius: 7px;
}
.appointment-modal .modal-body h4 {
  text-align: center;
  text-transform: capitalize;
  font-size: 25px;
  font-weight: 600;
  line-height: 130%;
  color: var(--primary);
}
.appointment-modal .modal-body .form-control {
  box-shadow: none;
  border: 1px solid var(--primary);
}
.appointment-modal .modal-body .button {
  padding: 12px 25px;
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 5px;
  background: var(--primary);
  color: var(--light);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}
.appointment-modal .modal-body .dismiss-btn {
  position: absolute;
  right: -50px;
  top: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--light);
  border: 0;
  outline: 0;
  border-radius: 0 5px 5px 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hero::after {
    content: "";
    position: absolute;
    inset: auto;
    bottom: 0;
    width: 100%;
    height: 350px;
    background: var(--secondary);
  }
}
@media (max-width: 768px) {
  .g-5,
  .gx-5 {
    --bs-gutter-x: 0 !important;
  }

  .hero .image {
    width: 100%;
    margin: auto;
  }

  .speciality .items .item:nth-child(odd),
  .speciality .items .item:nth-child(even) {
    flex-direction: column;
  }
  .speciality .items .item:nth-child(odd) .card,
  .speciality .items .item:nth-child(even) .card {
    border: 0;
    border-top: 5px solid var(--primary);
  }
  .speciality .items .item .card {
    width: 100%;
    padding: 30px;
    border: 0;
  }

  .speciality .items .item:nth-child(odd) .icon::after,
  .speciality .items .item:nth-child(even) .icon::after {
    left: 25px;
  }
  .speciality .items .item .icon::after {
    content: "";
    position: absolute;
    top: 120px;
    bottom: 0;
    height: 1px;
    width: 50px;
    border-top: 3px dashed var(--primary);
    transform: rotate(90deg);
  }
}
@media (max-width: 600px) {
  .header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
  }

  .header nav .logo h1 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding: 0 5px;
  }

  .header .button {
    padding: 5px 0px;
    width: 100%;
  }

  .hero .image {
    width: 100%;
    margin: auto;
  }

  .footer .text-end {
    text-align: center !important;
  }
}
