:root {
  --primary-color: #271e4f;
  --secondary-color: #2a518c;
  --third-color: #fff;
  --fourth-color: #afafaf;
}
.hamburger {
  display: block;
  z-index: 2;
}

.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
  background-color: var(--primary-color);
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
  background-color: var(--primary-color);
}

.nav-list {
  gap: 2rem;
  font-size: 2rem;
  width: 100%;
  height: 100%;
  background: var(--third-color);
  position: fixed;
  top: 0;
  left: -100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: all 0.8s cubic-bezier(1, 0, 0, 1);
  z-index: 1;
}

.nav-list.active {
  left: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* showcase */

#showcase {
  margin: 0 3rem;
  grid-template-columns: repeat(1, auto);
}

#showcase .simg {
  justify-self: flex-end;
}

#showcase .sdata p {
  color: var(--secondary-color);
  margin: 2rem 0;
  width: 50%;
  font-size: 1rem;
}

#showcase .simg {
  max-width: 70%;
  height: auto;
  text-align: end;
}

/* about */
#about {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin: 0 1rem;
  padding: 0;
}

#about div {
  padding: 2rem;
}

/* our services */

#service {
  margin: 3rem 1rem;
}

#service .cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1rem;
  margin: 3rem 0 0 0;
}

/* what people say */

#testi {
  margin: 3rem 1rem;
}

#testi .cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 1rem;
  margin: 3rem 0 0 0;
}
#testi .cards div img {
  max-width: 10%;
  height: auto;
}

/* Appointment */

#appointment {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0 1rem;
  height: 50vh;
}

#appointment .adata {
  max-width: 100%;
}

#appointment .adata p {
  margin: 2rem 0;
  color: var(--secondary-color);
}

#appointment .aimg img {
  display: none;
}

/* Doctor */
.swiper {
  margin: 0 1rem;
  padding: 3rem 0.5rem;
}

/* instructions */

.instruction {
  margin: 2rem 1rem;
  padding: 0;
}

#instruction h1 {
  margin: 1.2rem;
}

#instruction .in {
  display: grid;
  grid-template-columns: repeat(1, auto);
  align-items: center;
}

#instruction .in .i-img img {
  max-width: 80%;
  height: auto;
}

#instruction .in .i-img {
  text-align: center;
}

/* Doctor  */

/* footer */
#doctor {
  display: grid;
  grid-template-columns: repeat(1, auto);
  align-items: center;
  margin: 3rem 1rem;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: var(--third-color);
  padding: 2rem;
}

#doctor .dr-data p {
  margin: 2rem 0;
  font-size: 0.8rem;
}

#doctor .dr-data .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

#doctor .dr-data p {
  color: var(--secondary-color);
}

#doctor .dr-img {
  text-align: center;
}

#doctor .dr-img img {
  display: none;
}
#footer {
  display: grid;
  grid-template-columns: repeat(1, auto);
  padding: 3rem;
}

/* contact */

#contact {
  display: block;
  text-align: center;
  margin: 3rem 1rem;
  /* box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2); */
}

#contact .contact button {
  font-size: 0.9rem;
  padding: 0.7rem 2rem;
}

#footer .info {
  width: 100%;
}

#footer .c-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Waiting */

@media (max-width: 768px) {
  #showcase .sdata h1 {
    font-size: 5vw;
    display: block;
    width: 100%;
  }
  #showcase .sdata p {
    width: 100%;
  }
  #showcase .simg img {
    display: none;
  }
}

@media (max-width: 855px) {
}

@media (max-width: 620px) {
  #navbar .user {
    display: none;
  }
  #navbar ul li a i {
    display: block;
    font-size: 8vw;
    color: var(--primary-color);
  }
  #showcase .sdata h1 {
    font-size: 7vw;
    display: block;
    width: 100%;
  }

  #testi .cards div img {
    max-width: 20%;
    height: auto;
  }

  #testi .cards div p {
    font-size: 0.8rem;
  }
}
