/* =========================================
   1. DESIGN TOKENS & RESET
========================================= */
:root {
  /* Color Palette: Brand */
  --vnm-color-primary: #DC143C;       /* Crimson Brand Color */
  --vnm-color-primary-hover: #b01030;
  --vnm-color-accent: #10b981;        /* Trust Emerald */
  
  /* Color Palette: Surface & Background */
  --vnm-color-bg-base: #ffffff;
  --vnm-color-bg-subtle: #f8fafc;
  --vnm-color-bg-dark: #0f172a;       /* Slate 900 */
  --vnm-color-bg-darker: #080f1e;     
  
  /* Color Palette: Typography */
  --vnm-color-text-heading: #0f172a;
  --vnm-color-text-body: #334155;     /* Darker slate for readability */
  --vnm-color-text-muted: #64748b;
  --vnm-color-text-inverse: #ffffff;
  
  /* Color Palette: Borders */
  --vnm-color-border-light: #e2e8f0;
  --vnm-color-border-dark: rgba(255, 255, 255, 0.08);

  /* Spacing Scale (4px baseline) */
  --vnm-space-1: 4px;
  --vnm-space-2: 8px;
  --vnm-space-3: 12px;
  --vnm-space-4: 16px;
  --vnm-space-6: 24px;
  --vnm-space-8: 32px;
  --vnm-space-12: 48px;
  --vnm-space-16: 64px;
  --vnm-space-24: 96px;

  /* Typography Scale */
  --vnm-text-xs: 0.75rem;
  --vnm-text-sm: 0.875rem;
  --vnm-text-base: 1rem;
  --vnm-text-lg: 1.125rem;
  --vnm-text-xl: 1.25rem;
  --vnm-text-2xl: 1.5rem;
  --vnm-text-4xl: 2.5rem;
  --vnm-text-5xl: 3.5rem;

  /* Shadows & Radii */
  --vnm-radius-sm: 6px;
  --vnm-radius-md: 12px;
  --vnm-radius-lg: 20px;
  
  --vnm-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --vnm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --vnm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--vnm-color-text-body);
  background-color: var(--vnm-color-bg-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.vnm-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER STYLES
========================================= */
.vnm-header {
  position: relative;
  z-index: 50;
  width: 100%;
}

.vnm-header__topbar {
  background-color: var(--vnm-color-bg-darker);
  color: var(--vnm-color-text-muted);
  font-size: 0.75rem;
  padding: 8px 0;
}

.vnm-header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vnm-header__trust,
.vnm-header__contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vnm-badge--success {
  color: var(--vnm-color-accent);
  font-weight: 700;
}

.vnm-header__divider {
  color: var(--vnm-color-border-dark);
}

.vnm-header__link {
  color: var(--vnm-color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.vnm-header__link:hover {
  color: var(--vnm-color-text-inverse);
}

/* =========================================
   Main Nav & Brand Logo Fixes
========================================= */
.vnm-header__nav {
  background-color: var(--vnm-color-bg-base);
  border-bottom: 1px solid var(--vnm-color-border-light);
  position: sticky;
  top: 0;
  box-shadow: var(--vnm-shadow-sm);
  z-index: 100;
}

.vnm-header__nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.vnm-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.vnm-brand__img {
  height: 70px; /* Increased from 48px for better visibility */
  width: auto;
  max-width: 250px; /* Increased from 60px to allow wider logos to fit */
  object-fit: contain;
}

/* 4-Item Menu */
.vnm-nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.vnm-nav-menu__link {
  text-decoration: none;
  color: var(--vnm-color-text-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.vnm-nav-menu__link:hover {
  color: var(--vnm-color-primary);
}

/* Buttons */
.vnm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.vnm-btn--primary {
  background-color: var(--vnm-color-primary);
  color: var(--vnm-color-text-inverse);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.25);
}

.vnm-btn--primary:hover {
  background-color: var(--vnm-color-primary-hover);
  transform: translateY(-1px);
}

.vnm-btn--block {
  width: 100%;
  border-radius: var(--vnm-radius-sm);
  padding: 12px;
}

/* =========================================
   HERO BANNER SLIDER (Viewport Optimized)
========================================= */
.vnm-banner-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Forces the slider to take exactly 100% of screen height */
  max-height: 1040px; /* Caps the maximum height on huge desktop monitors */
  min-height: 400px; /* Prevents it from getting too squished on mobile */
  overflow: hidden;
  background: var(--vnm-color-bg-subtle);
}

.vnm-slide {
  display: none;
  width: 100%;
  height: 100%; /* Slide inherits the container's height */
}

.vnm-slide.active {
  display: block;
  animation: fade 0.8s ease-in-out;
}

.vnm-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Fills the container edge-to-edge */
  object-position: center center; /* Anchors the image to the top so heads aren't cut off */
}

.vnm-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 4px;
  transition: background 0.3s;
  z-index: 10;
}

.vnm-slider-btn:hover {
  background: rgba(15, 23, 42, 0.9);
}

.vnm-slider-btn--prev { left: 20px; }
.vnm-slider-btn--next { right: 20px; }

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* TRUST STRIP */
.vnm-trust-strip {
  background: #060b17;
  border-bottom: 1px solid var(--vnm-color-border-dark);
  padding: 18px 0;
}

.vnm-trust-strip__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.vnm-trust-strip__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vnm-color-text-muted);
  letter-spacing: 0.05em;
}

.vnm-trust-strip__item {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.vnm-trust-strip__item strong {
  color: #fff;
  margin-right: 4px;
}

/* =========================================
   ASSESSMENT & ELIGIBILITY BLOCK
========================================= */
.vnm-assessment {
  background: radial-gradient(circle at 10% 20%, #15223e 0%, var(--vnm-color-bg-darker) 80%);
  padding: 80px 0;
  border-bottom: 1px solid var(--vnm-color-border-light);
  color: #fff;
}

.vnm-assessment__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.vnm-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.vnm-pulse-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

.vnm-assessment__copy h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.02em;
}

.vnm-assessment__copy p {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 35px;
  max-width: 500px;
}

.vnm-stats-strip {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--vnm-color-border-dark);
  padding: 16px 24px;
  border-radius: var(--vnm-radius-md);
  max-width: 400px;
}

.vnm-stat-cell { flex: 1; }

.vnm-stat-number {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.vnm-stat-caption {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.vnm-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--vnm-color-border-dark);
  margin: 0 16px;
}

/* Form Card */
.vnm-assessment-form-card {
  background: #0f192d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--vnm-radius-md);
  padding: 32px;
  box-shadow: var(--vnm-shadow-xl);
}

.vnm-form-tag {
  color: var(--vnm-color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vnm-form-header h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 700;
  margin: 4px 0 20px;
}

.vnm-lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vnm-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.vnm-input-group input,
.vnm-input-group select {
  width: 100%;
  background: #17243d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px 14px;
  border-radius: var(--vnm-radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.vnm-input-group input:focus,
.vnm-input-group select:focus {
  border-color: var(--vnm-color-primary);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .vnm-nav-menu { display: none; }
  .vnm-assessment__layout { grid-template-columns: 1fr; gap: 40px; }
}



/* =========================================
   GENERAL SECTION STYLES
========================================= */
.vnm-section {
  padding: var(--vnm-space-24) 0;
  background-color: var(--vnm-color-bg-subtle);
}

.vnm-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--vnm-space-16);
}

.vnm-section-tag {
  color: var(--vnm-color-primary);
  font-weight: 700;
  font-size: var(--vnm-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: var(--vnm-space-4);
  background-color: rgba(220, 20, 60, 0.08); 
  border: 1px solid rgba(220, 20, 60, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
}

.vnm-section-title {
  font-size: var(--vnm-text-4xl);
  font-weight: 800;
  color: var(--vnm-color-text-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: var(--vnm-space-3);
}

.vnm-section-subtitle {
  color: var(--vnm-color-text-muted);
  font-size: var(--vnm-text-lg);
}

/* =========================================
   BENTO GRID SYSTEM
========================================= */
.vnm-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vnm-space-6);
}

.vnm-bento-card {
  background-color: var(--vnm-color-bg-base);
  border: 1px solid var(--vnm-color-border-light);
  border-radius: var(--vnm-radius-md);
  padding: var(--vnm-space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--vnm-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vnm-bento-card:hover {
  transform: translateY(-4px); 
  box-shadow: var(--vnm-shadow-xl);
  border-color: rgba(220, 20, 60, 0.3); 
}

.vnm-bento-card--wide {
  grid-column: span 2;
}

/* Card Header, Icons & Badges */
.vnm-bento-card__header {
  display: flex;
  align-items: center;
  gap: var(--vnm-space-3);
  margin-bottom: var(--vnm-space-4);
}

.vnm-bento-card__icon {
  width: 32px;
  height: 32px;
  background-color: rgba(220, 20, 60, 0.08);
  color: var(--vnm-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.vnm-bento-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--vnm-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: rgba(220, 20, 60, 0.05); 
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-flex;
  width: fit-content;
}

/* Typography */
.vnm-bento-card__title {
  font-size: var(--vnm-text-2xl);
  font-weight: 700;
  color: var(--vnm-color-text-heading);
  line-height: 1.3;
  margin-bottom: var(--vnm-space-3);
}

.vnm-bento-card__text {
  color: var(--vnm-color-text-body);
  font-size: var(--vnm-text-base);
}

/* Specific styling for the inline fee comparison */
.vnm-fee-comparison {
  margin-top: auto;
  padding-top: var(--vnm-space-6);
  display: flex;
  align-items: center;
  gap: var(--vnm-space-3);
  font-size: var(--vnm-text-sm);
  color: var(--vnm-color-text-muted);
}

.vnm-fee-comparison__vs {
  color: var(--vnm-color-text-body); 
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  background-color: var(--vnm-color-border-light);
  padding: 4px 8px;
  border-radius: 12px;
}

.vnm-fee-comparison__new {
  color: var(--vnm-color-accent);
  font-weight: 700;
  font-size: var(--vnm-text-base);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .vnm-bento-grid {
    grid-template-columns: 1fr;
  }
  
  .vnm-bento-card--wide {
    grid-column: span 1;
  }
  
  .vnm-section-title {
    font-size: var(--vnm-text-2xl);
  }
}



/* =========================================
   EDITORIAL OVERVIEW SECTION
========================================= */
.vnm-section--white {
  background-color: var(--vnm-color-bg-subtle);
  border-top: 1px solid var(--vnm-color-border-light);
}

.vnm-editorial-wrapper {
  display: grid;
  grid-template-columns: 2fr 5fr;
  gap: var(--vnm-space-8);
  margin-bottom: var(--vnm-space-16);
  align-items: start;
}

/* Sidebar Title */
.vnm-editorial-sidebar {
  position: sticky;
  top: 120px; 
}

.vnm-editorial-title {
  font-size: var(--vnm-text-4xl);
  font-weight: 800;
  color: var(--vnm-color-text-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--vnm-space-4);
}

/* 1. Yank the red line up forcefully */
.vnm-editorial-line {
  width: 60px;
  height: 4px;
  background-color: var(--vnm-color-primary) !important;
  border-radius: 2px;
  margin-top: 0 !important; 
  transform: translateY(-4px); 
}

/* Exact Text Styling */
.vnm-editorial-content {
  width: 100%;
}

.vnm-editorial-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--vnm-color-text-heading);
  line-height: 1.8;
  margin-bottom: var(--vnm-space-6);
}

/* 2. Force the second paragraph to be dark and legible */
.vnm-editorial-body {
  font-size: var(--vnm-text-base);
  color: #334155 !important;
  line-height: 1.8;
}

/* =========================================
   VIETNAM AT A GLANCE (EDITORIAL SPINE)
========================================= */
.vnm-glance-spine {
  display: flex;
  background: var(--vnm-color-bg-dark);
  border-radius: var(--vnm-radius-lg);
  overflow: hidden;
  box-shadow: var(--vnm-shadow-xl);
  margin-bottom: var(--vnm-space-8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vnm-glance-spine__sidebar {
  background: rgba(255, 255, 255, 0.02);
  padding: var(--vnm-space-8) var(--vnm-space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* 1. Slightly shrink the title so the box isn't forced to be massively tall */
.vnm-glance-spine__title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 2.0rem; /* Shrunk down from 2.2rem */
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}

/* 2. Vertically center the text block to balance the space perfectly */
.vnm-glance-spine__content {
  padding: var(--vnm-space-12);
  display: flex;
  align-items: center; /* This pushes the paragraph to the vertical middle */
}

/* 4. Force the dark card text to be bright silver/white */
.vnm-glance-spine__text {
  font-size: 1.15rem;
  color: #f1f5f9 !important; 
  line-height: 1.9;
  margin: 0;
}

.vnm-glance-spine__text strong {
  color: #ffffff !important; 
  font-weight: 700;
}

/* Responsive Fixes */
@media (max-width: 960px) {
  .vnm-editorial-wrapper {
    grid-template-columns: 1fr;
    gap: var(--vnm-space-6);
  }
  
  .vnm-editorial-sidebar {
    position: relative;
    top: 0;
  }
  
  .vnm-glance-spine {
    flex-direction: column;
  }
  
  .vnm-glance-spine__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.5rem;
  }
}

/* Ensure the watermark stays contained within the card */
.vnm-glance-spine {
  position: relative; /* Add this if it's not already there */
  /* (Keep all your other existing .vnm-glance-spine rules here) */
}

/* Ensure the text stays above the watermark */
.vnm-glance-spine__content {
  position: relative;
  z-index: 10; 
  /* (Keep your padding and flex rules here) */
}

/* The massive VN Watermark */
.vnm-glance-watermark {
  position: absolute;
  bottom: -60px; /* Pulls it down so it bleeds off the edge */
  right: -20px;  /* Pulls it right so it bleeds off the edge */
  font-size: 280px; 
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03); /* Extremely faint so it doesn't distract */
  line-height: 1;
  user-select: none; /* Prevents users from highlighting it */
  pointer-events: none;
  z-index: 1; /* Pushes it behind the text */
}




/* =========================================
   7. UNIVERSITY DIRECTORY (REFINED LIGHT)
========================================= */
.uni-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.uni-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05); /* Extremely soft border */
  border-radius: 16px;
  display: grid;
  grid-template-columns: 300px 1fr 260px;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06); /* Soft, diffused premium shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(220, 20, 60, 0.08); /* Subtle crimson glow on hover */
}

/* Image & Tags */
.uni-thumb {
  position: relative;
  height: 100%;
  min-height: 240px;
}

.uni-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Info Section */
.uni-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uni-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #10b981; /* Premium Emerald */
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.uni-meta-text {
  font-size: 0.85rem;
  color: #64748b;
}

.uni-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.uni-info p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Perks (SVG Checkmarks) */
.uni-perks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.uni-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.uni-perks svg {
  color: #dc143c; /* Crimson accents */
}

/* Pricing Section */
.uni-pricing {
  background: #ffffff; /* Unified background, removed the grey */
  border-left: 1px dashed #e2e8f0; /* Softer separation */
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.price-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a; /* Removed clashing blue, made it premium slate */
  margin: 8px 0;
  line-height: 1;
}

.price-val span {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

.inr-conv {
  font-size: 0.9rem;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 24px;
}

.uni-btn {
  background: #dc143c; /* Brand Crimson */
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.25);
}

.uni-btn:hover {
  background: #b91132;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(220, 20, 60, 0.35);
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .uni-card {
    grid-template-columns: 1fr;
  }
  
  .uni-thumb {
    height: 240px;
  }
  
  .uni-pricing {
    border-left: none;
    border-top: 1px dashed #e2e8f0;
  }
}



/* =========================================
   BENEFITS GRID (4x2 Symmetry)
========================================= */
.vnm-benefits-grid {
  display: grid;
  /* 4 equal columns on desktop */
  grid-template-columns: repeat(4, 1fr);
  gap: var(--vnm-space-6);
  align-items: stretch;
}

.vnm-benefit-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px; 
  padding: 32px 24px; /* Slightly tighter padding for narrow columns */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vnm-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.vnm-benefit-icon {
  width: 48px; /* Slightly scaled down to fit 4 columns neatly */
  height: 48px;
  background-color: rgba(220, 20, 60, 0.08); 
  color: var(--vnm-color-primary);
  border-radius: 12px; 
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--vnm-space-6);
}

.vnm-benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2px; 
}

.vnm-benefit-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a; 
  margin-bottom: var(--vnm-space-3);
  letter-spacing: -0.01em;
}

.vnm-benefit-text {
  font-size: 0.95rem;
  color: #475569; 
  line-height: 1.6;
}

/* =========================================
   RESPONSIVE LOGIC
========================================= */
/* Tablet: 4x2 becomes 2x4 to maintain symmetry */
@media (max-width: 1024px) {
  .vnm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1x8 Stack */
@media (max-width: 640px) {
  .vnm-benefits-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   FLEXBOX INVOICE CARD (Wider, Tighter Rows)
========================================= */
.vnm-section--subtle {
  background-color: var(--vnm-color-bg-subtle); 
  padding: var(--vnm-space-24) 0;
}

.vnm-invoice-card {
  max-width: 1000px; /* Increased from 800px */
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.vnm-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  padding: 16px 32px; /* Tighter vertical padding */
  border-bottom: 1px solid var(--vnm-color-border-light);
  font-size: 0.85rem;
  color: var(--vnm-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

/* Rows */
.vnm-invoice-body {
  display: flex;
  flex-direction: column;
}

.vnm-invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px; /* Drastically reduced row height */
  background-color: #ffffff !important; 
  border-bottom: 1px solid var(--vnm-color-border-light);
  transition: background-color 0.2s ease;
}

.vnm-invoice-row:last-child {
  border-bottom: none;
}

.vnm-invoice-row:hover {
  background-color: #fafafa !important; 
}

/* Label & Icon Grouping */
.vnm-invoice-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vnm-invoice-icon {
  width: 36px; /* Scaled down slightly for tighter rows */
  height: 36px;
  min-width: 36px;
  background-color: rgba(220, 20, 60, 0.06);
  color: var(--vnm-color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vnm-label-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--vnm-color-text-heading);
}

.vnm-invoice-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vnm-color-text-heading);
  font-variant-numeric: tabular-nums;
}

/* Total Footer */
.vnm-invoice-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--vnm-color-primary) 0%, #a10f2d 100%);
  padding: 16px 32px; /* Tighter vertical padding */
  color: #ffffff;
}

.vnm-invoice-total-label {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vnm-invoice-total-value {
  font-size: 1.4rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .vnm-invoice-header, .vnm-invoice-row, .vnm-invoice-footer {
    padding: 12px 20px;
  }
  .vnm-invoice-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .vnm-label-text { font-size: 0.95rem; }
  .vnm-invoice-value { font-size: 1rem; }
  .vnm-invoice-total-label { font-size: 1.05rem; }
  .vnm-invoice-total-value { font-size: 1.2rem; }
}






/* =========================================
   SECTION 8: ELIGIBILITY & ADMISSION LAYOUT
========================================= */
.vnm-admissions-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--vnm-space-16);
  align-items: start;
}

.vnm-col-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--vnm-color-text-heading);
  margin-bottom: var(--vnm-space-4);
  letter-spacing: -0.02em;
}

.vnm-col-intro {
  font-size: 1.05rem;
  color: var(--vnm-color-text-body);
  line-height: 1.6;
  margin-bottom: var(--vnm-space-8);
}

.vnm-mt-12 {
  margin-top: var(--vnm-space-12);
}

/* --- Left Column: Criteria --- */
.vnm-criteria-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--vnm-space-6);
}

.vnm-criteria-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.vnm-check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background-color: var(--vnm-color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.vnm-criteria-list p {
  font-size: 1rem;
  color: var(--vnm-color-text-body);
  line-height: 1.6;
  margin: 0;
}

.vnm-criteria-list strong {
  color: var(--vnm-color-text-heading);
  font-weight: 700;
}

/* --- Left Column: Documents Grid --- */
.vnm-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--vnm-space-4);
}

.vnm-doc-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid rgba(220, 20, 60, 0.2); 
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vnm-doc-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 20, 60, 0.5);
}

.vnm-doc-chip svg {
  color: var(--vnm-color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.vnm-doc-chip span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vnm-color-text-heading);
  line-height: 1.4;
}

/* --- Right Column: Vertical Timeline Card --- */
.vnm-process-card {
  background-color: var(--vnm-color-bg-subtle);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0,0,0,0.04);
}

.vnm-timeline {
  margin-top: var(--vnm-space-8);
  position: relative;
  counter-reset: process-step;
  
  /* Scrollbar constraints */
  max-height: 620px;
  overflow-y: auto;
  padding-right: 16px;
}

/* Premium Custom Scrollbar */
.vnm-timeline::-webkit-scrollbar {
  width: 6px;
}

.vnm-timeline::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
}

.vnm-timeline::-webkit-scrollbar-thumb {
  background: rgba(220, 20, 60, 0.2);
  border-radius: 8px;
}

.vnm-timeline::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 20, 60, 0.5);
}

.vnm-timeline-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 32px;
}

/* Connecting line attached to the item so it scrolls */
.vnm-timeline-item::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 13px;
  width: 2px;
  background-color: rgba(220, 20, 60, 0.15); 
  z-index: 1;
}

/* Hide the line on the very last step */
.vnm-timeline-item:last-child::before {
  display: none;
}

.vnm-timeline-item:last-child {
  padding-bottom: 0;
}

/* Numbered Timeline Dots */
.vnm-timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background-color: rgba(220, 20, 60, 0.1);
  color: var(--vnm-color-primary);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  counter-increment: process-step;
  box-shadow: 0 0 0 6px #ffffff;
}

.vnm-timeline-dot::after {
  content: counter(process-step);
}

.vnm-timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--vnm-color-text-heading);
  margin-bottom: 6px;
  line-height: 1.3;
}

.vnm-timeline-content p {
  font-size: 0.95rem;
  color: var(--vnm-color-text-body);
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .vnm-admissions-layout {
    grid-template-columns: 1fr;
    gap: var(--vnm-space-16);
  }
  
  .vnm-process-card {
    padding: 24px;
  }
}



/* =========================================
   FAQ ACCORDION LAYOUT
========================================= */
.vnm-container--narrow {
  max-width: 1200px;
  margin: 0 auto;
}

.vnm-faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--vnm-space-4);
}

/* Premium Floating Cards */
.vnm-faq-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.vnm-faq-item:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(220, 20, 60, 0.2);
}

/* Hides the default ugly browser triangle */
.vnm-faq-item summary::-webkit-details-marker {
  display: none;
}

.vnm-faq-question {
  list-style: none; /* Fallback to hide default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vnm-color-text-heading);
  letter-spacing: -0.01em;
  user-select: none;
  transition: color 0.2s ease;
}

.vnm-faq-item[open] .vnm-faq-question {
  color: var(--vnm-color-primary); /* Turns crimson when open */
  padding-bottom: 8px; /* Tightens space above the answer */
}

/* Custom CSS-Only Animated Plus/Minus Icon */
.vnm-faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
  border-radius: 50%;
  background-color: rgba(220, 20, 60, 0.08);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.vnm-faq-icon::before,
.vnm-faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--vnm-color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.vnm-faq-icon::before {
  width: 12px;
  height: 2px;
}

.vnm-faq-icon::after {
  width: 2px;
  height: 12px;
}

/* Turns the + into an x when open */
.vnm-faq-item[open] .vnm-faq-icon {
  transform: rotate(45deg);
  background-color: rgba(220, 20, 60, 0.15);
}

/* The Answer Panel */
.vnm-faq-answer {
  padding: 0 32px 24px 32px;
}

.vnm-faq-answer p {
  font-size: 1.05rem;
  color: var(--vnm-color-text-body);
  line-height: 1.7;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .vnm-faq-question {
    padding: 20px;
    font-size: 1.05rem;
  }
  .vnm-faq-answer {
    padding: 0 20px 20px 20px;
  }
  .vnm-faq-answer p {
    font-size: 0.95rem;
  }
}



/* =========================================
   FOOTER (Light Background Adaptation)
========================================= */
.site-footer {
  background: var(--vnm-color-bg-subtle);
  color: var(--vnm-color-text-body);
  padding-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--vnm-color-text-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--vnm-color-text-body);
}

.footer-col strong {
  color: var(--vnm-color-text-heading);
}

.footer-mt {
  margin-top: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--vnm-color-text-body);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--vnm-color-primary);
  transform: translateX(4px);
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff; /* Crisp white input on a light background */
  color: var(--vnm-color-text-heading);
  border-radius: 8px 0 0 8px;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  border-color: var(--vnm-color-primary);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.newsletter-form button {
  background: var(--vnm-color-primary);
  color: #fff;
  border: none;
  padding: 0 24px;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
  background-color: #b91c3c;
}

.footer-bottom {
  background: #ffffff; /* Clean white contrast bar at the very bottom */
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--vnm-color-text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* RESPONSIVE UPDATES */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* --- NEW ADDITIONS FOR FOOTER --- */

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  color: var(--vnm-color-text-heading);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: var(--vnm-color-primary);
  transform: translateY(-2px);
}

/* Admission Process Checkmarks */
.footer-links--icon li {
  margin-bottom: 14px;
}

.footer-links--icon a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links--icon a svg {
  color: var(--vnm-color-primary); /* Crimson checkmarks */
  flex-shrink: 0;
}

/* Stacked Newsletter Form */
.newsletter-form--stacked {
  flex-direction: column;
  gap: 12px;
}

.newsletter-form--stacked input {
  border-radius: 6px; /* Rounded on all sides now */
  width: 100%;
}

.newsletter-form--stacked button {
  border-radius: 6px; /* Rounded on all sides now */
  padding: 12px 24px;
  width: fit-content; /* Only as wide as the text, like the image */
}

/* Base button styles */
.vnm-float-btn {
  position: fixed;
  bottom: 30px;
  width: 55px;
  height: 55px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.vnm-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.vnm-float-icon {
  width: 30px;
  height: 30px;
}

/* Specific position and color for Phone */
.vnm-float-btn--phone {
  left: 30px;
  background-color: #2e8b57; /* Darker green matching your screenshot */
}

/* Specific position and color for WhatsApp */
.vnm-float-btn--whatsapp {
  right: 30px;
  background-color: #4dc247; /* WhatsApp brand green */
}

/* Message us Tooltip styling */
.vnm-float-tooltip {
  position: absolute;
  right: 70px; /* Pushes text box to the left of the button */
  background-color: #fff;
  color: #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
  pointer-events: none;
}

/* Tooltip tail (the little triangle pointing to the button) */
.vnm-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px; /* Positions triangle on the right edge of the white box */
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}


/* --- Hamburger Icon (Hidden on Desktop) --- */
.vnm-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a; 
  cursor: pointer;
  padding: 5px;
  margin-left: auto; /* Pushes the icon to the right */
}

/* --- Mobile Responsive Changes --- */
@media (max-width: 991px) {
  
  /* 1. Show the hamburger icon */
  .vnm-mobile-toggle {
    display: block;
  }

  /* 2. Hide NMC text, divider line, and Apply Now button */
  .vnm-badge--success, 
  .vnm-header__divider,
  .vnm-header__action,
  .vnm-header__topbar  {
    display: none !important;
  }

  /* 3. Mobile Navigation Menu Layout */
  .vnm-nav-menu {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; /* Pushes menu directly below the header */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 999;
  }

  /* 4. Active state: shown when hamburger is clicked */
  .vnm-nav-menu.active {
    display: flex; 
  }

  /* 5. Centers the links for better mobile tap targets */
  .vnm-nav-menu__item {
    text-align: center;
    padding: 12px 0;
    width: 100%;
  }
}