:root {
  --primary-color: #f48380;
  /* --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;
}

a {
  text-decoration: none !important;
  color: var(--white-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

#header {
  height: 70px;
}

.logo {
  max-height: 60px;
}

.search-bar {
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
}

.search-bar input {
  font-size: 0.9rem;
  border: none;
  outline: none;
  padding: 0px 16px;
}
.search-bar input:focus {
  box-shadow: none;
}
.search-bar .btn {
  background: transparent;
  border: none;
}

.nav-item a {
  color: #666666d9 !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-item a.active {
  color: var(--primary-color) !important;
}

.nav-item a:hover {
  color: var(--primary-color) !important;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 140%;
  left: -50%;
  padding: 20px;
  width: 260px;
  z-index: 1;
  border: 2px solid var(--primary-color);
}
.nav-item.dropdown .dropdown-menu::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: transparent;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
  padding: 12px 16px;
  color: #666666d9;
  font-weight: 600;
}
#main {
  margin-top: 70px;
}
/* Hero */
.hero-content {
  width: 45%;
  position: absolute;
  bottom: 30%;
  left: 15%;
  color: var(--white-color);
  z-index: 10;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}

/* Flip Animation with Keyframes */
@keyframes flipContent {
  0% {
    transform: rotateY(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
    transform: rotateY(90deg);
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

.carousel-item.active .hero-content {
  animation: flipContent 1s linear;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 600;
  text-transform: capitalize;
}

.spa-name {
  color: var(--primary-color);
  background: var(--white-color);
  border-radius: 5px;
  padding: 0 15px;
}

.hero-text {
  font-size: 1.5rem;
  color: #f1f1f1;
  font-weight: 400;
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 0;
}

.hero-btn {
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
  padding: 10px 20px;
  display: inline-block;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  border: 0 solid transparent;
  margin-left: -1px;
  text-decoration: none !important;
  text-transform: uppercase;
  position: relative;
  z-index: 0;
}

.hero-btn::before,
.hero-btn::after {
  content: "";
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  height: 50%;
  transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  z-index: -1;
}

.hero-btn::before {
  top: 0;
  left: 0;
  width: 0;
}

.hero-btn::after {
  bottom: 0;
  right: 0;
  width: 0;
}

.hero-btn:hover::before {
  width: 100%;
  left: 0;
}

.hero-btn:hover::after {
  width: 100%;
  right: 0;
}

.hero-btn:hover {
  background-color: var(--primary-color);
}

.hero-btn i {
  margin-left: 8px;
}

.carousel-item img {
  object-fit: cover;
  height: 80vh;
}

.hero-text.text-primary {
  list-style: none;
  padding-left: 0;
}

.hero-text.text-primary li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.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: 25%;
  z-index: 10;
}

.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;
}

/* Services */

.services {
  background-color: #f9f9f9;
}

/* Section title */
.section-title {
  display: block;
  font-size: 70px;
  line-height: 1.2;
  font-weight: bold;
  color: rgba(191, 191, 191, 0.3);
}

.section-subtitle {
  display: block;
  line-height: 1.5;
  font-weight: bold;
}

.high-light-title {
  border-right: 10px solid var(--primary-color);
}

.service-card img {
  width: 280px;
  height: 280px;
  object-fit: cover;
}

.service-card h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.1em;
  margin-top: 0.1em;
  text-transform: uppercase;
  color: #4e657b;
}
.service-card h4:hover {
  color: var(--primary-color);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--black-color);
}
/* About us */
.about-us {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: rgb(246, 247, 248);
  position: relative;
  overflow: hidden;
}

.img-container {
  position: relative;
  z-index: 1;
}

.fade-box::before {
  content: "";
  position: absolute;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 10px solid var(--primary-color);
  background: var(--primary-color);
  bottom: -15px;
  z-index: -1;
}

.about-title {
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: bold;
}

.is-divider {
  background-color: var(--primary-color);
  display: block;
  height: 3px;
  margin: 1em 0;
  max-width: 30px;
  max-width: 15%;
}

.about-content {
  border-left: 2px solid #a0a0a0;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  padding: 35px 0 35px 30px;
}

/* Company info */
.company-info {
  background-image: url("assets/images/infor_bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number {
  color: var(--white-color);
  font-size: 1.7rem;
  font-weight: 600;
}

.stat-label {
  font-size: 1rem;
  color: #f1f1f1;
}

.content-box--subtitle {
  color: #f1f1f1;
  font-size: 1.5rem;
}
.content-box--title {
  color: #f1f1f1;
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 40px;
}

.content-box--text {
  color: #f1f1f1;
  font-size: 1rem;
  margin-bottom: 20px;
}
.some-facts {
  position: relative;
  padding: 80px 30px 80px 50px;
  border: 10px solid #fff;
  border-left: 0px;
}

.some-facts::after,
.some-facts::before {
  content: "";
  position: absolute;
  background-color: #fff;
  left: -10px;
  width: 10px;
  height: 140px;
}

.some-facts::before {
  top: -10px;
}

.some-facts::after {
  bottom: -10px;
}

/* quality service */

.process-label {
  font-size: 14px;
  font-weight: 600;
}

.quality-service--title {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 40px;
  font-weight: 600;
}

.quality-service--text {
  font-size: 1rem;
  margin-bottom: 1.3em;
}

/* testimonials */
.testimonials {
  background-image: url("assets/images/slideshow_1.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.testimonials .container-fluid,
.testimonials .container-md {
  position: relative;
  z-index: 2;
}

.testimonials-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--white-color);
  margin-bottom: 3rem;
}

.testimonials .card {
  padding: 1rem;
  border-radius: 0px;
}

.testimonials .card img {
  width: 80px;
  height: 80px;
}

.stars {
  font-size: 0.85rem;
  padding: 8px 0;
}

.testimonials .card-text {
  font-size: 1rem;
  font-weight: 400;
}

.testimonials .carousel-control-prev,
.testimonials .carousel-control-next {
  top: 10%;
}
.testimonials .carousel-control-prev {
  left: -10%;
}
.testimonials .carousel-control-next {
  right: -10%;
}
/* Service details */
.service-details .card img {
  width: 385px;
  height: 325px;
  border-radius: 0;
}

.service-details .card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0;
}

.service-details-title,
.latest-articles-title {
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 2rem 0;
}

.image-zoom {
  position: relative;
  overflow: hidden;
}

.image-zoom img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-zoom:hover img {
  transform: scale(1.1);
}

/* Adding before and after effects */
.image-zoom:before,
.image-zoom:after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.8s ease-in-out;
}

.image-zoom:before {
  top: 0;
  left: 0;
  z-index: 1;
}

.image-zoom:after {
  bottom: 0;
  right: 0;
  z-index: 1;
}

.image-zoom:hover:before,
.image-zoom:hover:after {
  height: 100%;
  width: 100%;
}

/* latest-articles */
.latest-articles {
  background-image: url("assets/images/bkg-banner-section.png");
  background-position: center;
  background-repeat: repeat;
}

.latest-articles .card {
  position: relative;
}

.latest-articles .card-img-top {
  height: 450px;
  object-fit: cover;
  border-radius: 0;
}

.latest-articles .card-body {
  position: absolute;
  bottom: 10%;
  left: 18%;
  padding: 10px 20px;
  background-color: rgb(244, 131, 128);
  box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.1);
  color: var(--white-color);
  opacity: 0.95;
}

.latest-articles .card-body h5 {
  font-size: 1rem;
  font-weight: bold;
}

.latest-articles .card-body .card-text {
  font-size: 0.75rem;
}

.latest-articles .is-divider {
  margin: 0;
  width: 12%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* Culture activities */
.culture-activities {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 40px;
}

.section-description {
  font-size: 1rem;
  margin-bottom: 1.3em;
}

.list-unstyled {
  font-size: 1rem;
}

.list-unstyled li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ececec;
}

.list-unstyled li i {
  font-size: 20px;
}

/* Play Button on Video */

.play-button .btn {
  width: 65px;
  height: 65px;
  border: 2px solid var(--white-color);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.play-button .btn:hover {
  background-color: var(--primary-color);
}

/* Modal Styling */
.modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}

.modal-body {
  text-align: center;
  padding: 0;
}

/* iframe video styling */
.modal-body iframe {
  width: 100%;
  height: 500px;
}

.modal .btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: larger;
}

.modal .btn-close:hover {
  color: var(--white-color) !important;
}

/* cta section */

.cta-section {
  background-image: url("assets/images/two_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Title Styling */
.cta-title,
.cta-text {
  font-size: 1.6rem;
  font-weight: bold;
}

/* Support section */

.support-services {
  background-color: var(--white-color);
}

.support-services .service-icon {
  border-radius: 10px;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  margin: 10px auto 20px;
  padding: 22px;
}

.support-services .service-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.support-services .service-box p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.support-services .is-divider {
  width: 8%;
}

/* brands */

.brands {
  background-color: #f9f9f9;
  max-height: 150px;
}

.carousel-logo {
  max-height: 50px;
  object-fit: contain;
  margin: 0 15px;
}

#logoCarousel .carousel-control-prev,
#logoCarousel .carousel-control-next {
  position: absolute;
  opacity: 1;
  background-color: var(--primary-color);
  color: var(--white-color);
  top: -250%;
}

/* footer */

.footer-section {
  background-image: url("assets/images/slideshow_3.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}
.footer-section .container {
  position: relative;
  z-index: 2;
}

.contact-info {
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: rgb(244, 131, 128);
  padding: 30px;
}

.contact-info h5,
.contact-info p {
  font-size: 1rem;
  font-weight: 400;
}

.contact-info a {
  font-size: 0.8rem;
  padding-left: 0;
}

.contact-info a:focus {
  border: none;
  outline: none;
  box-shadow: none;
}


.contact-info a i {
  font-size: 0.8rem !important;
  margin-right: 8px;
}

.footer-section ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  margin: 0;
  padding: 7px 0 7px 0px;
  position: relative;
}

.footer-section ul li i {
  font-size: 0.7rem;
  color: #7a9c59;
  margin-right: 25px;
}


.footer-section ul li a {
  font-size: 0.9rem;
  color: #f1f1f1 !important;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: var(--primary-color) !important;
}

.footer-section h6 {
  font-weight: bold;
  font-size: 1.125em;
}
.footer-section .bi {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.footer-section .bi:hover {
  transform: scale(1.2);
}

.custom-go-to-top {
  border-radius: 50%;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px 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 {
  } */

  .search-btn {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .navbar-toggler {
    border: none;
    font-size: 24px;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }

  .offcanvas.half-width {
    width: 60%;
  }

  .offcanvas-start {
    background: hsla(0, 0%, 100%, 0.95);
  }

  .offcanvas .btn-close {
    position: relative;
    right: -75%;
    top: 5px;
    font-size: 1.2rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  }

  .offcanvas .btn-close:focus {
    box-shadow: none;
  }

  .offcanvas .nav-link-group li {
    border-top: 1px solid rgb(236, 236, 236);
    padding: 12px 0;
  }
  .offcanvas .nav-link-group li:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .offcanvas .nav-link-group a {
    color: #666666d9 !important;
    text-decoration: none;
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.8rem;
  }

  /* Search Box */
  .search-box {
    display: flex;
    border-radius: 30px;
    border: 1px solid #ccc;
    overflow: hidden;
    padding: 0 8px;
  }
  .search-input {
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 12px;
    background-color: transparent;
  }

  .search-input:focus {
    box-shadow: none;
    background-color: transparent;
  }

  .search-button {
    background-color: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }

  #offcanvasNav .nav-item {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  #offcanvasNav .nav-item .nav-link {
    color: #666666d9 !important;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  #offcanvasNav .nav-item .nav-link:hover {
    background-color: #e0e0e0;
  }

  #offcanvasNav .nav-item .nav-link.active {
    color: var(--black-color) !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 {
    font-weight: normal;
  }

  .social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
  }

  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #666;
    transition: background-color 0.3s, color 0.3s;
  }

  .social-icon i {
    font-size: 14px;
  }

  .social-icon:hover {
    background-color: #333;
    color: #fff;
  }

  /* hero */
  #heroCarousel img {
    max-height: 250px;
  }

  .hero-content {
    width: 80%;
    bottom: 20%;
    left: 10%;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .spa-name {
    color: var(--primary-color);
    background: var(--white-color);
    border-radius: 5px;
    padding: 0 15px;
  }

  .hero-text {
    font-size: 0.75rem;
  }

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none;
  }

  .service-card img {
    width: 400px;
    height: 400px;
    object-fit: cover;
  }

  /* About us */

  .about-title {
    font-size: 1.2rem;
  }

  /* latest-articles */

  .latest-articles .card-img-top {
    height: 300px;
    object-fit: cover;
    border-radius: 0;
  }

  .latest-articles .card-body {
    position: absolute;
    bottom: 10%;
    left: 5%;
    padding: 10px;
    background-color: rgb(244, 131, 128);
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.1);
    color: var(--white-color);
    opacity: 0.95;
  }

  .latest-articles .card-body h5 {
    font-size: 0.85rem;
    font-weight: bold;
  }

  .latest-articles .card-body .card-text {
    font-size: 0.65rem;
  }

  .cta-title,
  .cta-text {
    font-size: 1.2rem;
  }
}
