@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap");
:root {
  --color-primary: #0081c2;
  --color-primary-light: #caedff73;
  --color-primary-dark: #1e40af;

  --color-secondary: #f98b0d;
  --color-secondary-light: #fbbf24;
  --color-secondary-dark: #b45309;

  --color-bg: #ffffff;
  --color-text: #111827;
}

/* =========================================================
GLOBAL (Landing)
========================================================= */
html {
  scroll-behavior: auto !important; /* TẮT native smooth */
}

body {
  overscroll-behavior: none;
  font-family: "Nunito", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
input {
  font-family: "Nunito", sans-serif !important;
}

body.dgma-landing-blank {
  margin: 0;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 20px;
}

.lp-title {
  margin: 0;
  text-align: center;
  margin-bottom: 34px;
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lp-subTitle {
  margin: 0 0 10px;
  font-size: 16px;
  opacity: 0.7;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .wrap {
    padding: 30px 15px;
  }
  .lp-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  p {
    font-size: 14px !important;
  }

  h3 {
    font-size: 18px !important;
  }

  span {
    font-size: 14px !important;
  }
}

/* =========================================================
MENU
========================================================= */
/* ===== HEADER MENU SCROLL ===== */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-header-inner {
  max-width: 1300px;
  margin: 12.5px auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.lp-logo img {
  height: 65px;
  width: auto;
  display: block;
}
.lp-logo-text {
  font-weight: 900;
  color: #0f2c5c;
  letter-spacing: 0.2px;
}

.lp-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-nav-link {
  text-decoration: none;
  font-weight: 700;
  color: black !important;
  padding: 10px 10px;
  border-radius: 12px;
  transition: 0.2s ease;
  font-size: 15px;
  text-transform: uppercase;
}
.lp-nav-link:hover {
  opacity: 1;
  background: rgba(15, 44, 92, 0.06);
}
.lp-nav-link.is-active {
  opacity: 1;
  background: #f98b0d;
  color: #ffffff !important;
}

/* Nút cuối (CTA) */
.lp-nav .lp-nav-link:last-child {
  background: var(--color-primary);
  color: #fff !important;
  position: relative;
  overflow: hidden;
  padding-right: 30px;
}

/* Chấm đỏ nhấp nháy bên phải */
.lp-nav .lp-nav-link:last-child::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ff2b2b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 43, 43, 0.6);
  animation: lpPulse 1.2s infinite;
}

/* Nhấp nháy / pulse */
@keyframes lpPulse {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 43, 43, 0.65);
    opacity: 1;
  }
  70% {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 0 12px rgba(255, 43, 43, 0);
    opacity: 1;
  }
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 43, 43, 0);
    opacity: 0.95;
  }
}

/* Menu Mobile */
.lp-burger {
  display: none;
  margin-left: auto;
  padding: 5px 15px;
  border: 1px solid rgb(0 0 0 / 52%);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.lp-burger:hover,
.lp-burger:focus {
  background: #f98b0d;
  border: 1px solid white;
}

.lp-burger:hover span,
.lp-burger:focus span {
  background: white;
}

.lp-burger span {
  display: block;
  height: 3px;
  width: 18px;
  background: rgb(0 0 0 / 52%);
  margin: 5px auto;
  border-radius: 99px;
}

.lp-nav-mobile {
  display: none;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.lp-nav-mobile .lp-nav-link {
  display: block;
  padding: 12px 10px;
}

@media (max-width: 767px) {
  .lp-header-inner {
    padding: 0 10px;
  }

  .lp-nav {
    display: none;
  }
  .lp-burger {
    display: block;
  }
  .lp-nav-mobile.is-open {
    display: block;
  }
}

/* =========================
   HERO v2 (match mẫu)
========================= */
.dgma-hero2 {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  height: 90vh;
  /* background-position: 210px 50%; */
}

.dgma-hero2 .wrap {
  max-width: 1300px !important;
  width: 1300px !important;
}

/* .dgma-hero2__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgb(7 39 93 / 92%) 0%,
    rgba(5, 20, 45, 0.82) 38%,
    rgba(5, 20, 45, 0.38) 58%,
    rgba(255, 255, 255, 0.08) 78%,
    rgba(255, 255, 255, 0) 100%
  );
} */

.dgma-hero2__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgb(7 39 93 / 92%) 0%,
    rgba(5, 20, 45, 0.82) 25%,
    rgba(5, 20, 45, 0.38) 45%,
    rgba(255, 255, 255, 0.08) 78%,
    rgba(255, 255, 255, 0) 100%
  );
}

.dgma-hero2__wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 70px 20px 130px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.dgma-hero2__left {
  color: #fff;
}

.dgma-hero2__title {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 35px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}

.dgma-hero2__desc {
  margin: 20px 0;
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 560px;
}

.dgma-hero2__bullets {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.dgma-hero2__bullet {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.95;
}

.dgma-hero2__check {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 139, 13, 0.95);
  color: #fff;
  flex: 0 0 25px;
  margin-top: 2px;
  font-size: 28px;
  font-weight: 900;
}

.dgma-hero2__right {
  display: flex;
  justify-content: flex-end;
}

.dgma-hero2__form {
  width: min(400px, 92vw);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.dgma-hero2__form-title {
  padding: 20px 0;
  margin-bottom: 0px;
  text-align: center;
  font-weight: 900;
  font-size: 24px;
  color: var(--color-secondary);
  text-transform: uppercase;
  -webkit-animation: my 700ms infinite;
  -moz-animation: my 700ms infinite;
  -o-animation: my 700ms infinite;
  animation: my 700ms infinite;
}

@-webkit-keyframes my {
  0% {
    color: var(--color-secondary);
  }
  50% {
    color: black;
  }
  100% {
    color: var(--color-secondary);
  }
}
@-moz-keyframes my {
  0% {
    color: var(--color-secondary);
  }
  50% {
    color: black;
  }
  100% {
    color: var(--color-secondary);
  }
}
@-o-keyframes my {
  0% {
    color: var(--color-secondary);
  }
  50% {
    color: black;
  }
  100% {
    color: var(--color-secondary);
  }
}
@keyframes my {
  0% {
    color: var(--color-secondary);
  }
  50% {
    color: black;
  }
  100% {
    color: var(--color-secondary);
  }
}

.dgma-hero2__form-body {
  padding: 0px 20px;
}

@media (max-width: 767px) {
  .dgma-hero2 {
    background-position: center center;
  }
  .dgma-hero2__form-title {
    font-size: 20px;
  }
}

/* ===== Form  (CF7) ===== */

.dgma-hero2__form-body label {
  display: block;
  margin: 0;
  font-size: 0;
}

.dgma-hero2__form-body .wpcf7-form-control-wrap {
  display: block;
}

.dgma-hero2__form-body input,
.dgma-hero2__form-body select,
.dgma-hero2__form-body textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 15px;
  margin: 0 0 15px;
  box-sizing: border-box;
  outline: none;
  background: var(--color-primary);
  color: white;
}

.dgma-hero2__form-body input::placeholder,
.dgma-hero2__form-body textarea::placeholder {
  color: white !important;
}

.dgma-hero2__form-body select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.dgma-hero2__form-body input:focus,
.dgma-hero2__form-body select:focus,
.dgma-hero2__form-body textarea:focus {
  border-color: rgba(249, 139, 13, 0.65);
  box-shadow: 0 0 0 3px rgba(249, 139, 13, 0.18);
}

.dgma-heroform__actions {
  position: relative;
  display: inline-block;
}

.dgma-hero2__form-body .form-container {
  display: flex;
  justify-content: center;
}

.dgma-heroform__actions input[type="submit"] {
  background: var(--color-primary);
  color: #fff !important;
  font-size: 15px;
  border: 0;
  border-radius: 12px;
  padding: 10px 35px 10px 20px;
  margin: 5px 0 20px;
  width: max-content;
  cursor: pointer;
  font-weight: bold;
}

.dgma-heroform__actions::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 39%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ff2b2b;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 43, 43, 0.6);
  animation: lpPulse 1.2s infinite;
  pointer-events: none;
}

.dgma-hero2__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dgma-hero2__footer-text {
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.2px;
}

@media (max-width: 980px) {
  .dgma-hero2 {
    height: auto;
    min-height: unset;
    padding-bottom: 56px;
  }

  .dgma-hero2__overlay {
    background: linear-gradient(
      180deg,
      rgb(7 39 93 / 92%) 0%,
      rgba(5, 20, 45, 0.82) 40%,
      rgba(5, 20, 45, 0.38) 58%,
      rgba(255, 255, 255, 0.08) 78%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .dgma-hero2__wrap {
    grid-template-columns: 1fr;
    padding: 50px 0px 60px;
    gap: 18px;
  }
  .dgma-hero2__right {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .dgma-hero2__title {
    font-size: 24px;
    text-align: center;
  }
  .dgma-hero2__desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .dgma-hero2__bullets {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .dgma-hero2__footer-text {
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* =========================================================
SECTION: CƠ SỞ VẬT CHẤT (Carousel)
========================================================= */
.dgma-csvc {
  background-color: var(--color-primary);
  position: relative;
}

.dgma-csvc .lp-title {
  color: white;
}

.dgma-carousel {
  position: relative;
  width: 100%;
  height: 90vh;
  max-height: 650px;
  overflow: hidden;
  border-radius: 22px;
}
.dgma-carousel-items {
  cursor: grab;
  position: relative;
  width: 100%;
  height: 100%;
}
.dgma-carousel-item {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e9ecef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}
.dgma-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dgma-carousel-nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.dgma-carousel-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  border: none;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.35);
  transition: 0.25s ease;
}

.dgma-carousel-nav button:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.dgma-carousel-nav button:active {
  transform: scale(0.95);
}

@media (max-width: 767px) {
  .dgma-carousel {
    height: 340px;
    border-radius: 18px;
  }
  .dgma-carousel-item {
    height: 90% !important;
    border-radius: 16px;
  }
}

/* =========================
   FOOTER (LP)
========================= */
.dgma-footer {
  position: relative;
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
}

/* line cam trên cùng giống mẫu */
.dgma-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: #f98b0d;
}

.dgma-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.dgma-footer__block-logo img {
  width: 250px;
  margin-bottom: 10px;
}

.dgma-footer .lp-title {
  color: white;
}

/* LEFT blocks */
.dgma-footer__block {
  /* margin-top: 16px; */
}
.dgma-footer__block-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-bottom: 15px;
  opacity: 0.95;
  font-size: 20px;
}

/* Cơ sở list */
.dgma-footer__coso {
  display: grid;
  gap: 12px;
}
.dgma-footer__coso-item {
  padding-left: 14px;
  position: relative;
}
.dgma-footer__coso-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f98b0d;
  box-shadow: 0 0 0 3px rgba(249, 139, 13, 0.18);
}
.dgma-footer__coso-name {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 4px;
}
.dgma-footer__coso-addr {
  font-size: 16px;
  opacity: 0.92;
  line-height: 1.55;
}

/* Social */
.dgma-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.dgma-footer__social-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.dgma-footer__social-item:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.22);
}
.dgma-footer__social-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}

/* RIGHT: chỉ layout container (không style form bên trong) */
.dgma-footer__right {
  max-width: 520px;
  margin-left: auto;
}

.dgma-footer__bootom {
  text-align: center;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 980px) {
  .dgma-footer {
    padding: 10px 0;
  }
  .dgma-footer__grid {
    grid-template-columns: 1fr;
  }
  .dgma-footer__right {
    max-width: 100%;
    margin-left: 0;
  }
}

/* ===== MXH dạng list giống Cơ sở ===== */
.dgma-footer__mxh {
  display: grid;
  gap: 12px;
}

.dgma-footer__mxh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px; /* giống cơ sở */
  position: relative;
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.dgma-footer__mxh-item:hover {
  opacity: 1;
  color: #fff !important;
}

.dgma-footer__mxh-item:visited {
  color: #fff !important;
}

.dgma-footer__mxh-item:focus {
  color: #fff !important;
}

.dgma-footer__mxh-dot {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f98b0d;
  box-shadow: 0 0 0 3px rgba(249, 139, 13, 0.18);
}

.dgma-footer__mxh-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex: 0 0 18px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}

.dgma-footer__mxh-text {
  font-size: 16px;
  line-height: 1.55;
}

/* =========================
   VIDEO BANNER (full screen feel)
========================= */
.dgma-video-banner {
  padding: 50px 0;
  display: none;
}

.dgma-video-banner__frame {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.dgma-video-banner__frame {
  height: clamp(240px, 70vh, 640px);
}

.dgma-video-banner__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .dgma-video-banner__frame {
    border-radius: 16px;
    height: clamp(200px, 42vh, 420px);
  }
}

/* =========================
   SECTION: TẠI SAO CHỌN (BRIS)
========================= */
.dgma-taisao {
  background-image: url("https://anhngu4.mauthemewp.com/wp-content/uploads/2025/05/cloud.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  /* background-color: aliceblue; */
  position: relative;
  background-color: white;
}

.ic-ts-1 {
  position: absolute;
  width: 100px;
  left: 50px;
  top: 50px;
  animation: floatY 3.2s ease-in-out infinite;
  will-change: transform;
}

.ic-ts-2 {
  position: absolute;
  width: 200px;
  right: 50px;
  top: 50px;
  animation: floatY 3.2s ease-in-out infinite;
  will-change: transform;
}

.dgma-taisao__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 auto;
}

.dgma-taisao__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.dgma-taisao__icon {
  width: 100%;
  height: 320px;
  margin: 0;
}
.dgma-taisao__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.dgma-taisao__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 140, 200, 0.78) 0%,
    rgb(0 140 200 / 0%) 30%,
    rgba(0, 140, 200, 0) 62%
  );
  transition: background 0.35s ease;
}

.dgma-taisao__text {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.35s ease;
}

/* Title */
.dgma-taisao__card-title {
  margin: 0;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
}

.dgma-taisao__card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.35s ease, max-height 0.35s ease;
}

/* Hover */
.dgma-taisao__card:hover::after {
  background: rgba(0, 140, 200, 0.72);
}

.dgma-taisao__card:hover .dgma-taisao__icon img {
  transform: scale(1.06);
}

.dgma-taisao__card:hover .dgma-taisao__text {
  transform: translateY(-18px);
}

.dgma-taisao__card:hover .dgma-taisao__card-desc {
  opacity: 1;
  max-height: 260px;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 767px) {
  .dgma-taisao__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }
}

/* =========================
   SECTION: LỘ TRÌNH (Tabs)
========================= */
.dgma-lotrinh {
  position: relative;
}

.ic-lt-1 {
  position: absolute;
  width: 150px;
  right: 120px;
  top: 0px;
  animation: floatYFastLong 3.2s ease-in-out infinite;
}

.ic-lt-2 {
  position: absolute;
  width: 150px;
  right: 8px;
  top: 0px;
  animation: floatY 3.2s ease-in-out infinite;
  will-change: transform;
}

.ic-lt-3 {
  position: absolute;
  width: 130px;
  left: 60px;
  top: 90px;
  animation: floatX 3s ease-in-out infinite;
  will-change: transform;
}

/* Tabs (pill) */
.dgma-lotrinh__tablist {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 18px;
}
.dgma-lotrinh__tab {
  border: 2px solid rgba(15, 44, 92, 0.14);
  background: #fff;
  color: var(--color-primary);
  padding: 15px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
  line-height: 1;
}
.dgma-lotrinh__tab:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}
.dgma-lotrinh__tab.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Panel card */
.dgma-lotrinh__panels {
  display: block;
}
.dgma-lotrinh__panel {
  margin: 0 auto;
}

.dgma-lotrinh__card {
  background: #fff;
  border: 1px solid rgba(15, 44, 92, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.dgma-lotrinh__media {
  background: #eef3ff;
  aspect-ratio: 16/8;
}
.dgma-lotrinh__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dgma-lotrinh__body {
  padding: 30px 20px;
}
.dgma-lotrinh__name {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 1000;
  color: var(--color-primary);
}

.dgma-lotrinh__desc {
  font-size: 18px;
  color: black;
}

.dgma-lotrinh__desc p {
  margin-bottom: 0px;
}

/* Mobile */
@media (max-width: 767px) {
  .dgma-lotrinh__tab {
    padding: 9px 14px;
    font-size: 14px;
  }
  .dgma-lotrinh__panel {
    max-width: 92vw;
  }

  .dgma-lotrinh__media {
    aspect-ratio: auto !important;
  }
}

/* =========================
   SECTION: GIÁO VIÊN (theo mẫu)
========================= */
.dgma-teachers {
  background-color: #ebf5ff;
  position: relative;
}

.ic-gv-1 {
  position: absolute;
  width: 200px;
  right: 0;
  top: 35px;
  /* animation */
  animation: floatY 3.2s ease-in-out infinite;
  will-change: transform;
}

.ic-gv-2 {
  position: absolute;
  width: 200px;
  left: 0;
  top: 35px;
  /* animation */
  animation: spin360 18s linear infinite;
  transform-origin: center;
  will-change: transform;
}

.dgma-teachers__head {
  text-align: center;
  margin-bottom: 14px;
}

.dgma-teachers__sub {
  text-align: center;
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.3px;
  color: #0f2c5c;
}

.dgma-teachers__card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  padding: 14px;
}

.dgma-teachers__img {
  border-radius: 16px;
  overflow: hidden;
  background: #eaf0f7;
}

.dgma-teachers__img img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.dgma-teachers__desc {
  margin-top: 20px;
  font-size: 18px;
  color: black;
}

.dgma-teachers__bullets {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dgma-teachers__bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.dgma-teachers__check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 1000;
  flex: 0 0 22px;
  margin-top: 2px;
}

.dgma-teachers__bullet-title {
  font-weight: 1000;
  font-size: 24px;
  color: #0b1b2c;
  line-height: 1.25;
  margin-bottom: 5px;
}

.dgma-teachers__bullet-desc {
  margin-top: 2px;
  margin-bottom: 0px;
  font-size: 18px;
  color: black;
}

@media (max-width: 860px) {
  .dgma-teachers__bullets {
    grid-template-columns: 1fr;
  }

  .dgma-teachers__sub {
    font-size: 18px !important;
  }

  .dgma-teachers__img img {
    height: 100%;
  }
}

/* ===== DỊCH VỤ (slider) ===== */
.dgma-dv {
  background: white;
}

.dgma-dv__slider {
  position: relative;
}

.dgma-dv__clip {
  overflow: hidden;
  border-radius: 22px;
}

.dgma-dv [data-dgma-dv-swiper] {
  padding: 0 !important;
}

.dgma-dv [data-dgma-dv-swiper] .swiper-wrapper {
  padding: 6px 0;
  align-items: stretch;
}

.dgma-dv [data-dgma-dv-swiper] .swiper-slide {
  height: auto !important;
  display: flex;
}

/* Card */
.dgma-dv__card {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(26, 55, 110, 0.18);
  background: #0f2c5c;
  padding: 18px;
}

.dgma-dv__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

.dgma-dv__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 140, 200, 0.78) 0%,
    rgb(0 140 200 / 0%) 30%,
    rgba(0, 140, 200, 0) 62%
  );
  transition: background 0.35s ease;
}

.dgma-dv__icon {
  width: 70px;
  height: 70px;
  margin: 10px auto 0;
  position: relative;
  z-index: 2;
}
.dgma-dv__icon img {
  display: none;
}

.dgma-dv__text {
  margin-top: auto;
  position: relative;
  z-index: 2;
  padding: 0 8px 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s ease;
}

.dgma-dv__card-title {
  margin: 0;
  text-align: center;
  font-weight: 1000;
  font-size: 26px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

.dgma-dv__card-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 92%;
  color: #fff;

  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.35s ease, max-height 0.35s ease;
}

.dgma-dv__card-desc ul {
  margin: 0 0 0 20px;
}
.dgma-dv__card-desc li {
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

.dgma-dv__card:hover::after {
  background: rgba(0, 140, 200, 0.72);
}
.dgma-dv__card:hover::before {
  transform: scale(1.07);
}

.dgma-dv__card:hover .dgma-dv__text {
  transform: translateY(-22px);
}

.dgma-dv__card:hover .dgma-dv__card-desc {
  opacity: 1;
  max-height: 320px; /* đủ cho nội dung dài */
  transform: translateY(0);
}

/* ===== dots nằm dưới, không bị đè ===== */
.dgma-dv__pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dgma-dv__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 1;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.dgma-dv__pagination .swiper-pagination-bullet-active {
  width: 32px;
  height: 8px;
  background: #f98b0d;
  border-radius: 999px;
}

/* ===== nav: thò ra ngoài và KHÔNG bị cắt (vì slider không overflow hidden) ===== */
.dgma-dv__nav {
  position: absolute;
  top: 50%;
  padding: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  color: #111;
}

/* đẩy ra ngoài */
.dgma-dv__prev {
  left: -50px;
}
.dgma-dv__next {
  right: -50px;
}

.dgma-dv__nav:hover {
  background: #f98b0d;
  transform: translateY(-50%) scale(1.04);
}

.dgma-dv__nav:focus {
  background: #f98b0d !important;
  transform: translateY(-50%) scale(1.04);
}

/* Mobile: ẩn nav, swipe + dots */
@media (max-width: 768px) {
  .dgma-dv__clip {
    border-radius: 18px;
  }
  .dgma-dv__nav {
    display: none;
  }

  .dgma-dv__card {
    border-radius: 18px;
    padding: 18px 18px 16px;
    min-height: 190px;
  }

  .dgma-dv__card p {
    font-size: 14px !important;
  }
}

/* ===== ĐÁNH GIÁ PHỤ HUYNH (slider) ===== */
.dgma-dg {
  background: white;
}

.dgma-dg__slider {
  position: relative;
}
.dgma-dg__clip {
  overflow: hidden;
  border-radius: 22px;
}

/* Swiper: NO padding để không lộ slide #4 */
.dgma-dg [data-dgma-dg-swiper] {
  padding: 0 !important;
}

/* Equal height */
.dgma-dg [data-dgma-dg-swiper] .swiper-wrapper {
  padding: 8px 0;
  align-items: stretch;
}
.dgma-dg [data-dgma-dg-swiper] .swiper-slide {
  height: auto !important;
  display: flex;
}

/* Card layout giống mẫu: ảnh trái + content phải */
.dgma-dg__card {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(26, 55, 110, 0.18);
  border-radius: 22px;
  box-sizing: border-box;
  overflow: hidden;
}

/* media left */
.dgma-dg__media {
  overflow: hidden;
}
.dgma-dg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* body right */
.dgma-dg__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-right: 6px;
  padding: 30px 20px 30px 0;
}

.dgma-dg__quote {
  color: #f98b0d;
  margin: 2px 0 8px;
}

.dgma-dg__quote svg {
  width: 40px;
  height: 40px;
}

.dgma-dg__content {
  font-size: 16px;
  color: black;
  margin: 0 0 14px;
}

/* who */
.dgma-dg__who {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.dgma-dg__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 38px;
}
.dgma-dg__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dgma-dg__name {
  font-weight: 1000;
  color: var(--color-primary);
  line-height: 1.2;
}
.dgma-dg__meta {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

/* dots pill */
.dgma-dg__pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dgma-dg__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 1;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 999px;
  transition: all 0.25s ease;
}
.dgma-dg__pagination .swiper-pagination-bullet-active {
  width: 32px;
  height: 8px;
  background: #f98b0d;
}

/* nav outside clip */
.dgma-dg__nav {
  position: absolute;
  top: 50%;
  padding: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  color: #111;
}
.dgma-dg__prev {
  left: -50px;
}
.dgma-dg__next {
  right: -50px;
}
.dgma-dg__nav:hover {
  background: #f98b0d;
  color: #fff;
}

/* Mobile: full 1 ô, lướt từng slide */
@media (max-width: 768px) {
  .dgma-dg__nav {
    display: none;
  }
  .dgma-dg__clip {
    border-radius: 18px;
  }

  .dgma-dg__card {
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 18px;
    padding: 16px;
  }
  .dgma-dg__media {
    height: 190px;
  }
  .dgma-dg__content {
    font-size: 14px;
  }

  .dgma-dg__media img {
    border-radius: 18px;
  }

  .dgma-dg__body {
    padding: 0;
  }
}

/* Count down */
.dgma-hero2__countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* .dgma-hero2__countdown .cd-item:first-child {
  display: ;
} */

.dgma-hero2__countdown .cd-item {
  padding: 10px 8px;
  text-align: center;
  background: #f98b0d40;
  border-radius: 14px;
  width: 30px;
}

.dgma-hero2__countdown .cd-num {
  font-weight: 1000;
  font-size: 18px;
  line-height: 1;
  color: #0f2c5c;
}

.dgma-hero2__countdown .cd-label {
  color: #000;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .dgma-hero2__countdown {
    gap: 8px;
  }
  .dgma-hero2__countdown .cd-item {
    padding: 9px 6px;
    border-radius: 10px;
  }
  .dgma-hero2__countdown .cd-num {
    font-size: 16px;
  }
}

/* ===== POPUP BASE ===== */
.dgma-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none; /* ✅ mặc định ẨN */
  padding: 6vh 12px;
}

.dgma-popup.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dgma-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.dgma-popup__dialog {
  position: relative;
  z-index: 1;
  /* width: min(1040px, 100%); */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: visible;
}

/* khóa scroll body khi mở */
body.dgma-popup-lock {
  overflow: hidden;
}

/* nút close */
.dgma-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

/* Mobile: dialog scroll được */
@media (max-width: 767px) {
  .dgma-popup {
    padding: 10px;
    align-items: stretch;
  }
  .dgma-popup__dialog {
    /* width: 100%; */
    /* max-height: calc(100dvh - 20px); */
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== POPUP HERO2 BACKGROUND ===== */
.dgma-popup__dialog--hero2 {
  width: min(800px, 100%);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.dgma-popup__dialog--hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero2-bg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.dgma-popup__dialog--hero2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 40%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.dgma-popup__hero2-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
}

.dgma-hero2__form--popup {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  padding: 20px 0;
}

.dgma-popup__close {
  z-index: 2;
}

@media (max-width: 767px) {
  .dgma-popup__dialog--hero2::after {
    background: rgba(255, 255, 255, 0.88);
  }

  .dgma-hero2__form--popup {
    width: 100%;
  }
}

/* Animation */
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes floatYFastLong {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(24px);
  }
}

@keyframes floatX {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12px);
  }
}

@keyframes spin360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .ic-ts-1,
  .ic-ts-2,
  .ic-gv-1,
  .ic-gv-2,
  .ic-lt-1,
  .ic-lt-2,
  .ic-lt-3 {
    display: none;
  }
}
