/* ==========================================================================
   SRI RAMAKRISHNA SCHOOL - MAIN STYLESHEET
   Theme Palette: Atomic Orange (#c05621, #d96b27) & Deep Slate (#0f172a)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Tokens */
  --primary: #c05621;
  --primary-hover: #a34313;
  --primary-light: #fff4ec;
  --primary-glow: rgba(192, 86, 33, 0.25);
  --accent-orange: #d96b27;
  --accent-gold: #f59e0b;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --black: #000000;
  --bg-warm: #faf9f6;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevate Shadows */
  --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.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --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(192, 86, 33, 0.3);

  /* Transitions & Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Smooth Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  color: var(--white);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--slate-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--slate-800);
  border-color: var(--slate-300, #cbd5e1);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

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

/* Top Utility Header */
.top-header {
  background-color: var(--slate-900);
  color: var(--slate-300, #cbd5e1);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-info {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-ticker {
  background-color: rgba(192, 86, 33, 0.25);
  border: 1px solid var(--primary);
  color: #ffedd5;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
}

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

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.35vw, 1.4rem);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

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

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

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

/* Dropdown Menu Styling */
.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

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

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.nav-item.dropdown:hover .dropdown-toggle i,
.nav-item.dropdown.open .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem;
}


.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-800);
  cursor: pointer;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Fullscreen Slider */
.hero-section {
  position: relative;
  min-height: calc(100vh - 110px);
  height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 0;
  background: #0f172a;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #ffedd5;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  max-width: 720px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.2rem;
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Staggered Entrance Animations for Active Slide Text & Elements */
.hero-slide .hero-badge,
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.hero-slide.active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-slide.active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}

/* Vision & Mission Cards - Reference Image Match */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.vm-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(192, 86, 33, 0.12);
}

.vm-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vm-icon-circle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3eb 0%, #ffe4d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(192, 86, 33, 0.12);
}

.vm-icon-circle i {
  font-size: 1.15rem;
  color: var(--primary, #c05621);
}

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

.vm-accent-block {
  background: #f8fafc;
  border-left: 4px solid var(--primary, #c05621);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
}

.vm-quote-text {
  font-style: italic;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 500;
}

.vm-quote-mark {
  color: var(--primary, #c05621);
  font-size: 1.4rem;
  font-weight: 700;
  margin-right: 0.3rem;
  font-family: Georgia, serif;
}

.vm-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
}

.vm-list-item i {
  color: var(--primary, #c05621);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* 5-in-a-row Faculty Grid & Cards */
.faculty-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.faculty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 86, 33, 0.3);
}

.faculty-img-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-img-wrap img {
  transform: scale(1.06);
}

.faculty-info {
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.faculty-name {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  text-align: center;
}

.faculty-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  text-align: center;
}

.faculty-edu {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.8rem;
}

.faculty-contact {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--slate-600);
}

.faculty-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faculty-contact-item i {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(192, 86, 33, 0.4);
}

.prev-arrow { left: 1.8rem; }
.next-arrow { right: 1.8rem; }

/* Hero Slider Dots Indicators */
.slider-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
  width: 34px;
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(192, 86, 33, 0.5);
}

/* Section Shared Styling */
.section {
  padding: 3rem 0;
}

.section-bg-alt {
  background-color: var(--slate-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

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

/* Legacy of Excellence Section */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.card-mission {
  grid-column: span 7;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-mission .icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-stat-orange {
  grid-column: span 5;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.95;
}

.card-stat-light {
  grid-column: span 5;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-campus-img {
  grid-column: span 7;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 250px;
}

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

.card-campus-img:hover img {
  transform: scale(1.04);
}

/* Event Cards Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(192, 86, 33, 0.3);
}

.event-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
}

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

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.event-date-badge.completed {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid #22c55e !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.event-date-badge.completed::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
}

.event-date-badge.upcoming {
  background: rgba(180, 83, 9, 0.9);
  color: #ffffff;
  border: 1px solid rgba(253, 224, 71, 0.3);
}

.event-date-badge.upcoming::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fde047;
}

.event-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.35rem;
  color: var(--slate-900);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-desc {
  color: var(--slate-600);
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-link, .ev-read-more-btn {
  color: var(--primary, #c05621);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.event-link:hover, .ev-read-more-btn:hover {
  color: var(--primary-hover, #9c4214);
  gap: 0.7rem;
}

/* Testimonials Slider (Single Row Carousel with 3 visible cards) */
.testimonials-section {
  overflow: hidden;
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1rem;
}

.testimonials-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  border-radius: var(--radius-md);
}

.testimonials-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* 3 visible cards in a single row on desktop */
.testimonial-card-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .testimonial-card-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .testimonial-card-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Nav Arrow Buttons */
.testi-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 1rem;
}

.testi-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.08);
}

.testi-prev-btn {
  left: -22px;
}

.testi-next-btn {
  right: -22px;
}

@media (max-width: 768px) {
  .testi-prev-btn { left: 4px; }
  .testi-next-btn { right: 4px; }
}

/* Dots Pagination */
.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials-dots .testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-dots .testi-dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--primary);
}

.testimonial-card {
  background: var(--white);
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.quote-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--slate-200);
  font-size: 2.2rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--slate-700);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

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

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
}

.author-role {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Download Application Form Banner Section */
.cta-download-section {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: var(--white);
  padding: 4rem 0;
  border-top: 4px solid var(--primary);
}

.cta-download-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.cta-download-content h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-download-content p {
  color: var(--slate-300, #cbd5e1);
  font-size: 1.05rem;
}

/* Main Footer */
.main-footer {
  font-family: var(--font-heading);
  background-color: var(--slate-900);
  color: var(--slate-300, #cbd5e1);
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.4fr 1.6fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-logo img {
  height: 50px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-motto {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--slate-400, #94a3b8);
  line-height: 1.6;
}

.footer-address {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--slate-400, #94a3b8);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.4rem;
  display: inline-block;
  border-bottom: 2px solid var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: var(--font-heading);
  color: var(--slate-400, #94a3b8);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  width: 100%;
  height: 160px;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.scroll-top-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.scroll-top-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Inner Page Header Banner */
.page-banner {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.85)), url('../images/campus-aerial.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-300, #cbd5e1);
}

.breadcrumbs a {
  color: #ffedd5;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Gallery Styles */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--slate-300, #cbd5e1);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--slate-700);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 380px));
  gap: 1.5rem;
  justify-content: start;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--slate-900);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.gallery-category {
  color: #ffedd5;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Lightbox Multi-Image Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-container {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 92vh;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  padding: 0 0.5rem;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.lightbox-counter {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60vh;
  min-height: 350px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lightbox-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: opacity 0.2s ease-in-out;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.75);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 2010;
  color: #cbd5e1;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--white);
}

.lightbox-thumbs-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.lightbox-thumb {
  width: 70px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: #38bdf8;
  transform: translateY(-2px);
}


/* Forms & Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-text p {
  color: var(--slate-600);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-800);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--slate-300, #cbd5e1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #1e293b;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Modern Custom Select Box Component */
.custom-select-box {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
}

.custom-select-trigger:hover {
  border-color: var(--primary);
}

.custom-select-box.open .custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.custom-select-trigger .arrow-icon {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.25s ease;
}

.custom-select-box.open .arrow-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.custom-options-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
  padding: 0.5rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.custom-select-box.open .custom-options-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.custom-option-item:hover {
  background-color: #fff5f0;
}

.custom-option-item.selected {
  background-color: #fff0ea;
}

.option-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.option-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
}

.option-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 1px;
}

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

.alert-success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: none;
}

/* Management & Faculty Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 2rem;
  justify-content: start;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding-bottom: 1.8rem;
  transition: var(--transition);
  max-width: 380px;
  width: 100%;
}

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

.team-img-wrap {
  height: 260px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--slate-100);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.team-bio {
  color: var(--slate-600);
  font-size: 0.88rem;
  padding: 0 1.5rem;
}

/* Modal Popup (Virtual Tour / Download) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.3s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.8rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--slate-500);
}

.modal-close-btn:hover {
  color: var(--slate-900);
}

/* Principal's Desk Card Component */
.principal-card-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
}

.principal-sidebar {
  background: #f8fafc;
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.principal-photo-wrap {
  width: 100%;
  max-width: 240px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.principal-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.principal-name {
  font-size: 1.25rem;
  color: var(--slate-900);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.principal-designation {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.principal-school {
  color: var(--slate-600);
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.principal-body {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.principal-title {
  font-size: 1.65rem;
  color: var(--slate-900);
  font-weight: 800;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.principal-message-text {
  color: var(--slate-700);
  line-height: 1.75;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.principal-signoff {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Form Helper Row */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Committee Card Box */
.committee-card-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.25rem;
  }

  .about-vm-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-mission, .card-stat-orange, .card-stat-light, .card-campus-img {
    grid-column: span 1;
  }

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

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

@media (max-width: 992px) {
  .principal-card-box {
    grid-template-columns: 1fr;
  }

  .principal-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding: 2rem 1.25rem;
  }

  .principal-photo-wrap {
    max-width: 200px;
    height: 250px;
    margin-bottom: 1rem;
  }

  .principal-body {
    padding: 1.5rem 1.25rem;
  }

  .principal-title {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
  }

  .principal-message-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

@media (max-width: 768px) {
  /* Top Utility Header Mobile Scroll */
  .top-header {
    padding: 0.4rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-header::-webkit-scrollbar {
    display: none;
  }

  .top-header .container {
    justify-content: flex-start;
    gap: 1.2rem;
    min-width: max-content;
  }

  .top-info {
    gap: 1rem;
    font-size: 0.78rem;
  }

  .top-ticker {
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
  }

  /* Main Navigation Header & Mobile Drawer */
  .header-wrapper {
    padding: 0.6rem 0;
  }

  .brand-logo img {
    height: 42px;
  }

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

  .brand-tagline {
    font-size: 0.65rem;
  }

  .mobile-toggle {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--slate-100);
    color: var(--slate-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 62px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 1.25rem 3rem 1.25rem;
    align-items: stretch;
    gap: 0.85rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    z-index: 1050;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.6rem 0;
    width: 100%;
    border-bottom: 1px solid var(--slate-100);
  }

  /* Mobile Navigation Accordion Dropdown */
  .nav-item.dropdown {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--slate-100);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin-top: 0;
    display: none;
    min-width: 100%;
  }

  .nav-item.dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px dashed var(--slate-200);
  }

  .nav-menu .btn-primary {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    min-height: 280px;
    height: 50vh;
    padding: 0;
    text-align: center;
  }

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

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.8rem;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

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

  /* Section Spacing & Headers Mobile */
  .section {
    padding: 2.2rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

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

  .section-subtitle {
    font-size: 0.92rem;
  }

  .page-banner {
    padding: 2.5rem 1rem;
  }

  /* Form & Component Wrappers Mobile */
  .form-row-2col {
    grid-template-columns: 1fr !important;
  }

  .committee-card-box {
    padding: 1.25rem;
  }

  .cta-download-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .cta-download-content h2 {
    font-size: 1.4rem;
  }

  .cta-download-content p {
    font-size: 0.95rem;
  }

  .cta-download-box .btn {
    width: 100%;
  }

  /* Cards & Grids Mobile */
  .card-mission, .card-stat-orange, .card-stat-light {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .card-campus-img {
    min-height: 200px;
    height: 220px;
  }

  .events-grid, .testimonials-grid, .team-grid, .gallery-grid, .vm-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .faculty-grid-4, .faculty-grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .vm-card {
    padding: 1.2rem;
    gap: 0.85rem;
  }

  .vm-icon-circle {
    width: 40px;
    height: 40px;
  }

  .vm-icon-circle i {
    font-size: 1.05rem;
  }

  .vm-title {
    font-size: 1.2rem;
  }

  .vm-accent-block {
    padding: 0.85rem 1rem;
  }

  .gallery-item {
    height: 210px;
  }

  .gallery-filters {
    gap: 0.5rem;
    margin-bottom: 1.8rem;
  }

  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
  }

  /* Footer Mobile */
  .main-footer {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

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

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

  .footer-bottom div {
    justify-content: center;
  }

  /* Modal Popups Mobile */
  .modal-box {
    padding: 1.5rem 1.25rem;
    max-width: 95%;
  }

  .lightbox-content {
    max-width: 95%;
  }
}

@media (max-width: 540px) {
  .faculty-grid-4, .faculty-grid-5 {
    grid-template-columns: 1fr !important;
  }

  .principal-signoff {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .principal-motto {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    display: none;
  }

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

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

  .contact-card {
    padding: 1.25rem;
  }

  /* Force 1-column form layouts on small phones */
  form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Mandatory Disclosure Page
   ========================================================================== */
.disclosure-section {
  padding: 4rem 0 5rem 0;
  background-color: var(--bg-warm);
}

.disclosure-container {
  max-width: 1060px;
  margin: 0 auto;
}

.disclosure-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  padding: 3.5rem 3rem;
}

.disclosure-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.disclosure-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

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

.disclosure-table thead tr {
  background-color: var(--primary);
  color: var(--white);
}

.disclosure-table thead th {
  padding: 1.15rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  border: none;
}

.disclosure-table thead th.col-sno {
  width: 100px;
}

.disclosure-table thead th.col-desc {
  width: auto;
}

.disclosure-table thead th.col-action {
  width: 130px;
  text-align: left;
}

.disclosure-table tbody tr {
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
}

.disclosure-table tbody tr:last-child {
  border-bottom: none;
}

.disclosure-table tbody tr:hover {
  background-color: var(--primary-light);
}

.disclosure-table tbody td {
  padding: 1.1rem 1.6rem;
  font-size: 0.96rem;
  vertical-align: middle;
}

.disclosure-table tbody td.col-sno {
  font-weight: 600;
  color: var(--slate-600);
}

.disclosure-table tbody td.col-desc {
  color: var(--slate-800);
  font-weight: 600;
}

.disclosure-table tbody td.col-action {
  text-align: left;
}

.disclosure-view-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.disclosure-view-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .disclosure-section {
    padding: 2.25rem 0 3.5rem 0;
  }

  .disclosure-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .disclosure-title {
    margin-bottom: 1.75rem;
  }

  .disclosure-table thead th,
  .disclosure-table tbody td {
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
  }

  .disclosure-table thead th.col-sno,
  .disclosure-table tbody td.col-sno {
    width: 60px;
  }
}



