html:has(body.page-template-template-homepage) {
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
  scroll-snap-type: none !important;
}

body.page-template-template-homepage,
body.home {
  overflow-y: visible !important;
  overscroll-behavior-y: auto;
  scroll-snap-type: none !important;
}

.page-template-template-homepage #main,
body.home #main {
  padding: 0;
  background: #fff;
}

body.home #content.content-area,
body.home #content > .row-main,
body.home #content > .row-main > .col,
body.home #content > .row-main > .col > .col-inner {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.home #content > .row-main > .col {
  padding-inline: 0 !important;
}

.casitek-home-section {
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #171717;
}

/* .casitek-home-shell {
  width: min(1350px, calc(100% - 80px));
  margin-inline: auto;
} */

.casitek-home-shell {
  --shell-max-width: 1280px; /* Chuẩn an toàn cho màn hình laptop thông thường */
  width: min(var(--shell-max-width), calc(100% - 80px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* If applied directly to a Flatsome row */
/* .row.casitek-home-shell {
  max-width: var(--shell-max-width, 1280px) !important;
} */

/* Tự động co giãn mượt mà khi nằm trong phần Industries của màn hình lớn */
.casitek-home-shell {
  --shell-max-width: 85vw; /* Sử dụng đơn vị Viewport Width để tự co giãn theo tỉ lệ màn hình */
}
.casitek-home-industries .row.casitek-home-shell {
  max-width: 1680px !important; /* Giới hạn chặn trên an toàn cho màn hình 4K */
}

.casitek-home-eyebrow,
.casitek-home-section-heading span,
.casitek-home-product-system__intro > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f36f21;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Custom static Hero Section */
.casitek-home-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
  box-sizing: border-box;
}

.section:has(.casitek-home-hero-native) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-hero-native) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-native-home-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.casitek-home-hero-native {
  color: #fff;
  overflow: hidden;
  background: #111;
}

@media (min-width: 992px) {
  .casitek-home-hero-native {
    height: 100vh !important;
    min-height: 100vh !important;
    padding-top: 0 !important;
  }
}

.casitek-home-hero-native .banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.16) 100%),
    rgba(0, 0, 0, 0.1);
}

.casitek-home-hero-native .banner-bg img.bg {
  z-index: 1;
  object-position: center center;
}

.casitek-home-hero-native .banner-layers {
  z-index: 3;
}

/* .casitek-home-hero-native::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 69px;
  z-index: 4;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #fff 0 9.8%,
      rgba(255, 255, 255, 0) 9.8% 10.3%,
      rgba(255, 255, 255, 0.5) 10.3% 23.5%,
      rgba(255, 255, 255, 0) 23.5% 24%,
      rgba(255, 255, 255, 0.5) 24% 37.2%,
      rgba(255, 255, 255, 0) 37.2% 37.7%,
      rgba(255, 255, 255, 0.5) 37.7% 50.9%,
      rgba(255, 255, 255, 0) 50.9% 51.4%,
      rgba(255, 255, 255, 0.5) 51.4% 64.6%,
      rgba(255, 255, 255, 0) 64.6% 65.1%,
      rgba(255, 255, 255, 0.5) 65.1% 78.3%,
      rgba(255, 255, 255, 0) 78.3% 78.8%,
      rgba(255, 255, 255, 0.5) 78.8% 100%);
} */

.casitek-native-hero-copy {
  max-width: 980px;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.casitek-native-hero-copy .text-inner {
  text-align: left;
}

.casitek-native-hero-copy h1 {
  max-width: 900px;
  margin: 22px 0 16px;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(44px, 4.85vw, 68px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.casitek-native-hero-copy p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.48;
}

.casitek-native-hero-copy .button {
  margin-top: 28px;
  border-radius: 4px !important;
  background: #f36f21 !important;
  color: #fff !important;
  letter-spacing: 0;
}

.casitek-native-hero-copy .casitek-native-hero-button {
  margin-top: 28px;
}

.casitek-native-hero-copy p:has(.casitek-native-hero-button) {
  margin-top: 0;
}

.casitek-native-hero-copy .casitek-native-hero-button .arrow:empty::before,
.casitek-btn .arrow:empty::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8H12.666M8 12.667L12.666 8L8 3.333' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8H12.666M8 12.667L12.666 8L8 3.333' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.casitek-home-hero__media,
.casitek-home-hero__overlay {
  position: absolute;
  inset: 0;
}

.casitek-home-hero__media {
  z-index: 1;
}

.casitek-home-hero__media img,
.casitek-home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--home-hero-media-position, center center);
  display: block;
}

.casitek-home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.16) 100%),
    rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.casitek-home-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 240px));
  margin-inline: auto;
  padding: 178px 0 126px;
  box-sizing: border-box;
}

.casitek-home-hero__content {
  max-width: 980px;
}

.casitek-home-hero__content h1 {
  max-width: 900px;
  margin: 22px 0 16px;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(44px, 4.85vw, 68px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.casitek-home-hero__content p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.48;
}

.casitek-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* 5 Progress Lines matching Figma exactly */
.casitek-home-hero__lines-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 69px;
  z-index: 4;
}

.casitek-home-hero__lines-wrap .casitek-home-shell {
  width: calc(100% - 48px);
  max-width: none;
}

.casitek-home-hero__lines {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.casitek-home-hero__lines .line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease;
}

.casitek-home-hero__lines .line--active {
  background: #fff;
}

/* Prevent GSAP flash of unstyled content */
.has-gsap .hero-rating,
.has-gsap .hero-content h1,
.has-gsap .hero-content > p,
.has-gsap .hero-buttons,
.has-gsap .casitek-native-hero-copy h1,
.has-gsap .casitek-native-hero-copy p {
  opacity: 0;
  visibility: hidden;
}

/* Force container full-bleed and full-height */
.section:has(.casitek-home-hero) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-hero) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 1px;
  height: 56px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.casitek-home-scroll-cue::after {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, #f36f21, rgba(255, 255, 255, 0));
  animation: casitek-home-scroll 1.8s ease-in-out infinite;
}

@keyframes casitek-home-scroll {
  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.casitek-home-logo-showcase {
  min-height: 760px;
  background: #fff;
}

.casitek-home-logo-showcase__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.casitek-home-section-heading h2,
.casitek-home-product-system__intro h2 {
  margin: 0;
  color: #171717;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.casitek-home-section-heading p,
.casitek-home-product-system__intro p {
  margin: 18px 0 0;
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.72;
}

.casitek-home-industries {
  position: relative;
  padding: 160px 0 180px !important;
  overflow: hidden;
}

.section:has(.casitek-home-industries) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-industries) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-industries__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.casitek-home-section-logo-img {
  position: absolute;
  pointer-events: none;
}

.casitek-home-section-logo-img--top {
  top: -160px;
  left: -40px;
  transform: translate(-10%, -20%);
  width: clamp(340px, 40vw, 548px);
  transition: none;
}

.casitek-home-section-logo-img--bottom {
  bottom: -130px;
  right: -100px;
  transform: translate(10%, 0);
  width: clamp(300px, 36vw, 490px);
  transition: none;
}

/* --- LOGO C-MERGE ANIMATION (triggered by .logo-animate on .casitek-home-industries) --- */

/* Phase 1 (0→45%): Top slides diagonal down-right to center, Bottom slides horizontal left to center.
   Phase 2 (45→100%): Both converge horizontally inward and merge into the C lettermark. */

.casitek-home-industries.logo-animate .casitek-home-section-logo-img--top {
  animation: casitek-logo-top-merge 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1s;
}

.casitek-home-industries.logo-animate .casitek-home-section-logo-img--bottom {
  animation: casitek-logo-bottom-merge 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1s;
}

/* Static merged state when scrolling UP to the section */
.casitek-home-industries.logo-merged .casitek-home-section-logo-img--top {
    top: calc(50% - 230px);
    left: calc(50% - 215px);
    transform: translate(0, 0);
}

.casitek-home-industries.logo-merged .casitek-home-section-logo-img--bottom {
    bottom: calc(50% - 269px + -81px);
    right: calc(50% - 245px);
    transform: translate(0, 0);
}

@keyframes casitek-logo-top-merge {
  0% {
    /* Default off-screen: top-left corner */
    top: -160px;
    left: -40px;
    transform: translate(-10%, -20%);
  }
  45% {
    /* Phase 1 end: slid diagonally to vertical center, still horizontally separated */
    top: calc(50% - 177px); /* half of 354px height */
    left: 10%;
    transform: translate(0, 0);
  }
  100% {
    /* Phase 2 end: converged horizontally to form the C */
    top: calc(50% - 230px);
    left: calc(50% - 215px);
    transform: translate(0, 0);
  }
}

@keyframes casitek-logo-bottom-merge {
  0% {
    /* Default off-screen: bottom-right corner */
    bottom: -80px;
    right: -100px;
    transform: translate(10%, 0);
  }
  45% {
    /* Phase 1 end: slid horizontally to center, vertically adjusted */
    bottom: calc(50% - 269px + 177px); /* align below the top piece */
    right: 10%;
    transform: translate(0, 200px);
  }
  100% {
    /* Phase 2 end: converged horizontally to form the C */
    bottom: calc(50% - 269px + -181px);
    right: calc(50% - 245px);
    transform: translate(0, -99px);
  }
}


.casitek-home-industries > .casitek-home-shell {
  position: relative;
  z-index: 1;
}

.casitek-home-section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.casitek-home-section-heading h2 {
  margin-top: 14px;
  font-size: 40px;
  color: #111;
}

.casitek-home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.casitek-home-industry-card,
.casitek-home-industry-card .col-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(243, 111, 33, 0.16);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

/* Reset column wrapper styles so spacing remains perfect */
div.col.casitek-home-industry-card {
  padding: 0 9.8px 19.6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.casitek-home-industry-card .col-inner {
  height: 100%;
}

.casitek-home-industry-card.is-active,
.casitek-home-industry-card.is-active .col-inner,
.casitek-home-industry-card:hover,
.casitek-home-industry-card:hover .col-inner {
  border-color: #f36f21;
  box-shadow: 0 24px 48px rgba(243, 111, 33, 0.12);
  transform: translateY(-8px);
}

/* Make entire card clickable when using row/col */
.casitek-home-industry-card .col-inner a.casitek-home-industry-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.casitek-home-industry-card__icon {
  margin-bottom: 24px;
}

.casitek-home-industry-card__icon img,
.casitek-home-industry-card__icon svg,
.casitek-home-industry-card__icon .placeholder-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.casitek-home-industry-card__icon .placeholder-icon {
  background: rgba(243, 111, 33, 0.1);
}

.casitek-home-industry-card h3 {
  margin: 0 0 16px 0;
  color: #f36f21;
  font-size: 24px;
  line-height: 1.2;
}

.casitek-home-industry-card .tags {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.5;
}

.casitek-home-industry-card p {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.62;
  flex-grow: 1; /* push link to bottom */
}

.casitek-home-industry-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  margin-left: auto; /* Lệch toàn bộ sang bên phải của card */
  text-decoration: none !important;
}

.casitek-home-industry-card__link .text {
  color: #f36f21;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.casitek-home-industry-card__link .line-dot {
  display: flex;
  align-items: center;
  margin-left: 8px; /* Khoảng cách giữa text và line-dot */
  transition: margin-left 0.3s ease;
}

.casitek-home-industry-card__link .line {
  height: 1px;
  width: 100px; /* Chiều dài line là 25px */
  background: #6D320F;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.casitek-home-industry-card__link .dot {
  width: 4px; /* Ban đầu dot rộng 4px */
  height: 4px; /* Ban đầu dot cao 4px */
  border-radius: 50%;
  background: #f36f21;
  position: relative;
  margin-left: -2px; /* Đặt center của dot trùng với điểm cuối của line (4px/2 = 2px) */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.casitek-home-industry-card__link .dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px; /* Ban đầu viền ngoài rộng 32px */
  height: 32px; /* Ban đầu viền ngoài cao 32px */
  border: 1px solid #f36f21;
  border-radius: 50%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Hiệu ứng hover - chỉ kích hoạt khi hover trực tiếp vào nút "Tìm hiểu thêm" */
.casitek-home-industry-card__link:hover .text {
  transform: translateX(-14px); /* Đẩy nhẹ text sang phải */
}

.casitek-home-industry-card__link:hover .line-dot {
  margin-left: 18px; /* Dịch chuyển để tránh đè chữ khi line co lại */
}

.casitek-home-industry-card__link:hover .line {
  width: 0; /* Thu hồi line trượt vào trong dot */
  opacity: 0;
}

.casitek-home-industry-card__link:hover .dot {
  background-color: #6D320F; /* Đổi màu dot sang màu #6D320F */
  transform: scale(1.875); /* Dot to lên khoảng 7.5px (4px * 1.875 = 7.5px) */
}

.casitek-home-industry-card__link:hover .dot::before {
  border-color: #6D320F; /* Đổi màu viền ngoài sang màu #6D320F */
  transform: translate(-50%, -50%) scale(0.5625); /* Zoom nhỏ viền từ 32px xuống 18px (32px * 0.5625) để ôm trọn dot */
}

.casitek-home-product-system {
  padding: 104px 0;
  position: relative;
  z-index: 1;
}

/* Center columns inside a Flatsome row */
.casitek-home-row-center {
  justify-content: center !important;
}

/* Reset Flatsome column style for product cards */
div.col.casitek-home-product-card {
  padding: 0 9.8px 19.6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Product Card Inner container */
.casitek-home-product-card .col-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 149px;
  background: #ffffff;
  border: 2px solid #FCDCCA;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none !important;
}

/* Hover state for product card */
.casitek-home-product-card:hover .col-inner,
.casitek-home-product-card.is-active .col-inner {
  border-color: #f36f21;
  box-shadow: 0 30px 34px rgba(232, 175, 139, 0.3);
  transform: translateY(-6px);
}

/* Make entire card clickable by positioning industry link overlay */
.casitek-home-product-card .col-inner .casitek-home-industry-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Product Card Image */
.casitek-home-product-card__image {
  width: 110px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.casitek-home-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.casitek-home-product-card:hover .casitek-home-product-card__image img {
  transform: scale(1.05);
}

/* Product Card Content */
.casitek-home-product-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
  z-index: 1;
}

.casitek-home-product-card__content h3 {
  margin: 0;
  color: #1e1e1e;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Make sure link is aligned correctly inside content */
.casitek-home-product-card__content .casitek-home-industry-card__link {
  margin-top: auto;
  margin-left: auto;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .casitek-home-product-card .col-inner {
    height: auto;
    min-height: 120px;
  }
  .casitek-home-product-card__image {
    width: 90px;
  }
  .casitek-home-product-card__content {
    padding: 16px;
  }
  .casitek-home-product-card__content h3 {
    font-size: 15px;
  }
}


@media (max-width: 991px) {
  .casitek-home-industries {
    padding: 120px 0 140px !important;
  }

  .casitek-home-shell {
    width: min(100% - 40px, 760px);
  }

  .casitek-home-hero__inner,
  .casitek-home-product-system__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .casitek-home-hero__inner {
    width: min(100% - 40px, 760px);
    padding: 132px 0 104px;
  }

  .casitek-home-hero__proof {
    max-width: 360px;
  }

  .casitek-home-logo-showcase {
    min-height: 560px;
  }

  .casitek-home-industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .casitek-home-shell {
    width: calc(100% - 28px);
  }

  .casitek-home-hero {
    min-height: 720px;
  }

  .casitek-home-hero__inner {
    width: calc(100% - 28px);
    padding: 112px 0 96px;
  }

  .casitek-home-hero__content h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .casitek-home-hero__lines-wrap {
    bottom: 38px;
  }

  .casitek-home-hero__lines-wrap .casitek-home-shell {
    width: calc(100% - 28px);
  }

  .casitek-home-hero__actions {
    display: grid;
  }

  .casitek-home-button {
    width: 100%;
  }

  .casitek-home-scroll-cue {
    display: none;
  }

  .casitek-home-industries {
    padding: 72px 0 80px !important;
  }

  .casitek-home-product-system {
    padding: 72px 0;
  }

  .casitek-home-system-map {
    grid-template-columns: 1fr;
  }

  .casitek-home-system-map--lines::before {
    display: none;
  }

  .casitek-home-system-card {
    min-height: 180px;
  }
}

/* Figma Avatar Rating Block & Slide Customizations */
.casitek-home-rating-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.casitek-home-rating-avatars {
  display: flex;
  align-items: center;
}

.casitek-home-rating-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  margin-left: -8px;
  object-fit: cover;
}

.casitek-home-rating-avatars img:first-child {
  margin-left: 0;
}

.casitek-home-rating-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.casitek-home-rating-info p {
  margin: 0;
}

.casitek-home-rating-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.casitek-home-rating-stars .stars-gold {
  color: #f36f21;
  font-size: 15px;
  letter-spacing: 0;
}

.casitek-home-rating-stars .rating-number {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.casitek-home-rating-info .rating-text {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 500;
}

.casitek-hero-slide.has-avatar-rating .casitek-hero-slide__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100svh;
}

.casitek-hero-slide.has-avatar-rating .casitek-hero-slide__content {
  max-width: 900px;
  margin-top: 0;
}

/* Figma prototype scroll flow */
.casitek-home-logo-showcase {
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.casitek-home-logo-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

.casitek-home-logo-showcase__video {
  z-index: 0;
}

.has-casitek-figma-flow .casitek-home-logo-showcase__video {
  opacity: 0;
}

.casitek-home-logo-showcase__mark {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: clamp(340px, 48vw, 760px);
  height: auto;
  max-width: none;
  opacity: 0.96;
  pointer-events: none;
  transform-origin: center;
  user-select: none;
  will-change: transform, opacity;
}

.casitek-home-industries,
.casitek-home-product-system {
  isolation: isolate;
}

.casitek-home-industries > .casitek-home-shell,
.casitek-home-product-system > .casitek-home-shell {
  position: relative;
  z-index: 2;
}

.casitek-home-section-logo {
  position: absolute;
  z-index: 0;
  max-width: none;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  overflow: visible;
}

/* .casitek-home-section-logo--industry styling handled by top/bottom selectors */

.casitek-home-section-logo--product {
  right: 4vw;
  bottom: -20vw;
  width: min(1160px, 94vw);
  opacity: 0.14;
}

@media (min-width: 992px) {
  html.has-casitek-figma-flow,
  html.has-casitek-figma-flow body.page-template-template-homepage {
    overscroll-behavior-y: auto;
  }

  .casitek-home-section-flow {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #f7f5f1;
    isolation: isolate;
  }

  .casitek-home-section-flow > .casitek-home-section {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .casitek-home-section-flow .casitek-home-industries {
    background: #f7f5f1;
  }

  .casitek-home-section-flow .casitek-home-product-system {
    background:
      linear-gradient(90deg, rgba(247, 245, 241, 0.97), rgba(247, 245, 241, 0.9)),
      var(--home-system-bg) center / cover no-repeat;
  }

  .casitek-home-section-flow .casitek-home-shell {
    width: min(1200px, calc(100% - 80px));
  }
}

@media (max-width: 991px) {
  .casitek-home-logo-showcase__mark {
    width: min(78vw, 460px);
  }

  .casitek-home-section-logo-img--top {
    transform: translate(-10%, -15%);
    width: 320px;
  }

  .casitek-home-section-logo-img--bottom {
    bottom: 20px;
    transform: translate(10%, 0);
    width: 280px;
  }

  .casitek-home-section-logo--product {
    right: -260px;
    bottom: -160px;
    width: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-casitek-figma-flow .casitek-home-logo-showcase__video {
    opacity: 1;
  }

  .casitek-home-logo-showcase__mark,
  .casitek-home-section-logo {
    will-change: auto;
  }
}

/* Auto-reset Flatsome native Section wrapper when it contains our Hero Slider */
.section:has(.casitek-home-hero) {
  padding: 0 !important;
  overflow: hidden !important;
}
.section:has(.casitek-home-hero) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* UX Builder preview should show static content, not GSAP initial hidden states. */
html.is-ux-builder-preview .hero-rating,
html.is-ux-builder-preview .hero-content h1,
html.is-ux-builder-preview .hero-content > p,
html.is-ux-builder-preview .hero-buttons,
body.ux-builder-iframe .hero-rating,
body.ux-builder-iframe .hero-content h1,
body.ux-builder-iframe .hero-content > p,
body.ux-builder-iframe .hero-buttons {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.is-ux-builder-preview .casitek-home-hero,
body.ux-builder-iframe .casitek-home-hero {
  min-height: 720px;
}

html.is-ux-builder-preview .casitek-home-logo-showcase__video,
body.ux-builder-iframe .casitek-home-logo-showcase__video {
  opacity: 1 !important;
  visibility: visible !important;
}

.casitek-home-logo-showcase__svg {
  display: block;
  height: auto;
  overflow: visible;
}

.section:has(.casitek-home-logo-showcase) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-logo-showcase) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

body.ux-builder-iframe .casitek-home-logo-showcase__mark,
html.is-ux-builder-preview .casitek-home-logo-showcase__mark {
  opacity: 0.96 !important;
  visibility: visible !important;
  transform: none !important;
}

.casitek-home-logo-showcase {
  background: #fff;
}

.casitek-home-logo-showcase::after {
  display: none;
}

/* Video Showcase Section */
.casitek-home-video-showcase {
  position: relative;
  width: 100%;
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.section:has(.casitek-home-video-showcase) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-video-showcase) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-video-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.casitek-home-video-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.casitek-home-video-showcase__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  min-height: 80svh;
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 40%, rgba(0, 0, 0, 0.52) 100%);
}

.casitek-home-video-showcase__content {
  color: #fff;
}

.casitek-home-video-showcase__content h2 {
  margin: 14px 0 0;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 720px;
}

@media (max-width: 991px) {
  .casitek-home-video-showcase {
    min-height: 60svh;
  }

  .casitek-home-video-showcase__overlay {
    min-height: 60svh;
    padding: 40px 0;
  }
}

@media (max-width: 640px) {
  .casitek-home-video-showcase {
    min-height: 50svh;
  }

  .casitek-home-video-showcase__overlay {
    min-height: 50svh;
    padding: 32px 0;
  }
}

/* Responsive cho các màn hình chuyên dụng lớn hơn Full HD (2K, 4K, 27"+) */
@media screen and (min-width: 1921px) {
  .casitek-home-industries .casitek-home-shell {
    width: 90% !important; /* Chiếm 90% không gian màn hình hiển thị */
    max-width: 1800px !important; /* Điểm dừng hoàn hảo để card to ra che khéo SVG nền */
  }
}

/* TECHNICAL ADVANTAGE SECTION */
.casitek-home-technical {
  padding: 104px 0 !important;
  background-color: rgba(30, 30, 30, 0.75) !important; /* Slightly more transparent */
  backdrop-filter: blur(8px) !important; /* Reduced blur for transparency and clarity */
  -webkit-backdrop-filter: blur(8px) !important;
  background-image: url('../images/homepage/technical-advantage-bg.svg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important; /* Use contain to prevent logo from being cut off */
  position: relative;
  z-index: 1;
}

/* Ensure the absolute fill background inside Flatsome section is transparent so the blur is visible */
.casitek-home-technical .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

/* Heading styling */
.casitek-home-technical-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  text-align: left;
}

.casitek-home-technical-heading__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.casitek-home-technical-heading__text h2 {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.casitek-home-technical-heading__text span {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #f36f21;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

/* Reset Flatsome column style for technical cards */
div.col.casitek-home-technical-card {
  padding: 0 12px 24px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (min-width: 768px) {
  div.col.casitek-home-technical-card {
    width: 20% !important;
    max-width: 20% !important;
    flex: 0 0 20% !important;
  }
}

/* Card inner structure */
.casitek-home-technical-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Rounded square image container */
.casitek-home-technical-card__image {
  width: 100%;
  aspect-ratio: 1 / 1; /* Keep it perfectly square */
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.casitek-home-technical-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* Hover effects */
.casitek-home-technical-card:hover .casitek-home-technical-card__image {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(243, 111, 33, 0.25);
}

.casitek-home-technical-card:hover .casitek-home-technical-card__image img {
  transform: scale(1.05);
}

/* Title caption below the card */
.casitek-home-technical-card__title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 8px;
  opacity: 0.9;
  max-width: 220px;
  display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .casitek-home-technical {
    padding: 72px 0;
  }
  .casitek-home-technical-heading {
    margin-bottom: 38px;
    gap: 16px;
  }
  .casitek-home-technical-heading__icon img {
    width: 48px;
    height: 48px;
  }
  .casitek-home-technical-heading__text h2 {
    font-size: 26px;
  }
  .casitek-home-technical-heading__text span {
    font-size: 18px;
  }
  .casitek-home-technical-card__title {
    font-size: 13px;
  }
}

/* DATA CENTER SECTION */
.casitek-home-data-center {
  margin-top: 100px;
  padding: 140px 0 !important;
  position: relative;
  background-image: url('../images/homepage/section-data-center-bg.jpeg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #ffffff;
  z-index: 1;
}

/* Ensure overlay for readability */
.casitek-home-data-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

/* Ensure the Flatsome background container is transparent */
.casitek-home-data-center .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

.casitek-home-data-center .casitek-home-shell {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.casitek-home-data-center h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 18px 0;
}

.casitek-home-data-center p {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 36px auto;
  max-width: 620px;
}

/* Data Center Button Modifier */
.casitek-btn-data-center {
  margin: 0 auto;
}

.casitek-btn-data-center .text,
.casitek-btn-data-center .arrow {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.45s var(--casitek-ease), background-color 0.3s ease, border-color 0.3s ease !important;
}

.casitek-btn-data-center:hover .text,
.casitek-btn-data-center:hover .arrow-right,
.casitek-btn-data-center:hover .arrow-left {
  background: transparent !important;
  border-color: #ffffff !important;
}

@media (max-width: 767px) {
  .casitek-home-data-center {
    padding: 80px 0 !important;
    min-height: 60svh;
  }
}

/* ABOUT CASITEK SECTION */
.casitek-home-about {
  padding: 104px 0 !important;
  background-color: #ffffff !important;
  position: relative;
  z-index: 1;
}

.casitek-home-about-heading {
  text-align: center;
  margin-bottom: 48px;
}

.casitek-home-about-heading h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  color: #171717;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.05em;
}

.casitek-home-about-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #f36f21;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  background: #000;
  cursor: pointer;
}

.casitek-home-about-video .video-thumbnail {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.casitek-home-about-video .video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.casitek-home-about-video .play-btn {
  position: relative;
  z-index: 1;
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  background: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, color 0.3s ease;
}

.casitek-home-about-video .play-btn svg {
  width: clamp(24px, 2.5vw, 32px);
  height: clamp(24px, 2.5vw, 32px);
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.casitek-home-about-video:hover .play-btn {
  transform: scale(1.1);
  background-color: #f36f21;
  color: #ffffff;
}

.casitek-home-about-video:hover .play-btn svg {
  transform: scale(1.05);
}

.casitek-home-about-video .actual-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Playing state */
.casitek-home-about-video.is-playing .video-thumbnail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.casitek-home-about-video.is-playing .actual-video {
  opacity: 1;
}

@media (max-width: 767px) {
  .casitek-home-about {
    padding: 72px 0 !important;
  }
  .casitek-home-about-heading {
    margin-bottom: 32px;
  }
  .casitek-home-about-video {
    border-radius: 12px;
    border-width: 2px;
  }
}

/* DOWNLOAD CENTER SECTION */
.casitek-home-download-center {
  padding: 104px 0 !important;
  background-color: #ffffff !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Watermark background shape */
.casitek-home-download-center::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 1440px;
  background-image: url('../images/homepage/download-center-bg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.casitek-home-download-center > .casitek-home-shell {
  position: relative;
  z-index: 1;
}

.casitek-download-center-title {
  text-align: center;
  margin-bottom: 64px;
}

.casitek-download-center-title h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #171717;
  margin: 0;
}

/* Row Headers styling */
.casitek-download-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  margin-top: 48px;
}

.casitek-download-row-header:first-of-type {
  margin-top: 0;
}

.casitek-download-row-header h3 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #f36f21;
  margin: 0;
}

/* Nav arrows on right */
.casitek-download-nav {
  display: flex;
  gap: 12px;
}

.casitek-download-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #1E1E1E;
  background: #ffffff;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.casitek-download-nav button:hover {
  background: #f36f21;
  border-color: #f36f21;
  color: #ffffff;
}

/* Cards Grid & Structure */
.casitek-download-grid {
  margin-bottom: 48px;
}

/* Hide default Flickity buttons */
.casitek-download-grid .flickity-prev-next-button {
  display: none !important;
}

div.col.casitek-download-card {
  padding: 0 10px 20px !important;
}

.casitek-download-card__inner {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.casitek-download-card:hover .casitek-download-card__inner {
  border-color: rgba(243, 111, 33, 0.3);
  box-shadow: 0 20px 35px rgba(243, 111, 33, 0.08);
  transform: translateY(-6px);
}

.casitek-download-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f5f1;
}

.casitek-download-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.casitek-download-card:hover .casitek-download-card__image img {
  transform: scale(1.05);
}

.casitek-download-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.casitek-download-card__content h4 {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #171717;
  margin: 0 0 8px 0;
}

.casitek-download-card__content .subtitle {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  color: #666666;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

/* Detail Button (Datasheet row) */
.casitek-download-btn-detail {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.casitek-download-btn-detail:hover {
  background: var(--casitek-orange-dark);
}

/* Download Button (Catalogue row) */
.casitek-btn-download {
  width: 100%;
}

.casitek-btn-download .text {
  flex-grow: 1;
}

.casitek-btn-download .text,
.casitek-btn-download .arrow {
  background: #1e1e1e !important;
  color: #ffffff !important;
  border-radius: 5px;
}

.casitek-btn-download .arrow svg {
  display: none;
}

.casitek-btn-download .arrow::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12V3M8 12L4 8M8 12L12 8' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12V3M8 12L4 8M8 12L12 8' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.casitek-btn-download:hover .text,
.casitek-btn-download:hover .arrow-right,
.casitek-btn-download:hover .arrow-left {
  background: var(--casitek-orange-dark) !important;
}

@media (max-width: 991px) {
  .casitek-download-row-header {
    margin-top: 32px;
  }
  .casitek-home-download-center {
    padding: 72px 0 !important;
  }
}

/* Swiper layout overrides for Flatsome grid row and columns */
.casitek-download-slider.swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 15px 0;
}

.casitek-download-slider .row.swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: calc(100% + 20px) !important;
  max-width: none !important;
  padding: 0 !important;
}

.casitek-download-slider .col.swiper-slide {
  flex: 0 0 auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
}

/* HOMEPAGE CONTACT SECTION */
.casitek-home-contact {
  padding: 104px 0 !important;
  background-color: #f36f21 !important;
  background-image: url('../images/homepage/section-contact-bg.svg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.casitek-home-contact .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

.casitek-home-contact__form-col {
  display: flex;
  justify-content: flex-end;
}

.casitek-home-contact__eyebrow {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  display: block;
}

.casitek-home-contact__title {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.casitek-home-contact__desc {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
}

.casitek-home-contact__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.casitek-home-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.casitek-home-contact__icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.casitek-home-contact__icon-circle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.casitek-home-contact__item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.casitek-home-contact__item-content strong {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
}

.casitek-home-contact__item-content span,
.casitek-home-contact__link {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.4;
  text-decoration: none !important;
}

.casitek-home-contact__link {
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.casitek-home-contact__link:hover {
  opacity: 0.85;
}

.casitek-home-contact__form-card {
  width: 100%;
  max-width: 594px;
  background: #ffffff;
  border-radius: 10px;
  padding: 48px 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.casitek-home-contact__form-card h3 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #171717;
  margin-top: 0;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casitek-home-contact__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.casitek-home-contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.casitek-home-contact__field--wide {
  grid-column: span 2;
}

.casitek-home-contact__field span {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #7f7f7f;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.casitek-home-contact__field input,
.casitek-home-contact__field textarea {
  width: 100%;
  background: #f7f5f1;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: #171717;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: none;
}

.casitek-home-contact__field input {
  height: 42px;
}

.casitek-home-contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

.casitek-home-contact__field input:focus,
.casitek-home-contact__field textarea:focus {
  background: #fffaf7;
  border-color: #f36f21;
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.12);
}

.casitek-home-contact__form-actions {
  grid-column: span 2;
  margin-top: 12px;
}

.casitek-btn-contact-submit {
  width: 100% !important;
  max-width: none !important;
}

.casitek-btn-contact-submit .text {
  flex-grow: 1;
  text-align: center;
}

/* Contact Notice Alert inside card */
.casitek-contact-notice {
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 14px;
  line-height: 22px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.casitek-contact-notice--success {
  color: #18643b;
  background: #effaf4;
  border-color: #9bd3b4;
}

.casitek-contact-notice--error {
  color: #8a2525;
  background: #fff2f2;
  border-color: #e3aaaa;
}

@media (max-width: 991px) {
  .casitek-home-contact {
    padding: 72px 0 !important;
  }

  .casitek-home-contact__form-col {
    justify-content: center;
  }

  .casitek-home-contact__form-card {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .casitek-home-contact__form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .casitek-home-contact__field--wide,
  .casitek-home-contact__form-actions {
    grid-column: span 1;
  }
}




