/* ==========================================================================
   Prabhavitum PU Science College — Official Brand Stylesheet
   Theme System: Default All-White Theme + True Neutral System Dark Mode (Not Blue)
   Logo Source: images/logoppucm.svg
   Committee Member Photos: images/committee/
   Dashboard Module: Student Admission Management System
   Palette: Logo Deep Blue (#1E2B78), Logo Emerald Green (#2E8B46), Logo DNA Rose (#D94857)
   ========================================================================== */

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

:root {
  /* Official Brand Palette from College Logo */
  --brand-blue: #1E2B78;
  --brand-blue-dark: #1E2B78;
  --brand-green: #2E8B46;
  --brand-green-light: #38A155;
  --brand-rose: #D94857;
  
  /* DEFAULT ALL-WHITE THEME (WHITE HEADER, WHITE BODY, WHITE FOOTER) */
  --bg-primary: #ffffff;         /* Crisp white body background */
  --bg-secondary: #ffffff;       /* Crisp white header & footer background */
  --bg-topbar: #f8fafc;          /* Soft light top announcement bar */
  --bg-card: #f8fafc;            /* Light card background */
  --bg-card-hover: #edf2f7;      /* Card hover background */
  --border-color: #e2e8f0;       /* Soft light borders */
  
  --text-main: #0f172a;          /* Dark body text */
  --text-muted: #475569;        /* Muted body text */
  --text-header: #0f172a;        /* Dark text inside Header & Footer */
  --text-header-muted: #64748b;  /* Muted header text */
  
  --accent-blue: #1E2B78;
  --accent-emerald: #2E8B46;
  --accent-rose: #D94857;
  --accent-amber: #d97706;
  
  --primary-gradient: linear-gradient(135deg, #1E2B78 0%, #2E8B46 100%);
  --blue-gradient: linear-gradient(135deg, #1E2B78 0%, #3B4CCA 100%);
  --green-gradient: linear-gradient(135deg, #2E8B46 0%, #15803D 100%);
  --rose-gradient: linear-gradient(135deg, #D94857 0%, #B91C1C 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(30, 43, 120, 0.05), transparent 70%);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
}

/* TRUE NEUTRAL SYSTEM DARK MODE (NO BLUE TINT) */
[data-theme="dark"] {
  --bg-primary: #121212;         /* True neutral charcoal black (#121212) */
  --bg-secondary: #181818;       /* Neutral dark header & footer background */
  --bg-topbar: #181818;
  --bg-card: #1e1e1e;            /* Neutral dark card background */
  --bg-card-hover: #2a2a2a;      /* Neutral dark hover background */
  --border-color: #2e2e2e;       /* Neutral dark borders */
  
  --text-main: #f3f4f6;          /* Crisp light gray/white text */
  --text-muted: #9ca3af;        /* Neutral muted text */
  --text-header: #ffffff;
  --text-header-muted: #cbd5e1;
  
  --accent-blue: #93c5fd;
  --accent-emerald: #4ade80;
  --accent-rose: #f87171;
  --accent-amber: #fbbf24;
  
  --hero-glow: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.03), transparent 70%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Official Image Logo Styling */
.brand-logo-img {
  height: 64px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.25)) brightness(1.1);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: 10px;
}

/* Brand Text Styles matching Logo */
.brand-title-blue {
  color: var(--brand-blue);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand-title-green {
  color: var(--brand-green);
  font-weight: 700;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .brand-title-blue {
  color: #93c5fd;
}

[data-theme="dark"] .brand-title-green {
  color: #4ade80;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-primary {
  background: var(--blue-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 43, 120, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 43, 120, 0.5);
}

.btn-emerald {
  background: var(--green-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(46, 139, 70, 0.3);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 70, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-outline-danger {
  background: transparent;
  color: var(--brand-rose);
  border: 1px solid rgba(217, 72, 87, 0.4);
}

.btn-outline-danger:hover {
  background: var(--rose-gradient);
  color: white;
  border-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-blue { background: rgba(30, 43, 120, 0.1); color: var(--brand-blue); border: 1px solid rgba(30, 43, 120, 0.25); }
.badge-emerald { background: rgba(46, 139, 70, 0.1); color: var(--brand-green); border: 1px solid rgba(46, 139, 70, 0.25); }
.badge-rose { background: rgba(217, 72, 87, 0.1); color: var(--brand-rose); border: 1px solid rgba(217, 72, 87, 0.25); }
.badge-secondary { background: rgba(0, 0, 0, 0.05); color: var(--text-muted); border: 1px solid var(--border-color); }

[data-theme="dark"] .badge-blue { background: rgba(147, 197, 253, 0.15); color: #93c5fd; border-color: rgba(147, 197, 253, 0.3); }
[data-theme="dark"] .badge-emerald { background: rgba(74, 222, 128, 0.15); color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }
[data-theme="dark"] .badge-rose { background: rgba(248, 113, 113, 0.15); color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
[data-theme="dark"] .badge-secondary { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; border-color: rgba(255, 255, 255, 0.15); }

/* Status Badges */
.status-badge {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-pending { background: rgba(245, 158, 11, 0.15); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-approved { background: rgba(46, 139, 70, 0.15); color: var(--brand-green); border: 1px solid rgba(46, 139, 70, 0.3); }
.status-enrolled { background: rgba(30, 43, 120, 0.15); color: var(--brand-blue); border: 1px solid rgba(30, 43, 120, 0.3); }
.status-contacted { background: rgba(147, 197, 253, 0.2); color: #2563eb; border: 1px solid rgba(37, 99, 235, 0.3); }
.status-rejected { background: rgba(217, 72, 87, 0.15); color: var(--brand-rose); border: 1px solid rgba(217, 72, 87, 0.3); }

[data-theme="dark"] .status-approved { color: #4ade80; }
[data-theme="dark"] .status-enrolled { color: #93c5fd; }
[data-theme="dark"] .status-contacted { color: #60a5fa; }

/* Header Top Bar */
.top-bar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition-normal);
}

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

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-amber);
  font-weight: 600;
}

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

.top-bar-contact a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.top-bar-contact a:hover {
  color: var(--brand-green);
}

/* Main Navbar with Top to Bottom Light Blue Gradient (#E2E7FF -> #FFFFFF) in Light Mode */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #E2E7FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(30, 43, 120, 0.12);
  box-shadow: 0 4px 15px rgba(30, 43, 120, 0.06);
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-grow: 1;
  margin: 0 32px;
  gap: 12px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background: rgba(30, 43, 120, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--brand-green);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Slightly Smaller & Sleek Enquire Now Header Button */
.nav-actions .btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Icon-Only Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--green-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(46, 139, 70, 0.4);
}

/* Dark Mode Override (Preserves Neutral Dark Background) */
[data-theme="dark"] .navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .nav-link {
  color: var(--text-muted);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

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

/* Page Views System (SPA Switching) */
.page-view {
  display: none;
  padding: 40px 0 80px 0;
  animation: fadeIn 0.4s ease forwards;
}

.page-view.active {
  display: block;
}

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

/* Section Styling */
.section {
  padding: 60px 0;
}

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 14px;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px 0;
  background: var(--hero-glow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 16px 0 20px 0;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  color: var(--brand-green);
}

[data-theme="dark"] .hero-content h1 span {
  color: #4ade80;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-bullet-item i {
  color: var(--brand-green);
}

[data-theme="dark"] .hero-bullet-item i {
  color: #4ade80;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card-slider {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Home Page Hero Banner Slider with White Background & Subtle Science Accents */
.hero-banner-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(30, 43, 120, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 85%, rgba(46, 139, 70, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%231E2B78' stroke-opacity='0.04' stroke-width='1'%3E%3Cellipse cx='30' cy='30' rx='16' ry='6' transform='rotate(30 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='16' ry='6' transform='rotate(-30 30 30)'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%232E8B46' fill-opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.hero-banner-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.35s ease-in-out;
  pointer-events: none;
}

.hero-banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.hero-slider-btn:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev-btn { left: 12px; }
.hero-slider-btn.next-btn { right: 12px; }

.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(30, 43, 120, 0.25);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-slider-dots .dot.active {
  background: var(--brand-green);
  width: 24px;
  border-radius: 10px;
}

/* Floating WhatsApp Chat Widget */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 2000;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  animation: pulseWhatsApp 2.5s infinite;
}

.whatsapp-float i {
  font-size: 1.6rem;
}

.whatsapp-float:hover {
  background: #1eb954;
  color: #ffffff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
  .whatsapp-float .whatsapp-text {
    display: none;
  }
  .whatsapp-float i {
    font-size: 1.8rem;
  }
}

/* Admissions Strip Cards */
.admissions-strip {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.strip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.strip-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
}

.strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 43, 120, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

[data-theme="dark"] .strip-icon {
  background: rgba(147, 197, 253, 0.15);
  color: #93c5fd;
}

.strip-card h3 {
  font-size: 1.25rem;
}

.strip-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   ADMIN STUDENT DASHBOARD STYLING
   ========================================================================== */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-green);
}

.metric-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(46, 139, 70, 0.12);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

[data-theme="dark"] .metric-icon-box {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dashboard-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  flex-grow: 1;
  max-width: 380px;
}

.dashboard-search-box input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
}

.dashboard-actions-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.student-data-table th {
  background: rgba(0, 0, 0, 0.04);
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--brand-blue);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .student-data-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #93c5fd;
}

.student-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  vertical-align: middle;
}

.student-data-table tr:hover td {
  background: var(--bg-card-hover);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--brand-green);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card h3 i {
  color: var(--brand-green);
}

[data-theme="dark"] .feature-card h3 i {
  color: #4ade80;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why Choose Us Stats Bar */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.why-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 6px;
}

[data-theme="dark"] .why-number {
  color: #4ade80;
}

.why-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.course-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-lg);
}

.course-card-header {
  padding: 24px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .course-card-header {
  background: rgba(255, 255, 255, 0.04);
}

.course-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 12px;
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .course-specs {
  background: rgba(0, 0, 0, 0.25);
}

.course-card-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Fees & Admission Section */
.fees-admission-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.step-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--green-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Governing Body Committee Card Grid with Larger Member Photos */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.committee-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: 0 4px 14px rgba(30, 43, 120, 0.06);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

/* Ultra-Light Subtle Background Colors for Committee Cards */
.committee-card.tint-emerald {
  background: #f2fbf6 !important;
  border: 1px solid #d1fae5 !important;
}

.committee-card.tint-blue {
  background: #f0f6ff !important;
  border: 1px solid #dbeafe !important;
}

.committee-card.tint-rose {
  background: #fff5f5 !important;
  border: 1px solid #ffe4e6 !important;
}

.committee-card.tint-amber {
  background: #fffdf2 !important;
  border: 1px solid #fef3c7 !important;
}

.committee-card.tint-purple {
  background: #faf5ff !important;
  border: 1px solid #f3e8ff !important;
}

.committee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px -4px rgba(30, 43, 120, 0.15);
}

/* Dark Mode Override for Committee Cards */
[data-theme="dark"] .committee-card,
[data-theme="dark"] .committee-card.tint-emerald,
[data-theme="dark"] .committee-card.tint-blue,
[data-theme="dark"] .committee-card.tint-rose,
[data-theme="dark"] .committee-card.tint-amber,
[data-theme="dark"] .committee-card.tint-purple {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
  box-shadow: var(--shadow-md);
}

.committee-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.committee-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: #f2f2f2;
  margin: 0 auto;
}

.committee-member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.committee-card:hover .committee-member-photo {
  transform: scale(1.1);
}

.committee-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
}

.committee-role-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.committee-responsibility {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

.committee-card:hover .committee-member-photo {
  transform: scale(1.08);
}

.committee-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.committee-role-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.committee-responsibility {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.committee-responsibility i {
  color: var(--brand-green);
  margin-top: 3px;
}

[data-theme="dark"] .committee-responsibility i {
  color: #4ade80;
}

/* Faculty Cards (2 Cards Per Row) */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

.faculty-card {
  background: #f1f5f9; /* Rich Soft Light Slate */
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(30, 43, 120, 0.06);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Ultra-Light Subtle Background Colors for Faculty Cards */
.faculty-card.tint-emerald {
  background: #f2fbf6 !important;
  border: 1px solid #d1fae5 !important;
}

.faculty-card.tint-blue {
  background: #f0f6ff !important;
  border: 1px solid #dbeafe !important;
}

.faculty-card.tint-rose {
  background: #fff5f5 !important;
  border: 1px solid #ffe4e6 !important;
}

.faculty-card.tint-amber {
  background: #fffdf2 !important;
  border: 1px solid #fef3c7 !important;
}

.faculty-card.tint-purple {
  background: #faf5ff !important;
  border: 1px solid #f3e8ff !important;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -4px rgba(30, 43, 120, 0.15);
}

/* Dark Mode Override (Restores Neutral Dark Mode Card Background) */
[data-theme="dark"] .faculty-card,
[data-theme="dark"] .faculty-card.tint-emerald,
[data-theme="dark"] .faculty-card.tint-blue,
[data-theme="dark"] .faculty-card.tint-rose,
[data-theme="dark"] .faculty-card.tint-amber,
[data-theme="dark"] .faculty-card.tint-purple {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
  box-shadow: var(--shadow-md);
}

.faculty-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faculty-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faculty-photo-frame {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-green);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: #f2f2f2;
}

.faculty-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

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

.faculty-info h3 {
  font-size: 1.25rem;
}

.faculty-info .role {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.faculty-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expertise-tag {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

[data-theme="dark"] .expertise-tag {
  background: rgba(255, 255, 255, 0.05);
}

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

.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.95), transparent);
  padding: 20px 16px 14px 16px;
  color: white;
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Lightbox Image Preview Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 5, 24, 0.93);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--brand-rose);
  border-color: transparent;
  transform: scale(1.1);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-info h4 {
  font-size: 0.95rem;
}

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

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  box-shadow: var(--shadow-md);
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 43, 120, 0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon {
  background: rgba(147, 197, 253, 0.15);
  color: #93c5fd;
}

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

/* Google Map Container with Distinct Border */
.google-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--brand-blue);
  box-shadow: 0 4px 16px rgba(30, 43, 120, 0.12);
  flex-grow: 1;
  min-height: 330px;
  width: 100%;
  position: relative;
}

[data-theme="dark"] .google-map-container {
  border: 2px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(46, 139, 70, 0.25);
}

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

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease forwards;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--brand-green);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  animation: toastIn 0.3s ease forwards;
}

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

/* Footer */
.footer {
  background: #020518; /* Midnight Navy Blue (#020518) in Light Mode */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px 0;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition-normal);
}

.footer .footer-brand h3,
.footer .footer-links h4 {
  color: #ffffff;
}

.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-bottom {
  color: rgba(255, 255, 255, 0.82);
}

.footer .footer-links a:hover {
  color: #4ade80; /* Crisp Emerald Green Accent */
}

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

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-green);
}

/* Dark Mode Footer Override (Neutral Charcoal Dark) */
[data-theme="dark"] .footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  color: #cbd5e1;
}

[data-theme="dark"] .footer .footer-brand h3,
[data-theme="dark"] .footer .footer-links h4 {
  color: var(--text-main);
}

[data-theme="dark"] .footer .footer-brand p,
[data-theme="dark"] .footer .footer-links a,
[data-theme="dark"] .footer .footer-bottom {
  color: var(--text-muted);
}

[data-theme="dark"] .footer .footer-links a:hover {
  color: #4ade80;
}

[data-theme="dark"] .footer .footer-bottom {
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .footer .social-icon {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-muted);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .vision-mission-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
  .mobile-nav-toggle { display: block; }
  
  /* Hide theme mode toggle icon on mobile view as requested */
  .theme-toggle-btn {
    display: none !important;
  }
  
  /* Smaller logo image on mobile view */
  .brand-logo-img {
    height: 46px;
    max-width: 170px;
  }

  .navbar .container {
    height: 72px;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  /* Make Enquire Now button smaller on mobile view as requested */
  .nav-actions .btn-emerald {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 72px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 30px 20px;
    margin: 0;
    transform: translateX(-100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
    border-right: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  }
  
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-contact { display: none; }
}

/* =================================================================== */
/* TESTIMONIAL SLIDER SYSTEM                                           */
/* =================================================================== */
.testimonial-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.testimonial-slider-track-container {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 10px 4px;
}

.testimonial-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 0;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 4px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--brand-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

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

/* Slider Navigation Buttons */
.slider-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  flex-shrink: 0;
  z-index: 10;
}

[data-theme="dark"] .slider-nav-btn {
  color: #93c5fd;
  background: #1e293b;
}

.slider-nav-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: scale(1.08);
}

/* Slider Pagination Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

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

.slider-dots .dot.active {
  width: 28px;
  border-radius: 50px;
  background: var(--brand-green);
}

