/* ==========================================================================
   DIVINE INTERNATIONAL SCHOOL, JHUNJHUNU - Master Light Design System
   ========================================================================== */

:root {
  /* Light Theme Academic Color Palette */
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-light: #edf2f7;
  --border-highlight: rgba(217, 119, 6, 0.4);
  --border-blue: rgba(37, 99, 235, 0.25);
  --border-emerald: rgba(16, 185, 129, 0.3);

  /* Academic Brand Accents */
  --primary: #1e3a8a;           /* Deep Royal Navy */
  --primary-hover: #172554;
  --accent-blue: #2563eb;       /* Sapphire Blue */
  --accent-gold: #d97706;       /* Regal Amber / Gold */
  --accent-gold-light: #b45309;
  --accent-gold-bg: #fef3c7;    /* Soft Warm Amber */
  --accent-emerald: #059669;
  --accent-rose: #e11d48;
  --accent-purple: #7c3aed;

  /* House Colors */
  --house-agni: #dc2626;        /* Agni (Fire) - Ruby Red */
  --house-prithvi: #d97706;     /* Prithvi (Earth) - Imperial Gold */
  --house-vayu: #0284c7;        /* Vayu (Air) - Celestial Azure */
  --house-jal: #059669;         /* Jal (Water) - Emerald Green */

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-gold-light: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  --grad-gold-text: linear-gradient(135deg, #92400e 0%, #d97706 50%, #f59e0b 100%);
  --grad-heading: linear-gradient(135deg, #0f172a 0%, #1e293b 80%, #334155 100%);
  --grad-card-top: linear-gradient(90deg, #1e3a8a, #d97706);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Text Colors */
  --text-primary: #0f172a;      /* Deep Crisp Navy / Charcoal */
  --text-secondary: #475569;    /* Refined Slate */
  --text-muted: #64748b;        /* Subtle Grey */
  --text-white: #ffffff;

  /* Layout Spacing */
  --container-max: 1240px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Light Theme Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(217, 119, 6, 0.08);
  --shadow-gold: 0 8px 25px -5px rgba(217, 119, 6, 0.2);
  --shadow-nav: 0 4px 20px -2px rgba(15, 23, 42, 0.07);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.gradient-gold-text {
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.gradient-heading-text {
  background: var(--grad-heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-announcement-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 0.84rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
  color: #f1f5f9;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pulse-tag {
  background: var(--grad-gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.announcement-text {
  color: #e2e8f0;
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fbbf24;
  font-weight: 700;
}

.top-phone:hover {
  color: #ffffff;
}

.divider-dot {
  color: rgba(255, 255, 255, 0.2);
}

.top-location {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Site Header & Navbar (Light Theme)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-nav);
  border-bottom-color: #cbd5e1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo .brand-logo-img,
.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img,
.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  user-select: none;
}

.brand-logo-text .brand-name {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  white-space: nowrap;
}

.brand-logo-text .brand-name-gold {
  color: #d97706;
}

.brand-logo-text .brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
}

.brand-logo-text .brand-cbse {
  color: #d97706;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth);
}

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

/* ==========================================================================
   Header Dropdown Submenu (Desktop)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -15px;
  width: 295px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -4px rgba(15, 23, 42, 0.14), 0 0 1px 1px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Gold & Blue accent top bar */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #d97706);
  border-radius: var(--radius-full);
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(6px);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.dropdown-link:hover,
.dropdown-link.active {
  background: #f1f5f9;
}

.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dropdown-link:hover .dropdown-icon-box,
.dropdown-link.active .dropdown-icon-box {
  background: #1e3a8a;
  color: #ffffff;
}

.dropdown-link-text {
  display: flex;
  flex-direction: column;
}

.dropdown-link-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.dropdown-link:hover .dropdown-link-title,
.dropdown-link.active .dropdown-link-title {
  color: #1e3a8a;
}

.dropdown-link-desc {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* Offcanvas Submenu Styles */
.offcanvas-submenu {
  list-style: none;
  padding: 0.3rem 0 0.5rem 1rem;
  margin: 0;
  border-left: 2px solid #e2e8f0;
  margin-left: 1rem;
}
.offcanvas-sublink {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: all var(--transition-fast);
}
.offcanvas-sublink:hover,
.offcanvas-sublink.active {
  color: var(--primary);
  background: #f1f5f9;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
  color: var(--text-primary);
}

.hamburger-icon {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.is-active .hamburger-icon span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .hamburger-icon span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   Right-Side Offcanvas Mobile Drawer (Sleek Canvas with Menu & Bottom Actions)
   ========================================================================== */
.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offcanvas-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.offcanvas-drawer.is-open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  flex-shrink: 0;
}

.offcanvas-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.offcanvas-logo .brand-logo-img,
.offcanvas-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.offcanvas-logo .brand-logo-text .brand-name {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.offcanvas-logo .brand-logo-text .brand-name-gold {
  color: #d97706;
}

.offcanvas-logo .brand-logo-text .brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
}

.offcanvas-logo .brand-logo-text .brand-cbse {
  color: #d97706;
}

.offcanvas-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.offcanvas-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.offcanvas-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.offcanvas-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.offcanvas-nav-link svg {
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.offcanvas-nav-link:hover,
.offcanvas-nav-link.active {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 700;
}

.offcanvas-nav-link:hover svg,
.offcanvas-nav-link.active svg {
  color: #1e40af;
  transform: translateX(3px);
}

.offcanvas-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.offcanvas-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.2rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.offcanvas-btn-wa {
  background: #25D366;
  color: #ffffff;
}

.offcanvas-btn-wa:hover {
  background: #20ba59;
  color: #ffffff;
}

.offcanvas-btn-call {
  background: #003366;
  color: #ffffff;
}

.offcanvas-btn-call:hover {
  background: #002244;
  color: #ffffff;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
  background: linear-gradient(135deg, #172554 0%, #1e40af 100%);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--grad-gold);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
  color: #000000;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 1.4rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   Marquee News Ticker Bar
   ========================================================================== */
.news-ticker-bar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-badge {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-text {
  display: inline-block;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 630px;
}

.hero-title {
  font-size: 3.3rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  box-shadow: var(--shadow-sm);
}

.trust-chip svg {
  color: var(--accent-gold);
}

/* Video Card in Hero */
.hero-media {
  position: relative;
}

.video-card-wrapper {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.video-frame-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
}

.video-frame-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-footer {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.5rem 0;
}

.video-tag {
  font-size: 0.82rem;
  color: var(--accent-gold-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-helpline-link {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  padding: 2.8rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  text-align: center;
}

.stat-item {
  padding: 0.8rem;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-tag,
.badge-pill-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 0.38rem 1.15rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  width: fit-content;
  max-width: max-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  line-height: 1.35;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.4rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.award-callout-box {
  background: #fef3c7;
  border-left: 4px solid var(--accent-gold);
  padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.8rem 0;
}

.award-title {
  color: #92400e;
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.award-desc {
  color: #78350f;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
}

.about-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #1e293b;
}

.about-features-list li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.feature-panel:hover {
  transform: translateX(6px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-card-hover);
}

.panel-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.panel-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.panel-text p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leadership-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.principal-portrait-box {
  background: linear-gradient(135deg, #eff6ff 0%, #fef3c7 100%);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.portrait-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.principal-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.principal-title {
  font-size: 0.88rem;
  color: var(--accent-gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leadership-quote-card {
  position: relative;
  padding-left: 1.5rem;
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #cbd5e1;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: -1rem;
}

.leadership-quote-text {
  font-size: 1.22rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.leadership-message-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   NEW: House System & Brotherhood (Creative Section)
   ========================================================================== */
.house-section {
  padding: 6rem 0;
  background: #ffffff;
}

.houses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.house-card {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.house-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.house-card.house-agni::before { background: var(--house-agni); }
.house-card.house-prithvi::before { background: var(--house-prithvi); }
.house-card.house-vayu::before { background: var(--house-vayu); }
.house-card.house-jal::before { background: var(--house-jal); }

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

.house-card.house-agni:hover { border-color: var(--house-agni); }
.house-card.house-prithvi:hover { border-color: var(--house-prithvi); }
.house-card.house-vayu:hover { border-color: var(--house-vayu); }
.house-card.house-jal:hover { border-color: var(--house-jal); }

.house-crest-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.house-agni .house-crest-icon { background: #fee2e2; color: var(--house-agni); }
.house-prithvi .house-crest-icon { background: #fef3c7; color: var(--house-prithvi); }
.house-vayu .house-crest-icon { background: #e0f2fe; color: var(--house-vayu); }
.house-jal .house-crest-icon { background: #d1fae5; color: var(--house-jal); }

.house-name {
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.house-motto {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.house-agni .house-motto { color: var(--house-agni); }
.house-prithvi .house-motto { color: var(--house-prithvi); }
.house-vayu .house-motto { color: var(--house-vayu); }
.house-jal .house-motto { color: var(--house-jal); }

.house-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NEW: Why Choose DIS vs Others Comparison Section
   ========================================================================== */
.comparison-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.comparison-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

.compare-table th {
  padding: 1.4rem 1.6rem;
  font-size: 1rem;
  font-family: var(--font-heading);
  background: #f1f5f9;
  color: var(--text-primary);
}

.compare-table th.dis-col-header {
  background: var(--primary);
  color: #ffffff;
  font-size: 1.15rem;
  text-align: center;
}

.compare-table td {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td.feature-title-cell {
  font-weight: 700;
  color: var(--text-primary);
}

.compare-table td.dis-cell {
  background: #eff6ff;
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
}

.compare-table td.other-cell {
  color: var(--text-secondary);
  text-align: center;
}

.pill-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #059669;
  font-weight: 700;
}

.pill-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #dc2626;
  font-weight: 600;
}

/* ==========================================================================
   NEW: Interactive Live Fee Estimator Section
   ========================================================================== */
.calculator-section {
  padding: 6rem 0;
  background: #ffffff;
}

.calc-container-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.calc-controls h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.calc-group {
  margin-top: 1.5rem;
}

.calc-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.6rem;
}

.calc-option-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.calc-btn {
  padding: 0.65rem 1.3rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-btn:hover, .calc-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.calc-result-card {
  background: #ffffff;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.result-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-total-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.6rem 0;
  line-height: 1;
}

.result-breakdown-list {
  list-style: none;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  text-align: left;
}

.result-breakdown-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.result-breakdown-list li strong {
  color: var(--text-primary);
}

/* ==========================================================================
   NEW: Distinguished Faculty & Mentorship Excellence
   ========================================================================== */
.faculty-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.faculty-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
}

.faculty-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.faculty-name {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.faculty-dept {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.8rem;
}

.faculty-exp {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   NEW: Upcoming Events & Academic Calendar
   ========================================================================== */
.events-section {
  padding: 6rem 0;
  background: #ffffff;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.event-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1.4rem;
  transition: all var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-gold);
}

.event-date-box {
  width: 65px;
  height: 75px;
  background: #eff6ff;
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
}

.event-day {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.event-month {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.event-info h4 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.event-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.event-location {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold-light);
}

/* ==========================================================================
   Academics Bento Grid
   ========================================================================== */
.academics-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card-hover);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-gold-light);
  transition: transform var(--transition-smooth);
}

.bento-card:hover .card-icon {
  transform: scale(1.1) rotate(4deg);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bento-card.span-2 {
  grid-column: span 2;
}

/* ==========================================================================
   Boarding & Residential Facilities
   ========================================================================== */
.boarding-section {
  padding: 6rem 0;
  background: #ffffff;
}

.boarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.boarding-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.boarding-card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.boarding-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.boarding-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.boarding-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.boarding-checklist {
  list-style: none;
  margin-top: 1.2rem;
}

.boarding-checklist li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.boarding-checklist li::before {
  content: "✓";
  color: var(--accent-emerald);
  font-weight: 800;
}

/* ==========================================================================
   A Day in the Life Timeline
   ========================================================================== */
.routine-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
  padding-left: 2rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-gold), var(--primary), var(--accent-blue));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 3rem;
}

.timeline-badge {
  position: absolute;
  left: -2px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 0 0 5px #f8fafc;
}

.timeline-item:nth-child(even) .timeline-badge {
  border-color: var(--accent-gold);
  color: var(--accent-gold-light);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.timeline-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary);
  transform: translateX(6px);
}

.timeline-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-gold-light);
  background: #fef3c7;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.timeline-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.timeline-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin: 0;
}

/* ==========================================================================
   Sports & Co-Curricular Showcase
   ========================================================================== */
.sports-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.sports-container {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.sports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.sport-category-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sport-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.sport-category-header h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.sport-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Clubs & Societies Grid
   ========================================================================== */
.clubs-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.club-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.club-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.club-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover);
}

.club-card:hover::before {
  opacity: 1;
}

.club-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.club-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.club-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Campus Photo Gallery
   ========================================================================== */
.gallery-section {
  padding: 6rem 0;
  background: #ffffff;
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-gold);
}

.gallery-thumbnail {
  height: 200px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.gallery-thumbnail.academics-thumb { background: linear-gradient(135deg, #0284c7 0%, #1e3a8a 100%); }
.gallery-thumbnail.hostel-thumb { background: linear-gradient(135deg, #b45309 0%, #78350f 100%); }
.gallery-thumbnail.sports-thumb { background: linear-gradient(135deg, #059669 0%, #064e3b 100%); }
.gallery-thumbnail.dining-thumb { background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }
.gallery-thumbnail.library-thumb { background: linear-gradient(135deg, #2563eb 0%, #1e1b4b 100%); }

.gallery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-info {
  padding: 1.4rem;
}

.gallery-info h5 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.gallery-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Fee Structure & Table
   ========================================================================== */
.fees-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.fees-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.fees-table-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-card);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.fees-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.fees-table td {
  padding: 1rem 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.fees-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

.fees-table tr.total-row {
  border-bottom: none;
  border-top: 2px solid var(--primary);
}

.fees-table tr.total-row td {
  padding-top: 1.2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.scholarship-badge-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.scholarship-badge-box strong {
  color: #065f46;
  font-size: 1rem;
}

.scholarship-badge-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #047857;
  line-height: 1.4;
}

/* ==========================================================================
   4-Step Admission Roadmap
   ========================================================================== */
.steps-section {
  padding: 6rem 0;
  background: #ffffff;
}

.steps-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.step-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.6rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.step-box:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card-hover);
  background: #ffffff;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 15px rgba(30, 58, 138, 0.25);
}

.step-box:nth-child(even) .step-number {
  background: var(--grad-gold);
  color: #000;
}

.step-box h4 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-gold);
}

.review-stars-row {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.6rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h5 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: #ffffff;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.3rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Admission Enquiry & Travel Section
   ========================================================================== */
.admissions-section {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
}

.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.admission-form-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.8rem;
}

.enquiry-form .form-group {
  margin-bottom: 1.2rem;
}

.enquiry-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.phone-input-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.6rem;
}

.travel-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.travel-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.travel-box:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.travel-box-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.travel-box-header h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
}

.travel-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

.travel-dist-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 0.4rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b132b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 10;
  color: #f1f5f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  text-decoration: none;
}

.footer-brand .brand-logo-img,
.footer-brand .brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition-smooth);
}

.footer-brand .brand-logo:hover .brand-logo-img,
.footer-brand .brand-logo:hover img {
  transform: scale(1.04);
}

.footer-brand .brand-logo-text-light .brand-name {
  color: #ffffff;
}

.footer-brand .brand-logo-text-light .brand-name-gold {
  color: #fbbf24;
}

.footer-brand .brand-logo-text-light .brand-sub {
  color: #94a3b8;
}

.footer-brand .brand-logo-text-light .brand-cbse {
  color: #fbbf24;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 330px;
  margin-bottom: 1rem;
}

.school-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.1rem 0 1.3rem 0;
  text-align: left;
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 !important;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
}

.footer-contact-label {
  font-weight: 700 !important;
  color: #ffffff !important;
}

.footer-contact-val {
  color: #cbd5e1;
}

.contact-val-gold {
  color: #fbbf24 !important;
  font-weight: 700;
  text-decoration: none;
}

.contact-val-whatsapp {
  color: #25D366 !important;
  font-weight: 700;
  text-decoration: none;
}

.contact-val-portal {
  color: #38bdf8 !important;
  text-decoration: none;
}
.contact-val-portal:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  transition: all var(--transition-smooth);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: #fbbf24;
  transform: translateX(4px);
}

.travel-badge-box {
  display: flex;
  flex-direction: column;
}

.travel-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: var(--radius-md);
}

.travel-badge-item svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit {
  color: #94a3b8;
  font-size: 0.86rem;
  margin: 0;
}

.footer-credit a {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-credit a:hover {
  color: #f59e0b;
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-links a:hover {
  color: #fbbf24;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .leadership-grid,
  .fees-grid,
  .admission-grid,
  .sports-grid,
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-cta-group,
  .hero-trust-chips {
    justify-content: center;
  }

  .bento-grid,
  .boarding-grid,
  .clubs-grid,
  .gallery-grid,
  .testimonials-grid,
  .houses-grid,
  .faculty-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.span-2 {
    grid-column: span 2;
  }

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

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

@media (max-width: 768px) {
  .brand-logo .brand-logo-img {
    height: 42px;
    width: auto;
  }

  .brand-logo-text .brand-name {
    font-size: 1.05rem;
  }

  .brand-logo-text .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 1.2px;
  }

  .top-announcement-bar {
    display: none;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* No top dropdown menu - Replaced by Right-Side Canvas Drawer */
  .nav-menu {
    display: none !important;
  }

  /* Remove Apply Now button on Mobile View Header */
  .nav-actions .btn,
  .nav-actions .nav-apply-btn {
    display: none !important;
  }

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

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

  .stat-item {
    border-right: none;
  }

  .bento-grid,
  .boarding-grid,
  .clubs-grid,
  .gallery-grid,
  .testimonials-grid,
  .steps-roadmap,
  .houses-grid,
  .faculty-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .about-features-list {
    grid-template-columns: 1fr;
  }

  .timeline-track {
    padding-left: 1rem;
  }

  .timeline-track::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 2.5rem;
  }

  .timeline-badge {
    left: -3px;
    width: 30px;
    height: 30px;
  }

  .compare-table {
    display: block;
    overflow-x: auto;
  }

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

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

/* ==========================================================================
   About DIGS, Gudha-Road Section & Interactive Slider
   ========================================================================== */
.about-digs-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-digs-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.about-digs-header .section-tag {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.about-digs-header h2 {
  font-size: 2.6rem;
  color: #0f172a;
  margin-bottom: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.about-digs-paragraph {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #334155;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 1.8rem 2.2rem;
  border-radius: 16px;
  border-left: 5px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-bottom: 2.5rem;
  text-align: left;
}

/* DIGS Fast Facts Chips */
.digs-highlights-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.digs-fact-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.digs-fact-chip:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}

.digs-fact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.digs-fact-info h4 {
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.digs-fact-info p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* DIGS Interactive Slider */
.digs-slider-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  background: #0b132b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.digs-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.digs-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  color: #ffffff;
}

.digs-slide-content {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.digs-slide-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  width: fit-content;
}

.digs-slide-content h3 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.digs-slide-content p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.digs-slide-visual {
  height: 100%;
  min-height: 420px;
  background: none;
  display: block;
  padding: 0;
  margin: 0;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.digs-slide-visual img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.digs-slide-visual .visual-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.visual-placeholder-box {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(251, 191, 36, 0.4);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.visual-placeholder-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fbbf24;
}

.visual-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
  display: block;
}

.visual-placeholder-box h5 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.visual-placeholder-box p {
  color: #cbd5e1;
  font-size: 0.82rem;
  margin: 0;
}

/* Slider Navigation Buttons */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: var(--accent-gold);
  color: #0b132b;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.slider-prev-btn { left: 15px; }
.slider-next-btn { right: 15px; }

/* Slider Dots */
.digs-slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.digs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.digs-dot.active {
  background: var(--accent-gold);
  width: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   Facilities & Activities Styles (Strictly Tick Mark Items)
   ========================================================================== */
.facilities-page-section {
  padding: 4.5rem 0 5rem;
  background: #f8fafc;
}

.page-intro-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.page-intro-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.page-intro-header p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
}

.facilities-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.facility-category-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.facility-category-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.facility-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1f5f9;
}

.category-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.facility-category-header h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin: 0;
  font-weight: 700;
}

.facility-category-header .item-counter-badge {
  margin-left: auto;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* User's exact class .list_facilities styling */
.list_facilities ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.list_facilities li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 600;
  transition: all 0.2s ease;
}

.list_facilities li:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}

.list_facilities .correct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  flex-shrink: 0;
}

.list_facilities .correct svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Gallery Page & Section Styles
   ========================================================================== */
.gallery-section-wrap {
  padding: 5rem 0;
  background: #ffffff;
}

.gallery-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.8rem;
}

.gallery-filter-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-filter-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.gallery-filter-btn.active {
  background: #1e3a8a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.gallery-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.gallery-photo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.gallery-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.gallery-card-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.gallery-photo-card:hover .gallery-card-thumb img {
  transform: scale(1.06);
}

.gallery-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-align: center;
  padding: 1.5rem;
}

.gallery-thumb-placeholder .ph-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.gallery-thumb-placeholder span {
  font-size: 0.84rem;
  color: #94a3b8;
}

.gallery-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.gallery-card-details {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card-details h4 {
  font-size: 1.1rem;
  color: #0f172a;
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.gallery-card-details p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .digs-slide {
    grid-template-columns: 1fr;
  }
  .digs-slide-visual {
    min-height: 250px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .digs-slide-content {
    padding: 2.2rem 1.8rem;
  }
}

/* ==========================================================================
   Pure Image Gallery Grid & Lightbox (No Text in Cards)
   ========================================================================== */
.pure-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}

.pure-image-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f172a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.pure-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.pure-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(11, 19, 43, 0.18);
  border-color: var(--accent-gold);
}

.pure-image-card:hover img {
  transform: scale(1.07);
}

/* Subtle zoom overlay icon */
.pure-image-card::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 19, 43, 0.35);
  color: #ffffff;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.pure-image-card:hover::after {
  opacity: 1;
}

/* Lightbox Modal */
.digs-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.digs-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.digs-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: contain;
  transition: transform 0.25s ease;
}

.digs-lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.2s ease;
  z-index: 100000;
}

.digs-lightbox-btn:hover {
  background: var(--accent-gold);
  color: #0b132b;
  transform: scale(1.1);
}

.digs-lightbox-close {
  top: 20px;
  right: 25px;
}

.digs-lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.digs-lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.digs-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   Contact Page Styles (Call Button, WhatsApp Box, Map, Address)
   ========================================================================== */
.contact-section-wrap {
  padding: 5rem 0;
  background: #f8fafc;
}

.contact-quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 1.15rem;
  color: #0f172a;
  font-weight: 800;
  margin: 0;
}

.contact-card-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.15rem 0 0;
}

.contact-card-body {
  margin-bottom: 1.5rem;
}

.contact-card-body p {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* Call Button Card */
.contact-card-call {
  border-top: 4px solid var(--accent-gold);
}

.contact-card-call .contact-card-icon {
  background: #fef3c7;
  color: #b45309;
}

.call-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  transition: all 0.25s ease;
}

.call-btn-primary:hover {
  background: linear-gradient(135deg, #172554 0%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 58, 138, 0.35);
}

/* WhatsApp Box Card */
.contact-card-whatsapp {
  border-top: 4px solid #25D366;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.contact-card-whatsapp .contact-card-icon {
  background: #dcfce7;
  color: #15803d;
}

.whatsapp-box-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.whatsapp-box-btn:hover {
  background: linear-gradient(135deg, #20ba5a 0%, #0d6e62 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Address Card */
.contact-card-address {
  border-top: 4px solid #3b82f6;
}

.contact-card-address .contact-card-icon {
  background: #eff6ff;
  color: #1d4ed8;
}

.address-highlight-box {
  background: #f8fafc;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.6;
}

/* Main Split: Form on Left, Map on Right */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-form-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.8rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-form-container p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.contact-map-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.contact-map-header {
  padding: 1.8rem 2rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
}

.contact-map-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.3rem;
}

.contact-map-header p {
  color: #64748b;
  margin: 0;
  font-size: 0.9rem;
}

.contact-map-frame-wrapper {
  flex: 1;
  min-height: 380px;
  position: relative;
  width: 100%;
}

.contact-map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}

.contact-transit-chips {
  padding: 1.2rem 2rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.transit-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

@media (max-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Fee Structure Tables & Breakdown Styling
   ========================================================================== */
.fee-page-wrap {
  padding: 5rem 0 6rem;
  background: #f8fafc;
}

.fee-section-block {
  margin-bottom: 4rem;
}

.fee-table-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.fee-table-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fee-card-topbar {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.fee-card-topbar h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fee-badge-tag {
  background: rgba(30, 58, 138, 0.1);
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.fee-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.fee-data-table th {
  background: #0b132b;
  color: #ffffff;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.fee-data-table th:last-child {
  border-right: none;
}

.fee-data-table th small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  color: #fbbf24;
  margin-top: 0.2rem;
}

.fee-data-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
  color: #334155;
  white-space: nowrap;
}

.fee-data-table td:last-child {
  border-right: none;
}

.fee-data-table tr:last-child td {
  border-bottom: none;
}

.fee-data-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.fee-data-table tr:hover td {
  background-color: #eff6ff;
}

.fee-class-col {
  font-weight: 700;
  color: #0f172a;
  font-size: 1rem;
}

.fee-net-payable {
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  display: inline-block;
  border: 1px solid #a7f3d0;
}

.fee-installment {
  font-weight: 600;
  color: #1e293b;
}

.fee-nil {
  color: #94a3b8;
  font-style: italic;
  font-weight: 600;
}

/* Scholarship OFF Badges */
.badge-discount-off {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.badge-discount-100 {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* Hostel Amenities Grid */
.hostel-amenities-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.hostel-amenity-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.hostel-amenity-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.hostel-amenity-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hostel-amenity-text {
  font-weight: 700;
  color: #1e293b;
  font-size: 0.94rem;
}

/* Terms & Conditions Card */
.terms-card-wrapper {
  background: #fffbeb;
  border: 2px dashed #fcd34d;
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  margin-top: 3.5rem;
}

.terms-card-wrapper h3 {
  font-size: 1.4rem;
  color: #92400e;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.terms-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.terms-list-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.96rem;
  color: #78350f;
  line-height: 1.6;
}

.terms-bullet-icon {
  color: #d97706;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Terms & Conditions Page Styling
   ========================================================================== */
.terms-page-wrap {
  padding: 4rem 0 5rem;
  background-color: #f8fafc;
}

.terms-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .terms-grid-layout {
    grid-template-columns: 1fr;
  }
}

.terms-main-doc {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.terms-card-doc {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 2.2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .terms-card-doc {
    padding: 1.6rem 1.4rem;
  }
}

.terms-card-doc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #d97706);
}

.terms-entity-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.terms-entity-icon {
  width: 52px;
  height: 52px;
  background: #1e3a8a;
  color: #fbbf24;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-entity-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

.terms-entity-meta {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

.terms-clause-group {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.terms-clause-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.terms-clause-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}

.terms-clause-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-clause-body {
  flex: 1;
}

.terms-clause-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-clause-text {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.7;
  margin: 0;
}

.terms-jurisdiction-box {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-left: 5px solid #d97706;
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-top: 1rem;
}

.terms-jurisdiction-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #854d0e;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terms-jurisdiction-box p {
  color: #713f12;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Sidebar Styles */
.terms-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.terms-side-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 1.8rem;
}

.terms-side-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.terms-quick-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terms-quick-nav li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.terms-quick-nav li a:hover {
  background: #f1f5f9;
  color: #1e3a8a;
  transform: translateX(3px);
}

.terms-side-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   Vision & Mission Page Styling (Ultra-Creative & Premium)
   ========================================================================== */
.vm-hero-banner {
  background: radial-gradient(circle at 15% 30%, rgba(37, 99, 235, 0.35), transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(217, 119, 6, 0.25), transparent 45%),
              linear-gradient(135deg, #060d1f 0%, #0f1d40 60%, #1e3a8a 100%);
  padding: 5.5rem 0 4.8rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.vm-hero-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, #f8fafc, transparent);
  pointer-events: none;
}

.vm-hero-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 0.45rem 1.2rem;
  border-radius: 9999px;
  color: #fef08a;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.vm-hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.vm-hero-title span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

@media (max-width: 768px) {
  .vm-hero-title {
    font-size: 2.3rem;
  }
}

.vm-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 960px;
  margin: 3rem auto 0;
}

@media (max-width: 860px) {
  .vm-hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vm-hero-stat-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.vm-hero-stat-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.5);
}

.vm-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.2rem;
}

.vm-stat-label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Page Wrapper */
.vm-page-wrap {
  padding: 4.5rem 0 6rem;
  background-color: #f8fafc;
}

/* Feature Showcase Split Layouts */
.vm-split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

@media (max-width: 991px) {
  .vm-split-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.vm-visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.vm-visual-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vm-visual-frame:hover .vm-visual-img {
  transform: scale(1.04);
}

.vm-visual-overlay-badge {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  right: 1.8rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vm-visual-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fbbf24;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  font-weight: 800;
}

.vm-content-box {
  display: flex;
  flex-direction: column;
}

.vm-pre-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.vm-pre-blue {
  color: #1e40af;
}

.vm-pre-amber {
  color: #b45309;
}

.vm-heading-main {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.vm-body-lead {
  font-size: 1.08rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 1.8rem;
}

.vm-quote-callout {
  background: #fffbeb;
  border-left: 4px solid #d97706;
  padding: 1.1rem 1.4rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.6rem;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
  color: #92400e;
}

/* Pillar Micro-Cards (2x2 Grid) */
.vm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 540px) {
  .vm-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.vm-pillar-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.vm-pillar-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border-color: #cbd5e1;
}

.vm-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.vm-pillar-item h4 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.vm-pillar-item p {
  font-size: 0.83rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   Master Motto Showcase (Dramatic Luxury Dark Section)
   ========================================================================== */
.vm-motto-luxury {
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.18), transparent 45%),
              linear-gradient(135deg, #060d1f 0%, #0f1d40 60%, #1e3a8a 100%);
  border-radius: 28px;
  padding: 4.5rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(6, 13, 31, 0.4);
  margin-bottom: 5.5rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

@media (max-width: 768px) {
  .vm-motto-luxury {
    padding: 2.8rem 1.8rem;
  }
}

.vm-motto-giant-quote {
  position: absolute;
  top: -10px;
  right: 25px;
  font-size: 13rem;
  font-family: Georgia, serif;
  color: rgba(251, 191, 36, 0.06);
  line-height: 1;
  pointer-events: none;
}

.vm-motto-box-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 20px;
  padding: 2.4rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  position: relative;
}

.vm-motto-inscription {
  font-size: 1.65rem;
  font-weight: 800;
  font-style: italic;
  color: #fef08a;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
}

@media (max-width: 768px) {
  .vm-motto-inscription {
    font-size: 1.3rem;
  }
}

.vm-motto-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
}

@media (max-width: 860px) {
  .vm-motto-triad {
    grid-template-columns: 1fr;
  }
}

.vm-triad-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vm-triad-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fbbf24;
  transform: translateY(-4px);
}

.vm-triad-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.4rem;
}

.vm-triad-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.vm-triad-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Creative Bento Grid Objectives
   ========================================================================== */
.vm-objectives-bento {
  margin-bottom: 5.5rem;
}

.vm-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .vm-bento-grid {
    grid-template-columns: 1fr;
  }
}

.vm-bento-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.vm-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.vm-bento-num {
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #f1f5f9;
  user-select: none;
  pointer-events: none;
  font-family: var(--font-heading);
}

.vm-bento-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.vm-bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.vm-bento-text {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Campus Visual Collage Strip
   ========================================================================== */
.vm-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 5.5rem;
}

@media (max-width: 860px) {
  .vm-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vm-strip-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 220px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.vm-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vm-strip-item:hover img {
  transform: scale(1.08);
}

.vm-strip-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 0.9rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Scroll-To-Top Button with Circular Progress Border
   ========================================================================== */
.scroll-top-progress {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.scroll-top-progress.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-progress:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.scroll-top-progress:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-top-progress:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.progress-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-circle-bg {
  fill: #ffffff;
  stroke: #e2e8f0;
  stroke-width: 3.5;
}

.progress-circle-bar {
  fill: none;
  stroke: #d97706;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.12s linear;
}

.scroll-top-icon {
  position: relative;
  z-index: 2;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.scroll-top-progress:hover .scroll-top-icon {
  color: #d97706;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .scroll-top-progress {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
}

/* ==========================================================================
   Director's Message Page Styling
   ========================================================================== */
.dm-page-wrap {
  padding: 4.5rem 0 6rem;
  background-color: #f8fafc;
}

.dm-grid-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

/* Sticky Sidebar & Profile Card */
.dm-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  z-index: 10;
  align-self: start;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

@media (max-width: 991px) {
  .dm-grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dm-sidebar {
    position: static;
    top: auto;
  }
}

.dm-profile-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.06);
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.dm-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1e3a8a, #d97706);
}

.dm-avatar-frame {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dm-avatar-icon {
  width: 64px;
  height: 64px;
  color: #1e3a8a;
}

.dm-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fbbf24;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dm-profile-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.dm-profile-role {
  font-size: 0.92rem;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.dm-profile-institution {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.dm-tenets-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  text-align: left;
}

.dm-tenet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.dm-tenet-item svg {
  color: #1e40af;
  flex-shrink: 0;
}

/* Letter Card */
.dm-letter-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.06);
  padding: 3.5rem 3.2rem;
  position: relative;
}

@media (max-width: 640px) {
  .dm-letter-card {
    padding: 2rem 1.6rem;
  }
}

.dm-letterhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  margin-bottom: 2.2rem;
  border-bottom: 2px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 1rem;
}

.dm-letterhead-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e40af;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #eff6ff;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  display: inline-block;
}

.dm-salutation {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.4rem;
  font-family: var(--font-heading);
}

.dm-para {
  font-size: 1.08rem;
  color: #334155;
  line-height: 1.88;
  margin-bottom: 1.6rem;
}

/* Drop cap for opening letter */
.dm-drop-cap::first-letter {
  font-size: 3.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 0.15rem 0.65rem 0 0;
  color: #1e3a8a;
}

/* Quote Breakout (corresponding to director-image placeholder in user prompt) */
.dm-quote-breakout {
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.15), transparent 45%),
              linear-gradient(135deg, #0b132b 0%, #1e3a8a 100%);
  border-radius: 20px;
  padding: 2.5rem 2.8rem;
  color: #ffffff;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 30px -5px rgba(11, 19, 43, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

@media (max-width: 640px) {
  .dm-quote-breakout {
    padding: 1.8rem 1.4rem;
  }
}

.dm-quote-giant-mark {
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 9rem;
  font-family: Georgia, serif;
  color: rgba(251, 191, 36, 0.08);
  line-height: 1;
  pointer-events: none;
}

.dm-quote-text {
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  color: #fef08a;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
}

.dm-quote-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Formal Sign-off */
.dm-signoff-box {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dm-signoff-text {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.dm-signature-script {
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 2.2rem;
  color: #1e3a8a;
  margin: 0.3rem 0;
  letter-spacing: 1px;
}

.dm-signoff-role {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.dm-signoff-inst {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0.2rem 0 0;
}

/* Strategic Pillars Row */
.dm-pillars-section {
  margin-top: 4.5rem;
}

.dm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .dm-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .dm-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.dm-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dm-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 12px 24px -5px rgba(59, 130, 246, 0.15);
}

.dm-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dm-pillar-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.dm-pillar-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   TC Verification Page Styling
   ========================================================================== */
.tc-page-wrap {
  padding: 4.5rem 0 6rem;
  background-color: #f8fafc;
}

.tc-card-box {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 3rem 2.8rem;
  max-width: 660px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

@media (max-width: 640px) {
  .tc-card-box {
    padding: 2rem 1.5rem;
  }
}

.tc-form-group {
  margin-bottom: 1.8rem;
}

.tc-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
}

.tc-select,
.tc-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
  font-family: var(--font-main);
}

.tc-select:focus,
.tc-input:focus {
  border-color: #003366;
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15);
}

.tc-btn-wrap {
  text-align: center;
  margin-top: 2rem;
}

.tc-btn-verify {
  background-color: #003366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tc-btn-verify:hover {
  background-color: #002244;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 51, 102, 0.25);
}

.tc-btn-verify:active {
  transform: translateY(0);
}

/* TC Verification Result Display */
.tc-result-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 3.5rem 2.8rem;
  max-width: 780px;
  margin: 3rem auto 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.tc-result-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #003366;
  text-align: center;
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .tc-result-title {
    font-size: 2rem;
  }
}

.tc-result-divider {
  border: 0;
  height: 1px;
  background-color: #cbd5e1;
  margin: 1.5rem 0 2.5rem;
}

.tc-not-found-text {
  font-size: 1.85rem;
  font-weight: 700;
  color: #003366;
  text-align: center;
  margin: 0 0 1rem;
  font-family: var(--font-heading);
}

.tc-not-found-sub {
  font-size: 1rem;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* Verified Student Record Table */
.tc-verified-details {
  margin-top: 1.5rem;
}

.tc-details-table {
  width: 100%;
  border-collapse: collapse;
}

.tc-details-table th,
.tc-details-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.tc-details-table th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 700;
  width: 35%;
  font-size: 0.95rem;
}

.tc-details-table td {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.98rem;
}

/* ==========================================================================
   Homepage Photo Gallery Preview Section (Base Styling)
   ========================================================================== */
.gallery-section-wrap {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 4.5rem 0 5rem;
}

.gallery-section-wrap .gallery-tag {
  background: rgba(30, 58, 138, 0.1);
  color: #1e40af;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-gallery-title {
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.home-gallery-desc {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.home-gallery-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

.home-gallery-btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SITE-WIDE MOBILE VIEW OPTIMIZATION (ALL PAGES)
   Comprehensive Font Weight, Font Size & Layout Balance across Divine School
   ========================================================================== */

@media (max-width: 768px) {
  /* -------------------------------------------------------------------------
     1. GLOBAL BASE TYPOGRAPHY (Applies across all pages)
     ------------------------------------------------------------------------- */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Headings Hierarchy */
  h1 {
    font-size: clamp(1.75rem, 5.8vw, 2.25rem) !important;
    font-weight: 800 !important;
    line-height: 1.24 !important;
    letter-spacing: -0.015em !important;
  }

  h2 {
    font-size: clamp(1.45rem, 4.8vw, 1.85rem) !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
  }

  h3 {
    font-size: clamp(1.18rem, 3.8vw, 1.38rem) !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
  }

  h4 {
    font-size: clamp(1.02rem, 3.2vw, 1.14rem) !important;
    font-weight: 700 !important;
    line-height: 1.36 !important;
  }

  h5, h6 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
  }

  /* Body Text & Paragraphs */
  p, li {
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.65;
    color: #334155;
  }

  strong, b {
    font-weight: 700;
    color: #0f172a;
  }

  small {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
  }

  /* Badges & Section Tags */
  .badge-pill {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    padding: 0.32rem 0.85rem !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 0.9rem !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    max-width: 100% !important;
  }

  .section-tag {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    padding: 0.28rem 0.8rem !important;
    margin-bottom: 0.6rem !important;
  }

  .section-title {
    font-size: clamp(1.55rem, 5vw, 1.95rem) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
  }

  .section-desc {
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
    color: #475569 !important;
  }

  /* Buttons */
  .btn {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.72rem 1.35rem;
    letter-spacing: 0.01em;
  }

  .btn-lg {
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.78rem 1.4rem;
  }

  .btn-sm {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 0.95rem;
  }

  /* -------------------------------------------------------------------------
     2. HOME PAGE (index.php)
     ------------------------------------------------------------------------- */
  .hero-section {
    padding: 2.4rem 0 2rem;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.2vw, 2.3rem) !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a;
    margin-bottom: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.94rem !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
    color: #475569 !important;
    margin-bottom: 1.6rem;
    text-align: center;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.8rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  .video-card-wrapper {
    padding: 0.75rem;
    border-radius: 16px;
  }

  .video-card-footer {
    padding: 0.4rem 0.2rem 0;
  }

  .video-tag {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.3px;
  }

  .video-helpline-link {
    font-size: 0.8rem;
    font-weight: 700;
  }

  /* About DIGS Section */
  .about-digs-section {
    padding: 3.2rem 0;
  }

  .about-digs-header {
    margin-bottom: 1.8rem;
  }

  .about-digs-header h2 {
    font-size: clamp(1.55rem, 5.2vw, 1.95rem) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    margin-bottom: 0.9rem;
  }

  .about-digs-paragraph {
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.68;
    color: #334155;
    padding: 1.2rem 1.25rem;
    border-radius: 14px;
    border-left-width: 4px;
    margin-bottom: 1.8rem;
    text-align: left;
  }

  .digs-highlights-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.2rem;
  }

  .digs-fact-chip {
    padding: 0.85rem 0.8rem;
    gap: 0.65rem;
    border-radius: 12px;
  }

  .digs-fact-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .digs-fact-info h4 {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.15rem;
  }

  .digs-fact-info p {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
  }

  /* Interactive Slider */
  .digs-slider-wrapper {
    border-radius: 18px;
    margin: 0 auto;
  }

  .digs-slide {
    display: flex;
    flex-direction: column;
    min-width: 100%;
  }

  .digs-slide-content {
    padding: 1.8rem 1.35rem 1.6rem;
    text-align: left;
    order: 1;
  }

  .digs-slide-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.7rem;
  }

  .digs-slide-content h3 {
    font-size: clamp(1.3rem, 4.5vw, 1.55rem) !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    margin-bottom: 0.6rem;
  }

  .digs-slide-content p {
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1.2rem;
  }

  .digs-slide-content .btn {
    font-size: 0.84rem;
    font-weight: 700;
    width: 100%;
    justify-content: center;
    border-radius: 10px;
  }

  .digs-slide-visual {
    order: 2;
    min-height: 200px;
    max-height: 230px;
    height: 210px;
    padding: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .digs-slide-visual img {
    border-radius: 0 0 18px 18px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider-arrow-btn {
    width: 36px;
    height: 36px;
  }

  .slider-prev-btn { left: 8px; }
  .slider-next-btn { right: 8px; }

  /* Photo Gallery Section */
  .gallery-section-wrap {
    padding: 3.2rem 0 3.8rem;
  }

  .gallery-section-wrap .section-header {
    margin-bottom: 1.8rem;
  }

  .home-gallery-title {
    font-size: clamp(1.55rem, 5.2vw, 1.95rem) !important;
    font-weight: 800 !important;
    line-height: 1.26 !important;
    margin-bottom: 0.6rem;
  }

  .home-gallery-desc {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b;
  }

  .pure-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .pure-image-card {
    border-radius: 10px;
  }

  .home-gallery-btn {
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 1.4rem;
    width: 100%;
    max-width: 340px;
    border-radius: 12px;
  }

  /* -------------------------------------------------------------------------
     3. DIRECTOR & PRINCIPAL MESSAGES (director-message.php, principal-message.php)
     ------------------------------------------------------------------------- */
  .dm-page-wrap {
    padding: 2.8rem 0 4rem;
  }

  .dm-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dm-sidebar {
    position: static !important;
    top: auto !important;
  }

  .dm-profile-card {
    padding: 1.6rem 1.25rem;
    border-radius: 18px;
    text-align: center;
  }

  .dm-profile-title {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.2rem;
  }

  .dm-profile-role {
    font-size: 0.84rem;
    font-weight: 600;
    color: #d97706;
  }

  .dm-profile-institution {
    font-size: 0.8rem;
    color: #64748b;
  }

  .dm-tenet-item {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
  }

  .dm-letter-card {
    padding: 1.8rem 1.25rem;
    border-radius: 18px;
  }

  .dm-letterhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.4rem;
  }

  .dm-letterhead-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.28rem 0.8rem;
  }

  .dm-salutation {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem;
  }

  .dm-para {
    font-size: 0.93rem !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
    color: #334155;
    margin-bottom: 1.3rem;
  }

  .dm-drop-cap::first-letter {
    font-size: 2.3rem !important;
    line-height: 0.9 !important;
    margin: 0.1rem 0.5rem 0 0 !important;
    font-weight: 800;
  }

  .dm-quote-breakout {
    padding: 1.4rem 1.2rem;
    border-radius: 14px;
    margin: 1.8rem 0;
  }

  .dm-quote-text {
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
  }

  .dm-quote-photo {
    height: 190px !important;
    width: 100% !important;
    border-radius: 12px;
  }

  .dm-sign-role {
    font-size: 0.92rem;
    font-weight: 800;
  }

  .dm-sign-desc {
    font-size: 0.8rem;
    color: #64748b;
  }

  /* -------------------------------------------------------------------------
     4. VISION, MISSION & MOTTO (vision-mission.php)
     ------------------------------------------------------------------------- */
  .vm-page-wrap {
    padding: 2.5rem 0 4rem;
  }

  .vm-hero-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-top: 1.6rem !important;
  }

  .vm-hero-stat-pill {
    padding: 0.75rem 0.7rem !important;
    border-radius: 12px !important;
  }

  .vm-stat-number {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }

  .vm-stat-label {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
  }

  .vm-split-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.6rem !important;
    margin-bottom: 2.8rem !important;
  }

  .vm-visual-frame {
    height: 220px !important;
    border-radius: 16px !important;
    order: 2 !important;
  }

  .vm-content-box {
    padding: 0 !important;
    order: 1 !important;
  }

  .vm-heading-main {
    font-size: clamp(1.55rem, 5vw, 1.95rem) !important;
    font-weight: 800 !important;
    margin-bottom: 0.8rem !important;
  }

  .vm-body-lead {
    font-size: 0.93rem !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    margin-bottom: 1.4rem !important;
  }

  .vm-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .vm-pillar-item {
    padding: 0.85rem 0.9rem !important;
    border-radius: 12px !important;
  }

  .vm-pillar-item h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.2rem !important;
  }

  .vm-pillar-item p {
    font-size: 0.78rem !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
  }

  .vm-motto-luxury {
    padding: 3rem 1.25rem !important;
    border-radius: 20px !important;
    margin: 3rem 0 !important;
  }

  .vm-motto-luxury h2 {
    font-size: clamp(1.6rem, 5vw, 2rem) !important;
    font-weight: 800 !important;
  }

  .vm-motto-inscription {
    font-size: clamp(1.05rem, 3.8vw, 1.25rem) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  .vm-motto-luxury p {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
  }

  .vm-motto-triad {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    margin-top: 2rem !important;
  }

  .vm-triad-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 14px !important;
  }

  .vm-triad-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
  }

  .vm-triad-desc {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
  }

  .vm-objectives-bento {
    margin-top: 3.5rem !important;
  }

  .vm-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
  }

  .vm-bento-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
  }

  .vm-bento-title {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
  }

  .vm-bento-text {
    font-size: 0.86rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  /* -------------------------------------------------------------------------
     5. FACILITIES & ACTIVITIES (facilities.php)
     ------------------------------------------------------------------------- */
  .facilities-page-section {
    padding: 2.8rem 0 3.8rem;
  }

  .page-intro-header {
    margin-bottom: 2rem;
  }

  .page-intro-header h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem) !important;
    font-weight: 800 !important;
    margin-bottom: 0.6rem;
  }

  .page-intro-header p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .facilities-categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    margin-bottom: 2.5rem;
  }

  .facility-category-card {
    padding: 1.4rem 1.2rem;
    border-radius: 14px;
  }

  .facility-category-header h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin: 0;
  }

  .item-counter-badge {
    font-size: 0.74rem;
    font-weight: 700;
  }

  .list_facilities ul li {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0.45rem 0;
  }

  /* -------------------------------------------------------------------------
     6. FEE STRUCTURE (fee-structure.php)
     ------------------------------------------------------------------------- */
  .fees-page-section {
    padding: 2.8rem 0 4rem;
  }

  .fee-quick-nav-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .fee-nav-btn {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.48rem 0.85rem;
    border-radius: 8px;
  }

  .fee-section-block {
    margin-bottom: 3rem;
  }

  .fee-section-block h2 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    margin: 0 0 0.4rem;
  }

  .fee-section-block p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .fee-table-card {
    padding: 1.2rem 0.9rem;
    border-radius: 14px;
    margin-bottom: 1.6rem;
  }

  .fee-card-topbar h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
  }

  .fee-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
  }

  .fee-data-table th {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.6rem 0.45rem;
  }

  .fee-data-table td {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 0.45rem;
  }

  .fee-net-payable {
    font-size: 0.86rem;
    font-weight: 800;
  }

  .fee-notes-card {
    padding: 1.4rem 1.15rem;
    border-radius: 14px;
  }

  .fee-notes-card h3 {
    font-size: 1.08rem !important;
    font-weight: 700 !important;
  }

  .fee-notes-list li {
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.58;
    padding: 0.35rem 0;
  }

  /* -------------------------------------------------------------------------
     7. CONTACT US (contact.php)
     ------------------------------------------------------------------------- */
  .contact-section-wrap {
    padding: 2.8rem 0 3.8rem;
  }

  .contact-quick-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
  }

  .contact-info-card {
    padding: 1.5rem 1.2rem;
    border-radius: 14px;
  }

  .contact-card-title {
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    margin: 0;
  }

  .contact-card-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
  }

  .contact-card-body p {
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.55;
  }

  .call-btn-primary,
  .whatsapp-box-btn {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    justify-content: center;
    border-radius: 10px;
  }

  /* -------------------------------------------------------------------------
     8. TC VERIFICATION & RESULT (tc-verification.php, tc-result.php)
     ------------------------------------------------------------------------- */
  .tc-page-wrap {
    padding: 2.8rem 0 4rem;
  }

  .tc-card-box {
    padding: 1.8rem 1.25rem;
    border-radius: 14px;
  }

  .tc-label {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
  }

  .tc-select,
  .tc-input {
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .tc-btn-verify {
    width: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
  }

  .tc-result-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem;
  }

  .tc-not-found-text {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.8rem;
  }

  .tc-not-found-sub {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .tc-details-table th {
    width: 40%;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.65rem 0.7rem;
  }

  .tc-details-table td {
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.65rem 0.7rem;
  }

  /* -------------------------------------------------------------------------
     9. TERMS & POLICIES (terms.php, cancellation-refund-policy.php)
     ------------------------------------------------------------------------- */
  .terms-page-wrap {
    padding: 2.8rem 0 4rem;
  }

  .terms-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .terms-sidebar {
    position: static;
    top: auto;
  }

  .terms-card-doc {
    padding: 1.6rem 1.2rem;
    border-radius: 16px;
    margin-bottom: 1.6rem;
  }

  .terms-entity-name {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  .terms-entity-meta {
    font-size: 0.78rem;
    font-weight: 500;
  }

  .terms-clause-item {
    padding: 0.9rem 0;
    gap: 0.75rem;
  }

  .terms-clause-num {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .terms-clause-body p {
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.68;
  }

  /* -------------------------------------------------------------------------
     10. NAVBAR & FOOTER MOBILE VIEW
     ------------------------------------------------------------------------- */
  .nav-menu .nav-link {
    font-size: 0.96rem;
    font-weight: 600;
  }

  .footer-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.85rem;
  }

  .footer-links li a {
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.8;
  }

  .footer-bottom p {
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
  }

  .footer-credit {
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
  }
}

/* ==========================================================================
   EXTRA COMPACT MOBILE VIEW (<= 480px / 360px - 414px Smart Phones)
   ========================================================================== */
@media (max-width: 480px) {
  .brand-logo .brand-logo-img {
    height: 38px;
    width: auto;
  }

  .brand-logo-text .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.2px;
  }

  .brand-logo-text .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.8px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 1.8rem !important;
    line-height: 1.24 !important;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.28 !important;
  }

  h3 {
    font-size: 1.22rem !important;
    line-height: 1.3 !important;
  }

  p, li {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .hero-section {
    padding: 2rem 0 1.6rem;
  }

  .hero-title {
    font-size: 1.78rem !important;
    line-height: 1.24 !important;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.58 !important;
    margin-bottom: 1.3rem;
  }

  .about-digs-header h2 {
    font-size: 1.52rem !important;
    line-height: 1.28 !important;
  }

  .about-digs-paragraph {
    font-size: 0.88rem;
    line-height: 1.62;
    padding: 1rem 1rem;
    border-radius: 12px;
  }

  .digs-fact-chip {
    padding: 0.75rem 0.65rem;
    gap: 0.5rem;
  }

  .digs-fact-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .digs-fact-info h4 {
    font-size: 0.78rem;
  }

  .digs-fact-info p {
    font-size: 0.68rem;
  }

  .digs-slide-content {
    padding: 1.5rem 1.15rem 1.4rem;
  }

  .digs-slide-content h3 {
    font-size: 1.28rem !important;
  }

  .digs-slide-content p {
    font-size: 0.82rem;
  }

  .pure-image-grid {
    gap: 0.5rem;
  }

  .home-gallery-title {
    font-size: 1.5rem !important;
  }

  .home-gallery-desc {
    font-size: 0.84rem;
  }

  .dm-letter-card {
    padding: 1.5rem 1.1rem;
  }

  .dm-para {
    font-size: 0.88rem !important;
    line-height: 1.68 !important;
  }

  .vm-motto-luxury {
    padding: 2.5rem 1rem !important;
  }

  .fee-table-card {
    padding: 1rem 0.75rem;
  }

  .tc-card-box {
    padding: 1.5rem 1.1rem;
  }

  .tc-result-title {
    font-size: 1.7rem !important;
  }

  .tc-not-found-text {
    font-size: 1.45rem !important;
  }
}

/* ==========================================================================
   Campus Directory Bar (Address, Contact, Reviews, Photos, Maps, Classes)
   ========================================================================== */
.campus-directory-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.directory-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.dir-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}

.dir-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dir-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.dir-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b132b;
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}

.dir-text {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  flex: 1;
}

.dir-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e40af;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.dir-link:hover {
  color: #d97706;
  gap: 0.55rem;
}

/* ==========================================================================
   Reviews & Ratings Section (Showcasing Parent Testimonials & 4.9 Score)
   ========================================================================== */
.reviews-section-wrap {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.reviews-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.6rem 1.25rem;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
}

.reviews-summary-badge .stars-gold {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.reviews-rating-number {
  font-size: 1rem;
  font-weight: 800;
  color: #78350f;
}

.reviews-counter-text {
  font-size: 0.85rem;
  color: #78350f;
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-quote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.review-author-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #fed7aa;
}

.author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.15rem 0;
}

.author-role {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   Campus Visit, Address & Google Maps Location Box
   ========================================================================== */
.campus-visit-bar-wrap {
  padding: 5rem 0;
  background: #ffffff;
}

.campus-visit-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.campus-visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.75rem;
  align-items: stretch;
}

.campus-visit-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0b132b;
  line-height: 1.25;
  margin: 0.75rem 0 0.85rem 0;
}

.campus-visit-lead {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.campus-direct-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

.meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.meta-details p {
  font-size: 0.86rem;
  color: #475569;
  margin: 0;
  line-height: 1.45;
}

.contact-number-bold {
  font-weight: 700;
  color: #059669;
  text-decoration: none;
}

.contact-number-bold:hover {
  text-decoration: underline;
}

.campus-visit-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.campus-visit-map-box {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  min-height: 440px;
}

.map-embed-wrapper {
  flex: 1;
  width: 100%;
  min-height: 380px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.map-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.map-pin-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.map-view-large {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e40af;
  text-decoration: none;
}

.map-view-large:hover {
  text-decoration: underline;
}

/* Responsive adjustments for directory, reviews, and visit map box */
@media (max-width: 1200px) {
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .campus-visit-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .campus-visit-box {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   Universal Pill Badge Formats (Section Tags)
   ========================================================================== */
.badge-pill-tag.badge-amber,
.section-tag.badge-amber {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.badge-pill-tag.badge-blue,
.section-tag.badge-blue {
  background: rgba(30, 64, 175, 0.09) !important;
  color: #1e40af !important;
  border: 1px solid rgba(30, 64, 175, 0.22) !important;
}

.badge-pill-tag.badge-purple,
.section-tag.badge-purple {
  background: rgba(124, 58, 237, 0.09) !important;
  color: #7c3aed !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
}

.badge-pill-tag.badge-green,
.section-tag.badge-green {
  background: rgba(16, 185, 129, 0.09) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
}

.section-header .section-tag,
.about-digs-header .section-tag {
  margin-left: auto !important;
  margin-right: auto !important;
}

.campus-visit-info .section-tag {
  align-self: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Desktop: Hide Mobile Slider Controls */
.mobile-slider-controls {
  display: none !important;
}

/* Mobile Responsive Adjustments (Sliders for Directory, Highlights, Reviews) */
@media (max-width: 768px) {
  /* 1. Campus Directory Bar Slider on Mobile */
  .directory-slider-wrapper {
    position: relative;
    width: 100%;
  }

  .directory-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.9rem !important;
    padding: 0.4rem 0.25rem 0.85rem 0.25rem !important;
    scrollbar-width: none !important;
    grid-template-columns: unset !important;
  }

  .directory-grid::-webkit-scrollbar {
    display: none !important;
  }

  .directory-card {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    min-height: 190px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  }

  /* 2. DIGS Fact Chips / Highlights Slider on Mobile */
  .digs-highlights-wrapper {
    position: relative;
    width: 100%;
  }

  .digs-highlights-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.75rem !important;
    padding: 0.25rem 0.2rem 0.85rem 0.2rem !important;
    scrollbar-width: none !important;
    grid-template-columns: unset !important;
  }

  .digs-highlights-bar::-webkit-scrollbar {
    display: none !important;
  }

  .digs-fact-chip {
    flex: 0 0 76% !important;
    max-width: 76% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
  }

  /* 3. Testimonials / Reviews Slider on Mobile */
  .reviews-slider-wrapper {
    position: relative;
    width: 100%;
  }

  .reviews-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.15rem !important;
    padding: 0.4rem 0.25rem 1rem 0.25rem !important;
    scrollbar-width: none !important;
    grid-template-columns: unset !important;
  }

  .reviews-grid::-webkit-scrollbar {
    display: none !important;
  }

  .review-card {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    padding: 1.5rem 1.25rem !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05) !important;
  }

  /* Mobile Slider Controls (Dots & Nav Buttons) */
  .mobile-slider-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    margin-top: 0.65rem !important;
    padding-bottom: 0.25rem !important;
  }

  .mobile-slider-arrow {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0b132b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
    padding: 0 !important;
  }

  .mobile-slider-arrow:active {
    transform: scale(0.92) !important;
    background: #f1f5f9 !important;
  }

  .mobile-slider-dots {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
  }

  .mobile-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 9999px !important;
    background: #cbd5e1 !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .mobile-dot.active {
    width: 22px !important;
    background: #d97706 !important;
    border-radius: 9999px !important;
  }
}

@media (max-width: 640px) {
  .reviews-summary-badge {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .campus-visit-box {
    padding: 1.25rem 1rem;
  }

  .campus-visit-title {
    font-size: 1.55rem !important;
  }

  .campus-visit-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .campus-visit-actions .btn {
    width: 100%;
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .map-embed-wrapper {
    min-height: 280px;
    height: 280px;
  }
}




