
:root {
  --green: #087638;
  --green-dark: #07572d;
  --green-light: #eaf6df;
  --lime: #a8d943;
  --yellow: #ffd23f;
  --cream: #fffdf3;
  --text: #24352a;
  --muted: #68766c;
  --white: #fff;
  --shadow: 0 8px 25px rgba(12, 83, 43, .09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 3px 14px rgba(0,0,0,.07);
}

.header-main {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--green);
}

.brand-mark {
  font-size: 42px;
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: #bd8700;
  font-size: 10px;
  font-style: italic;
}

.search-box {
  flex: 1;
  max-width: 440px;
  display: flex;
  border: 1px solid #dce7d9;
  border-radius: 30px;
  overflow: hidden;
  background: #fafcf8;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.search-box button {
  width: 55px;
  border: 0;
  color: white;
  background: var(--green);
  font-size: 25px;
  cursor: pointer;
}

.hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid #d9eabf;
  border-radius: 40px;
  color: var(--green);
  background: #f6fbe9;
  flex-shrink: 0;
}

.phone-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 19px;
}

.hotline small, .hotline strong {
  display: block;
  line-height: 1.4;
}

.hotline small {
  color: var(--muted);
  font-size: 10px;
}

.hotline strong {
  font-size: 17px;
}

.mobile-toggle {
  display: none;
  border: 0;
  color: var(--green);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

/* MENU NGANG */
.main-nav {
  background: linear-gradient(90deg, #07652f, #148b3d);
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 48px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: .2s;
  border-right: 1px solid rgba(255,255,255,.2);
}

.nav-link:hover {
  color: #fff2b3;
  background: rgba(0,0,0,.12);
}

.nav-link.active {
  color: #26330b;
  background: var(--yellow);
  border-radius: 0 0 12px 12px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.04) 75%),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=90") center 45% / cover;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-copy {
  max-width: 560px;
}

.hero-kicker, .section-tag {
  color: #b27b00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero h1 {
  margin: 8px 0 0;
  color: var(--green);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
}

.hero h2 {
  margin: 8px 0;
  color: #b17a00;
  font-size: clamp(20px, 2.4vw, 29px);
  font-style: italic;
}

.hero p {
  margin: 12px 0 22px;
  color: #405447;
  font-size: 14px;
}

/* BUTTON */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(.97);
}

.btn-yellow {
  color: #29320e;
  background: var(--yellow);
  box-shadow: 0 5px 14px rgba(218,170,20,.2);
}

.btn-green, .btn-small {
  color: white;
  background: var(--green);
}

.btn-small {
  padding: 9px 18px;
  font-size: 12px;
}

/* SECTION COMMON */
.section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.section-soft {
  background: linear-gradient(135deg, #f6fbea, #fffdf2);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-heading h2, .intro-content h2,
.online-content h2, .admission-copy h2 {
  margin: 5px 0 8px;
  color: var(--green-dark);
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.3;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* INTRO */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}

.intro-image {
  position: relative;
  min-height: 300px;
}

.intro-image img {
  height: 300px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.image-label {
  position: absolute;
  left: 15px;
  bottom: 15px;
  padding: 9px 15px;
  border-radius: 25px;
  color: white;
  background: var(--green);
  font-size: 11px;
  font-weight: 600;
}

.intro-content p, .online-content p, .admission-copy p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  list-style: none;
  margin: 16px 0 22px;
}

.check-list li {
  position: relative;
  padding: 5px 0 5px 27px;
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 4px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: white;
  background: #21a64d;
  font-size: 12px;
  font-weight: 800;
}

/* COURSE CARDS */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  overflow: hidden;
  border: 1px solid #e1ebd9;
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow);
  transition: .25s;
}

.course-card:hover, .news-card:hover {
  transform: translateY(-5px);
}

.course-card > img {
  height: 165px;
}

.course-body {
  padding: 18px;
}

.course-category {
  color: #a77a00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.course-body h3 {
  min-height: 52px;
  margin: 7px 0;
  color: var(--green-dark);
  font-size: 16px;
  line-height: 1.5;
}

.course-body p {
  min-height: 60px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 12px;
}

/* NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  overflow: hidden;
  border: 1px solid #e8eee3;
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
  transition: .25s;
}

.news-card img {
  height: 185px;
}

.news-body {
  padding: 18px;
}

.news-date {
  color: #a77a00;
  font-size: 10px;
  font-weight: 700;
}

.news-body h3 {
  margin: 8px 0;
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.5;
}

.news-body p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
}

.news-body a {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

/* ADMISSION */
.admission-section {
  padding: 48px 0;
  background: linear-gradient(110deg, #f0f9dc, #fff7cf);
}

.admission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}

.admission-image img {
  height: 300px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* ONLINE */
.online-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 45px;
}

.online-image {
  position: relative;
}

.online-image img {
  height: 300px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  color: white;
  background: rgba(8,118,56,.9);
  font-size: 24px;
  transform: translate(-50%, -50%);
}

.demo-note {
  display: block;
  margin-top: 12px;
  color: #7b857d;
  font-size: 11px;
}

/* CONTACT */
.contact-section {
  padding: 60px 0;
  color: white;
  background: linear-gradient(120deg, #07582e, #108b42);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 55px;
}

.contact-section .section-tag {
  color: #ffe28a;
}

.contact-section h2 {
  margin: 10px 0;
  font-size: 30px;
}

.contact-section p {
  margin: 12px 0 22px;
  color: #e2f2e6;
  font-size: 13px;
}

.contact-form {
  padding: 25px;
  border-radius: 16px;
  color: var(--text);
  background: white;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.contact-form h3 {
  margin-bottom: 15px;
  color: var(--green-dark);
}

.contact-form label {
  display: block;
  margin: 12px 0 5px;
  font-size: 12px;
  font-weight: 700;
}

.contact-form input, .contact-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce7d9;
  border-radius: 8px;
  outline-color: var(--green);
  background: #fbfdf9;
  font-size: 12px;
}

.form-submit {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 10px 0 0 !important;
  color: #78847b !important;
  font-size: 10px !important;
}

/* FOOTER */
.site-footer {
  color: white;
  background: #064c29;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-top: 38px;
  padding-bottom: 35px;
}

.footer-brand h2 {
  font-size: 22px;
}

.footer-brand p, .site-footer p, .site-footer a {
  color: #d9eadf;
  font-size: 12px;
}

.footer-logo {
  font-size: 38px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: #ffe28a;
  font-size: 14px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.site-footer a:hover {
  color: var(--yellow);
}

.copyright {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #d9eadf;
  font-size: 11px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .search-box {
    max-width: 300px;
  }

  .nav-link {
    padding: 12px 10px;
    font-size: 11px;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }

  .container {
    width: min(100% - 28px, 560px);
  }

  .header-main {
    min-height: 75px;
    gap: 10px;
  }

  .brand-mark {
    font-size: 32px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .search-box {
    display: none;
  }

  .hotline {
    margin-left: auto;
    padding: 6px 10px;
    gap: 6px;
  }

  .phone-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .hotline small {
    font-size: 8px;
  }

  .hotline strong {
    font-size: 12px;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-inner {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    text-align: left;
  }

  .nav-link.active {
    border-radius: 8px;
  }

  .hero {
    min-height: 290px;
    background-position: center;
  }

  .hero-copy {
    max-width: 390px;
  }

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

  .hero h2 {
    font-size: 20px;
  }

  .hero p {
    max-width: 300px;
    font-size: 12px;
  }

  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .intro-section, .admission-inner, .online-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro-image img, .admission-image img, .online-image img {
    height: 230px;
  }

  .course-grid, .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .course-card > img {
    height: 125px;
  }

  .course-body {
    padding: 12px;
  }

  .course-body h3 {
    min-height: 0;
    font-size: 13px;
  }

  .course-body p {
    min-height: 0;
    font-size: 11px;
  }

  .news-card img {
    height: 125px;
  }

  .news-body {
    padding: 12px;
  }

  .news-body h3 {
    font-size: 12px;
  }

  .news-body p {
    font-size: 11px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-section h2 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 420px) {
  .hotline {
    padding: 5px 7px;
  }

  .hotline strong {
    font-size: 10px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .course-grid, .news-grid {
    grid-template-columns: 1fr;
  }

  .course-card > img, .news-card img {
    height: 190px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    display: inline-block;
    margin-top: 10px;
  }

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