/*
Theme Name: True Moto Care Landing
Author: Your Name
Description: Theme dành cho Landing Page True Membership.
Version: 1.0
*/


/* =========================================
   1. HERO SECTION
========================================= */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.btn-sec1 {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary-sec1 {
  background-color: #ff8c00;
  color: #ffffff;
  border: 2px solid #ff8c00;
}

.btn-outline-sec1 {
  background-color: transparent;
  color: #ff8c00;
  border: 2px solid #ff8c00;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* =========================================
     2. PROBLEMS SECTION (Vấn đề khách hàng)
  ========================================= */
.problems-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #666666;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- SWIPER SLIDER --- */
.problemSwiper {
  width: 100%;
  padding-bottom: 50px !important; /* Tạo khoảng trống cho các dấu chấm */
}

/* Thiết kế thẻ Card (Từng slide) */
.problem-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4; /* Giúp các ảnh luôn đồng đều tỷ lệ */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #f0f0f0; /* Màu nền phụ khi ảnh chưa load kịp */
}

.problem-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Lớp phủ đen Gradient mờ dần từ dưới lên */
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  box-sizing: border-box;
}

.card-overlay h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* Tùy chỉnh thanh trượt (Dots) của Swiper */
.swiper-pagination-bullet {
  width: 40px;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 4px;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
  background-color: #ff8c00;
}

/* Tối ưu cho màn hình điện thoại (Mobile) */
@media (max-width: 768px) {
  .problem-card {
    aspect-ratio: auto;
    height: 320px; /* Cố định chiều cao trên mobile để không bị quá dài */
  }
}
/* =========================================
   3. SOLUTIONS SECTION (Giải pháp)
========================================= */
.solutions-section {
  padding: 60px 20px;
  background-color: #fcfcfc; /* Nền hơi xám siêu nhạt để tách biệt với phần trên */
}

/* Lưới 3 cột */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px; /* Giảm gap xuống 30px để 2 bên có thêm không gian thở */
  align-items: center;
}

/* THÊM DÒNG NÀY: Ép các cột được phép thu nhỏ hết cỡ, chống tràn (Grid Blowout) */
.solutions-column,
.solutions-image {
  min-width: 0;
}

/* Cột chứa 2 thẻ tính năng */
.solutions-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Cột chứa ảnh ở giữa */
.solutions-image {
  text-align: center;
}

/* Ép kích thước ảnh cột giữa */
.solutions-image img {
  width: 100%;
  max-width: 380px; /* Cố định lại một chút cho an toàn */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Thẻ tính năng (Card) */
.solution-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Khối màu cam chứa Icon */
.icon-box {
  width: 54px;
  height: 54px;
  background-color: #ff8c00;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-box img {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: brightness(0) invert(1); /* Tự động đổi icon đen thành trắng */
}

.solution-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.solution-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive (Điện thoại & Tablet) --- */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start; /* Căn lên trên để các thẻ không bị kéo giãn lệch nhau */
  }
  .solutions-image {
    grid-column: span 2;
    order: -1;
    margin-bottom: 20px;
  }
}
@media (max-width: 991px) {
  /* 1. Phá bỏ mọi giới hạn chiều cao ngăn cản việc cuộn chuột */
  .solutions-section {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    padding: 40px 16px; /* Giảm padding cho gọn trên mobile */
  }
  /* 2. Hủy Grid, chuyển sang Flex để ép mọi thứ thành 1 cột dọc hoàn hảo */
  .solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .solutions-image {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    order: -1; /* Đảm bảo ảnh luôn nằm trên cùng */
  }
  .solutions-column {
    width: 100%;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  /* 1. Phá bỏ mọi giới hạn chiều cao ngăn cản việc cuộn chuột */
  .solutions-section {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    padding: 40px 16px; /* Giảm padding cho gọn trên mobile */
  }
  /* 2. Hủy Grid, chuyển sang Flex để ép mọi thứ thành 1 cột dọc hoàn hảo */
  .solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .solutions-image {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    order: -1; /* Đảm bảo ảnh luôn nằm trên cùng */
  }
  .solutions-column {
    width: 100%;
    gap: 20px;
  }
}
/* =========================================
   4. BENEFITS SECTION (Quyền lợi)
========================================= */
.benefits-section {
  padding: 80px 20px;
  background-color: #ffffff; /* Nền trắng để tách biệt với Section 3 */
}

/* Bố cục lưới Bento Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 cột bằng nhau */
  gap: 30px;
  margin-top: 40px;
}

/* Định dạng chung cho các Thẻ (Card) */
.benefit-card {
  border-radius: 24px;
  overflow: hidden; /* Giữ cho ảnh bên trong không bị lòi ra ngoài góc bo tròn */
  display: flex;
  flex-direction: column;
  min-width: 0; /* Chống lỗi Grid Blowout */
}

/* Màu nền các thẻ theo thiết kế */
.bg-gray {
  background-color: #f7f8f9;
}

.bg-white {
  background-color: #ffffff;
  border: 1px solid #eaebed;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

/* Định dạng chữ */
.benefit-content {
  padding: 40px 40px 20px 40px;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* Định dạng vùng chứa Ảnh */
.benefit-image {
  text-align: center;
  padding: 0 40px;
}

.benefit-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Đẩy ảnh xuống sát đáy (Thẻ 1) */
.bottom-img {
  margin-top: auto;
  padding-bottom: 0;
}

/* Đẩy ảnh lên sát đỉnh (Thẻ 2) */
.top-img {
  padding-top: 40px;
  padding-bottom: 0;
}

.bg-white .benefit-content {
  padding: 20px 40px 40px 40px;
}

/* --- Thẻ nằm ngang (Hàng 2) --- */
.card-wide {
  grid-column: span 2; /* Lệnh "ăn gian" chiếm trọn 2 cột */
  flex-direction: row; /* Xếp ngang thay vì xếp dọc */
  align-items: stretch;
}

.card-wide .benefit-content {
  flex: 1; /* Chiếm 50% chiều rộng */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Căn giữa chữ theo chiều dọc */
}

.card-wide .benefit-image-wide {
  flex: 1; /* Chiếm 50% chiều rộng còn lại */
  background-color: #eff0f3; /* Màu nền cho vùng chứa ảnh */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.card-wide .benefit-image-wide img {
  max-width: 300px; /* Chỉnh kích thước cho icon hình ảnh */
}

/* --- Responsive (Tablet & Mobile) --- */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: 1fr; /* Ép về 1 cột */
    gap: 20px;
  }
  .card-wide {
    grid-column: span 1; /* Hủy lệnh chiếm 2 cột */
    flex-direction: column; /* Đổi thẻ ngang thành dọc */
  }
  /* Căn chỉnh lại padding trên màn hình nhỏ cho đỡ chật */
  .benefit-content,
  .bg-white .benefit-content {
    padding: 30px 24px 20px 24px;
  }
  .benefit-image,
  .top-img {
    padding: 0 24px 20px 24px;
  }
  .top-img {
    padding-top: 30px;
  }
  .card-wide .benefit-image-wide {
    padding: 60px 20px;
  }
}
/* =========================================
   5. PROCESS SECTION (Quy trình)
========================================= */
.process-section {
  padding: 80px 20px;
  background-color: #fafbfc; /* Nền xám siêu nhạt giúp các thẻ trắng nổi lên */
}

/* Lưới 4 cột */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* Khung chuẩn của một thẻ quy trình */
.process-card {
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0; /* Khắc phục triệt để lỗi Grid Blowout */
}

.process-card:hover {
  transform: translateY(-6px);
}

/* Hộp chứa Icon chung */
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-icon img {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* --- THẺ BƯỚC 1 (MÀU CAM) --- */
.card-orange {
  background-color: #f38b2a; /* Màu cam chủ đạo */
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(243, 139, 42, 0.2); /* Đổ bóng màu cam nhạt */
}

.card-orange .step-icon {
  background-color: rgba(255, 255, 255, 0.25); /* Nền icon trắng trong suốt */
}

.card-orange h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-orange p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9); /* Chữ trắng hơi trong suốt cho đỡ gắt */
  line-height: 1.6;
  margin: 0;
}

/* --- THẺ BƯỚC 2, 3, 4 (MÀU TRẮNG) --- */
.card-white {
  background-color: #ffffff;
  border: 1px solid #eaebed;
}

.card-white:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.card-white .step-icon {
  border: 1px solid #eaebed;
  background-color: #fdfdfd;
}

.card-white h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-white p {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive (Tablet & Mobile) --- */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet gộp thành 2 hàng, 2 cột */
    gap: 20px;
  }
}
@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: 1fr; /* Mobile rớt xuống 1 cột dọc */
  }
  .process-section {
    padding: 50px 16px; /* Thu gọn khoảng cách 2 bên trên điện thoại */
  }
}
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr; /* Mobile rớt xuống 1 cột dọc */
  }
  .process-section {
    padding: 50px 16px; /* Thu gọn khoảng cách 2 bên trên điện thoại */
  }
}
/* --- HIỆU ỨNG HOVER ĐỔI NỀN CAM CHO THẺ TRẮNG (SECTION 5) --- */
/* 1. Thêm transition cho bản thân thẻ và các thành phần bên trong để đổi màu mượt mà */
.card-white,
.card-white h3,
.card-white p,
.card-white .step-icon,
.card-white .step-icon img {
  transition: all 0.3s ease;
}

/* 2. Khi trỏ chuột vào thẻ -> Đổi nền thẻ thành cam, viền cam, đổ bóng cam */
.card-white:hover {
  background-color: #f38b2a;
  border-color: #f38b2a;
  box-shadow: 0 10px 25px rgba(243, 139, 42, 0.2);
}

/* 3. Khi trỏ chuột vào thẻ -> Đổi màu Tiêu đề và Đoạn văn sang Trắng */
.card-white:hover h3 {
  color: #ffffff;
}

.card-white:hover p {
  color: rgba(255, 255, 255, 0.9); /* Trắng hơi trong suốt cho mềm mại */
}

/* 4. Khi trỏ chuột vào thẻ -> Đổi nền Icon và "nhuộm" Icon thành Trắng */
.card-white:hover .step-icon {
  background-color: rgba(255, 255, 255, 0.25); /* Nền icon trắng trong suốt */
  border-color: transparent;
}

.card-white:hover .step-icon img {
  /* Ép icon màu đen chuyển thành màu trắng tinh */
  filter: brightness(0) invert(1);
}

/* =========================================
   6. PRICING SECTION (Bảng giá)
========================================= */
/* --- TỔNG THỂ --- */
/* --- TỔNG THỂ --- */
.pricing-section {
  padding: 60px 0;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.section-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* --- BỘ KHUNG SLIDER (Giữ tính năng vuốt & canh giữa) --- */
.pricing-slider {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  max-width: 1150px;
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pricing-slider::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1200px) {
  .pricing-slider {
    justify-content: center;
  }
}
/* --- THIẾT KẾ THẺ CARD VÀ HIỆU ỨNG HOVER --- */
.pricing-card {
  background: #fff;
  border: 1px solid #eaebed;
  border-radius: 16px;
  flex: 0 0 85%;
  max-width: 350px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

/* Hiệu ứng khi Hover vào Card */
.pricing-card:hover {
  border-color: #f38b2a;
  box-shadow: 0 10px 30px rgba(243, 139, 42, 0.15);
}

/* --- XỬ LÝ HÌNH ẢNH THẺ BÊN TRONG --- */
.card-image-wrapper {
  position: relative;
  width: 100%;
  padding: 15px 15px 0 15px; /* Cách lề trên và 2 bên một chút cho đẹp */
  box-sizing: border-box;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block; /* Xóa khoảng trắng mặc định của thẻ img */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Đổ bóng nhẹ cho hình thẻ nổi lên */
}

/* Tem "Khuyên dùng" */
.badge {
  position: absolute;
  top: 6px; /* Nhô cao hơn ảnh một chút */
  right: 6px; /* Nằm lệch ra góc một chút */
  background-color: #f38b2a;
  color: #fff;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(243, 139, 42, 0.3);
}

/* --- NỘI DUNG CHỮ BÊN TRONG --- */
.card-body {
  padding: 20px 20px 25px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 16px;
  font-weight: normal;
  color: #555;
  margin-bottom: 10px;
}

.card-price {
  font-size: 32px;
  font-weight: bold;
  color: #111;
  margin-bottom: 15px;
}

.card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
  min-height: 60px; /* Ép độ cao để các thẻ không thò thụt */
}

/* Danh sách quyền lợi */
.features-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #111;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1; /* Đẩy Footer xuống đáy */
}

.feature-list li {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
}

/* Nút bấm ở đáy */
.card-footer {
  margin-top: auto;
}

.detail-link {
  display: block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-bottom: 15px;
}

.detail-link:hover {
  color: #f38b2a;
}

/* Trạng thái mặc định Nút CTA */
.btn-primary {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: #f38b2a;
  border: 1px solid #f38b2a;
  transition: all 0.3s ease;
}

/* Khi hover vào Card -> Nút CTA tự động đổi màu */
.pricing-card:hover .btn-primary {
  background-color: #f38b2a;
  color: #ffffff;
}

/* Khi trỏ thẳng vào nút */
.btn-primary:hover {
  background-color: #e07a20;
  border-color: #e07a20;
  color: #ffffff;
}

/* --- GIAO DIỆN TABS (MẶC ĐỊNH ẨN TRÊN PC) --- */
.mobile-tabs {
  display: none;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 20px;
  margin: 0 auto 20px auto;
  max-width: 1150px;
}

.tab-btn {
  padding: 8px 24px;
  border: 1px solid #ccc;
  background-color: transparent;
  color: #666;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background-color: #f38b2a;
  color: white;
  border-color: #f38b2a;
}

/* --- RESPONSIVE CHO ĐIỆN THOẠI (Dưới 992px) --- */
@media (max-width: 991px) {
  .mobile-tabs {
    display: flex; /* Hiện thanh Tabs trên mobile */
  }
  .pricing-slider {
    display: block; /* Tắt chế độ lướt ngang */
    padding: 0 20px;
  }
  .pricing-card {
    display: none; /* Ẩn toàn bộ các thẻ đi */
    max-width: 100%;
    margin: 0 auto;
  }
  .pricing-card.active-card {
    display: flex; /* Chỉ hiển thị thẻ có class active-card */
    animation: fadeIn 0.4s ease; /* Thêm chút hiệu ứng mờ ảo khi chuyển tab */
  }
}
/* --- RESPONSIVE CHO MÁY TÍNH (Từ 992px trở lên) --- */
@media (min-width: 992px) {
  .pricing-card {
    display: flex !important; /* Ép hiển thị cả 3 thẻ cạnh nhau trên PC */
  }
}
/* Hiệu ứng chuyển tab mượt mà */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- TỔNG THỂ SECTION 7 --- */
.sec7-benefits-section {
  padding: 80px 20px;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

.sec7-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.sec7-title {
  font-size: 32px;
  font-weight: bold;
  color: #111;
  margin-bottom: 15px;
  line-height: 1.3;
}

.sec7-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* --- KHUNG CHỨA NỘI DUNG --- */
.sec7-container {
  max-width: 1100px;
  margin: 0 auto;
}

.sec7-content-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.sec7-image-col {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.sec7-main-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: opacity 0.3s ease;
}

/* --- GIAO DIỆN DESKTOP (LIST BÊN PHẢI) --- */
.sec7-desktop-col {
  flex: 1;
  position: relative;
}

.sec7-timeline-wrapper {
  position: relative;
  padding-left: 10px;
}

/* Đường line mỏng chạy dọc */
.sec7-timeline-bg {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 31px; /* Căn giữa vòng tròn 42px */
  width: 2px;
  background-color: #fcece0;
  z-index: 1;
}

/* Dải nền màu cam nhạt (Thick Track) */
.sec7-timeline-progress {
  position: absolute;
  top: 0;
  left: 10px; /* Ôm sát lề trái của vòng tròn */
  width: 44px; /* Rộng gần bằng vòng tròn */
  background-color: #fce2c9; /* Màu cam nhạt giống thiết kế */
  border-radius: 25px;
  z-index: 1;
  transition: height 0.4s ease-in-out;
  height: 0; /* Sẽ được Javascript cập nhật */
}

.sec7-items-container {
  position: relative;
  z-index: 2;
}

.sec7-list-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  cursor: pointer;
  align-items: center;
}

.sec7-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #fcece0;
  color: #ff7a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
}

/* Trạng thái Active cho Vòng tròn */
.sec7-list-item.sec7-active .sec7-step-circle {
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.4);
}

.sec7-item-text {
  flex: 1;
}

/* Tiêu đề: Đổi màu cam khi Active */
.sec7-item-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #555; /* Xám đậm mặc định */
  margin: 0 0 6px 0;
  transition: color 0.3s;
}

.sec7-list-item.sec7-active .sec7-item-text h3 {
  color: #ff7a00; /* Màu cam khi chọn */
}

.sec7-item-text p {
  font-size: 14px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* --- ẨN CÁC THÀNH PHẦN MOBILE TRÊN MÁY TÍNH --- */
.sec7-mobile-view,
.sec7-mobile-controls {
  display: none;
}

/* =========================================
   RESPONSIVE CHO ĐIỆN THOẠI (Dưới 992px)
   ========================================= */
@media (max-width: 991px) {
  .sec7-benefits-section {
    padding: 40px 15px;
  }
  .sec7-desktop-col {
    display: none;
  } /* Ẩn list dọc */
  .sec7-container {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 25px 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  }
  .sec7-mobile-view {
    display: block; /* Hiện khung text và timeline ngang */
    text-align: center;
    margin-bottom: 25px;
  }
  /* Timeline ngang trên Mobile */
  .sec7-mobile-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 300px;
    margin: 0 auto 25px auto;
  }
  /* Đường line ngang */
  .sec7-mobile-stepper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 2px;
    background-color: #fcece0;
    z-index: 1;
  }
  .sec7-mob-circle {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 2px solid #fcece0;
    color: #f38b2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    z-index: 2;
  }
  .sec7-mob-circle.sec7-active {
    background-color: #ff7a00;
    border-color: #ff7a00;
    color: #fff;
  }
  .sec7-dynamic-title {
    font-size: 20px;
    color: #ff7a00;
    margin: 0 0 10px 0;
  }
  .sec7-dynamic-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
  }
  /* Nút điều hướng */
  .sec7-mobile-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }
  .sec7-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: #f5f5f5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
  }
  .sec7-nav-btn:hover,
  .sec7-nav-btn:active {
    background-color: #eaeaea;
  }
}
/* --- SECTION 8: REVIEWS --- */
.sec8-reviews {
  padding: 80px 20px;
  background-color: #ffffff;
}

.sec8-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sec8-header {
  text-align: center;
  margin-bottom: 40px;
}

.sec8-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 12px;
}

.sec8-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Track trượt ngang */
.sec8-slider-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Ẩn thanh cuộn mặc định */
  scrollbar-width: none;
}

.sec8-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.sec8-slider-track {
  display: flex;
  gap: 20px;
}

/* Thẻ Video */
.sec8-card {
  /* Hiển thị 3 cột trên Desktop */
  flex: 0 0 calc(33.333% - 13.33px);
  scroll-snap-align: center;
}

/* --- GIAO DIỆN CHỨA YOUTUBE IFRAME --- */
.sec8-card {
  flex: 0 0 calc(33.333% - 13.33px);
  scroll-snap-align: start; /* Sửa thành start để canh lề trái mượt hơn */
}

.sec8-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Tỷ lệ vàng 16:9 của YouTube */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background-color: #000; /* Nền đen trong lúc chờ video tải */
}

.sec8-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Thanh Pagination bên dưới */
.sec8-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.sec8-dot {
  width: 40px;
  height: 4px;
  background-color: #eee;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sec8-dot.sec8-active {
  background-color: #ff7a00; /* Màu cam Active */
}

/* Mobile & Tablet */
@media (max-width: 992px) {
  .sec8-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 768px) {
  .sec8-card {
    flex: 0 0 90%; /* Hiển thị 90% chiều rộng màn hình để chừa mép cho video sau */
  }
}
/* --- SECTION 9: FAQ --- */
.sec9-faq {
  padding: 80px 20px;
  background-color: #ffffff;
}

.sec9-container {
  max-width: 800px; /* Thu hẹp chiều rộng để dễ đọc giống thiết kế */
  margin: 0 auto;
}

.sec9-header {
  text-align: center;
  margin-bottom: 40px;
}

.sec9-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.sec9-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Các thẻ Accordion */
.sec9-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Khoảng cách giữa các hộp */
}

.sec9-item {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden; /* Quan trọng để nội dung không tràn ra viền bo góc */
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Nút bấm câu hỏi */
.sec9-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  outline: none;
}

.sec9-icon {
  flex-shrink: 0;
  color: #666;
  transition: transform 0.3s ease;
}

/* Phần nội dung câu trả lời */
.sec9-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px; /* Chỉ set padding ngang khi đóng */
}

.sec9-answer p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
  padding-bottom: 24px; /* Khoảng cách dưới cùng của text */
}

/* --- STATE: ACTIVE (KHI ĐƯỢC MỞ) --- */
.sec9-active.sec9-item {
  /* Có thể thêm bóng đổ nhẹ nếu muốn làm nổi bật thẻ đang mở */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Xoay icon 180 độ thành dấu mũi tên lên */
.sec9-active .sec9-icon {
  transform: rotate(180deg);
}

/* JS sẽ tính toán max-height và gán vào đây, nhưng CSS này phòng hờ */
.sec9-active .sec9-answer {
  /* maxHeight được JS set tự động, không ghi đè ở đây */
}

/* Nút bấm câu hỏi */
.sec9-question {
  width: 100%;
  display: flex;
  justify-content: space-between; /* Đẩy text và icon ra 2 mép */
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  outline: none;
}

/* FIX: Cho phép phần chữ chiếm tối đa không gian còn lại và không bị ép xuống dòng vô lý */
.sec9-question span {
  flex: 1;
  text-align: left;
  padding-right: 20px; /* Chừa khoảng trống tránh chữ dính sát vào icon */
}

/* FIX: Khóa cứng kích thước của icon mũi tên, tuyệt đối không cho phóng to hay thu nhỏ */
.sec9-icon {
  flex: 0 0 24px; /* Ép cứng không gian chứa là 24px */
  width: 24px !important;
  height: 24px !important;
  color: #666;
  transition: transform 0.3s ease;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sec9-faq {
    padding: 50px 15px;
  }
  .sec9-header h2 {
    font-size: 28px;
  }
  .sec9-question {
    font-size: 15px;
    padding: 16px 20px;
  }
  .sec9-answer p {
    font-size: 14px;
    padding-bottom: 16px;
  }
  .sec9-answer {
    padding: 0 20px;
  }
}
@tailwind utilities;/*# sourceMappingURL=styles.css.map */