:root {
  --primary-color: #603814;
  --secondary-color: #ed9421;
  --white-color: #fff;
  --black-color: #000;
  --text-color: #333;
  --border-color: #ddd;
  --btn-background-color: linear-gradient(
    96.55deg,
    #8f582a 12.14%,
    #e9bc98 105.25%
  );
}

html,
body {
  font-family: "Chakra Petch", sans-serif;
  overflow-x: hidden;
}
body {
  font-family: "Chakra Petch", sans-serif !important;
  background-color: var(--white-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Chakra Petch", sans-serif;
}
p {
  font-family: "Chakra Petch", sans-serif;
}
span {
  font-family: "Chakra Petch", sans-serif;
}

a {
  text-decoration: none !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

#header {
  background-color: var(--white-color);
}

#header .header-top {
  padding: 15px 0;
  font-size: 12px;
  color: var(--white-color);
}

#header .pattern-top {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30%;
  height: 96%;
  background-color: var(--white-color);
}


#header .pattern-top::before {
  content: "";
  position: absolute;
  top: -32px;
  right: -8px;
  width: 40px;
  height: 75px;
  transform: rotate(135deg);
  background-color:var(--primary-color);
  z-index: 2;
}

#header .logo-wrapper {
  height: 80px;
  position: relative;
}

#header .logo {
  height: 100px;
  position: absolute;
  bottom: 20px;
  left: 5%;
}


#header .nav-link {
  font-size: 15px;
  color: var(--primary-color);
  font-weight: bold;
  padding: 8px 8px;
}
#header .nav-link.active,
#header .nav-link:hover {
  color: var(--secondary-color);
}

#main {
  padding-top: 125px;
}

.slick-banner img {
  min-height: 415px;
  object-fit: cover;
}

.custom-slick-arrow {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  z-index: 2;
  transition: background 0.2s, opacity 0.2s;
}
.slick-banner:hover .custom-slick-arrow {
  opacity: 1;
}
.custom-slick-arrow::before {
  display: none;
}
.custom-slick-arrow:hover,
.custom-slick-arrow:focus {
  background: var(--primary-color);
  color: var(--white-color);
  outline: none;
}
.slick-prev {
  left: 16px;
  z-index: 2;
}
.slick-next {
  right: 16px;
  z-index: 2;
}
.slick-prev,
.slick-next {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

/* Dots */
.slick-dots {
  bottom: 10px;
}

.slick-dots li button::before {
  display: none;
}
.slick-dots li {
  margin: 0;
}
.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slick-dots li.slick-active button {
  background-color: var(--primary-color);
}

.slick-dots li button:hover {
  background-color: var(--secondary-color);
}

/* Intro */
.intro-title {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 22px;
  color: #603814;
  margin: 0;
  z-index: 999;
  padding: 10px 80px 8px;
  display: inline-block;
}

.intro-title::before {
  content: "";
  width: 70px;
  height: 3px;
  background: #ed9421;
  position: absolute;
  left: 0px;
  top: 50%;
}

.intro-desc {
  font-size: 18px;
  color: #111;
  line-height: normal;
  font-style: normal;
  font-weight: 400;
}

.intro-contact {
  font-size: 18px;
  color: #800000;
  line-height: normal;
  font-style: normal;
  font-weight: bold;
}

.btn-hotline {
  font-size: 20px;
  color: var(--primary-color);
  background: var(--secondary-color);
  padding: 10px 10px;
  transition: all 0.5s ease-out;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}
.btn-hotline:hover {
  border: 1px solid #ccc;
  background: #c97a13;
}

/* Benefit */
.benefit-section i {
  font-size: 4rem;
}
.benefit-title {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}
.benefit-desc {
  font-size: 14px;
  color: #333;
}
.service-section {
  background: #eee;
}
.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c20000;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}
.service-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service-card img {
  border-radius: 4px;
  object-fit: cover;
  height: 250px;
}
.service-card-title {
  font-size: 1.25rem;
  color: #111;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.service-card-title:hover {
  color: #c71444;
}
.service-card-desc {
  margin-top: 0px;
  text-align: justify;
  font-size: 15px;
  padding: 0 7px;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-banner {
  text-align: center;
  background: #22222294;
  padding: 120px 70px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.hero-bg-img {
  object-fit: cover;
}
.hero-content {
  z-index: 3;
  color: var(--white-color);
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.btn-hotline-hero {
  background: #ed9421;
  color: var(--white-color);
  font-weight: bold;
  font-size: 1.15rem;
  padding: 10px 28px;
  border-radius: 6px;
  border: none;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.btn-hotline-hero:hover {
  background: #c97a13;
  color: var(--white-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
}
.footer-title {
  font-size: 14px;
  color: #ffffff;
  position: relative;
}
.footer-title::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30%;
  height: 2px;
  background: #ba8f3d;
}
.footer-link {
  padding: 4px 0;
  width: 100%;
  color: #d4c291;
  font-size: 14px;
}
.footer-copyright {
  font-size: 13px;
  color: var(--white-color);
}

/* btn go to top */
.custom-go-to-top {
  border-radius: 50%;
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  bottom: 6% !important;
  width: 40px;
  height: 40px;
  background-color: 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);
}
/* Float Contact */
.float-contact {
  position: fixed;
  left: 1rem;
  bottom: 8%;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.float-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: var(--white-color);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 3px solid #00c3f7;
  transition: box-shadow 0.2s, border 0.2s;
}
.float-zalo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.float-zalo:hover {
  box-shadow: 0 4px 24px rgba(0, 195, 247, 0.25);
  border: 3px solid #00e676;
}
.float-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
}
.float-phone-icon {
  color: var(--white-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-phone:hover {
  background: #d50000;
  box-shadow: 0 4px 24px rgba(255, 0, 0, 0.18);
}
.float-zalo,
.float-phone {
  animation: shake 1.2s infinite;
}
.float-phone {
  animation: shake 1.2s infinite, pulse 1.5s infinite;
}
@keyframes shake {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(-15deg);
  }
  40% {
    transform: rotate(15deg);
  }
  60% {
    transform: rotate(-15deg);
  }
  80% {
    transform: rotate(3deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@media (max-width: 768px) {
  #header .logo {
    height: 60px;
    position: unset;
    bottom: unset;
    left: unset;
    margin: 0 auto;
  }
  .offcanvas-search .input-group {
    border-radius: 2px;
    overflow: hidden;
  }
  .offcanvas-search .form-control {
    color: #333;
    font-size: 14px;
    border: none;
    box-shadow: none;
  }
  .offcanvas-search .input-group-text {
    border: none;
    padding-right: 8px;
  }
  .offcanvas-menu {
    margin: 0;
    padding: 0;
  }
  .offcanvas-menu li {
    border-bottom: 1px solid #eee;
    list-style: none;
  }
  .offcanvas-menu-link {
    display: block;
    padding: 12px 12px;
    color: #222;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .offcanvas-menu-link:hover,
  .offcanvas-menu-link:focus {
    background: #f5f5f5;
    color: var(--primary-color);
  }
  .intro-title {
    padding: 0;
    border-bottom: 3px solid #ed9421;
    margin-bottom: 10px;
  }
  .intro-title::before {
    display: none;
  }
  .slick-banner img {
    min-height: 120px;
    object-fit: cover;
  }
  #main {
    padding-top: 75px;
  }

  .slick-dots {
    bottom: 0px;
  }

  .hero-banner {
    padding: 70px 15px;
  }

  .hero-title {
    font-size: 20px;
  }
  .hero-desc {
    font-size: 20px;
  }
}
