:root {
  --navy: #2d3f5a;
  --navy-dark: #1e2d42;
  --navy-mid: #3d5070;
  --steel: #6b82a0;
  --steel-light: #8fa3be;
  --mist: #dde4ee;
  --mist-light: #edf1f7;
  --fog: #f4f6fa;
  --white: #ffffff;
  --text-main: #1e2d42;
  --text-muted: #5a6e88;
  --text-light: #8fa3be;
  --gold: #c4a24a;
  --radius: 4px;
  --radius-md: 6px;
  --shadow: 0 1px 3px rgba(30, 45, 66, 0.08), 0 4px 16px rgba(30, 45, 66, 0.06);
  --shadow-md: 0 2px 8px rgba(30, 45, 66, 0.10), 0 8px 24px rgba(30, 45, 66, 0.08);
}


/* ── HERO ── */
.hero {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 56px;
  overflow: hidden;
  background: linear-gradient(160deg, #c8d4e4 0%, #dde6f0 40%, #cdd8e6 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d3f5a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
  background: rgba(0, 0, 0, 0.6);
}

/* decorative bathroom silhouettes */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco::before,
.hero-deco::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 200px;
  height: 180px;
  opacity: 0.12;
  background: var(--navy);
  border-radius: 100px 100px 0 0;
}

.hero-deco::before {
  left: -40px;
}

.hero-deco::after {
  right: -20px;
  width: 160px;
  height: 140px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero .hero-des {
  font-size: 16px;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.8px;
  padding: 13px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ── WRAPPER ── */
.main-wrap {
  padding: 0 0px 30px;
}

/* ── SECTION CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  margin-top: 20px;
  overflow: hidden;
}

.card-header {
  padding: 22px 28px 18px;
  text-align: center;
  /* border-bottom: 1px solid var(--mist-light); */
}

.card-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
}

.card-body {
  padding: 28px;
}

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 28px 28px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  background: var(--fog);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit-item:hover {
  border-color: var(--steel-light);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 65px;
  height: 65px;
  padding: 10px;
  background: var(--mist-light);
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.5;
}

.benefit-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── WHO SECTION ── */
.section-label-left {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 0px;
  /* border-bottom: 1px solid var(--mist-light); */
}

.section-label-left .line {
  width: 24px;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}

.section-label-left .title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-main);
}

.ai-hop-tac-content ul {
  list-style: none;
  padding: 20px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-hop-tac-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-main);
}

.ai-hop-tac-content ul li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3,8 6.5,12 13,4' fill='none' stroke='%232d3f5a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── PROCESS ── */
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 20px 28px 28px;
  overflow-x: auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 120px;
}

.step-body {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mist-light);
  border: 1px solid var(--mist);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  flex: 1;
}

.step-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}

.step-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.3;
}

.step-arrow {
  width: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-light);
  font-size: 14px;
}

.step:last-child .step-arrow {
  display: none;
}

/* ── BOTTOM 2-COL ── */
.bottom-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.project-gallery {
  margin-top: 10px;
}

/* ── PROJECT GALLERY ── */
.project-gallery .slick-slide {
  margin: 0 10px;
}

.project-gallery .slick-list {
  margin: 0 -10px;
}

.project-gallery .project-img .name {
  font-size: 16px;
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* .project-img {
  aspect-ratio: 4/3;
  background: var(--mist-light);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
} */

/* .project-img::before,
.project-img::after {
  content: '';
  position: absolute;
  background: var(--mist);
  width: 100%;
  height: 1px;
  transform-origin: center;
}

.project-img::before {
  transform: rotate(30deg) scaleX(2);
}

.project-img::after {
  transform: rotate(-30deg) scaleX(2);
} */

.project-img span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 60%;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 8px;
  border-radius: 2px;
}

/* ── FORM ── */
.form-wrap {
  padding: 20px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--steel);
  color: var(--text-main);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--steel-light);
  pointer-events: none;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  text-transform: uppercase;
  background: var(--navy-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

#dang-ky {
  overflow: inherit;
}

.btn-submit:hover {
  background: var(--navy-mid);
}

/* ── REGISTER BOTTOM CARD ── */
.register-card {
  position: relative;
}

.register-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.register-card .card-body {
  padding: 22px 28px;
}

.register-card .card-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 10px;
  margin-left: 20px;
}


.register-card .card-body ul li {
  font-size: 16px;
}

/* ── STICKY FOOTER BAR ── */
.footer-bar {
  position: sticky;
  bottom: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  gap: 16px;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bar .bar-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-bar .bar-label::after {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  padding: 11px 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    gap: 0;
    flex-wrap: nowrap;
  }

  .step-body {
    padding: 10px 10px;
  }

  .step-text {
    font-size: 10px;
  }

  .step-arrow {
    width: 18px;
    font-size: 11px;
  }

  .footer-bar {
    padding: 14px 20px;
  }

  .footer-bar .bar-label::after {
    width: 30px;
  }

  .register-card .check-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px;
  }

  .card-body,
  .form-wrap,
  .project-gallery {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-label-left {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .process-steps {
    padding: 16px;
    overflow-x: auto;
  }

  .footer-bar .bar-label {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .footer-bar .bar-label::after {
    display: none;
  }
}

/* Custom Select Area */
.custom-select-area {
  position: relative;
  width: 100%;
  text-align: left;
}

.custom-select-area .select-selected {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-light);
  /* using placeholder color initially */
  background: var(--white);
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.custom-select-area .select-selected.has-value {
  color: var(--text-main);
}

.custom-select-area .select-selected:hover {
  border-color: var(--steel);
}

.custom-select-area .select-selected::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--steel-light);
  transition: transform 0.2s ease;
}

.custom-select-area .select-selected.select-arrow-active::after {
  transform: rotate(180deg);
}

.custom-select-area .select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  margin-top: -1px;
}

.custom-select-area .select-hide {
  display: none;
}

.custom-select-area .select-items div {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.2s;
}

.custom-select-area .select-items div:hover {
  background-color: var(--mist-light);
}