@font-face {
  font-family: "Besides";
  src: url("../fonts/1FTV-VIP-Besides.otf") format("truetype");
}

@font-face {
  font-family: "ganh-type-regular";
  src: url("../fonts/ganh-type-regular.otf") format("truetype");
}

body {
  font-family: "ganh-type-regular", sans-serif;
  color: #000000;
  background-color: #fbfbfb;
  overflow-x: hidden; /* Chỉ tắt thanh cuộn ngang */
  overflow-y: auto; /* Cho phép cuộn dọc */
  scroll-behavior: smooth;
}

/* Ẩn thanh cuộn nhưng vẫn cho phép cuộn */
html {
  overflow-x: hidden; /* Tắt thanh cuộn ngang */
  overflow-y: auto; /* Cho phép cuộn dọc */
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}

/* Firefox */
html {
  scrollbar-width: none;
}

/* Đảm bảo không overflow cho các sections */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Đặc biệt cho team_section để tránh ảnh hưởng bởi global scroll settings */
.team_section * {
  box-sizing: border-box;
}

.member_title {
  margin-bottom: 0;
}

.layout_padding {
  padding: 5.21vw 0;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding2-top {
  padding-top: 45px;
}

.layout_padding2-bottom {
  padding-bottom: 45px;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}

.custom_dark-btn,
.custom_orange-btn {
  display: inline-block;
  padding: 10px 0;
  text-align: center;
  width: 145px;
  outline: none;
  color: #f7f7f7;
  border: 2px solid transparent;
}

.custom_dark-btn {
  background-color: #221f1f;
  border: 2px solid #221f1f; /* Thêm border với màu background để giữ kích thước */
}

.custom_dark-btn:hover {
  border: 2px solid #221f1f;
  color: #221f1f;
  background-color: transparent;
}

.custom_orange-btn {
  background-color: #dee11d;
  border: 2px solid #dee11d; /* Thêm border với màu background để giữ kích thước */
}

.custom_orange-btn:hover {
  border: 2px solid #dee11d;
  color: #dee11d;
  background-color: transparent;
}

.custom_heading {
  text-align: center;
  font-weight: bold;
}

.custom_heading-text {
  text-align: center;
  font-size: 1.5rem;
}

/*header section*/
.hero_area {
  background-color: #ffffff;
  overflow-x: hidden; /* Đảm bảo không overflow ngang */
}

.hero_area.sub_pages {
  height: auto;
}

/* Đảm bảo container không gây overflow */
.container,
.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hiệu ứng cuộn mượt cho các anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

.header_section {
  background-color: #221f1f;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.header_section .nav_container {
  margin: 0 auto;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  font-family: "Besides", sans-serif;
  padding: 10px 30px;
  color: #dee11d;
  text-align: center;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #fafcfd;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  box-shadow: none;
}

.navbar-brand,
.navbar-brand:hover {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
  color: #fafcfd;
}

.custom_nav-container .nav_search-btn {
  background-image: url(../images/search-icon.png);

  background-size: 22px;
  background-repeat: no-repeat;
  background-position-y: 7px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 13.89vw;
  margin-right: 5px;
}

.navbar-brand span {
  font-size: 20px;
  font-weight: 700;
  color: #2e2e2d;
  margin-top: 5px;
}

.custom_nav-container {
  z-index: 99999;
  padding: 15px 0;
}

/**Start hamburger menu*/
.custom_nav-container .navbar-toggler {
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.custom_nav-container .navbar-toggler .custom-toggler {
  /* background-image: url(../images/menu.png);
  background-size: 55px; */
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.custom_nav-container .navbar-toggler .custom-toggler span {
  display: block;
  height: 4px;
  background: #dee11d;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
}
.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(3) {
  transform: rotate(-45deg) translate(13px, -9px);
}

/**End hamburger menu*/

.quote_btn-container a {
  font-family: "Besides", sans-serif;
  line-height: 5vh;
  display: inline-block;
  padding: 5px 15px;
  background-color: #dee11d;
  color: #221f1f;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-radius: 2px;
  text-align: center;
  border: 3px solid transparent;
}

.quote_btn-container a:hover {
  border: 3px solid #dee11d;
  background-color: #221f1f;
  color: #dee11d;
}

/*end header section*/

/* slider section */
.slider_section {
  padding-top: 3%;
}

.slider_item-box {
  width: 100%;
  height: 100%;
}

.slider_item-box .container {
  height: 100%;
}

.slider_img-box div img {
  width: 60%;
  margin-left: 70px;
}

.slider_img-box img {
  width: 100%;
}

.slider_item-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

/* .slider_item-container .slider_item-detail {
} */

.slider_item-detail h1 {
  font-family: "Besides", sans-serif;
  font-weight: 700;
  font-size: 60px;
  margin-top: 5.56vw;
  margin-bottom: 3vw;
}

.slider_item-detail {
  margin-bottom: 10vw;
}

.slider_item-detail p {
  margin: 45px 0;
}

.slider_call-btn {
  display: inline-block;
  padding: 8px 20px;
  background-color: #edb040;
  color: #fefdfd;
  border-radius: 20px;
}

.slider_section #carouselExampleControls,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.slider_section .custom_carousel-control {
  position: absolute;
  top: 50%;
  left: 2%;
  width: 105px;
  transform: translateY(-50%);
}

.slider_section .custom_carousel-control .carousel-control-prev,
.slider_section .custom_carousel-control .carousel-control-next {
  margin: 10px 0;
  position: relative;
  width: 45px;
  height: 45px;
  border: none;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
}

.slider_section .custom_carousel-control .carousel-control-prev {
  background-image: url(../images/prev.png);
  background-color: #fc5d35;
}

.slider_section .custom_carousel-control .carousel-control-next {
  background-image: url(../images/next.png);
  background-color: #000000;
}

/* end slider section */

/* service section */
.service_section {
  overflow: visible; /* Cho phép hiệu ứng scale hiển thị */
  padding-bottom: 20px; /* Thêm padding để tránh cắt shadow */
}

.service_section .card-deck {
  margin-bottom: 20px; /* Thêm khoảng cách dưới để tránh overlap */
}

.service_section .card .card-img-top {
  width: 100px;
  margin: 15px auto 5px auto;
}

.service_section .card {
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 25px; /* Thêm margin để bù trừ hiệu ứng hover trên mobile */
  display: flex;
  flex-direction: column; /* Đảm bảo cấu trúc flex */
}

.service_section .card .card-body {
  padding: 1rem;
  padding-bottom: 2rem; /* Thêm padding-bottom mặc định */
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Cho phép mở rộng để fill không gian */
}

.service_section .card .card-title {
  text-align: center;
  color: #dee11d;
  font-weight: bold;
}

.service_section .card .card-text {
  flex-grow: 1; /* Cho phép text mở rộng để đẩy các element khác xuống */
}

.service_section .card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 7px;
  background-color: transparent;
}

.service_section .card:hover {
  cursor: pointer;
  border: none;
  border-radius: 0;
  transform: translateY(-5px); /* Sử dụng transform cho màn hình lớn */
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
}

.service_section .card:hover::after {
  background-color: #dee11d;
}

/* end service section */

/* client section */
.team_section {
  overflow-y: hidden; /* Chỉ ẩn thanh cuộn dọc cho team_section */
  overflow-x: hidden; /* Vẫn cho phép hiển thị ngang để hiệu ứng hover hoạt động */
  padding-bottom: 30px;
}

.team_section .container {
  overflow-x: visible;
}

/* Giữ các thành viên xếp trong một hàng ngang */
.team_section .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Cột thành viên */
.team_section .col-md-4 {
  padding: 15px;
  flex: 1 1 20%;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 20px; /* Thêm margin để bù trừ hiệu ứng hover trên mobile */
  min-height: 200px; /* Đảm bảo chiều cao tối thiểu */
}

/* Hình ảnh thành viên */
.team_member img {
  width: 10.42vw;
  aspect-ratio: 1 / 1;
  border-radius: 25%;
  object-fit: cover;
}

.slider_img-box1 img {
  width: 70%;
  height: auto;
}
/* Hiệu ứng hover */

.col-md-4:hover {
  border-radius: 12px;
  transform: translateY(-10px); /* Giữ nguyên hiệu ứng ban đầu */
  cursor: pointer;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
}

.fruit_section {
  margin: 100px 0;
}

/* Mô tả thành viên */
.team_member_desc {
  color: #6c757d;
  margin-top: 10px;
}

/* end client section */
/* Thay đổi cách hiển thị cho thiết bị di động */
@media (max-width: 768px) {
  .team_section .row {
    flex-wrap: wrap;
  }

  .team_member img {
    width: 19.53vw;
  }

  .team_member {
    max-width: 100%;
    width: 100%;
  }
}

/* tasty section */

.tasty_section {
  width: 100%; /* Thay vì 100vw để tránh overflow */
  max-width: 100vw;
  height: 500px;
  margin: 0; /* Xóa margin-left để tránh vỡ layout */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw; /* Kỹ thuật breakout container */
  background-image: url(../images/ImageSection.jpg);
  background-repeat: no-repeat;
  background-size: cover; /* Giữ nguyên kích thước tỷ lệ */
  background-position: center center; /* Căn giữa hình ảnh */
  background-attachment: fixed; /* Hiệu ứng parallax nhẹ */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* Tối ưu hóa cho hình ảnh nét hưn */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; /* Thuộc tính chuẩn */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Thêm filter để tăng độ sắc nét */
  filter: contrast(1.1) saturate(1.05) brightness(1.02);
}

/* Thêm overlay nhẹ để tăng độ tương phản */
.tasty_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.1) 100%
  ); /* Gradient overlay nhẹ */
  z-index: 1;
}

.tasty_section h2 {
  font-size: 125px;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  z-index: 2; /* Đảm bảo text nằm trên overlay */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Thêm bóng để nổi bật */
}

/* Cải thiện hiệu ứng cuộn và performance */
* {
  scroll-behavior: smooth;
}

/* end tasty section */

/* client section */
.client_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.client_img-box {
  width: 150px;
}

.client_img-box img {
  width: 100%;
}

.client_container h3 {
  text-align: center;
  margin-bottom: 25px;
}

.client_section .custom_carousel-control {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 105px;
  transform: translateX(-50%);
}

.client_section .custom_carousel-control .carousel-control-prev,
.client_section .custom_carousel-control .carousel-control-next {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 100%;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
  background-color: #292727;
}

.client_section .custom_carousel-control .carousel-control-prev:hover,
.client_section .custom_carousel-control .carousel-control-next:hover {
  background-color: #fc5d35;
}

.client_section .custom_carousel-control .carousel-control-prev {
  background-image: url(../images/prev.png);
}

.client_section .custom_carousel-control .carousel-control-next {
  background-image: url(../images/next.png);
}

/* end client section */

/* contact section */

.contact_section {
  background-image: url(../images/Asset_Form_Haft.png);
  background-repeat: no-repeat;
  background-size: 215px;
  background-position: right center;
}

.contact_section input {
  border: none;
  outline: none;
  border-bottom: 0.8px solid #252525;
  width: 90%;
  margin: 10px 0;
}

.contact_form-container {
  padding: 15px 0 15px 0;
}

.contact_form-container button {
  border: none;
  background-color: #dee11d;
  color: #221f1f;
  font-weight: bold;
  padding: 10px 40px;
  text-transform: uppercase;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.contact_form-container button:hover {
  margin-top: -5px;
  margin-bottom: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* contact section */

/* map section */
.map_section {
  height: 500px;
}

/* end map section */

/* info section */
.info_section ul {
  padding: 0;
}

.info_section ul li {
  list-style-type: none;
  margin: 3px 0;
}

.info_section h5 {
  margin-bottom: 12px;
  font-size: 22px;
}

.info_section .social-box {
  margin: 25px 0;
}

.info_section .social-box img {
  width: 35px;
  margin-right: 5px;
}

.info_section .form_container input {
  width: 225px;
  height: 30px;
}

.info_section .form_container button {
  background-color: #fc5d35;
  border: none;
  outline: none;
  color: #fff;
  padding: 5px 30px;
  margin-top: 15px;
  font-size: 15px;
}

/* end info section */
/* footer section*/
.footer-link {
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-link:hover {
  color: #dee11d !important;
  text-decoration: underline !important;
}

.footer-link:active {
  color: #454609 !important;
  /* Màu khi click */
  text-decoration: underline !important;
  /* Giữ gạch chân khi click */
}

.contact-info a {
  color: white;
}

.contact-info p a:hover {
  color: #dee11d;
}

/* end footer section*/

/* footer section*/

.footer_section {
  background-color: #efeded;
  padding: 20px 0;
  font-family: "Roboto", sans-serif;
}

.footer_section p {
  color: #191818;
  margin: 0;
  text-align: center;
}

.footer_section a {
  color: #191818;
}

/* end footer section*/

/* General Footer Styling */
.info_section {
  background-color: #2c3e50;
  /* Dark background for contrast */
  color: #ecf0f1;
  /* Light text color */
  padding: 40px 0;
}

.footer_title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  color: #ee9972;
  /* Accent color */
}

.footer_subtitle {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.footer_list {
  list-style-type: none;
  padding: 0;
}

.footer_list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.social_container {
  margin-top: 15px;
}

.social-box a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.social-box a img {
  width: 40px;
  height: 40px;
}

.social-box a:hover {
  transform: scale(1.1);
  /* Slight zoom effect on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .info_section {
    padding: 20px;
  }

  .footer_title {
    font-size: 16px;
  }

  .footer_list li {
    font-size: 13px;
  }

  .social-box a img {
    width: 35px;
    height: 35px;
  }
}
