/* ═══════════════════════════════════════════
   MNPS WEBSITE — SHARED STYLES
   Colors: Navy #1a2a5e | Red #CB4154 | White
═══════════════════════════════════════════ */

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

:root {
  --navy: #1a2a5e;
  --navy-dk: #0f1a3d;
  --navy-lt: #253875;
  --red: #cb4154;
  --red-dk: #b33347;
  --red-lt: #e8596b;
  --sky: #6b8fd4;
  --sky-lt: #a8c0e8;
  --cream: #f5f0e8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(26, 42, 94, 0.12);
  --shadow-lg: 0 12px 40px rgba(26, 42, 94, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-dk);
  border-color: var(--red-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(203, 65, 84, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-lt);
  border-color: var(--navy-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 42, 94, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--navy-dk);
  color: var(--white);
  font-size: 0.78rem;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-contact a,
.topbar-contact span {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-contact a:hover {
  color: var(--white);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.75);
  padding: 3px 8px;
  border-radius: 4px;
  transition: color var(--transition);
  font-weight: 500;
  white-space: nowrap;
}

.topbar-links a:hover {
  color: var(--white);
}

.topbar-links .sep {
  color: rgba(255, 255, 255, 0.25);
}

.topbar-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700 !important;
}

.topbar-cta:hover {
  background: var(--red-dk) !important;
}

/* ── NAVIGATION ── */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(26, 42, 94, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
}

.brand-tagline {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(203, 65, 84, 0.1);
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(203, 65, 84, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.nav-links a.active {
  color: var(--navy);
  font-weight: 700;
}

.nav-links .dropdown {
  position: relative;
  display: inline-block;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  background: transparent;
}

.nav-links .dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 50px;
}

.nav-links .nav-cta:hover {
  background: var(--red-dk);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition);
}

.mobile-menu a:hover {
  background: var(--gray-100);
}

.mobile-menu a.active {
  background: rgba(26, 42, 94, 0.06);
  color: var(--navy);
  font-weight: 700;
}

.mobile-menu .mobile-cta {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
  border-radius: 50px;
}

.mobile-menu .mobile-cta:hover {
  background: var(--red-dk);
}

/* ── MARQUEE ── */
.marquee-bar {
  background: var(--red);
  padding: 10px 0;
  overflow: hidden;
}

.marquee-label {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-wrap-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.marquee-overflow {
  overflow: hidden;
  flex: 1;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-anim 38s linear infinite;
  white-space: nowrap;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 8px;
}

@keyframes marquee-anim {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg,
      var(--navy-dk) 0%,
      var(--navy) 55%,
      var(--navy-lt) 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%,
      rgba(203, 65, 84, 0.15) 0%,
      transparent 55%),
    radial-gradient(ellipse at 80% 15%,
      rgba(107, 143, 212, 0.12) 0%,
      transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(203, 65, 84, 0.2);
  border: 1px solid rgba(203, 65, 84, 0.4);
  color: #f9a0ac;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--red);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(107, 143, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.stat-card .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-card .lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}

/* ── SECTION HEADERS ── */
.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-header p {
  color: var(--gray-500);
  margin-top: 20px;
  font-size: 0.95rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-left h2 {
  display: inline-block;
}

.section-header-left h2::after {
  left: 0;
  transform: none;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.card-body {
  padding: 28px;
  text-align: center;
}

.card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ── GRID LAYOUTS ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

/* ── BLOG CARDS ── */
.blog-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.blog-card-body {
  padding: 20px 22px 24px;
}

.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}

.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 0 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── ADMISSION FORM ── */
.form-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      rgba(203, 65, 84, 0.04) 0,
      rgba(203, 65, 84, 0.04) 1px,
      transparent 0,
      transparent 50%);
  background-size: 22px 22px;
  pointer-events: none;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.form-group input,
.form-group select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--gray-700);
  background: var(--white);
  box-sizing: border-box;
  height: 48px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  width: 100%;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select .select-selected {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--gray-400);
  background: var(--white);
  box-sizing: border-box;
  height: 48px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.custom-select .select-selected.has-value {
  color: var(--gray-700);
}

.custom-select .select-selected:after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%209L12%2015L18%209%22%20stroke%3D%22%23475569%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition);
}

.custom-select.active .select-selected {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.15);
}

.custom-select.active .select-selected:after {
  transform: rotate(180deg);
}

.custom-select .select-items {
  position: absolute;
  background-color: var(--white);
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 99;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 250px;
  overflow-y: auto;
}

.custom-select .select-hide {
  display: none;
}

.custom-select .select-items div {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: background var(--transition);
}

.custom-select .select-items div:hover {
  background-color: var(--gray-50);
  color: var(--navy);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.15);
}

.form-msg {
  display: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
}

.form-msg.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      rgba(203, 65, 84, 0.04) 0,
      rgba(203, 65, 84, 0.04) 1px,
      transparent 0,
      transparent 50%);
  background-size: 22px 22px;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--red);
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dk);
  color: var(--white);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-contact {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2;
}

.footer-contact a:hover {
  color: var(--red);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(203, 65, 84, 0.3);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.timeline-year {
  font-weight: 800;
  font-size: 1rem;
  color: var(--red);
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* ── VISION/MISSION ── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card-navy {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.vm-card-white {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
}

.vm-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.vm-icon-navy {
  background: rgba(203, 65, 84, 0.2);
}

.vm-icon-red {
  background: var(--navy);
}

.vm-icon svg {
  width: 28px;
  height: 28px;
}

.vm-card-navy .vm-icon svg {
  color: var(--red);
}

.vm-card-white .vm-icon svg {
  color: var(--red);
}

.vm-card-navy h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}

.vm-card-white h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.vm-card-navy p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.vm-card-white p {
  color: var(--gray-500);
  line-height: 1.75;
}

/* ── PRINCIPAL'S DESK ── */
.principal-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.principal-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principal-photo svg {
  width: 80px;
  height: 80px;
  color: rgba(107, 143, 212, 0.4);
}

.principal-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 10px;
}

.principal-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
}

.principal-text {
  flex: 1;
}

.quote-icon {
  color: rgba(203, 65, 84, 0.25);
  margin-bottom: 16px;
}

.principal-message {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
}

.principal-sign {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── FILTER TABS ── */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
  position: sticky;
  top: 73px;
  z-index: 90;
}

.filter-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.filter-inner::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  background: var(--gray-200);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg,
      #f0f0f0 25%,
      #e8e8e8 50%,
      #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skel-thumb {
  height: 180px;
  border-radius: 0;
}

.skel-line {
  height: 12px;
  margin-bottom: 10px;
}

.skel-sm {
  width: 60%;
}

.skel-body {
  padding: 20px;
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 30px));
  transition: transform 0.3s ease;
}

#toast.show {
  transform: translateX(0);
}

/* ─────────────────────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 480px;
  }

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

  .principal-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 52px 0;
  }

  .topbar-contact {
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-tagline {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

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

  .form-card {
    padding: 24px 18px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -33px;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .topbar-links {
    gap: 2px;
  }

  .topbar-links a {
    font-size: 0.72rem;
    padding: 3px 6px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

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

  .hero h1 {
    font-size: 1.75rem;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .vm-card-navy,
  .vm-card-white {
    padding: 24px 20px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── INDEX SPECIFIC ── */
.blog-section {
  background: var(--gray-50);
}

.cream-section {
  background: var(--cream);
}

.why-choose {
  background: var(--cream);
}

.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.view-all {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all:hover {
  color: var(--red-dk);
}

/* Internal Pages Layout Styles */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #1a2a5e);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
  margin-bottom: 40px;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
}

.sidebar-nav {
  background: #f8f9fc;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 0;
  position: sticky;
  top: 20px;
}

@media (max-width: 1024px) {
  .sidebar-nav {
    position: static;
    margin-bottom: 24px;
  }
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: block;
  padding: 12px 24px;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(203, 65, 84, 0.05);
  color: var(--red);
  border-left-color: var(--red);
}

.tab-content {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.tab-content h2 {
  color: var(--navy);
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.tab-content p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Responsive Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

.table-responsive table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  text-align: left;
}

.table-responsive th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--navy);
}