:root {
  --primary-color: #eea616;
  --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;
}
.section-title-main {
  color: var(--secondary-color) !important;
}
.section-title-main-2 {
  color: rgb(125, 59, 0) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}

#header .header-top {
  height: 90px;
  padding: 0;
}

#header .logo {
  width: 204px;
  height: 74px;
}

.header-contact {
  font-size: 0.95rem;
}

#header .navbar {
  top: 90px;
  z-index: 10;
  font-size: 1rem;
}

#header .nav-link {
  font-size: 1rem;
  color: var(--white-color);
  padding: 4px 14px;
}

.nav-item.active a {
  border: 1px solid var(--white-color);
  border-radius: 20px;
  background: #ffb624;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

#header .dropdown-menu {
  border-radius: 0;
  transform: translateX(-10%) !important;
}

#header .dropdown-menu-wide {
  min-width: 900px;
  transform: translateX(-30%) !important;
  padding: 12px;
}
#header .dropdown-menu-wide.wide-2 {
  min-width: 500px;
}

#header .dropdown-menu .dropdown-item {
  font-size: 0.825rem;
}

.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: 50px; */
}

#customCarousel .carousel-item img {
  object-fit: fill;
  min-height: 340px !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: 10% 5%;
  background-color: var(--white-color);
  color: var(--primary-color);
  opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--primary-color);
  color: var(--white-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: Info */
.info .icon {
  width: 92px;
  height: 95px;
}

.info .info-title {
  font-size: 18px;
}

.info .info-content {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.featured-services {
  background: url("assets/images/banner3.jpg") no-repeat center center;
  background-size: cover;
  padding: 50px 0;
}

.featured-services .card {
  padding: 20px;
  border-radius: 0;
  border: 0;
  background-color: rgba(255, 255, 255, 0.51);
}

.featured-services .card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-services .bg-yellow {
  background-color: rgba(238, 166, 22, 0.51);
}

.featured-services .card-title-red {
  color: #993300;
}
.featured-services .card-content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.9rem;
  height: 2.6rem;
}
.featured-services .service-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.card-btn {
  width: 60%;
  padding: 6px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 25px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: auto;
}

.card-btn span {
  transition: transform 0.3s ease;
}

.card-btn i {
  opacity: 0;
  margin-left: 8px;
  font-size: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  right: -30px;
}

.card-btn:hover {
  background-color: #e59a00;
  color: var(--white-color);
}

.card-btn:hover span {
  transform: translateX(-10px);
}

.card-btn:hover i {
  opacity: 1;
  right: 10px;
}

.featured-services .carousel-control-prev,
.featured-services .carousel-control-next {
  top: 15%;
}
.featured-services .carousel-control-prev {
  left: -8%;
}
.featured-services .carousel-control-next {
  right: -8%;
}

.section-title-center span:after {
  content: "";
  display: table;
  clear: both;
  background: url("assets/images/after-title.png");
  width: 100%;
  height: 28px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-top: 35px;
}

.section-title-center-2 span:after {
  content: "";
  display: table;
  clear: both;
  background: url("assets/images/after-title2.png");
  width: 100%;
  height: 28px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-top: 35px;
}

#why-choose-us .title {
  color: var(--primary-color);
  font-size: 18px;
}

#why-choose-us .content {
  color: var(--black-color);
  font-size: 15px;
}

#why-choose-us .custom-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 5px solid #ffe332;
  border-radius: 99%;
}

#before-after .carousel-control-prev,
#before-after .carousel-control-next {
  top: 25%;
}
#before-after .carousel-control-prev {
  left: -2%;
}
#before-after .carousel-control-next {
  right: -2%;
}

.customer-feedback {
  background-image: url("assets/images/cam-nhan-khach-hang.jpg");
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.customer-feedback img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #f6d165;
}

.bg-custom {
  background: #f0b92b;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 3px 4px 10px #00000038;
  width: 48% !important;
  height: 195px;
}

.customer-feedback .title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #3d3d3d;
}
.customer-feedback .content {
  font-size: 0.9rem;
  color: #3d3d3d;
}

.customer-feedback .carousel-control-prev,
.customer-feedback .carousel-control-next {
  top: -15%;
}
.customer-feedback .carousel-control-prev {
  left: -10%;
}
.customer-feedback .carousel-control-next {
  right: -10%;
}

.customer-feedback .card-btn {
  background-color: var(--white-color);
  width: 20%;
  color: #666;
  font-weight: bold;
}
.customer-feedback .card-btn:hover {
  background-color: #d8d8d8;
  color: var(--black-color);
}

.customer-feedback .card-btn span {
  transition: transform 0.3s ease;
}

.customer-feedback .card-btn i {
  color: var(--black-color);
}

.customer-feedback .card-btn:hover span {
  transform: translateX(-10px);
}

.customer-feedback .card-btn:hover i {
  opacity: 1;
  right: 10px;
}

.news-section {
}

.news-item {
  text-decoration: none;
}

.news-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2rem;
  height: 2.5rem;
  color: var(--black-color);
}

.news-title:hover {
  color: var(--primary-color);
}

.news-description {
  color: #666;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2rem;
  height: 3.6rem;
}

.news-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-img-wrapper {
  position: relative;
  overflow: hidden;
}

.news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(238, 166, 22, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

.news-img-wrapper:hover .news-overlay {
  opacity: 1;
}

.news-section .carousel-control-prev,
.news-section .carousel-control-next {
  top: 5%;
  color: var(--black-color);
  font-size: 1.5rem;
}
.news-section .carousel-control-prev {
  left: -10%;
}
.news-section .carousel-control-next {
  right: -10%;
}

.news-section .carousel-control-prev:hover,
.news-section .carousel-control-next:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
}

.news-section .carousel-control-prev,
.news-section .carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.news-section .carousel:hover .carousel-control-prev,
.news-section .carousel:hover .carousel-control-next {
  opacity: 1;
}

.footer {
  font-size: 0.9rem;
}

.footer a {
  text-decoration: none;
  color: var(--white-color);
}
.footer a:hover {
  color: var(--primary-color);
}

.footer-title {
  color: #ffcc00;
}

.footer-bottom {
  background-color: #2b2b2b;
}

.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;
}
.custom-go-to-top:hover {
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 1px solid var(--white-color);
}

/* 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;
}

@media (max-width: 768px) {
  #header .navbar {
    top: 0px;
    z-index: 10;
    height: 70px;
  }
  #header .header-top {
    max-height: 70px;
  }

  #header .logo {
    width: 190px;
    max-height: 70px;
  }
  .section-title-main {
    font-size: 1.2rem;
  }

  #offcanvasMenu {
    background-color: var(--primary-color);
  }
  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
  }
  .nav-link {
    padding: 12px 15px !important;
  }

  .nav-item:hover,
  .nav-item:focus {
    background: rgba(0, 0, 0, 0.05);
  }

  .sub-menu {
    background: #a77613 !important;
  }

  .sub-menu .nav-link {
    padding: 12px 0px 12px 25px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: normal;
  }

  #offcanvasMenu .search-input {
    border: none;
    border-radius: 5px 0 0 5px;
  }

  #offcanvasMenu .search-button {
    background-color: #a66a00;
    color: white;
    border-radius: 0 5px 5px 0;
  }

  .header-search {
    display: inline-block;
    cursor: pointer;
  }

  #search .dropdown-menu {
    position: absolute;
    top: 52px !important;
    right: -50px !important;
    border-radius: 0 !important;
    opacity: 1;
  }

  #search .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px !important;
    left: 85% !important;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.2);
    z-index: 0;
  }

  #search .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -9px !important;
    left: 85% !important;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid var(--white-color);
    z-index: 1;
  }

  #search .search-button {
    background-color: #a66a00;
    color: white;
    border-radius: 0 5px 5px 0;
  }

  /* Main */
  #main {
    margin-top: 0px;
  }

  #customCarousel .carousel-item img {
    height: 115px !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%;
  }

  #why-choose-us .title {
    font-size: 15px;
  }
  #why-choose-us .content {
    color: var(--black-color);
    font-size: 15px;
  }

  #why-choose-us .custom-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #ffe332;
    border-radius: 99%;
  }

  .bg-custom {
    width: 90% !important;
    height: 450px;
  }

  .customer-feedback img {
    width: 200px;
    height: 200px;
  }

  .customer-feedback .card-btn {
    width: 50%;
  }

  /* .news-section .carousel-control-prev,
  .news-section .carousel-control-next {
    top: 15%;
    opacity: 1;
    background-color: transparent;
    border: none;
    font-size: 1rem;
  }
  .news-section .carousel-control-prev {
    left: -10%;
  }
  .news-section .carousel-control-next {
    right: -10%;
  }

  .news-section .carousel-control-prev:hover,
  .news-section .carousel-control-next:hover {
    background-color: transparent;
    color: var(--primary-color);
  } */
}
