/* =========================================================
   HTA VIET NAM - Du hoc & Dich thuat ho so
   Theme stylesheet (shared between static demo & WP theme)
   ========================================================= */

:root {
  --c-primary: #0d3b8f;       /* main blue */
  --c-primary-dark: #082a6b;  /* darker blue */
  --c-navy: #071f4e;          /* footer / deep navy */
  --c-accent: #ffb800;        /* yellow accent */
  --c-accent-dark: #e6a400;
  --c-red: #e0312f;
  --c-text: #20242c;
  --c-muted: #5d6675;
  --c-light: #f2f7ff;         /* light blue section bg */
  --c-border: #e3e9f4;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(13, 59, 143, .10);
  --shadow-hover: 0 14px 40px rgba(13, 59, 143, .18);
  --font-main: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  --font-script: "Dancing Script", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: .25s; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: .25s;
}
.btn-accent {
  background: var(--c-accent);
  color: var(--c-primary-dark);
}
.btn-accent:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 184, 0, .4);
}
.btn-white {
  background: #fff;
  color: var(--c-primary);
}
.btn-white:hover {
  background: var(--c-accent);
  color: var(--c-primary-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Section headings ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 45px; }
.section-label {
  display: inline-block;
  color: var(--c-accent-dark);
  background: rgba(255, 184, 0, .12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-primary-dark);
  line-height: 1.3;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--c-accent);
  margin: 16px auto 0;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 12px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.brand-logo .logo-hta { font-size: 24px; letter-spacing: 1px; color: var(--c-accent); }
.brand-logo .logo-vn { font-size: 9px; letter-spacing: 2px; margin-top: 4px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-primary);
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 340px;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--c-muted);
}
.topbar-item strong {
  display: block;
  color: var(--c-primary);
  font-size: 14px;
}
.topbar-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* =========================================================
   MAIN NAV
   ========================================================= */
.main-nav {
  background: var(--c-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(7, 31, 78, .25);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  color: #dbe6ff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 18px 18px;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.active > a {
  background: var(--c-primary-dark);
  color: var(--c-accent);
}
.nav-menu li.menu-item-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
  opacity: .8;
}
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s;
  z-index: 50;
  overflow: hidden;
}
.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.nav-menu .sub-menu li:last-child a { border-bottom: none; }
.nav-menu .sub-menu li a:hover {
  background: var(--c-light);
  color: var(--c-primary);
  padding-left: 26px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta .btn { padding: 10px 22px; font-size: 13px; text-transform: uppercase; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 12px 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,184,0,.15), transparent 40%),
    linear-gradient(120deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, #1a55c0 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 90%, rgba(255,255,255,.06), transparent 35%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}
.hero-script {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.hero-title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 21px;
  font-weight: 700;
  color: #ffe9b0;
  margin-bottom: 14px;
  line-height: 1.45;
}
.hero-desc {
  font-size: 15.5px;
  color: #d6e2ff;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; text-align: center; }
.hero-visual .hero-img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  margin: 0 auto;
}
.hero-illustration {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}
.hero-badge {
  position: absolute;
  background: #fff;
  color: var(--c-primary-dark);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
}
.hero-badge.b1 { top: 8%; left: -2%; }
.hero-badge.b2 { bottom: 10%; right: -2%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  background: linear-gradient(135deg, #dceaff 0%, #f2f7ff 100%);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--c-primary);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -29px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(13,59,143,.35);
  border: 3px solid #fff;
}
.service-body { padding: 18px 24px 28px; text-align: center; flex: 1; }
.service-body h3 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-primary-dark);
  margin-bottom: 10px;
}
.service-body p { font-size: 14.5px; color: var(--c-muted); }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why { background: var(--c-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: .3s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-primary), #1a55c0);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.5;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  background:
    radial-gradient(circle at 10% 10%, rgba(255,184,0,.08), transparent 35%),
    linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
}
.process .section-title { color: #fff; }
.process .section-label { background: rgba(255,184,0,.16); color: var(--c-accent); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: .3s;
  position: relative;
}
.process-step:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-6px);
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-primary-dark);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 6px rgba(255,184,0,.18);
}
.step-icon { font-size: 34px; margin-bottom: 12px; }
.process-step h3 {
  font-size: 15.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ffe9b0;
}
.process-step p { font-size: 13.5px; color: #cfdcfb; }
.process-step:not(:last-child)::after {
  content: "➜";
  position: absolute;
  top: 42px;
  right: -22px;
  color: var(--c-accent);
  font-size: 18px;
  z-index: 2;
}

/* =========================================================
   COUNTRIES
   ========================================================= */
.countries { background: #fff; }
.countries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.country-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: .3s;
  background: #fff;
}
.country-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.country-thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: linear-gradient(135deg, #dceaff, #f2f7ff);
}
.country-thumb img { width: 100%; height: 100%; object-fit: cover; }
.country-card h3 {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-primary-dark);
  padding: 14px 10px;
  line-height: 1.4;
}
.country-card h3 small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: none;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background:
    radial-gradient(circle at 90% 30%, rgba(255,184,0,.16), transparent 45%),
    linear-gradient(110deg, var(--c-primary-dark), var(--c-primary) 70%, #1a55c0);
  border-radius: 20px;
  color: #fff;
  padding: 46px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "✈";
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 180px;
  opacity: .07;
  transform: rotate(-15deg);
}
.cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}
.cta-text h2 .hl { color: var(--c-accent); }
.cta-text p { color: #d6e2ff; font-size: 15.5px; }
.cta-action { flex-shrink: 0; position: relative; z-index: 2; }
.cta-action .btn { font-size: 17px; padding: 16px 32px; }
.cta-action .btn small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .8;
}

/* =========================================================
   NEWS
   ========================================================= */
.news { background: var(--c-light); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.news-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  background: linear-gradient(135deg, #dceaff, #f2f7ff);
  overflow: hidden;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12px; color: var(--c-muted); margin-bottom: 8px; }
.news-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}
.news-body h3 a:hover { color: var(--c-primary); }
.news-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-more:hover { color: var(--c-accent-dark); gap: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-navy);
  color: #b9c6e4;
  padding-top: 60px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr .9fr .9fr;
  gap: 40px;
  padding-bottom: 45px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-accent);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; font-size: 15px; max-width: none; }
.footer-about { font-size: 13.5px; line-height: 1.7; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--c-accent); padding-left: 6px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact .ico { color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a { color: var(--c-accent); }

/* =========================================================
   FLOATING CONTACT
   ========================================================= */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  position: relative;
}
.float-btn.phone { background: var(--c-red); animation: pulse 1.8s infinite; }
.float-btn.chat { background: var(--c-primary); }
.float-btn:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,49,47,.5); }
  70% { box-shadow: 0 0 0 16px rgba(224,49,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,49,47,0); }
}

/* =========================================================
   INNER PAGES (WP: single / page / archive)
   ========================================================= */
.page-header-bar {
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.page-header-bar h1 { font-size: 32px; font-weight: 800; }
.page-header-bar .breadcrumb { font-size: 13px; color: #c9d8fb; margin-top: 8px; }
.content-area { padding: 60px 0; }
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { padding-left: 24px; list-style: disc; }
.entry-content h2, .entry-content h3 { color: var(--c-primary-dark); margin: 28px 0 14px; }
.entry-content img { border-radius: var(--radius); margin: 20px 0; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 8px;
  background: var(--c-light);
  color: var(--c-primary);
  font-weight: 700;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--c-primary); color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .hero-title { font-size: 42px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar-info { display: none; }
  .nav-toggle { display: block; }
  .main-nav .container { flex-wrap: wrap; }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 8px;
    margin: 4px 10px 10px;
    display: none;
  }
  .nav-menu li.open > .sub-menu { display: block; }
  .nav-cta { display: none; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { display: none; }
  .hero-title { font-size: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .archive-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
}
