/* ==========================================================================
   Sanskar Deep International School - Official Stylesheet
   CBSE Affiliation No: 331081 | School Code: 66829
   Designed with Rich Aesthetics & Strict CBSE MPD Compliance
   ========================================================================== */

:root {
  --primary: #0b2545;
  --primary-light: #133b6b;
  --primary-dark: #06162a;
  --secondary: #d97706;
  --secondary-light: #f59e0b;
  --secondary-hover: #b45309;
  --accent-green: #059669;
  --accent-green-light: #10b981;
  
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --muted: #64748b;
  --light: #f8fafc;
  --light-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-body);
  scroll-behavior: smooth;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* ==========================================================================
   Utility Ticker & Header
   ========================================================================== */
.top-notice-ticker {
  background: linear-gradient(90deg, #b45309, #d97706, #b45309);
  color: var(--white);
  font-size: 0.85rem;
  padding: 7px 0;
  font-weight: 500;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.ticker-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.ticker-content a {
  text-decoration: underline;
  color: #fff;
  font-weight: 600;
}

.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-contact-item svg {
  color: var(--secondary-light);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
}

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

.mpd-top-pill {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.mpd-top-pill:hover {
  background: var(--secondary);
  color: #fff !important;
}

/* ==========================================================================
   Main Branding Bar
   ========================================================================== */
.main-header {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.header-brand-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.brand-text h1 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 2px;
  text-transform: uppercase;
}

.brand-subtext {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.affiliation-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.brand-motto-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.motto-emblem {
  text-align: right;
  border-right: 2px solid var(--border);
  padding-right: 15px;
}

.motto-hindi {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-green);
  font-family: serif;
}

.motto-english {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

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

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

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

.btn-sm {
  padding: 6px 14px;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f5f9;
  font-size: 0.925rem;
  font-weight: 500;
  padding: 16px 14px;
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--secondary-light);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.mpd-link {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  font-weight: 600;
}

.nav-link.mpd-link:hover {
  background: var(--secondary);
  color: var(--white);
}

.nav-badge-new {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 4px;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--secondary);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

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

.dropdown-item {
  display: block;
  padding: 9px 18px;
  color: var(--dark-soft);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 22px;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  right: 0;
}

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

.mobile-nav-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-body {
  padding: 15px 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-item a {
  display: block;
  padding: 12px 24px;
  color: var(--dark-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-item a:hover {
  background: var(--light);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 580px;
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.92) 0%, rgba(6, 22, 42, 0.85) 100%),
              url('../img/campus.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3.25rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--secondary-light);
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-highlights-strip {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

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

.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-light);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.highlight-card:nth-child(2) .highlight-icon {
  background: #fef3c7;
  color: var(--secondary);
}

.highlight-card:nth-child(3) .highlight-icon {
  background: #ecfdf5;
  color: var(--accent-green);
}

.highlight-card:nth-child(4) .highlight-icon {
  background: #fdf2f8;
  color: #db2777;
}

.highlight-text h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.highlight-text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--light);
}

.section-bg-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Welcome & Leadership Desk
   ========================================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.welcome-image-wrap {
  position: relative;
}

.welcome-img-main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

.welcome-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.welcome-badge-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1;
}

.welcome-badge-label {
  font-size: 0.85rem;
  color: var(--dark-soft);
  font-weight: 600;
  line-height: 1.3;
}

.welcome-content .section-tag {
  text-align: left;
}

.welcome-content h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.welcome-lead {
  font-size: 1.1rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.6;
}

.welcome-text {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

/* Five Core Pillars (Emblem Leaves) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.pillar-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: #ecfdf5;
  color: var(--accent-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.2rem;
}

.pillar-box h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary);
  text-transform: uppercase;
}

.pillar-box p {
  font-size: 0.785rem;
  color: var(--muted);
}

/* ==========================================================================
   Mandatory Public Disclosure (MPD) Callout Banner
   ========================================================================== */
.mpd-banner-block {
  background: linear-gradient(135deg, #0b2545 0%, #172554 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.mpd-banner-block::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
}

.mpd-banner-info h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.mpd-banner-info p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 600px;
}

.mpd-pill-row {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.mpd-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Notice Board & Announcements
   ========================================================================== */
.notices-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.notice-board-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

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

.notice-header h3 {
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-list {
  padding: 10px 24px;
  max-height: 380px;
  overflow-y: auto;
}

.notice-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date-badge {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 65px;
  flex-shrink: 0;
}

.notice-date-day {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.notice-date-month {
  font-size: 0.725rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.notice-details h4 {
  font-size: 0.985rem;
  margin-bottom: 4px;
}

.notice-details p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.notice-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.775rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 6px;
}

.quick-enquiry-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.quick-enquiry-box h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.quick-enquiry-box p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark-soft);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.1);
}

/* ==========================================================================
   Campus Facilities Grid
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.facility-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

.facility-card:hover .facility-card-img img {
  transform: scale(1.08);
}

.facility-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 37, 69, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.facility-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.facility-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.facility-card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 15px;
  flex: 1;
}

.facility-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   Academic Stages
   ========================================================================== */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border-top: 4px solid var(--primary);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.stage-card:nth-child(2) {
  border-top-color: var(--secondary);
}

.stage-card:nth-child(3) {
  border-top-color: var(--accent-green);
}

.stage-card:nth-child(4) {
  border-top-color: #8b5cf6;
}

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

.stage-card-class {
  display: inline-block;
  background: var(--light-alt);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--muted);
  margin-bottom: 12px;
}

.stage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.stage-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.stage-card-features {
  list-style: none;
  font-size: 0.825rem;
  color: var(--dark-soft);
  margin-top: 10px;
}

.stage-card-features li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stage-card-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
}

/* ==========================================================================
   Statistics Counter Banner
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary-light);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-item p {
  color: #cbd5e1;
  font-size: 0.925rem;
  font-weight: 500;
}

/* ==========================================================================
   Mandatory Public Disclosure (MPD) Full Page Styles
   ========================================================================== */
.mpd-hero-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e3a8a 100%);
  color: var(--white);
  padding: 50px 0 40px;
  text-align: center;
}

.mpd-title-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mpd-hero-header h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.mpd-hero-header p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
}

.mpd-quick-meta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.mpd-meta-chip {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mpd-meta-chip strong {
  color: var(--secondary-light);
}

/* MPD Nav Tabs */
.mpd-nav-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light-alt);
  padding: 8px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  overflow-x: auto;
  border: 1px solid var(--border);
}

.mpd-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  color: var(--dark-soft);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mpd-tab-btn:hover {
  background: var(--white);
  color: var(--primary);
}

.mpd-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* MPD Section Table Card */
.mpd-section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 35px;
  overflow: hidden;
}

.mpd-card-header {
  background: #f8fafc;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mpd-card-header h2 {
  font-size: 1.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mpd-section-badge {
  background: var(--primary-light);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.mpd-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.mpd-table th, .mpd-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.mpd-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--dark-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mpd-table tbody tr:hover {
  background-color: #f8fafc;
}

.mpd-table td.sl-col {
  width: 70px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.mpd-table td.info-col {
  font-weight: 600;
  color: var(--dark);
  width: 45%;
}

.mpd-table td.detail-col {
  color: #334155;
}

.doc-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.doc-view-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}

/* ==========================================================================
   Document Modal Viewer
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition);
  overflow: hidden;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

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

.modal-header h3 {
  color: var(--white);
  font-size: 1.2rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 28px 24px;
  overflow-y: auto;
}

.certificate-preview-sheet {
  background: #fdfdfd;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.cert-emblem {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
}

.cert-authority {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.cert-title {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin: 6px 0 16px;
}

.cert-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin: 20px 0;
  font-size: 0.875rem;
  background: #f8fafc;
  padding: 16px;
  border-radius: var(--radius-md);
}

.cert-details-grid div strong {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.cert-stamp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ==========================================================================
   Page Headers (Generic for subpages)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #06162a 100%),
              url('../img/campus.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 60px 0 45px;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, 0.88);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #e2e8f0;
}

.breadcrumbs a:hover {
  color: var(--secondary-light);
}

/* ==========================================================================
   Facebook Social Integration Card
   ========================================================================== */
.fb-community-card {
  background: linear-gradient(135deg, #1877f2 0%, #0c56c2 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-xl);
  margin: 50px 0;
}

.fb-card-content h3 {
  color: var(--white);
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.fb-card-content p {
  color: #e0e7ff;
  font-size: 1.05rem;
  max-width: 600px;
}

.fb-badge-handle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06162a;
  color: #94a3b8;
  padding-top: 70px;
  border-top: 4px solid var(--secondary);
}

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

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

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.footer-about p {
  font-size: 0.885rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.885rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--secondary-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.885rem;
}

.footer-contact-item svg {
  color: var(--secondary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  background: #030c18;
  padding: 20px 0;
  font-size: 0.825rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Floating Quick Action Widget */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}

.float-btn-mpd {
  background: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
  width: auto;
  padding: 0 16px;
  border-radius: var(--radius-full);
}

.float-btn-mpd:hover {
  background: var(--secondary-hover);
  transform: scale(1.05);
}

.float-btn-phone {
  background: #25d366;
  font-size: 1.25rem;
}

.float-btn-phone:hover {
  transform: scale(1.1);
}

.float-btn-top {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
}

.float-btn-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Print Styles for MPD (Mandatory Public Disclosure)
   ========================================================================== */
@media print {
  .top-notice-ticker, .top-bar, .navbar, .site-footer, .floating-widget, .mpd-nav-tabs, .btn, .doc-view-btn {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .mpd-section-card {
    box-shadow: none !important;
    border: 1px solid #000 !important;
    page-break-inside: avoid;
    margin-bottom: 20px !important;
  }
  .mpd-table th, .mpd-table td {
    border: 1px solid #000 !important;
    padding: 8px !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-mobile-toggle {
    display: block;
  }
  .header-brand-wrap {
    flex-direction: column;
    text-align: center;
  }
  .brand-link {
    flex-direction: column;
  }
  .brand-subtext {
    align-items: center;
  }
  .brand-motto-box {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
  }
  .notices-layout {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  .stages-grid {
    grid-template-columns: 1fr;
  }
  .mpd-banner-block {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
