@font-face {
    font-family: "PP Pangaia";
    src: url(../fonts/PPPangaia-Medium-BF654c530cc86d5.otf) format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
  --color-primary: #18214C;     /* Navy chính thức */
  --color-secondary: #6CACE4;   /* Xanh nhạt điểm nhấn */
  --color-cta: #F9AE00;         /* Vàng Gold nổi bật */
  --color-bg: #FAFAF9;          /* Kem nhạt/Đá ấm quý phái */
  --color-text: #0C0A09;        /* Đen than dễ đọc */
  --color-text-muted: #57534E;
  --font-heading: 'EB Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(24, 33, 76, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(24, 33, 76, 0.08), 0 2px 4px -1px rgba(24, 33, 76, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(24, 33, 76, 0.12), 0 8px 10px -6px rgba(24, 33, 76, 0.08);
  --shadow-xl: 0 20px 35px -5px rgba(24, 33, 76, 0.2);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Header */
.header {
  background-color: var(--color-primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-logo {
  position: absolute;
  top: 40px;
  left: 80px;
  z-index: 20;
}
.hero-logo .logo-img {
  height: 85px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--color-secondary);
}
.btn-contact-header {
  background-color: var(--color-cta);
  color: var(--color-primary);
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-contact-header:hover {
  background-color: #e09d00;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: white;
  overflow: hidden;
  padding: 50px 40px;
}
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(24, 33, 76, 0.35), rgba(24, 33, 76, 0.65));
}
.hero-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  z-index: 10;
  text-align: right;
  padding: 0;
}
.hero-content h1 {
  font-family: 'PP Pangaia', 'Playfair Display';
  font-size: clamp(48px, 9.5vw, 130px);
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: none;
}
.line-wrap__line {
  display: block;
}
.hero-subtitle {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.hero-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.btn-hero {
  display: inline-block;
  background-color: var(--color-cta);
  color: var(--color-primary);
  padding: 12px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(249, 174, 0, 0.3);
}
.btn-hero:hover {
  background-color: #e09d00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 174, 0, 0.4);
}

/* Main Layout */
.main-layout {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.content-column {
  flex: 7;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.form-column {
  flex: 5;
  position: sticky;
  top: 90px;
}

/* Info Cards (Left Column) */
.info-card {
  background: white;
  padding: 35px;
  border-radius: 8px;
  border: 1px solid #E4E4E7;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.info-card:hover {
  box-shadow: var(--shadow-md);
}
.info-card h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 30px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-cta);
  padding-bottom: 8px;
  display: inline-block;
}
.info-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
  text-align: justify;
}
.info-card p:last-child {
  margin-bottom: 0;
}

/* Pathway Grid */
.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.pathway-item {
  padding: 24px;
  border-radius: 6px;
  background-color: #F8FAFC;
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 2px 4px rgba(24, 33, 76, 0.02);
}
.pathway-item.bilingual {
  border-top-color: var(--color-secondary);
}
.pathway-item h3 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}
.pathway-item p {
  font-size: 13.5px;
  margin-bottom: 0;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* Pillars List */
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.pillar-row {
  border-left: 3px solid var(--color-cta);
  padding-left: 18px;
}
.pillar-row h4 {
  color: var(--color-primary);
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}
.pillar-row p {
  font-size: 13.5px;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* Sticky Form Column (Right Column) */
.sticky-form-wrapper {
  background-color: var(--color-primary);
  color: white;
  padding: 35px;
  border-radius: 8px;
  border-top: 5px solid var(--color-cta);
  box-shadow: var(--shadow-lg);
}
.form-header {
  text-align: center;
  margin-bottom: 25px;
}
.form-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-cta);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-header p {
  font-size: 13px;
  opacity: 0.8;
}
.form-group {
  margin-bottom: 18px;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.07);
  color: white;
  font-size: 14px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(108, 172, 228, 0.2);
}
.form-group select option {
  background-color: var(--color-primary);
  color: white;
}

/* Invalid State */
.form-group.invalid input, .form-group.invalid select {
  border-color: #EF4444;
  background-color: rgba(239, 68, 68, 0.08);
}
.form-group.invalid input:focus, .form-group.invalid select:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.error-msg {
  display: none;
  color: #EF4444;
  font-size: 11px;
  margin-top: 5px;
  font-weight: 500;
}
.form-group.invalid .error-msg {
  display: block;
}

/* Button & Loading */
.btn-submit {
  width: 100%;
  background-color: var(--color-cta);
  color: var(--color-primary);
  border: none;
  padding: 13px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 10px;
}
.btn-submit:hover {
  background-color: #e09d00;
}
.btn-submit:active {
  transform: scale(0.99);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}
.btn-submit.loading .spinner {
  display: inline-block;
}
.btn-submit.loading .btn-text {
  opacity: 0.9;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Alerts box */
.alert-box {
  display: none;
  padding: 14px;
  border-radius: 4px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
}
.alert-box.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.12);
  border-left: 4px solid #10B981;
  color: #34D399;
}
.alert-box.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.12);
  border-left: 4px solid #EF4444;
  color: #F87171;
}

/* Mobile/Desktop Sticky Bottom CTA */
.mobile-cta-bar {
  display: block;
  position: fixed;
  z-index: 90;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  opacity: 1;
  visibility: visible;
}

/* Ẩn hiện thông minh khi cuộn tới Form */
.mobile-cta-bar.cta-hidden {
  opacity: 0;
  visibility: hidden;
}

.btn-mobile-trigger {
  background-color: var(--color-cta);
  color: var(--color-primary);
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

/* Modal Drawer (Mobile Form) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 10, 9, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: flex-end;
}
.modal-overlay.active {
  display: flex;
}
.modal-container {
  background-color: var(--color-primary);
  width: 100%;
  max-height: 92vh;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 35px 20px 40px 20px;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}
.modal-overlay.active .modal-container {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.modal-close:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 35px 20px;
  font-size: 13.5px;
  margin-top: 50px;
}

/* Welcome Section (Full-Width Split) */
.welcome-section {
  display: flex;
  width: 100%;
  min-height: 80vh;
  background-color: var(--color-bg);
}
.welcome-image-side {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 500px;
}
.welcome-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.welcome-text-side {
  flex: 1;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #FAFAF9;
  color: var(--color-text);
}
.welcome-author-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}
.welcome-text-side h2 {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 30px;
  font-weight: 500;
}
.welcome-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.welcome-paragraphs p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: justify;
}

/* Pillars Section (Full-Width Split with Collage) */
.pillars-section {
  display: flex;
  width: 100%;
  min-height: 85vh;
  background-color: #ffffff;
  gap: 40px; /* Nhích gần sát bên trái hơn */
  padding: 80px;
  align-items: stretch;
}
.pillars-left-side {
  flex: 1.9; /* Tăng chiều rộng bên trái để hình to hơn */
  display: flex;
}
.pillars-images-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  height: 100%;
}
.pill-img-row-top {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  min-height: 0;
  height: 100%; /* Fix Safari height calculation bug on flex children */
}
.pill-img-row-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: block;
}
.pill-img-row-bottom {
  flex: 1.2;
  display: flex;
  min-height: 0;
  height: 100%; /* Fix Safari height calculation bug on flex children */
}
.pill-img-row-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  display: block;
}
.pillars-right-side {
  flex: 0.6; /* Giảm một nửa chiều rộng so với trước, cột chữ hẹp và dạt về trái */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  border-left: 2px solid var(--color-secondary); /* Đường viền xanh dọc bên trái như hình */
  padding-left: 40px; /* Khoảng cách từ chữ tới đường viền */
}
.pillars-title {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 20px;
}
.pillar-item {
  border-bottom: 1px solid #E4E4E7;
  padding-bottom: 20px;
}
.pillar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pillar-item h3 {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.2;
}
.pillar-item p {
  font-size: 20.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: justify;
}

/* Pathways Section (Original style matching) */
#pathways.site-block {
  padding: 80px;
  background-color: #FAFAF9; /* stone-100 / warm sand background to keep the premium feel */
}
#pathways .max-w-\[960px\] {
  max-width: 960px;
  margin-bottom: 48px;
}
#pathways h2.type-6xl {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.15;
}
#pathways .cms-copy p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}
#pathways .grid-cols-1.lg\:grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  #pathways .grid-cols-1.lg\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}
#pathways .bg-white.rounded-media {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#pathways .bg-white.rounded-media:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  #pathways .bg-white.rounded-media {
    grid-template-columns: 1fr 1fr; /* 50/50 split desktop */
  }
}
#pathways .border-blue-200 {
  border-bottom: 6px solid var(--color-secondary);
}
#pathways .border-blue-950 {
  border-bottom: 6px solid var(--color-primary);
}
#pathways .h-\[250px\].md\:h-auto {
  height: 250px;
}
@media (min-width: 768px) {
  #pathways .h-\[250px\].md\:h-auto {
    height: 100%;
  }
}
#pathways .h-\[250px\].md\:h-auto picture {
  display: block;
  width: 100%;
  height: 100%;
}
#pathways .h-\[250px\].md\:h-auto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#pathways .p-8.md\:p-10 {
  padding: 30px;
}
@media (min-width: 768px) {
  #pathways .p-8.md\:p-10 {
    padding: 40px;
  }
}
#pathways .tracking-widest {
  letter-spacing: 0.15em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(24, 33, 76, 0.6);
  margin-bottom: 12px;
  font-weight: 600;
}
#pathways h3.type-3xl {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.3;
}
#pathways .space-y-4 p {
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
#pathways .space-y-4 ul {
  padding-left: 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style-type: disc;
}
#pathways .space-y-4 li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  #pathways.site-block {
    padding: 40px 20px;
  }
}


/* Boarding Section (Original layout layering matching) */
#boarding {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
  width: 100%;
  overflow: hidden;
}
#boarding .col-start-1.row-start-1 {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
}
#boarding picture {
  display: block;
  width: 100%;
  height: 100%;
}
#boarding img {
  width: 100%;
  height: 100%;
  max-height: 900px;
  min-height: 650px;
  object-fit: cover;
  display: block;
}
#boarding .site-block.col-start-1.row-start-1 {
  grid-column: 1;
  grid-row: 1;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 80px;
  background: linear-gradient(to right, rgba(24, 33, 76, 0.4) 0%, rgba(24, 33, 76, 0.1) 100%); /* Elegant dark overlay to aid readability */
}
#boarding .boarding-card {
  max-width: 524px;
  background-color: #ffffff;
  color: var(--color-primary);
  border-radius: 8px;
  border-bottom: 8px solid var(--color-secondary);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 30;
}
#boarding .boarding-card-body {
  padding: 40px;
}
@media (min-width: 768px) {
  #boarding .boarding-card-body {
    padding: 56px;
  }
}
#boarding h2.type-6xl {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--color-primary);
  margin-bottom: 24px;
  font-weight: 500;
  line-height: 1.15;
}
#boarding .boarding-card-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#boarding .boarding-card-text ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style-type: disc;
}
#boarding .boarding-card-text li {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  #boarding .site-block.col-start-1.row-start-1 {
    padding: 40px 20px;
    align-items: flex-end; /* Align the card at the bottom of the section on smaller screens */
    background: linear-gradient(to top, rgba(24, 33, 76, 0.6) 0%, rgba(24, 33, 76, 0.2) 100%);
  }
  #boarding img {
    min-height: 700px;
  }
  #boarding .boarding-card {
    max-width: 100%;
  }
}


/* Campus Section Styling */
#campus.site-block {
  padding: 80px;
  background-color: #ffffff;
}
#campus h2 {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.15;
}

/* Apply Form Section (Original website style matching) */
#apply.site-block {
  padding: 80px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  #apply.site-block {
    flex-direction: row;
    align-items: flex-start;
  }
}
#apply .max-w-\[792px\] {
  max-width: 792px;
  width: 100%;
}
#apply h2.type-6xl {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--color-primary);
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.15;
}
#apply .openday-experience {
  margin-top: 20px;
  margin-bottom: 30px;
}
#apply .openday-experience h3 {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 500;
}
#apply .openday-experience p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
#apply .openday-experience ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#apply .openday-experience li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-muted);
}
#apply .openday-experience li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}
#apply .form-group {
  margin-bottom: 24px;
}
#apply .form-group label {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}
#apply .form-group label span {
  color: #EF4444;
}
#apply .form-field {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  background-color: #f6f6f6;
  color: var(--color-text);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
#apply .form-field::placeholder {
  color: #a3a3a3;
}
#apply .form-field:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(108, 172, 228, 0.2);
}
#apply .form-group.invalid .form-field {
  border-color: #EF4444;
  background-color: rgba(239, 68, 68, 0.03);
}
#apply .form-group.invalid .error-msg {
  color: #EF4444;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}
#apply .form-checkbox {
  margin-bottom: 24px;
}
#apply .form-checkbox label {
  font-size: 14.5px;
  color: var(--color-text);
}
#apply .form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
}
#apply .btn-submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
#apply .btn-submit:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary);
}
#apply .btn-brochure:hover {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: var(--color-primary) !important;
}
#apply .alert-box {
  margin-top: 20px;
}
#apply .grid.lg\:grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 24px;
}
@media (min-width: 1024px) {
  #apply .grid.lg\:grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}
#apply .col-span-full {
  grid-column: 1 / -1;
}
#apply .aspect-square img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .mobile-cta-bar {
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -4px 20px rgba(24, 33, 76, 0.12);
    padding: 12px 20px;
  }
  .mobile-cta-bar.cta-hidden {
    transform: translateY(100%);
  }
  .btn-mobile-trigger {
    width: 100%;
    padding: 13px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(249, 174, 0, 0.2);
  }
  body {
    padding-bottom: 75px; /* Để tránh che mất nội dung ở đáy */
  }
  .hero {
    height: 75vh;
    padding: 30px 20px;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .hero-logo {
    top: 20px;
    left: 20px;
  }
  .hero-logo .logo-img {
    height: 45px;
  }
  .hero-content h1 {
    font-size: clamp(34px, 8.5vw, 56px);
    line-height: 0.82;
    margin-bottom: 18px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .hero-desc {
    font-size: 14.5px;
  }
  .welcome-section {
    flex-direction: column;
  }
  .welcome-image-side {
    width: 100%;
    height: 45vh;
    min-height: auto;
  }
  .welcome-text-side {
    width: 100%;
    padding: 40px 20px;
  }
  .pillars-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    min-height: auto;
  }
  .pillars-left-side {
    width: 100%;
    order: 2;
  }
  .pillars-images-grid {
    height: auto;
    aspect-ratio: 1 / 1.17; /* Keep aspect ratio to prevent image cropping and text cut-off on mobile */
  }
  .pillars-right-side {
    width: 100%;
    order: 1;
    border-left: none;
    padding-left: 0;
  }
  .pillar-item h3 {
    font-size: 22px;
  }
  #campus.site-block {
    padding: 40px 20px;
  }
  #apply.site-block {
    padding: 40px 20px;
  }
  #apply .hidden.md\:block {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
  .btn-contact-header {
    display: none;
  }
}

/* FAQ Section */
.faq-section {
  padding: 80px;
  background-color: #ffffff;
}
.faq-container {
  max-width: 960px;
  margin: 0 auto;
}
.faq-section h2 {
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 500;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  border-bottom: 1px solid #E4E4E7;
  padding-bottom: 15px;
  transition: all 0.3s ease;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 15px 0;
  text-align: left;
  font-family: 'PP Pangaia', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}
.faq-question:hover {
  color: var(--color-secondary);
}
.faq-icon {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  user-select: none;
  margin-left: 20px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-answer-inner {
  padding: 10px 40px 20px 0;
}
.faq-answer-inner p {
  font-size: 16.5px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 15px 0;
}
.faq-answer-inner p:last-child {
  margin-bottom: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .faq-section {
    padding: 60px 20px;
  }
  .faq-question {
    font-size: 19px;
  }
}

@media (min-width: 1025px) {
  .mobile-cta-bar {
    bottom: 30px;
    right: 30px;
    left: auto;
    width: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }
  .mobile-cta-bar.cta-hidden {
    transform: translateY(20px);
  }
  .btn-mobile-trigger {
    width: auto;
    padding: 14px 32px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(249, 174, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .btn-mobile-trigger:hover {
    transform: translateY(-3px);
    background-color: #e09c00;
    box-shadow: 0 8px 25px rgba(249, 174, 0, 0.5);
  }
  .btn-mobile-trigger:active {
    transform: translateY(-1px);
  }
}

/* ==========================================================================
   Compliance & Footer Upgrades
   ========================================================================== */

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-info {
  margin-bottom: 24px;
  line-height: 1.8;
  opacity: 0.9;
  font-size: 13px;
}

.footer-info p {
  margin-bottom: 8px;
}

.footer-info .disclaimer {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  font-weight: 500;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-links .divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.3);
}

.underline-link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.underline-link:hover {
  color: var(--color-secondary);
}

/* Compliance Subpages Styles */
.compliance-page {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

.compliance-header {
  background-color: var(--color-primary);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compliance-header .compliance-logo img {
  height: 50px;
  width: auto;
}

.compliance-back-btn {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
}

.compliance-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.compliance-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.compliance-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.compliance-content h1 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 36px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 10px;
}

.compliance-content h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 24px;
  margin: 30px 0 15px 0;
}

.compliance-content p, 
.compliance-content li {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.compliance-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .compliance-header {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }
  .compliance-container {
    margin: 30px auto;
  }
  .compliance-content {
    padding: 20px;
  }
  .compliance-content h1 {
    font-size: 28px;
  }
  .compliance-content h2 {
    font-size: 20px;
  }
}
