/* =========================================================
   SBS College — Global Styles
   Design: Navy Blue + Saffron + White (Indian tri-color inspired)
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@600;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Brand Colors */
  --primary: #1a2a6c;
  --primary-dark: #0d1a4a;
  --primary-light: #2c3f9a;
  --accent: #f4a015;
  --accent-dark: #d4880e;
  --accent-light: #ffc34d;
  --white: #ffffff;
  --off-white: #f8f9fd;
  --light-gray: #eef0f7;
  --mid-gray: #9aa3b8;
  --dark-gray: #4a5068;
  --text-dark: #1c2340;
  --text-body: #3d4466;

  /* Semantic Colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1a2a6c, #2c3f9a, #1a2a6c);
  --grad-accent: linear-gradient(135deg, #f4a015, #ffc34d);
  --grad-hero: linear-gradient(to right, rgba(10, 20, 60, 0.88) 0%, rgba(10, 20, 60, 0.55) 60%, rgba(10, 20, 60, 0.2) 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 42, 108, 0.08), 0 1px 2px rgba(26, 42, 108, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 42, 108, 0.12), 0 2px 8px rgba(26, 42, 108, 0.08);
  --shadow-lg: 0 10px 40px rgba(26, 42, 108, 0.15), 0 4px 16px rgba(26, 42, 108, 0.1);
  --shadow-xl: 0 20px 60px rgba(26, 42, 108, 0.2);
  --shadow-glow: 0 0 30px rgba(244, 160, 21, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Container */
  --container-max: 1280px;
  --container-pad: 1.5rem;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Section Wrapper --- */
.section { padding: var(--space-4xl) 0; }
.section-sm { padding: var(--space-2xl) 0; }
.section-lg { padding: 5rem 0; }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: var(--space-3xl); }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(244, 160, 21, 0.12);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 620px;
  margin: 0 auto;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--grad-accent);
  border-radius: var(--radius-full);
  margin: var(--space-md) auto;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid rgba(244,160,21,0.4);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.top-bar-right { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.top-bar a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}
.top-bar a:hover { color: var(--accent); }
.top-bar .social-links { display: flex; gap: 0.5rem; }
.top-bar .social-links a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
  font-size: 0.75rem;
}
.top-bar .social-links a:hover { background: var(--accent); color: var(--white); }
.top-bar .quick-links { display: flex; gap: 0.5rem; }
.top-bar .quick-links a {
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}
.top-bar .quick-links a:hover { background: var(--accent); color: var(--white); }
.top-bar .separator { color: rgba(255,255,255,0.3); }

/* =============================================
   HERO SECTION (Homepage)
   ============================================= */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active img { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(244,160,21,0.2);
  border: 1px solid rgba(244,160,21,0.5);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title span { color: var(--accent-light); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-xl);
  max-width: 580px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}
.hero-dot.active { background: var(--accent); width: 28px; border-radius: var(--radius-full); }
.hero-arrows {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}
.hero-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(244,160,21,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244,160,21,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* =============================================
   NEWS TICKER
   ============================================= */
.news-ticker {
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  position: relative;
}
.ticker-label {
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  z-index: 2;
}
.ticker-label::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-left: 15px solid var(--accent);
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 2rem;
}
.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 38s linear infinite;
  white-space: nowrap;
  font-size: 0.88rem;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 0.5rem; }
.ticker-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: var(--grad-primary);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  transform: rotate(-15deg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  color: var(--white);
}
.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-card:last-child::after { display: none; }
.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--accent-light);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-number span { color: var(--accent-light); }
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* =============================================
   NOTICE BOARD & EVENTS GRID
   ============================================= */
.notice-events-section { background: var(--white); }
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.notice-board, .events-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.panel-header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-header h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.panel-header a {
  font-size: 0.78rem;
  color: var(--accent-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast);
}
.panel-header a:hover { gap: 0.5rem; }
.notice-list { padding: 0; }
.notice-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.notice-item:hover { background: var(--light-gray); }
.notice-item:last-child { border-bottom: none; }
.notice-date-box {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  min-width: 52px;
  flex-shrink: 0;
  align-self: start;
}
.notice-date-box .day { font-size: 1.3rem; font-weight: 700; line-height: 1; }
.notice-date-box .month { font-size: 0.62rem; text-transform: uppercase; opacity: 0.8; }
.notice-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.notice-content p { font-size: 0.78rem; color: var(--mid-gray); }
.notice-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.notice-tag.new { background: rgba(239,68,68,0.1); color: var(--danger); }
.notice-tag.important { background: rgba(244,160,21,0.15); color: var(--accent-dark); }
.events-list .event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  align-items: center;
  transition: background var(--transition-fast);
}
.events-list .event-item:hover { background: var(--light-gray); }
.events-list .event-item:last-child { border-bottom: none; }
.event-icon {
  width: 48px; height: 48px;
  background: rgba(26,42,108,0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--primary);
}
.event-info h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.2rem; }
.event-info p { font-size: 0.78rem; color: var(--mid-gray); display: flex; align-items: center; gap: 0.3rem; }

/* =============================================
   COURSES SECTION
   ============================================= */
.courses-section { background: var(--white); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.course-card {
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--white);
  position: relative;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-card-top {
  padding: var(--space-xl) var(--space-lg) var(--space-md);
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}
.course-card-top::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: rgba(26,42,108,0.05);
  border-radius: 50%;
}
.course-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.course-card-top h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.course-card-top p { font-size: 0.82rem; color: var(--dark-gray); }
.course-card-body { padding: var(--space-md) var(--space-lg) var(--space-lg); }
.course-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--dark-gray);
}
.course-meta-item i { color: var(--primary); }
.course-highlights { margin-bottom: var(--space-md); }
.course-highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 0.35rem;
}
.course-highlight::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.75rem;
  width: 16px;
  height: 16px;
  background: rgba(34,197,94,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =============================================
   PRINCIPAL MESSAGE SECTION
   ============================================= */
.principal-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.principal-section::before {
  content: '"';
  position: absolute;
  font-size: 25rem;
  font-family: Georgia, serif;
  color: rgba(26,42,108,0.04);
  top: -8rem;
  left: -2rem;
  line-height: 1;
}
.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--space-3xl);
  align-items: center;
}
.principal-photo-wrap {
  position: relative;
}
.principal-photo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.principal-photo-frame > img { width: 100%; height: 420px; object-fit: cover; }
.principal-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.principal-badge .years { font-size: 2rem; font-weight: 800; line-height: 1; }
.principal-badge .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.principal-message blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--text-body);
  line-height: 1.8;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--accent);
  margin: var(--space-lg) 0;
}
.principal-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.principal-title-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-md);
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 200px;
}
.gallery-item.large img { min-height: 420px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,60,0.75), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* =============================================
   ACCREDITATIONS SECTION
   ============================================= */
.accred-section {
  background: var(--light-gray);
  padding: var(--space-2xl) 0;
}
.accred-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
.accred-item:hover { box-shadow: var(--shadow-md); }
.accred-icon {
  font-size: 2.5rem;
}
.accred-text .grade {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.accred-text .org {
  font-size: 0.78rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   PAGE BANNER (Inner pages)
   ============================================= */
.page-banner {
  background: var(--grad-primary);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-light), var(--accent));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner-content { color: var(--white); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.page-banner-bg::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -100px; right: -100px;
}
.page-banner-bg::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(244,160,21,0.08);
  bottom: -50px; left: 10%;
}

/* =============================================
   CARDS — General Purpose
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--light-gray);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img { overflow: hidden; }
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: var(--space-lg); }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(26,42,108,0.1);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.card-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.card-text { font-size: 0.85rem; color: var(--dark-gray); }

/* =============================================
   DEPARTMENT / FACULTY CARDS
   ============================================= */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 2px solid var(--light-gray);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.dept-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.dept-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.dept-card:hover::before { transform: scaleX(1); }
.dept-icon {
  width: 64px; height: 64px;
  background: rgba(26,42,108,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-md);
  color: var(--primary);
  transition: all var(--transition-base);
}
.dept-card:hover .dept-icon { background: var(--primary); color: var(--white); }
.dept-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.dept-card p { font-size: 0.8rem; color: var(--dark-gray); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-4xl) 0 var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: var(--space-md); }
.footer-brand .logo-wrap img { width: 60px; height: 60px; object-fit: contain; filter: brightness(1.1); }
.footer-brand .college-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: var(--space-lg); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-base);
  color: rgba(255,255,255,0.8);
}
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }
.footer-section h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  position: relative;
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before { content: '›'; color: var(--accent); font-size: 1.1rem; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; }
.footer-contact-item i { color: var(--accent); font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--accent-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.vm-card.accent { border-top-color: var(--accent); }
.vm-card .vm-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.vm-card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--text-dark); margin-bottom: var(--space-md); }
.vm-card p { color: var(--dark-gray); line-height: 1.8; }

.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px dashed var(--light-gray);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 18px; height: 18px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.85rem; color: var(--dark-gray); }

/* =============================================
   ADMISSION PROCESS STEPS
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  z-index: 0;
}
.step-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  z-index: 1;
}
.step-number {
  width: 60px; height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto var(--space-md);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}
.step-card:hover .step-number { background: var(--accent); transform: scale(1.1); }
.step-card h4 { font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.82rem; color: var(--dark-gray); }

/* =============================================
   CONTACT FORM & INFO
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
}
.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}
.contact-info-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--space-md); color: var(--white); }
.contact-info-card p { color: rgba(255,255,255,0.75); margin-bottom: var(--space-xl); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--space-lg);
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-light);
  flex-shrink: 0;
}
.contact-detail-text .label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-detail-text .value { font-size: 0.92rem; color: var(--white); font-weight: 500; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: var(--space-xs); }
.contact-form-wrap p { color: var(--dark-gray); margin-bottom: var(--space-xl); font-size: 0.9rem; }
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: var(--off-white);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,42,108,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* =============================================
   RESEARCH PAGE
   ============================================= */
.research-centres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.research-centre-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.research-centre-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.research-centre-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.research-centre-card p { font-size: 0.85rem; color: var(--dark-gray); line-height: 1.7; }
.stats-researh {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}
.stat-mini { text-align: center; }
.stat-mini .num { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.stat-mini .lbl { font-size: 0.72rem; color: var(--dark-gray); text-transform: uppercase; }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-glow); }

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--off-white); }
.bg-primary { background: var(--primary); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }
.highlight-text {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .principal-grid { grid-template-columns: 1fr; }
  .principal-photo-frame > img { height: 320px; }
  .principal-badge { right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .research-centres-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --container-pad: 1rem; }
  .section { padding: var(--space-2xl) 0; }
  .section-lg { padding: var(--space-3xl) 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card::after { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-arrows { display: none; }
  .top-bar .quick-links { display: none; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 2; }
  .accred-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .page-banner { padding: 4rem 0 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .two-col-grid { gap: var(--space-lg); }
  .hero-title { font-size: 1.8rem; }
  .process-steps { grid-template-columns: 1fr; }
  .accred-item { justify-content: center; }
  .top-bar .container { flex-direction: column; gap: 0.35rem; }
}
