/* ===== GLOBAL ===== */
:root {
  --primary: rgb(197, 32, 33);
  --bg: rgb(10, 13, 15);
  --white: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, rgb(10, 13, 15), rgb(10, 13, 15));
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Home content */

.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.slides {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .8s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Background images */
.slide-1 {
  background-image: url("../resource/exit-lag/slide/slide1.png");
}

.slide-2 {
  background-image: url("../resource/exit-lag/slide/slide2.png");
}

.slide-3 {
  background-image: url("../resource/exit-lag/slide/slide3.png");
}

/* Overlay tối */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 13, 15, .85),
      rgba(10, 13, 15, .7));
}

/* Content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.slide-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.slide-content p {
  color: #ccc;
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: rgb(197, 32, 33);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: .3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 32, 33, .4);
}

/* MOBILE */
@media(max-width:768px) {

  .hero-slider {
    height: 75vh;
    min-height: 500px;
  }

  .slide-content h1 {
    font-size: 26px;
  }

  .slide-content p {
    font-size: 14px;
  }

}

/* Home content */
/* ===== SECTION ===== */

/* ============================= */
/* SECTION */
/* ============================= */

.seo-enterprise {
  padding: 120px 0;
  background: #0f0f14;
}

/* ============================= */
/* CONTAINER */
/* ============================= */

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px; /* cân trái phải */
}

/* ============================= */
/* TITLE */
/* ============================= */

.section-title {
  text-align: center;
  font-size: 34px;
  color: rgb(197, 32, 33);
  margin-bottom: 20px;
  font-weight: 800;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
  color: #ccc;
  line-height: 1.6;
}

/* ============================= */
/* GRID */
/* ============================= */

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cột desktop */
  gap: 30px;
  justify-items: center; /* căn giữa card trong ô */
}

/* Tablet */
@media (max-width: 1100px) {
  .enterprise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* CARD */
/* ============================= */

.enterprise-card {
  width: 100%;
  max-width: 260px;     /* cố định kích thước đẹp */
  min-height: 300px;    /* đảm bảo không tràn */

  padding: 25px;

  border-radius: 18px;
  background: #181820;
  border: 1px solid transparent;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  transition: 0.3s ease;
}

/* Hover */
.enterprise-card:hover {
  transform: translateY(-8px);
  border-color: rgb(197, 32, 33);
  box-shadow:
    0 0 15px rgba(197, 32, 33, 0.4),
    0 0 40px rgba(197, 32, 33, 0.2);
}

/* ============================= */
/* TEXT FIX TRÀN */
/* ============================= */

.enterprise-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  word-break: break-word;
}

.enterprise-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;

  word-break: break-word;   /* xử lý chữ dài */
  overflow-wrap: break-word;
}

/* ============================= */
/* HIGHLIGHT CARD */
/* ============================= */

.highlight {
  background: linear-gradient(
    135deg,
    rgba(197,32,33,.15),
    rgba(197,32,33,.05)
  );
  border: 1px solid rgb(197,32,33);
}

/* FAQ */
.faq-section {
  padding: 110px 0;
  background: #0a0d0f;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-wrapper {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: border-color .3s ease;
}

.faq-item:hover {
  border-color: rgba(197, 32, 33, .4);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  color: rgb(197, 32, 33);
  font-size: 18px;
  transition: transform .3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 22px;
}

.faq-answer p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Support */
.support-section {
  position: relative;
  padding: 90px 0;
  background: #0a0d0f;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

/* subtle red ambient light */
.support-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(197, 32, 33, .18) 0%,
      rgba(197, 32, 33, .08) 40%,
      transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.support-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.support-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.support-content p {
  color: #999;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.support-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-support {
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.btn-support.call {
  background: rgb(197, 32, 33);
  color: #fff;
}

.btn-support.call:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(197, 32, 33, .3);
}

.btn-support.zalo {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}

.btn-support.zalo:hover {
  border-color: rgb(197, 32, 33);
  color: rgb(197, 32, 33);
}

.support-note {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}



