/* ============================================
   CESCOP — Classic Academic Theme
   Clean, warm, traditional university aesthetic
   Serif headings, light backgrounds, trustworthy
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Colors — warm, academic */
  --primary-green: #1a5632;
  --primary-green-light: #237a47;
  --primary-green-dark: #0f3820;
  --primary-blue: #1e3a5f;
  --primary-blue-light: #2a5a8f;
  --primary-blue-dark: #142840;
  --accent-gold: #b8860b;
  --accent-gold-light: #d4a843;
  --accent-red: #8b2500;

  /* Neutrals — warm undertones */
  --bg-dark: #1c1917;
  --bg-dark-2: #292524;
  --bg-dark-3: #3a3532;
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --bg-cream: #f5f0e8;
  --bg-parchment: #fdf6ec;

  /* Text */
  --text-white: #ffffff;
  --text-light: #e7e5e4;
  --text-muted: #78716c;
  --text-dark: #1c1917;
  --text-body: #44403c;

  /* Glass (muted for classic look) */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.9);
  --glass-border-light: rgba(0, 0, 0, 0.08);

  /* Shadows — softer */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-glow-green: 0 0 20px rgba(26, 86, 50, 0.15);
  --shadow-glow-blue: 0 0 20px rgba(30, 58, 95, 0.15);
  --shadow-glow-gold: 0 0 20px rgba(184, 134, 11, 0.2);

  /* Gradients — subtle */
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #9a7209 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 86, 50, 0.88) 0%, rgba(30, 58, 95, 0.88) 100%);

  /* Typography */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius — more restrained */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-green-dark);
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--accent-gold);
}

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

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

.top-bar-left a {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a:hover {
  color: var(--accent-gold-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-right a {
  color: rgba(255,255,255,0.6);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.top-bar-right a:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.1);
}

/* --- Header / Navigation --- */
.main-header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e7e5e4;
  transition: all var(--transition-base);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-area img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .college-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1.2;
}

.logo-text .college-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-green);
  background: rgba(26, 86, 50, 0.05);
}

.main-nav a.active {
  color: var(--primary-green);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  max-width: 680px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--accent-gold-light);
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
  font-style: italic;
}

.hero h1 span {
  display: block;
  font-style: normal;
  color: var(--accent-gold-light);
}

.hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--text-white);
  border-color: var(--accent-gold);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--text-white);
}

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

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

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

.btn-blue:hover {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue-light);
  transform: translateY(-2px);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-green-dark);
  padding: 36px 0;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gold);
}

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

.stat-item {
  text-align: center;
  color: var(--text-white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- Section Styles --- */
.section { padding: var(--section-padding); }

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

.section-dark h2, .section-dark h3 { color: var(--text-white); }

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

.section-green {
  background: var(--primary-green);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-dark .section-tag { color: var(--accent-gold-light); }

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* --- Program Cards --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid #e7e5e4;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d6d3d1;
}

.program-card:hover::before { transform: scaleY(1); }

.program-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: var(--bg-cream);
  color: var(--primary-green);
}

.program-card h3 { font-size: 1.2rem; margin-bottom: 6px; }

.program-card .duration {
  font-size: 0.8125rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.program-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.program-card .seats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-green);
  border: 1px solid #e7e5e4;
}

.section-dark .program-card {
  background: var(--bg-dark-3);
  border-color: rgba(255,255,255,0.06);
}

.section-dark .program-card h3 { color: var(--text-white); }
.section-dark .program-card p { color: rgba(255,255,255,0.55); }

/* --- Announcement Ticker --- */
.announcement-bar {
  background: var(--primary-green);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--accent-gold);
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.announcement-label {
  background: var(--accent-gold);
  color: var(--text-white);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement-scroll {
  overflow: hidden;
  flex: 1;
  position: relative;
  height: 22px;
}

.announcement-scroll-inner {
  display: flex;
  gap: 80px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  position: absolute;
}

.announcement-scroll-inner a {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.announcement-scroll-inner a:hover { color: var(--accent-gold-light); }

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

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--bg-cream);
  box-shadow: var(--shadow-lg);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary-green);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-gold);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.about-content p {
  margin-bottom: 14px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid #e7e5e4;
}

.about-feature-icon {
  color: var(--primary-green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- Department Cards --- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.dept-card {
  background: var(--bg-white);
  border: 1px solid #e7e5e4;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-base);
  text-align: center;
}

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

.dept-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 16px;
  background: var(--primary-green);
  color: var(--text-white);
}

.dept-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.dept-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* --- Faculty Cards --- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.faculty-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e7e5e4;
  transition: all var(--transition-base);
  text-align: center;
}

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

.faculty-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--bg-cream);
}

.faculty-card-body { padding: 18px; }
.faculty-card h3 { font-size: 1rem; margin-bottom: 4px; }
.faculty-card .designation { font-size: 0.8125rem; color: var(--accent-gold); font-weight: 600; margin-bottom: 4px; }
.faculty-card .department { font-size: 0.8125rem; color: var(--text-muted); }

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 7px 18px;
  border: 1px solid #d6d3d1;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-body);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary-green);
  color: var(--text-white);
  border-color: var(--primary-green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border: 3px solid var(--bg-cream);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

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

.gallery-item-overlay p {
  color: var(--text-white);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(28, 25, 23, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active { display: flex; opacity: 1; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  border: 4px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-white);
  font-size: 0.9rem;
  background: rgba(28,25,23,0.7);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
}

.contact-info-card:hover { border-color: var(--accent-gold); }

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 0.95rem; color: var(--text-white); margin-bottom: 3px; }
.contact-info-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-light); margin-bottom: 5px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
}

.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-gold); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Footer --- */
.main-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 0;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-gold);
  display: inline-block;
}

.footer-col h3::after { display: none; }

.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; }

.footer-social { display: flex; gap: 8px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--text-white);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--accent-gold-light); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--accent-gold); font-weight: 700; }

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

.footer-contact-icon {
  color: var(--accent-gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* --- Page Banner --- */
.page-banner {
  background: var(--primary-green-dark);
  padding: 90px 0 55px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent-gold);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v22H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 10px;
  position: relative;
  font-style: italic;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  position: relative;
}

.page-banner .breadcrumb a { color: var(--accent-gold-light); }
.page-banner .breadcrumb a:hover { color: var(--accent-gold); }

/* --- Info Cards --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #e7e5e4;
  transition: all var(--transition-base);
}

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

.info-card h3 { font-size: 1.15rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.info-card p { font-size: 0.9375rem; color: var(--text-body); line-height: 1.7; }

.info-card ul { margin-top: 10px; }
.info-card ul li {
  padding: 5px 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.info-card ul li::before { content: '✓'; color: var(--primary-green); font-weight: 700; flex-shrink: 0; }

/* --- Table Styles --- */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #e7e5e4;
}

.styled-table thead {
  background: var(--primary-green);
  color: var(--text-white);
}

.styled-table th {
  padding: 13px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
}

.styled-table td {
  padding: 13px 18px;
  font-size: 0.9375rem;
  border-bottom: 1px solid #e7e5e4;
}

.styled-table tbody tr:hover { background: var(--bg-cream); }
.styled-table tbody tr:last-child td { border-bottom: none; }

/* --- Testimonials --- */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--accent-gold);
  position: absolute;
  top: 8px;
  left: 18px;
  opacity: 0.4;
  line-height: 1;
}

.testimonial-card p { font-size: 1rem; font-style: italic; line-height: 1.7; color: var(--text-light); margin-bottom: 14px; padding-top: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; }
.testimonial-author-info h4 { font-size: 0.9rem; color: var(--text-white); }
.testimonial-author-info span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* --- Map --- */
.map-container { border-radius: var(--radius-md); overflow: hidden; height: 350px; border: 3px solid var(--bg-cream); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- CTA Section --- */
.cta-section {
  background: var(--primary-green);
  padding: 72px 0;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--accent-gold);
  border-bottom: 3px solid var(--accent-gold);
}

.cta-section h2 { font-size: 2rem; color: var(--text-white); margin-bottom: 14px; font-style: italic; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 28px; }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: all 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-green { color: var(--primary-green); }
.text-blue { color: var(--primary-blue); }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--text-white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* --- Accreditation Badges --- */
.accreditation-bar { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; padding: 18px 0; }

.accreditation-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-white);
}

.accreditation-badge .badge-icon { color: var(--accent-gold-light); font-size: 1.1rem; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-green);
  color: var(--text-white);
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 99;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-green-light); }

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-parchment);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden { opacity: 0; visibility: hidden; }

.loader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e7e5e4;
  border-top-color: var(--primary-green);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

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

/* --- Nav Overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,25,23,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-white); flex-direction: column; padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1); transition: right var(--transition-base);
    z-index: 1005; overflow-y: auto; align-items: flex-start;
  }
  .main-nav.active { right: 0; }
  .main-nav a { width: 100%; padding: 12px 14px; font-size: 1rem; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 52px 0; }
  .top-bar { display: none; }
  .hero { min-height: 460px; }
  .hero h1 { font-size: 1.75rem; }
  .section-header h2 { font-size: 1.75rem; }
  .stat-number { font-size: 1.8rem; }
  .page-banner { padding: 75px 0 45px; }
  .page-banner h1 { font-size: 1.8rem; }
  .programs-grid, .dept-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.7rem; }
  .section-header h2 { font-size: 1.4rem; }
  .logo-area img { width: 48px; height: 48px; }
  .logo-text .college-name { font-size: 0.95rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
}
