/* ======== GLOBAL PAGE ======== */
.spotlight-page {
  padding: 20px 10px;
  background: #fff;
}
.tab-spotlight {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: none !important;        
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
}

.tab-spotlight .wrap {
  display: flex;
  justify-content: center;
  padding: 0 15px;
  overflow-x: auto;
  border-bottom: none;  
}

.tab-spotlight li {
  list-style: none;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: #000;
  transition: all 0.3s;
  position: relative;
  border-bottom: none !important; 
}
.tab-spotlight li:hover {
  background-color: #f0f0f0;
  border-radius: 4px 4px 0 0;
}
.tab-spotlight li.active {
  background-color: #ffa500;
  color: #fff !important;         
  font-weight: 700;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); 
  border-bottom: none !important;  
}

/* ======== TITLES & TEXT ======== */
.spotlight-page h1,
.spotlight-page h2 {
  font-weight: 600;
  color: #0000ff;
  margin-bottom: 12px;
  font-size: 32px;
  text-align: center;
}
.spotlight-page h1 {
  font-size: clamp(28px, 2.5vw, 36px);
}
.spotlight-page h2 {
  font-size: 26px;
  font-weight: 500;
  margin-top: 20px;
  font-size: clamp(22px, 2vw, 28px)
}

.spotlight-page p {
  font-size: 18px;
  color: #333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(16px, 1.5vw, 18px);
}

/* ======== SECTION 1: WHY CHOOSE TV1 – TGE ======== */
.spotlight-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  margin: 20px auto;
  max-width: 1000px;
}

.spotlight-features-grid .feature-box {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotlight-features-grid .feature-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  background-color: #ffffff;
}

.spotlight-features-grid .feature-box .icon {
  font-size: 80px;
  align-items: center;
  margin-bottom: 15px;
}
.spotlight-features-grid .feature-box.globe .icon {
  color: #1e88e5; 
}
.spotlight-features-grid .feature-box.gem .icon {
    color: #b3e5fc;
    transition: all 0.3s ease;
}
.spotlight-features-grid .feature-box.gem-icon:hover {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 1),
               0 0 10px rgba(179, 229, 252, 0.9),
               0 0 15px rgba(179, 229, 252, 0.7),
               -5px -5px 10px rgba(255, 255, 255, 0.8), 
               5px 5px 10px rgba(255, 255, 255, 0.8);  
  transform: scale(1.05);
}
.spotlight-features-grid .feature-box.dollar-sign .icon {
  color: #4caf50; 
}
.spotlight-features-grid .feature-box.clock .icon {
  color: #ff7f50;
  transition: color 0.3s ease;
}
.spotlight-features-grid .feature-box.clock .icon:hover {
  color: #20b2aa;
}

.spotlight-features-grid .feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.spotlight-features-grid .feature-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  
}

/* Responsive for Section 1 */
@media (max-width: 768px) {
  .spotlight-features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .spotlight-features-grid .feature-box {
    padding: 20px 16px;
  }
}

/* ======== CERTIFICATION  ======== */
.certification {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  max-width: 1170px;
  margin: 0 auto;
}

/* title/subtitle */
.certification .title {
  font-size: 26px;
  font-weight: 500;
  color: #0000ff;
  margin-bottom: 10px;
  justify-content: center;
}

.certification .subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.certificate-carousel {
  position: relative;
  padding: 20px 0;
  overflow: visible; 
}

.certificate-carousel .swiper-wrapper {
  align-items: center; 
}

/* Slide box */
.certificate-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  height: auto;
  overflow: visible;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  min-height: 0;
}

.certificate-carousel img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  cursor: zoom-in;
  background: #fff;
}

/* Zoom mode */
.certificate-carousel .zoomed {
  z-index: 9999;
}
.certificate-carousel .zoomed img {
  transform: scale(1.4);
  cursor: zoom-out;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

/* Giữ khoảng cách hợp lý giữa các card */
.certificate-carousel .swiper-slide:not(.zoomed) img:hover {
  transform: scale(1.05);
}

/* Navigation */
.certificate-carousel .swiper-button-next,
.certificate-carousel .swiper-button-prev {
  color: #1e66d0;
}

/* Responsive */
@media (max-width: 1024px) {
  .certificate-carousel img { height: 180px; }
}
@media (max-width: 768px) {
  .certificate-carousel img { height: 150px; }
}
@media (min-width: 1400px) {
  .certificate-carousel img { height: 260px; }
}
/* ======== End of CERTIFICATION  ======== */

/* ================ Download Catalogue (RESPONSIVE) =============== */

/* Biến mặc định (desktop) */
.download-catalogue {
  --catalogue-mockup-w: 420px; /* điều chỉnh kích thước mockup ở desktop */
  padding: 30px 20px;
  background: #f9fafb;
  box-sizing: border-box;
}

/* container giới hạn theo Section 1 */
.download-catalogue .container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* layout 2 cột: left = mockup (cố định max), right = nội dung linh hoạt */
.download-catalogue .catalogue-grid {
  display: grid;
  grid-template-columns: minmax(260px, var(--catalogue-mockup-w)) 1fr;
  gap: 36px;
  align-items: start;
  box-sizing: border-box;
}

/* LEFT - mockup + preview */
.download-catalogue .catalogue-left {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

.download-catalogue .catalogue-mockup {
  position: relative;
  display: block;
  width: 100%;
  max-width: var(--catalogue-mockup-w);
  margin: 0 auto;
  box-sizing: border-box;
}

.download-catalogue .mockup-cover {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background: #fff;
}

/* nút download overlay */
.download-catalogue .download-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 20px;
  background: #2563eb;
  color: #fff;
  padding: 8px 10px;
  border-radius: 50%;
  line-height: 1;
  z-index: 5;
  box-sizing: border-box;
}

/* PREVIEW (Swiper) - giới hạn chiều ngang = mockup để 3 thumbnail luôn khớp */
.download-catalogue .catalogue-preview.swiper {
  width: 100%;
  max-width: var(--catalogue-mockup-w); 
  margin-top: 12px;
  padding: 8px 0;
  overflow: visible;
  box-sizing: border-box;
}

/* Swiper wrapper căn giữa preview */
.download-catalogue .catalogue-preview .swiper-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
}

/* mỗi slide để Swiper xử lý width theo slidesPerView; không ghi đè width bằng !important */
.download-catalogue .catalogue-preview .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  box-sizing: border-box;
  flex: 0 0 auto;
}

/* Thumbnail: để đầy đủ trong ô slide; kích thước tỉ lệ theo container mockup */
.download-catalogue .catalogue-preview .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ẩn các class carousel cũ nếu có xung đột */
.download-catalogue .catalogue-preview .carousel-track,
.download-catalogue .catalogue-preview .carousel-item {
  display: none !important;
}

/* RIGHT: tiêu đề & intro */
.download-catalogue .catalogue-right .title {
  font-size: 26px;
  font-weight: 500;
  color: #0000ff;
  margin-bottom: 12px;
  box-sizing: border-box;
}

/* popup (giữ nguyên/nhẹ) */
.popup-overlay { display: none; }
.popup-overlay.active {
  display: flex;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn .28s ease;
}
.popup-overlay .popup-content {
  background:#fff;
  padding:24px 28px;
  border-radius:10px;
  max-width:420px;
  width:92%;
  box-shadow:0 10px 30px rgba(0,0,0,0.18);
  text-align:center;
}
.popup-overlay .popup-close{ position:absolute; top:14px; right:18px; font-size:22px; cursor:pointer; color:#333; }

/* ANIM */
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

/* ================= Responsive breakpoints ================= */

/* Large tablet / small desktop <= 1024px : giảm mockup a bit */
@media (max-width: 1024px) {
  .download-catalogue { --catalogue-mockup-w: 380px; }
  .download-catalogue .container { max-width: 96%; }
  .download-catalogue .catalogue-preview .swiper-wrapper { gap: 12px; }
}

/* Tablet and small screens <= 768px : chuyển 1 cột (mockup trên, content dưới),
   đảm bảo preview vẫn dùng full width của mockup */
@media (max-width: 768px) {
  .download-catalogue {
    --catalogue-mockup-w: 340px;
    padding: 24px 14px;
  }

  .download-catalogue .catalogue-grid {
    grid-template-columns: 1fr; /* 1 column */
    gap: 18px;
    align-items: center;
  }

  .download-catalogue .catalogue-mockup {
    max-width: var(--catalogue-mockup-w);
    margin-left: auto;
    margin-right: auto;
  }

  .download-catalogue .catalogue-preview.swiper {
    max-width: var(--catalogue-mockup-w);
    margin-left: auto;
    margin-right: auto;
    padding: 6px 0;
  }

  .download-catalogue .mockup-cover {
    max-height: 420px;
  }

  /* thumbnail hơi nhỏ hơn */
  .download-catalogue .catalogue-preview .swiper-slide img {
    border-radius: 6px;
  }
}

/* Small mobile <= 480px : thu gọn mockup và thumbnails */
@media (max-width: 480px) {
  .download-catalogue { --catalogue-mockup-w: 300px; padding: 18px 12px; }
  .download-catalogue .mockup-cover { max-height: 360px; }
  .download-catalogue .catalogue-preview { padding: 6px 0; }
}

/* Extra small <= 360px */
@media (max-width: 360px) {
  .download-catalogue { --catalogue-mockup-w: 260px; }
  .download-catalogue .mockup-cover { max-height: 300px; }
}


/* ======== Contact ======== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: #fff; /* Nền trắng */
  border: 1px solid #e5e5e5; /* Viền nhẹ */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #333; /* Chữ màu tối */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Bóng nhẹ hơn */
}

.contact-card h3 {
  margin: 12px 0 8px;
  color: #222;
}

.contact-card p {
  margin: 6px 0;
  color: #555;
}

.contact-card a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.qr-code {
  width: 140px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 4px solid #fff; /* Viền trắng quanh QR */
}

/* ======== End of Contact ======== */
/* ======== OTHER COMPONENTS (Giữ lại có thể dùng sau) ======== */
.spotlight-page .tv1-img {
  max-width: 400px;
  margin-top: 20px;
}

.spotlight-page .logos img {
  width: 120px;
  margin: 10px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.bg-light {
  background: #f8f9fb;
}

.bg-blue {
  background: #0046ab;
}

.color-white {
  color: #fff;
}

.btn.btn-white {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.btn-download::after {
  content: "⬇";
  font-size: 18px;
}

