/*********************/
/* Reset & General  */
/********************/

body {
  font-family: var(--font-primary);
}

body > * {
  padding: 0 6rem;
}

#hero {
  padding: 4rem 0rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 8rem;
}

body > section {
  padding: 4rem 6rem !important;
}

h1 {
  font-family: var(--font-secondary);
}

li {
  display: inline;
}

a {
  text-decoration: none;
  color: #ffff;
}

.nav-link {
  color: #ffff !important;
}

/* Testinmonials */

.testimonials li {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  display: inline-block;
  position: relative;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.testimonials li:nth-child(1) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/jkrbdwx3n12jujtdowfa");
  background-size: cover;
}
.testimonials li:nth-child(2) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/hx2jptef8q97vokorwwh");
  background-size: cover;
}
.testimonials li:nth-child(3) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/nimkjsil5qeun7jrkfig");
  background-size: cover;
}
.testimonials li:nth-child(4) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/asz3udj5z72lq2p0iim4");
  background-size: cover;
}
.testimonials li:nth-child(n + 2) {
  margin-left: -10px;
}

.testimonials ul:hover li:nth-child(n + 2) {
  margin-left: 0px;
}

/* utility classes */

.neue {
  font-family: "Neue Machina";
}

.color-second {
  background-color: #1344ff;
}

.discount-text {
  width: 55%;
  font-weight: 600;
}

.panel {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  transition: all 700ms ease-in;
}

.panel h3 {
  font-size: 24px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin: 0;
  opacity: 0;
}

.panel.active {
  flex: 5;
}

.panel.active h3 {
  opacity: 1;
  transition: opacity 0.3s ease-in 0.4s;
}

/* Gallery */

.panel:nth-child(1) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/ncixszzrbopagpzfpnba");
}
.panel:nth-child(2) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/vzf6fat2e7njvnuldvoi");
}
.panel:nth-child(3) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/ssvomex2pexh2i0q5eov");
}
.panel:nth-child(4) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/iadgrzgzrtzgxvi3j0e0");
}

.panel:nth-child(5) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/w5pmd8i72rgf4qkyjbre");
}

.panel:nth-child(6) {
  background-image: url("https://res.cloudinary.com/ds6f5ukr2/image/upload/f_auto,q_auto/v1/HMS/asz3udj5z72lq2p0iim4");
}

/* Appointment */

input::placeholder {
  color: #ffff !important;
}

input {
  border: 1px solid #dee2e6;
}

select option {
  color: black;
  background-color: #dee2e6;
}

.form-select-indicator-color {
  color: #ffff;
}

/* Dropdowns */

.dropball {
  height: 3rem;
  width: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotate {
  transition: transform 0.5s ease-in-out;
  transform: rotate(45deg);
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%)
    contrast(103%);
}

/* Footer */

footer hr {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* media queries */

@media (max-width: 980px) {
  body > * {
    padding: 0 2rem;
  }

  body > section {
    padding: 4rem 2rem !important;
  }

  #hero {
    padding: 2rem 0rem;
    gap: 6rem;
  }

  .navbar-header {
    width: 100% !important;
  }

  .hero-info {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  .centerText {
    text-align: center;
  }

  .centerText p {
    width: 100% !important;
    padding: 2rem 2rem;
  }

  .centerText a {
    margin: 1rem 2rem !important;
  }

  .small-full {
    width: 100%;
  }
}
