/* ==========================================================================
   ACADEMIC EXCELLENCE — STATIC HTML & CSS THEME
   Styling inspired by BPG Partnership (Libre Baskerville + Open Sans,
   palette: deep navy, ice blue, rust orange, and tan/slate geometric accents)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary-navy: #0b1b3d;
  --primary-blue: #1854a1;
  --accent-cyan: #219fda;
  --accent-orange: #df6b26;
  --accent-orange-hover: #c45717;
  --accent-tan: #968a73;
  --accent-slate: #cfd4d8;
  --ice-blue: #d8ebf4;
  --ice-blue-light: #e8f4fa;
  --dark-overlay: rgba(11, 27, 61, 0.72);
  --card-dark: rgba(0, 0, 0, 0.68);
  --text-dark: #222222;
  --text-body: #444444;
  --text-muted: #666666;
  --text-light: #ffffff;
  --border-light: #d6e2e8;
  --input-bg: #eef2f5;
  --input-border: #ccd3d9;
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1140px;
  --transition: all 0.3s ease;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: #ffffff;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.section-padding {
  padding: 95px 0;
}

.text-center {
  text-align: center;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  background: transparent;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(11, 27, 61, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #ffffff !important;
  letter-spacing: 1.2px;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

/* Signature Orange Corner Badge (from BPG reference) */
.header-corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background-color: var(--accent-orange);
  z-index: 99;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none; /* Never block hamburger button or navigation clicks */
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 101;
}

.mobile-nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (Video Background)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-navy);
  color: #ffffff;
  padding-top: 140px;
  padding-bottom: 90px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.65) 0%, rgba(11, 27, 61, 0.45) 50%, rgba(11, 27, 61, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  padding: 8px 16px;
  border-radius: 40px;
}

.hero-badge-pill {
  background-color: var(--accent-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.hero-badge-text {
  font-size: 0.9rem;
  color: #d8ebf4;
  font-weight: 500;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: #d8ebf4;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-card {
  background-color: var(--card-dark);
  backdrop-filter: blur(10px);
  padding: 36px 42px;
  border-left: 5px solid var(--accent-orange);
  margin-bottom: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-card p {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #ffffff;
}

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

/* Generic Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  border-radius: 0px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-black {
  background-color: #000000;
  color: #ffffff !important;
  border-color: #000000;
}

.btn-black:hover {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(223, 107, 38, 0.35);
}

.btn-orange {
  background-color: var(--accent-orange);
  color: #ffffff !important;
  border-color: var(--accent-orange);
}

.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  border-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 87, 23, 0.35);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-navy) !important;
}

/* ==========================================================================
   SECTION 2: STATEMENT & IMAGE MOSAIC (From Screenshot 2)
   ========================================================================== */
.mosaic-section {
  background-color: var(--ice-blue);
  position: relative;
  overflow: hidden;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.statement-col {
  padding-right: 20px;
}

.statement-headline {
  font-size: 2.25rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}

.statement-body {
  font-size: 1.05rem;
  color: #3b4b59;
  line-height: 1.8;
  margin-bottom: 24px;
}

.partner-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  border-left: 3px solid var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Mosaic Image Composition */
.mosaic-composition {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.mosaic-main-img {
  width: 82%;
  border-radius: 0px;
  box-shadow: 0 20px 40px rgba(11, 27, 61, 0.15);
  position: relative;
  z-index: 2;
}

.mosaic-overlap-img {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 58%;
  border-radius: 0px;
  box-shadow: 0 35px 50px -10px rgba(0, 0, 0, 0.35);
  z-index: 4;
  border: 4px solid #ffffff;
}

/* Decorative Geometric Tiles (From BPG reference) */
.deco-tile {
  position: absolute;
  z-index: 3;
}

.deco-tile-tan {
  width: 90px;
  height: 90px;
  background-color: var(--accent-tan);
  bottom: 0px;
  right: 0px;
}

.deco-tile-slate {
  width: 70px;
  height: 70px;
  background-color: var(--accent-slate);
  bottom: -70px;
  right: 90px;
}

.deco-tile-top {
  width: 45px;
  height: 45px;
  background-color: var(--accent-tan);
  top: -20px;
  right: 40px;
}

/* ==========================================================================
   SECTION 3: PANORAMIC CITYSCAPE WITH FLOATING OVERLAY (From Screenshot 3)
   ========================================================================== */
.panorama-section {
  position: relative;
  background-image: url('assets/skyline.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  color: #ffffff;
}

.panorama-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 27, 61, 0.45);
}

.panorama-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: center;
}

/* Decorative Blocks on the Left */
.panorama-deco-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stacked-square-wrap {
  display: flex;
  gap: 15px;
}

.stacked-sq {
  width: 65px;
  height: 65px;
}

.sq-blue { background-color: var(--primary-blue); }
.sq-white { background-color: #ffffff; }
.sq-orange { background-color: var(--accent-orange); }

.panorama-card {
  background-color: rgba(11, 27, 61, 0.82);
  backdrop-filter: blur(12px);
  padding: 48px 52px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  border-left: 5px solid var(--accent-orange);
}

.panorama-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 22px;
}

.panorama-card p {
  color: #e2eff6;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ==========================================================================
   SECTION 4: ABOUT & MISSION/VISION CARDS (From Screenshot 4)
   ========================================================================== */
.about-section {
  background-color: var(--ice-blue);
  position: relative;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-title {
  font-size: 2.75rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.section-desc {
  font-size: 1.12rem;
  color: #3b4b59;
  line-height: 1.8;
}

.dual-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vision-card {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 27, 61, 0.08);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vision-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(11, 27, 61, 0.15);
}

.vision-card-img-wrap {
  height: 280px;
  overflow: hidden;
}

.vision-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vision-card:hover .vision-card-img-wrap img {
  transform: scale(1.05);
}

.vision-card-body {
  padding: 36px 36px 42px 36px;
  flex-grow: 1;
}

.vision-card-body h3 {
  font-size: 1.65rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-orange);
  padding-bottom: 10px;
  display: inline-block;
}

.vision-card-body p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================================================
   SECTION 5: PROGRAMS & ACCREDITED TRACKS
   ========================================================================== */
.programs-section {
  background-color: #ffffff;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--ice-blue-light);
  border: 1px solid var(--border-light);
  padding: 34px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-card:hover {
  border-color: var(--accent-orange);
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(11, 27, 61, 0.1);
}

.program-badge {
  display: inline-block;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.program-card h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--primary-blue);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 6: OUR VALUES (4 Pillars)
   ========================================================================== */
.values-section {
  background-color: var(--ice-blue);
}

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

.value-card {
  background: #ffffff;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(11, 27, 61, 0.05);
  border-top: 4px solid var(--accent-orange);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(11, 27, 61, 0.12);
}

.value-icon {
  width: 56px;
  height: 56px;
  background-color: var(--ice-blue-light);
  color: var(--primary-blue);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background-color: var(--accent-orange);
  color: #ffffff;
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 7: ADMISSIONS CALL-TO-ACTION (CTA)
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #132a5a 100%);
  color: #ffffff;
  padding: 85px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-color: var(--accent-orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.75;
}

.cta-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 1.15rem;
  color: #d8ebf4;
  margin-bottom: 35px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION 8: INQUIRIES & CONTACT FORM (From Screenshot 5)
   ========================================================================== */
.contact-section {
  background-color: var(--ice-blue);
  position: relative;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-col {
  padding-right: 20px;
}

.contact-col-heading {
  color: var(--accent-orange);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  line-height: 1.4;
  border-bottom: 2px solid rgba(223, 107, 38, 0.3);
  padding-bottom: 12px;
}

.contact-desc {
  font-size: 1.05rem;
  color: #3b4b59;
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-detail-group {
  margin-bottom: 24px;
}

.contact-detail-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-navy);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contact-detail-value {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-navy);
}

.contact-detail-value a {
  color: var(--primary-navy);
}

.contact-detail-value a:hover {
  color: var(--accent-orange);
}

/* Form Styles (Matching BPG Divi form in Screenshot 5) */
.contact-form-col {
  background: transparent;
}

.form-field-group {
  margin-bottom: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 2px rgba(11, 27, 61, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-form-submit {
  width: 100%;
  background-color: #000000;
  color: #ffffff !important;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-form-submit:hover {
  background-color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(223, 107, 38, 0.3);
}

.form-status {
  margin-top: 16px;
  padding: 12px;
  display: none;
  font-size: 0.95rem;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy);
  color: #ffffff;
  position: relative;
}

.footer-top {
  padding: 80px 0 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.footer-brand h4 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #b0c4de;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-orange);
  display: inline-block;
  padding-bottom: 6px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #b0c4de;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  text-align: center;
  color: #8da4c4;
  font-size: 0.88rem;
}

/* ==========================================================================
   STANDALONE CONTACT PAGE SPECIFICS (contact.html)
   ========================================================================== */
.contact-hero {
  min-height: 42vh;
  padding-top: 140px;
  padding-bottom: 60px;
}

.contact-hero .hero-title {
  font-size: 3.2rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.85rem;
  }

  .mosaic-grid,
  .panorama-container,
  .dual-cards-grid,
  .contact-split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .mosaic-composition {
    min-height: 400px;
    justify-content: center;
  }

  .mosaic-main-img {
    width: 90%;
  }

  .mosaic-overlap-img {
    width: 65%;
    bottom: -30px;
  }

  .statement-col,
  .contact-info-col {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transition: right 0.35s ease;
    z-index: 98;
  }

  .nav-menu.open {
    right: 0;
  }

  .header-corner-accent {
    width: 60px;
    height: 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-card {
    padding: 24px 20px;
  }

  .statement-headline {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

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

  .panorama-card {
    padding: 30px 24px;
  }
}

/* ==========================================================================
   MULTI-STEP APPLICATION WIZARD (apply.html)
   ========================================================================== */
.apply-hero {
  min-height: 38vh;
  padding-top: 130px;
  padding-bottom: 50px;
}

.application-wrapper {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(11, 27, 61, 0.08);
  border: 1px solid var(--border-light);
  padding: 45px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

/* Progress Stepper Bar */
.stepper-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-light);
}

.stepper-container::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background-color: #e5e9ec;
  z-index: 1;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: default;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #cfd4d8;
  color: #778899;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-bottom: 10px;
}

.step-item.active .step-circle {
  border-color: var(--accent-orange);
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(223, 107, 38, 0.2);
}

.step-item.completed .step-circle {
  border-color: #137333;
  background-color: #137333;
  color: #ffffff;
}

.step-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.step-item.active .step-label {
  color: var(--primary-navy);
}

/* Form Steps Sections */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* File Upload Dropzone (For FAYDA & Education Docs) */
.file-dropzone {
  border: 2px dashed #b0c4de;
  background-color: #f7fafc;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--accent-orange);
  background-color: #fffaf6;
}

.file-dropzone-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.file-dropzone-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.file-dropzone-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.file-preview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #e8f4fa;
  border: 1px solid #bce1f3;
  padding: 14px 18px;
  margin-top: 12px;
}

.file-preview-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-preview-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.file-preview-size {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-remove-file {
  background: none;
  border: none;
  color: #d93025;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Digital Signature Canvas Pad */
.signature-box {
  border: 1px solid var(--input-border);
  background: #ffffff;
  padding: 10px;
}

.signature-canvas {
  width: 100%;
  height: 160px;
  background: #fdfdfd;
  border: 1px dashed #cfd4d8;
  cursor: crosshair;
  touch-action: none;
}

.signature-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

/* Captcha Box */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.captcha-visual {
  background: #0b1b3d;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 6px;
  padding: 10px 24px;
  user-select: none;
  border-radius: 2px;
}

/* Form Action Buttons */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   COURSES CATALOG & DETAILS (courses.html & course-detail.html)
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

.search-box-wrap {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-navy);
}

/* Course Detail Page Specifics */
.detail-hero {
  min-height: 48vh;
  padding-top: 140px;
  padding-bottom: 60px;
}

.course-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.course-sidebar-card {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 27, 61, 0.08);
  border: 1px solid var(--border-light);
  border-top: 5px solid var(--accent-orange);
  padding: 35px 30px;
  position: sticky;
  top: 100px;
}

.sidebar-fee {
  font-size: 1.75rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.sidebar-feature-list {
  margin-bottom: 25px;
}

.sidebar-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.sidebar-feature-icon {
  color: #137333;
  font-weight: 700;
}

.syllabus-module-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  padding: 18px 24px;
  border-left: 4px solid var(--primary-blue);
}

.syllabus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--primary-navy);
}

.syllabus-weeks {
  background: var(--ice-blue);
  color: var(--primary-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
}

/* ==========================================================================
   PAYMENT INSTRUCTIONS (payment-instructions.html)
   ========================================================================== */
.payment-ref-banner {
  background: #0b1b3d;
  color: #ffffff;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
  border-left: 6px solid var(--accent-orange);
}

.ref-value {
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.copy-btn {
  background: var(--accent-orange);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--accent-orange-hover);
}

.payment-method-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.payment-method-card.selected {
  border-color: var(--accent-orange);
  box-shadow: 0 8px 20px rgba(223, 107, 38, 0.15);
}

.account-number-box {
  background: #f4f6f8;
  padding: 12px 18px;
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}

/* ==========================================================================
   APPLICATION TRACKER (track.html)
   ========================================================================== */
.track-search-card {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(11, 27, 61, 0.08);
  padding: 35px;
  max-width: 680px;
  margin: -40px auto 40px auto;
  border-top: 4px solid var(--accent-orange);
}

.status-timeline {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
}

.status-timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 3px;
  background-color: #e2e8f0;
  z-index: 1;
}

.status-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}

.status-node.active .status-icon {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: #ffffff;
}

.status-node.completed .status-icon {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

.status-node.rejected .status-icon {
  border-color: #ef4444;
  background: #ef4444;
  color: #ffffff;
}

/* Status Badges */
.badge-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 3px;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-under_review { background: #dbeafe; color: #1e40af; }
.status-approved { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-cancelled { background: #f1f5f9; color: #475569; }

/* Timeline Events List */
.event-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 20px;
  border-left: 2px solid #e2e8f0;
}

.event-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.event-time {
  font-size: 0.8rem;
  color: #64748b;
}

.event-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   ADMIN DASHBOARD (admin/index.html & login.html)
   ========================================================================== */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-navy);
  padding: 30px;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  padding: 45px 40px;
  border-top: 5px solid var(--accent-orange);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Dashboard Shell */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f8fafc;
}

.admin-sidebar {
  width: 260px;
  background-color: #0b1b3d;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-brand {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
  padding: 20px 0;
  flex-grow: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  color: #b0c4de;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-left-color: var(--accent-orange);
}

.admin-main {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #ffffff;
  padding: 18px 35px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-content {
  padding: 35px;
  flex-grow: 1;
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.kpi-card {
  background: #ffffff;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.kpi-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.kpi-value {
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-navy);
}

.kpi-card.kpi-orange { border-left-color: var(--accent-orange); }
.kpi-card.kpi-green { border-left-color: #10b981; }
.kpi-card.kpi-blue { border-left-color: #3b82f6; }

/* Admin Data Table */
.data-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 35px;
  overflow: hidden;
}

.table-toolbar {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: #f8fafc;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.8px;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.admin-table tr:hover td {
  background-color: #f8fafc;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: var(--transition);
}

.btn-sm:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* Admin Modal Dialog */
.admin-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 27, 61, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.admin-modal.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-top: 5px solid var(--accent-orange);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8fafc;
}

/* ==========================================================================
   LIVE DATABASE SYNC INDICATORS & ADMIN RESPONSIVE CONTROLS
   ========================================================================== */
.db-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  transition: all 0.25s ease;
}

.db-sync-badge.connected {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.db-sync-badge.syncing {
  background: #fdf4ff;
  color: #86198f;
  border-color: #f5d0fe;
}

.db-sync-badge.warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.status-dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f59e0b;
  display: inline-block;
}

.spinner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  border-top-color: transparent;
  display: inline-block;
  animation: adminSpin 0.75s linear infinite;
}

@keyframes adminSpin {
  to { transform: rotate(360deg); }
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 27, 61, 0.6);
  backdrop-filter: blur(3px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-sidebar-overlay.open {
  display: block;
  opacity: 1;
}

.admin-sidebar-close-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.admin-menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 7px 10px;
  cursor: pointer;
}

.admin-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #0b1b3d;
  margin: 4px 0;
  transition: all 0.25s ease;
  border-radius: 1px;
}

/* ==========================================================================
   GLOBAL COMPREHENSIVE RESPONSIVE DESIGN (ALL PAGES)
   ========================================================================== */

/* Medium Devices (Tablets & Small Laptops: <= 991px) */
@media (max-width: 991px) {
  /* Navigation Drawer starts at 991px for better tablet support */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 85px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transition: right 0.35s ease;
    z-index: 98;
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  /* Admin Dashboard Layout */
  .admin-layout {
    flex-direction: column;
    min-height: 100vh;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -290px;
    width: 280px;
    height: 100vh;
    z-index: 999;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.4);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-sidebar-close-btn {
    display: block;
  }

  .admin-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .admin-topbar {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .admin-content {
    padding: 24px 18px;
  }

  /* Courses & Course Detail Layout */
  .course-detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .course-sidebar-card {
    position: static;
    top: auto;
    margin-top: 15px;
  }

  .catalog-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .search-box-wrap {
    width: 100%;
    min-width: 0;
  }

  .category-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
}

/* Small Devices (Mobile Phones: <= 768px) */
@media (max-width: 768px) {
  /* Containers & Section Spacing */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-padding {
    padding: 55px 0;
  }

  /* General Inputs & Buttons: Touch-friendly & Prevent iOS auto-zoom */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Heroes across all subpages */
  .apply-hero,
  .contact-hero,
  .detail-hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 45px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Application Form Wizard (apply.html) */
  .application-wrapper {
    padding: 22px 16px;
    margin-top: -20px;
    box-shadow: 0 10px 30px rgba(11, 27, 61, 0.08);
  }

  .stepper-container {
    padding-bottom: 18px;
    margin-bottom: 25px;
    position: relative;
    gap: 6px;
  }

  .stepper-container::before {
    top: 18px;
    left: 12%;
    right: 12%;
    height: 2px;
  }

  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-width: 2px;
    margin-bottom: 6px;
  }

  .step-label {
    font-size: 0.72rem;
    max-width: 70px;
    line-height: 1.2;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .file-dropzone {
    padding: 22px 14px;
  }

  .file-dropzone-icon {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .file-dropzone-text {
    font-size: 0.92rem;
  }

  .file-preview-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .step-actions {
    flex-direction: column-reverse;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
  }

  .step-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Application Tracker (track.html) */
  .track-search-card {
    padding: 24px 18px;
    margin: -25px auto 30px auto;
  }

  .status-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-left: 8px;
    margin: 30px 0;
  }

  .status-timeline::before {
    top: 15px;
    bottom: 15px;
    left: 31px;
    width: 3px;
    height: auto;
    right: auto;
  }

  .status-node {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    text-align: left;
    width: 100%;
  }

  .status-icon {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Payment Instructions (payment-instructions.html) */
  .payment-ref-banner {
    padding: 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .ref-value {
    font-size: 1.45rem;
    word-break: break-all;
  }

  .copy-btn {
    width: 100%;
    text-align: center;
  }

  .account-number-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.15rem;
    word-break: break-all;
  }

  /* Admin Dashboard (admin/index.html) */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .kpi-card {
    padding: 16px;
  }

  .kpi-value {
    font-size: 1.55rem;
  }

  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .table-toolbar > div {
    width: 100%;
  }

  #appFilterSearch,
  #appFilterStatus,
  #appFilterCourse {
    width: 100% !important;
    max-width: 100%;
  }

  .modal-card {
    max-width: 96vw;
    max-height: 94vh;
    margin: 8px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 18px 16px;
  }

  .admin-login-card {
    padding: 32px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* Extra Small Devices (Phones: <= 480px) */
@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .header-corner-accent {
    width: 48px;
    height: 48px;
  }

  .site-header {
    padding: 12px 0;
  }

  .logo-img {
    height: 34px;
  }
}


