:root {
  --primary-color: #72448d;
  /* --secondary-color: #aa5f14; */
  --white-color: #fff;
  --black-color: #000;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
}
p {
  font-family: "Open Sans", sans-serif;
}
span {
  font-family: "Open Sans", sans-serif;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

#header {
  height: 100px;
  background-color: var(--primary-color);
  background-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.25) 18%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(255, 255, 255, 0.1) 72%,
    rgba(255, 255, 255, 0.15)
  );
}

#header .nav-item {
  margin: 0 10px;
}
#header .nav-item .nav-link {
  color: #ffffffcc;
  font-size: 0.9rem;
  padding: 8px 8px;
}
#header .nav-item .nav-link:hover {
  color: var(--white-color);
}

#header .nav-item .nav-link.active {
  background-color: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -50%;
  padding: 20px;
  width: 260px;
  z-index: 1;
}
.nav-item.dropdown .dropdown-menu::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 20%;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--white-color);
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
  padding: 8px 0;
  color: #666666d9;
}
.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
  color: var(--black-color);
  background-color: transparent;
}

#main {
  margin-top: 100px;
}

/* Section: Hero */
.hero-content {
  position: absolute;
  top: 50%;
  left: 12%;
  transform: translateY(-50%);
  color: var(--white-color);
  max-width: 500px;
}

.hero-title {
  font-size: 2rem;
  font-weight: 500;
}

.hero-text {
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 6px 16px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--white-color);
  border-radius: 50%;
  margin: 10% 5%;
  background-color: var(--white-color);
  color: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  top: 15%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

/* Section: Services */
.service-item {
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
}

.service-img {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  transition: 0.3s;
}

.service-img:hover {
  border-color: var(--primary-color);
}

.service-text {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #777;
}
/* title main */
.section-title-main {
  font-size: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-color);
}

.ico-bg.flower {
  background-image: url("assets/images/ico-flower.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 20px;
  width: 20px;
}

.lighter .ico-bg.flower {
  background-image: url("assets/images/ico-flower-2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 20px;
  width: 20px;
  opacity: 0.5;
}

.ico-border {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 15px 0 0 0;
}

.ico-border:before,
.ico-border:after {
  content: "";
  background: #181818;
  display: inline-block;
  height: 4px;
  width: 42px;
}
.lighter .ico-border:before,
.lighter .ico-border:after {
  content: "";
  background: #ffffff66;
  display: inline-block;
  height: 4px;
  width: 42px;
}

.ico-border:before {
  margin-right: 10px;
}

.ico-border:after {
  margin-left: 10px;
}

.spa-section .service-title {
  font-size: 1.25rem;
}

.spa-section .service-price {
  font-size: 1rem;
  opacity: 0.8;
}

/* Section: team */
.team-section img {
  height: 160px;
  width: 160px;
}

.team-card:hover {
  cursor: pointer;
  background-color: rgba(114, 68, 141, 0.2);
  transition: all 0.3s ease-in-out;
}

.team-title {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0;
}

.team-subtitle {
  font-size: 0.9rem;
  color: #555;
}

.border-purple {
  border-color: var(--primary-color) !important;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 25px;
}

.icon-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white-color);
  text-decoration: none;
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.whatsapp {
  background-color: #25d366;
}

/* Section: blog */
.blog-section img {
  width: 100%;
  height: 205px;
}

.date-badge {
  position: absolute;
  background: var(--white-color);
  color: var(--primary-color);
  padding: 4px 10px;
  font-weight: bold;
  top: 10px;
  left: -6px;
  text-align: center;
  font-size: 12px;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.date-badge:hover {
  background-color: var(--primary-color);
  border-color: var(--white-color);
  color: var(--white-color);
}

#blogCarousel .title {
  font-size: 1rem;
  color: var(--white-color);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 2.6rem;
}

#blogCarousel .subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.9rem;
  height: 2.6rem;
  color: var(--white-color);
}

#blogCarousel .carousel-control-prev,
#blogCarousel .carousel-control-next {
  top: 5%;
}

#blogCarousel .carousel-control-prev {
  left: -2%;
}
#blogCarousel .carousel-control-next {
  right: -2%;
}

/* Section: price */

.pricing-section .card {
  color: #777777;
  cursor: pointer;
}

.pricing-section .card:hover {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  transition: box-shadow 0.2s linear;
}

.pricing-section .card.hot {
  border: 2px solid var(--primary-color) !important;
  transform: translateY(-1rem);
}
.pricing-section .card-title {
  font-size: 1rem;
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.02);
  font-weight: 600;
  border-bottom: 1px solid #ececec;
}
.pricing-section .card.hot .card-title {
  font-size: 1rem;
  padding: 8px 10px;
  background-color: var(--primary-color);
  font-weight: bold;
  color: var(--white-color);
}
.price-circle {
  display: inline-block;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  padding: 15px;
  width: 120px;
  height: 120px;
  font-weight: 500;
  margin: 15px auto;
  padding: 7.5px 0;
  border-bottom: 1px solid #ececec;
  font-size: 1.3em;
}

.pricing-section .card-body li {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ececec;
}

.pricing-section .btn-primary,
#footer .btn-primary {
  background-color: var(--primary-color);
  border-radius: 0;
  border: none;
  font-weight: bold;
  padding: 8px 16px;
  margin: 20px 0;
}

.pricing-section .btn-primary:hover,
#footer .btn-primary:hover {
  background-color: #603777;
}

/* Section: appointment */

.appointment-section .form-control,
.appointment-section .form-select {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border: none;
  padding: 8px 16px;
}

.appointment-section .form-control {
  color: var(--white-color);
}
.appointment-section .form-control::placeholder {
  color: var(--white-color) !important;
}

.select-custom {
  background-color: transparent !important;
  color: var(--white-color) !important;
  background-image: url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.select-custom option {
  background-color: var(--white-color) !important;
  color: var(--black-color) !important;
}

#footer a,
#footer p {
  text-decoration: none;
  color: #777777 !important;
}
#footer a:hover,
#footer p:hover {
  text-decoration: none;
  color: var(--black-color) !important;
}

#footer .blogs li:not(:last-child) {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  font-size: 1rem;
  color: #777;
}

#footer .blogs img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  margin-right: 8px;
}

#footer .social-icons a {
  color: var(--white-color) !important;
}
.is-divider {
  height: 3px;
  display: block;
  background-color: var(--primary-color);
  margin: 1em 0 1em;
  width: 100%;
  max-width: 30px;
}

.custom-go-to-top {
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  bottom: 4% !important;
  width: 40px;
  height: 40px;
}
.custom-go-to-top:hover {
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 1px solid var(--white-color);
}


@media (max-width: 768px) {
  #header {
    height: 70px;
    display: flex;
    align-items: center;
  }

  .navbar-brand .logo {
    height: 70px;
    margin-left: 55%;
  }

  .navbar-toggler {
    border: none;
    outline: none;
  }

  .navbar-toggler i {
    color: var(--white-color);
    font-size: 1.25rem;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    box-shadow: none;
    outline: none;
    border: none;
  }

  #offcanvasNav .nav-item .nav-link {
    color: #666666d9 !important;
    padding: 15px 20px 15px 0px;
    font-weight: 600;
    border-bottom: 1px solid rgb(236, 236, 236) !important;
  }

  #offcanvasNav .dropdown-menu .dropdown-item:hover {
    background: none;
    color: var(--black-color) !important;
  }

  #offcanvasNav .nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
    font-size: 12px;
  }

  #offcanvasNav .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
  }

  #offcanvasNav .sub-menu {
    background: #e0e0e0 !important;
  }

  #offcanvasNav .sub-menu .nav-link {
    padding: 12px 0px 12px 25px !important;
    font-size: 0.9rem;
    font-weight: normal;
  }

  #main {
    margin-top: 70px;
  }

  .hero-title {
    font-size: 1.375rem;
  }

  .hero-text {
    font-size: 0.75rem;
  }

  .hero-btn {
    padding: 2px 8px;
    font-size: 0.75rem;
  }

  .spa-section .service-title {
    font-size: 1rem;
  }

  .spa-section .service-price {
    font-size: 0.85rem;
    opacity: 0.8;
  }

  #mobileBlogCarousel .title {
    font-size: 1rem;
    color: var(--white-color);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.6rem;
  }

  #mobileBlogCarousel .subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.9rem;
    height: 2.6rem;
    color: var(--white-color);
    padding: 0 10px;
  }

  .pricing-section .card.hot {
    transform: translateY(0);
  }
}
