:root {
  --primary-color: #ffba00;
  --secondary-color: #fc0044;
  --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;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

#header .header-top {
  background-color: #4f240a;
  height: 36px;
}

.header-top span {
  font-size: 12px;
}
#header .navbar {
  top: 36px;
  z-index: 10;
  height: 90px;
}
#header .navbar .logo {
  width: 200px;
  max-height: 90px;
}

#header .nav-link {
  font-size: 0.9rem;
  color: var(--white-color);
  font-weight: 600;
}

#header .header-button a {
  font-size: 0.85rem !important;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Submenu Styling */
.dropdown-menu {
  background: var(--white-color);
  border-radius: 0 !important;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  padding: 20px 30px;
  top: 40px;
}

/* Submenu arrow */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 40px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--white-color) transparent;
}

.dropdown-menu .dropdown-item {
  padding: 10px 20px 10px 0;
  font-size: 15px;
  color: #777 !important;
  border-bottom: 1px solid #eee !important;
}

.dropdown-menu .dropdown-item:hover {
  background: none;
  color: var(--black-color) !important;
}

.nav-link .fa-chevron-down {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.nav-link[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}

#main {
  /* margin-top: 10px; */
}

#customCarousel .carousel-item img {
  object-fit: fill;
  min-height: 385px !important;
}

.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: 15% 5%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--secondary-color);
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

/* Section: About */
.about-section {
  background-image: url("assets/images/why.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.circle-img img {
  width: 330px;
  height: 330px;
  object-fit: cover;
}

/* Section service */
.featured-services {
  background-image: url("assets/images/sec_why_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
}

.service-item img {
  width: 330px;
  height: 185px;
  transition: transform 0.3s ease;
}

.service-item img:hover {
  transform: scale(1.05);
}

.service-item p {
  font-size: 14px;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;
  height: 2.6rem;
}
.service-item p:hover {
  color: var(--black-color) !important;
}

#featuredServicesCarousel .carousel-control-prev,
#featuredServicesCarousel .carousel-control-next {
  top: -15%;
}
#featuredServicesCarousel .carousel-control-prev {
  left: -2%;
}
#featuredServicesCarousel .carousel-control-next {
  right: -2%;
}

/*  Section products */
.products {
  background-color: var(--white-color);
  padding: 50px 0;
  text-align: center;
}

.products h3 {
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
}

/* Navigation Tabs */
.nav-tabs {
  border: none;
  justify-content: center;
}

.nav-tabs .nav-item {
  margin: 0 4px;
}

.nav-tabs .nav-link {
  border-radius: 50px;
  padding: 10px 20px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background-color: var(--white-color);
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white-color) !important;
  border: 2px solid var(--primary-color);
}

.products .card-tag {
  font-size: 0.685rem;
  margin-bottom: 0;
}

.products .card-title,
.article-content {
  color: #334862;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2rem;
  height: 2.5rem;
  margin-bottom: 0;
}
.products .card-title:hover,
.article-content:hover {
  color: var(--black-color) !important;
}
.products .card-price {
  color: var(--black-color);
  font-size: 0.9rem;
}
/* Beauty Consultation */

.beauty-consultation {
  background-color: rgb(243, 244, 246);
}

.article-img {
  width: 220px;
  height: 195px;
  object-fit: cover;
}

.article-date {
  font-size: 0.725rem;
}

/* Section: Consultation Registration */
.consultation-form {
  background: url("assets/images/sec_form_bg.jpg") center/cover no-repeat;
  position: relative;
}

.consultation-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 186, 0, 0.35);
}

.form-control,
.form-select,
textarea {
  border-radius: 0;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Section: Logo Carousel */
.logo-carousel {
  background: url("assets/images/sec_partner_bg.jpg") no-repeat center center;
  background-size: cover;
  cursor: pointer;
}

.logo-carousel .carousel-item {
  height: 140px;
}

.logo-carousel .logo-img {
  width: 150px;
  height: auto;
}

.logo-carousel .carousel-control-prev,
.logo-carousel .carousel-control-next {
  top: -85%;
  color: var(--black-color);
  border: none;
  opacity: 1;
}
.logo-carousel .carousel-control-prev:hover,
.logo-carousel .carousel-control-next:hover {
  color: var(--secondary-color);
  background: none;
}
.logo-carousel .carousel-control-prev {
  left: -5%;
}
.logo-carousel .carousel-control-next {
  right: -5%;
}

/* footer */
.footer {
  background: url("assets/images/footer-bg.png") repeat center center;
}

.footer-title {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px;
  font-weight: bold;
}

.footer a {
  color: #666;
  font-size: 16px;
}

.footer a:hover {
  text-decoration: underline;
  color: var(--black-color);
}

.footer-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Contact floating */
.floating-sidebar {
  position: fixed;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  z-index: 9999;
  border-radius: 5px;
  max-width: 100%;
  overflow: hidden;
}

.floating-sidebar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  margin: 5px 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--white-color);
}

.floating-sidebar a img {
  width: 100%;
  height: 100%;
}

.floating-sidebar a span {
  font-size: 10px;
  font-weight: 500;
  color: var(--white-color);
  position: absolute;
  bottom: 0px;
}

.custom-go-to-top {
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.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 .navbar {
    top: 0px;
    z-index: 10;
    height: 70px;
  }

  #header .navbar .logo {
    width: 200px;
    max-height: 65px;
  }

  .shopping-cart {
    background-color: transparent;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.5);
  }

  .shopping-cart:hover {
    background-color: #fc0044;
    color: var(--white-color) !important;
    border: none;
  }

  .search-bar {
    margin-bottom: 15px;
  }

  .btn-search {
    background: var(--secondary-color) !important;
    color: var(--white-color) !important;
    border-radius: 5px;
  }

  .btn-search:hover {
    background: #c2185b;
  }
  .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-link {
    font-size: 0.85rem !important;
    font-weight: 600;
    color: rgba(102, 102, 102, 0.85) !important;
    transition: all 0.2s;
    padding: 12px 15px;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: rgba(0, 0, 0, 0.05);
    color: var(--secondary-color) !important;
  }

  .sub-menu {
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 0 5px 25px;
  }

  .sub-menu .dropdown-item {
    color: #666666;
  }
  .sub-menu .dropdown-item:hover {
    color: var(--black-color);
  }

  .social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
  }

  .social-icons a {
    font-size: 20px;
    color: #666666;
    transition: color 0.3s;
  }

  .social-icons a:hover {
    color: var(--secondary-color);
  }

  .newsletter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-weight: 600;
  }
  /* Main */
  #customCarousel .carousel-item img {
    min-height: 143px !important;
  }

  #customCarousel .carousel-control-prev,
  #customCarousel .carousel-control-next {
    display: none;
  }

  #customCarousel .carousel-indicators {
    bottom: -15%;
  }

  #realBeautyCarousel .carousel-control-prev {
    left: -6%;
    top: -10%;
  }

  #realBeautyCarousel .carousel-control-next {
    right: -6%;
    top: -10%;
  }

  #mobileFeaturedServicesCarousel .carousel-control-prev,
  #mobileFeaturedServicesCarousel .carousel-control-next {
    top: 10%;
    opacity: 1;
    color: var(--black-color);
    border: none;
  }
  #mobileFeaturedServicesCarousel .carousel-control-prev,
  #mobileFeaturedServicesCarousel .carousel-control-next {
    top: 10%;
    opacity: 1;
    color: var(--black-color);
    border: none;
  }

  #mobileFeaturedServicesCarousel .carousel-control-prev {
    left: -4%;
  }
  #mobileFeaturedServicesCarousel .carousel-control-next {
    right: -4%;
  }

  #mobileFeaturedServicesCarousel .carousel-control-prev:hover,
  #mobileFeaturedServicesCarousel .carousel-control-next:hover {
    background-color: transparent;
  }

  .article-img {
    width: 400px;
    height: 355px;
    object-fit: cover;
    margin-bottom: 8px;
  }

  .logo-carousel .carousel-control-prev,
  .logo-carousel .carousel-control-next {
    top: -0%;
  }

  .logo-carousel .carousel-control-prev {
    left: -8%;
  }
  .logo-carousel .carousel-control-next {
    right: -8%;
  }
}
