/* ============================================
   CESCOP — Design System & Stylesheet
   Creative Educational Society's College of Pharmacy
   Colors derived from college logo: Green, Blue, Gold/Red
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Primary Colors (from logo) */
  --primary-green: #0D6B3F;
  --primary-green-light: #14955a;
  --primary-green-dark: #084d2d;
  --primary-blue: #1B4D8E;
  --primary-blue-light: #2563EB;
  --primary-blue-dark: #12366a;
  --accent-gold: #D4A843;
  --accent-gold-light: #e8c76e;
  --accent-red: #C0392B;

  /* Neutrals */
  --bg-dark: #0a0a1a;
  --bg-dark-2: #111827;
  --bg-dark-3: #1a1a2e;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-cream: #fdf8f0;

  /* Text */
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --text-body: #334155;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.85);
  --glass-border-light: rgba(255, 255, 255, 0.5);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow-green: 0 0 20px rgba(13, 107, 63, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(27, 77, 142, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(212, 168, 67, 0.3);

  /* Gradients */
  --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%, #c9952e 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13, 107, 63, 0.92) 0%, rgba(27, 77, 142, 0.92) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

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

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

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --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.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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.2;
  color: var(--text-dark);
}

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

/* --- Top Bar --- */
.top-bar {
  background: var(--bg-dark);
  color: var(--text-muted);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.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: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

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

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

.top-bar-right a {
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  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;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

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

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

.logo-area img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 4px;
}

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

.logo-text .college-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  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: 4px;
}

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-green);
  background: rgba(13, 107, 63, 0.06);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary-green);
  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: 600px;
  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.2s 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: 700px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--accent-gold-light);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  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-xl);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-dark);
  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.1);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.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);
  box-shadow: var(--shadow-glow-blue);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-dark-2);
  padding: 40px 0;
  position: relative;
}

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

.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.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- 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-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-green);
  margin-bottom: 12px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.section-dark .section-header p {
  color: var(--text-muted);
}

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

.program-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.program-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(13, 107, 63, 0.1), rgba(27, 77, 142, 0.1));
  color: var(--primary-green);
}

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

.program-card .duration {
  font-size: 0.8125rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

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

.program-card .seats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  background: rgba(13, 107, 63, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* Section dark program cards */
.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: var(--text-muted);
}

/* --- Announcement Ticker --- */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
  padding: 12px 0;
  overflow: hidden;
}

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

.announcement-label {
  background: var(--accent-gold);
  color: var(--bg-dark);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

.announcement-scroll-inner a {
  color: var(--text-white);
  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: 60px;
  align-items: center;
}

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

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: var(--bg-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

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

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(13, 107, 63, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

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

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

.dept-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  text-align: center;
}

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

.dept-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  color: var(--text-white);
}

.dept-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.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: 28px;
}

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

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

.faculty-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.faculty-card-body {
  padding: 20px;
}

.faculty-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.faculty-card .designation {
  font-size: 0.8125rem;
  color: var(--primary-blue);
  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: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  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: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

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

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  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.1);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

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

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-white);
  font-size: 0.9375rem;
  background: rgba(0,0,0,0.5);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

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

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.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: 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255,255,255,0.06);
}

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

.contact-info-card h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  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-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}

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

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.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: var(--text-muted);
  padding: 64px 0 0;
}

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

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

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

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  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: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  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: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

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

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

.footer-bottom p {
  color: var(--text-muted);
}

/* --- Page Banner --- */
.page-banner {
  background: var(--gradient-primary);
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  font-size: 2.75rem;
  color: var(--text-white);
  margin-bottom: 12px;
  position: relative;
}

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

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

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

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

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

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  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: 12px;
}

.info-card ul li {
  padding: 6px 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;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

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

.styled-table td {
  padding: 14px 20px;
  font-size: 0.9375rem;
  border-bottom: 1px solid #e2e8f0;
}

.styled-table tbody tr {
  transition: background var(--transition-fast);
}

.styled-table tbody tr:hover {
  background: rgba(13, 107, 63, 0.04);
}

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

/* --- Testimonial / Quote Cards --- */
.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  position: relative;
}

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

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-top: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 0.9375rem;
  color: var(--text-white);
}

.testimonial-author-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
}

.cta-section h2 {
  font-size: 2.25rem;
  color: var(--text-white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 32px;
  position: relative;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Utility Classes --- */
.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; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    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 16px;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 { font-size: 2.25rem; }

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

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
  }

  .top-bar { display: none; }

  .hero { min-height: 500px; }
  .hero h1 { font-size: 1.875rem; }
  .hero p { font-size: 1rem; }

  .section-header h2 { font-size: 1.875rem; }

  .stats-grid { gap: 20px; }
  .stat-number { font-size: 2rem; }

  .page-banner { padding: 80px 0 50px; }
  .page-banner h1 { font-size: 2rem; }

  .programs-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.75rem; }

  .section-header h2 { font-size: 1.5rem; }

  .logo-area img { width: 44px; height: 44px; }
  .logo-text .college-name { font-size: 0.95rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

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

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

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-green);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  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);
  transform: translateY(-3px);
}

/* --- Loading animation for page --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-white);
  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: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top-color: var(--primary-green);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}

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

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

.accreditation-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
}

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