/* ============================================
   Sahara National Academy - Main Stylesheet
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #30C9BC;
  --primary-dark: #0E9E93;
  --primary-light: #4DD4C8;
  --secondary: #42D1C7;
  --secondary-light: #92EDE7;
  --accent: #FFD54F;
  --accent-dark: #FFC107;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8ECF1;
  --gray: #9E9E9E;
  --dark-gray: #616161;
  --dark: #263238;
  --darker: #1a1a2e;
  --black: #000000;
  --text-primary: #263238;
  --text-secondary: #546E7A;
  --text-light: #90A4AE;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
  --glass-bg: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.1);
  --card-bg: rgba(255,255,255,0.85);
  --card-border: rgba(255,255,255,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --font-primary: 'Poppins', sans-serif;
  --navbar-height: 80px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --white: #1a1a2e;
  --off-white: #16213e;
  --light-gray: #0f3460;
  --dark: #e8e8e8;
  --darker: #f0f0f0;
  --black: #fff;
  --text-primary: #e8e8e8;
  --text-secondary: #b0bec5;
  --text-light: #78909c;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --glass-bg: rgba(0,0,0,0.3);
  --glass-border: rgba(255,255,255,0.1);
  --card-bg: rgba(30,30,60,0.85);
  --card-border: rgba(255,255,255,0.1);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--off-white);
  line-height: 1.7;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 175px;
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ---- Loading Screen ---- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ---- Sticky Header Wrapper ---- */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease;
}

body.has-sticky-header {
  padding-top: 0;
}

/* ---- New Header & Menu Structure ---- */
.site-header {
  background: linear-gradient(135deg, #0E9E93 0%, #30C9BC 40%, #4DD4C8 75%, #42D1C7 100%);
  padding: 18px 40px 18px 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-theme="dark"] .site-header {
  background: linear-gradient(135deg, #064D47 0%, #0E9E93 50%, #30C9BC 100%);
}

.logo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  display: flex;
  align-items: center;
  padding: 5px 0;
  z-index: 20;
  height: 100px;
}

.logo img {
  height: 100%;
  width: auto;
  max-height: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.header-info {
  display: flex;
  gap: 35px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #ffffff;
}

.info-item strong {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.info-item span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.info-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-icon-circle:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  transform: scale(1.05);
}

.info-item i {
  color: #ffffff;
  font-size: 1.1rem;
}

.calendar-btn {
  background: #FFD54F;
  color: #0B6E68;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.calendar-btn:hover {
  background: #FFC107;
  color: #085A55;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255,193,7,0.4);
}

.calendar-btn i {
  font-size: 0.9rem;
}

.calendar-btn-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.calendar-btn-group .calendar-btn {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.calendar-btn-group .calendar-btn.view-btn {
  background: #ffffff;
  color: #0B6E68;
}

.calendar-btn-group .calendar-btn.view-btn:hover {
  background: #DFF7F5;
  color: #085A55;
}

/* ---- Results Dropdown ---- */
.results-dropdown {
  position: relative;
}

.results-dropdown .results-btn {
  background: #ffffff;
  color: #0B6E68;
}

.results-dropdown .results-btn:hover {
  background: #DFF7F5;
  color: #085A55;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.results-arrow {
  font-size: 0.7rem !important;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.results-dropdown:hover .results-arrow,
.results-dropdown.open .results-arrow {
  transform: rotate(180deg);
}

.results-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--light-gray);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

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

.results-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.results-menu a i {
  font-size: 0.8rem;
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.results-menu a:hover {
  background: var(--primary);
  color: #ffffff;
}

.results-menu a:hover i {
  color: #ffffff;
}

/* ---- Wave Separator ---- */
.header-wave {
  margin-top: -2px;
  line-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0E9E93 0%, #30C9BC 40%, #4DD4C8 75%, #42D1C7 100%);
}

.header-wave svg {
  width: 100%;
  height: 30px;
  display: block;
}

.header-wave svg path {
  fill: #0E9E93;
}

/* Main Navigation Menu Strip */
.main-navbar {
  background: #0E9E93;
  padding: 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.main-navbar .nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.main-navbar .nav-menu li {
  position: relative;
}

.main-navbar .nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 14px 18px;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  letter-spacing: 0.3px;
}

.main-navbar .nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.main-navbar .nav-menu a:hover::after,
.main-navbar .nav-menu a.active::after {
  transform: scaleX(1);
}

.main-navbar .nav-menu a:hover,
.main-navbar .nav-menu a.active {
  background: rgba(255,255,255,0.1);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

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

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.search-box {
  width: 80%;
  max-width: 600px;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.search-overlay.active .search-box {
  transform: translateY(0);
}

.search-box input {
  width: 100%;
  padding: 20px 60px 20px 30px;
  font-size: 1.2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  color: var(--dark);
  box-shadow: var(--shadow-xl);
}

.search-box button {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.search-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.dark-mode-toggle:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14,158,147,0.85), rgba(48,201,188,0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
}

.hero-typing {
  font-size: 1.3rem;
  margin-bottom: 30px;
  min-height: 40px;
  color: var(--accent);
  font-weight: 500;
}

.hero-typing .cursor {
  display: inline-block;
  width: 3px;
  height: 1.3rem;
  background: var(--accent);
  margin-left: 3px;
  animation: blink 0.7s infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 35px;
  border-radius: 6px;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.hero-slider-arrow:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.hero-slider-arrow.prev {
  left: 30px;
}

.hero-slider-arrow.next {
  right: 30px;
}

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(21,101,192,0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(21,101,192,0.5);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255,213,79,0.4);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,213,79,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(21,101,192,0.1);
  color: var(--primary);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-badge i {
  font-size: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 20px auto 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ---- Quick Statistics ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 15px;
  background: rgba(255,213,79,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---- About Section ---- */
.about-section {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 85%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: 3;
  border: 5px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--accent);
  color: var(--dark);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 4;
  box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.about-feature i {
  color: var(--primary);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,101,192,0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---- Why Choose Us ---- */
.why-choose-section {
  background: var(--white);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  padding: 35px 25px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.why-card-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(21,101,192,0.1), rgba(66,165,245,0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: rotateY(180deg);
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- School Levels ---- */
.levels-section {
  background: var(--off-white);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.level-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.level-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.level-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.level-card:hover .level-card-img img {
  transform: scale(1.1);
}

.level-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.level-card-content {
  padding: 20px;
}

.level-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.level-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.level-card-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.level-card-subjects span {
  padding: 3px 10px;
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

/* ---- Facilities ---- */
.facilities-section {
  background: var(--white);
}

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

.facility-card {
  padding: 30px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.facility-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: var(--transition-slow);
  z-index: 0;
  border-radius: var(--radius-lg);
}

.facility-card:hover::after {
  height: 100%;
}

.facility-card > * {
  position: relative;
  z-index: 1;
}

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

.facility-card:hover .facility-icon {
  color: var(--white);
  background: rgba(255,255,255,0.2);
}

.facility-card:hover h4,
.facility-card:hover p {
  color: var(--white);
}

.facility-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: rgba(21,101,192,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.facility-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: var(--transition);
}

.facility-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: var(--transition);
}

/* ---- Highlights ---- */
.highlights-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.highlight-card {
  padding: 30px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.highlight-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.highlight-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ---- Programs ---- */
.programs-section {
  background: var(--off-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.program-card-img {
  height: 220px;
  overflow: hidden;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.program-card:hover .program-card-img img {
  transform: scale(1.1);
}

.program-card-content {
  padding: 25px;
}

.program-card-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.program-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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.05'%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");
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  background: var(--darker);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

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

.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
}

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

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.footer-links a i {
  font-size: 0.7rem;
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 5px;
  width: 16px;
  text-align: center;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  font-size: 0.85rem;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom span {
  color: var(--accent);
  font-weight: 600;
}

/* ---- Page Header (Inner Pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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.04'%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-header-content {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

.breadcrumb span {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

/* ---- About Page ---- */
.about-page-section {
  background: var(--off-white);
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.about-detail-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.mv-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

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

.mv-card.vision {
  border-left-color: var(--accent);
}

.mv-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.mv-card.vision i {
  color: var(--accent-dark);
}

.mv-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Principal Message */
.principal-section {
  background: var(--white);
}

.principal-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: start;
}

.principal-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.principal-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.principal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.principal-designation {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.principal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
  font-style: italic;
}

/* Timeline */
.timeline-section {
  background: var(--off-white);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-content span {
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---- Academics Page ---- */
.academics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.academic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.academic-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.academic-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.academic-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.academic-card .subjects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 15px;
}

.academic-card .subjects-list span {
  padding: 4px 12px;
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.methodology-section {
  background: var(--white);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.method-card {
  padding: 30px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
}

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

.method-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.method-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.method-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Admission Page ---- */
.admission-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.admission-form-section {
  background: var(--off-white);
}

.admission-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-group label span {
  color: #e53935;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--off-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(21,101,192,0.1);
}

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

.form-group .error-msg {
  font-size: 0.75rem;
  color: #e53935;
  margin-top: 5px;
  display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e53935;
}

.form-group.error .error-msg {
  display: block;
}

.admission-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.admission-info-card {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.admission-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.admission-info-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.admission-info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.admission-info-card ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admission-info-card ul li i {
  font-size: 0.6rem;
  color: var(--accent-dark);
  margin-bottom: 0;
}

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

.faculty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.faculty-card-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.faculty-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.faculty-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  gap: 10px;
  transform: translateY(100%);
  transition: var(--transition);
}

.faculty-card:hover .faculty-card-overlay {
  transform: translateY(0);
}

.faculty-card-overlay a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faculty-card-overlay a:hover {
  background: var(--primary);
}

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

.faculty-card-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.faculty-card-content .subject {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.faculty-card-content .details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.faculty-card-content .details span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.faculty-card-content .details span i {
  color: var(--primary);
  width: 14px;
}

.department-section {
  background: var(--off-white);
}

.department-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.dept-tab {
  padding: 10px 24px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.dept-tab.active,
.dept-tab:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

.gallery-filter-btn {
  padding: 8px 20px;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

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

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 250px;
  transition: var(--transition);
}

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

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

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 50%, rgba(21,101,192,0.8));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-item-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.gallery-item-overlay span {
  color: var(--accent);
  font-size: 0.8rem;
}

.gallery-item-overlay .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(5px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

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

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

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

.lightbox-nav.prev {
  left: -60px;
}

.lightbox-nav.next {
  right: -60px;
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  padding: 15px 0 0;
  font-size: 0.9rem;
}

/* ---- Achievements Page ---- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.achievement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

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

.achievement-card .trophy {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.achievement-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.achievement-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}

.achievement-card .year {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.stats-chart-section {
  background: var(--white);
}

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

.chart-card {
  padding: 30px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-align: center;
}

.chart-bar-container {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.chart-bar {
  width: 30px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 5px 5px 0 0;
  transition: var(--transition-slow);
}

.chart-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.chart-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ---- News Page ---- */
.news-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.news-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.news-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.news-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
}

.news-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
}

.news-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card-img {
  height: 200px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-content {
  padding: 20px;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.news-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- FAQ Page ---- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 30px;
}

.faq-category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-category-title i {
  color: var(--accent-dark);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 25px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-card {
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-info-card i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.map-section {
  margin-top: 50px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

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

/* ---- Floating Buttons ---- */
.floating-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn.call {
  background: var(--primary);
}

.floating-btn.facebook {
  background: #1877F2;
}

.floating-btn.messenger {
  background: #0084FF;
}

.floating-btn.back-to-top {
  background: var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-btn.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---- Popup Announcement ---- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.popup-content {
  max-width: 500px;
  width: 90%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.8);
  transition: var(--transition);
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 30px;
  text-align: center;
  color: var(--white);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.popup-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.popup-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.popup-header p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.popup-body {
  padding: 30px;
  text-align: center;
}

.popup-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-primary { background: var(--primary); }
.bg-gradient { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }

/* ---- AI Chatbot ---- */
.chatbot-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 4px 20px rgba(21,101,192,0.5);
  transition: var(--transition);
  border: none;
}

.chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(21,101,192,0.6);
}

.chatbot-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e53935;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s ease infinite;
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 380px;
  max-height: 550px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 50px rgba(0,0,0,0.2);
  z-index: 997;
  overflow: hidden;
  transform: scale(0) translateY(20px);
  transform-origin: bottom left;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.chatbot-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

[data-theme="dark"] .chatbot-window {
  background: #1a1a2e;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chatbot-header-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.chatbot-header-info span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chatbot-header-info span .online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  display: inline-block;
  animation: pulse 1.5s ease infinite;
}

.chatbot-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}

.chatbot-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  max-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--off-white);
}

[data-theme="dark"] .chatbot-messages {
  background: #16213e;
}

.chatbot-messages::-webkit-scrollbar {
  width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: chatMessageIn 0.4s ease;
}

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

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.chat-message.bot .chat-message-avatar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.chat-message.user .chat-message-avatar {
  background: var(--accent);
  color: var(--dark);
}

.chat-message-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.chat-message.bot .chat-message-bubble {
  background: var(--white);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

[data-theme="dark"] .chat-message.bot .chat-message-bubble {
  background: #0f3460;
  color: #e8e8e8;
}

.chat-message.user .chat-message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-message-bubble a {
  color: var(--accent);
  text-decoration: underline;
}

.chat-message.user .chat-message-bubble a {
  color: var(--white);
  text-decoration: underline;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray);
  animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.chatbot-suggestions {
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
}

[data-theme="dark"] .chatbot-suggestions {
  background: #16213e;
  border-top-color: rgba(255,255,255,0.1);
}

.chat-suggestion {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .chat-suggestion {
  background: #0f3460;
  border-color: rgba(255,255,255,0.1);
  color: var(--secondary-light);
}

.chat-suggestion:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.chatbot-input {
  padding: 15px 20px;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: 10px;
  align-items: center;
}

[data-theme="dark"] .chatbot-input {
  background: #1a1a2e;
  border-top-color: rgba(255,255,255,0.1);
}

.chatbot-input input {
  flex: 1;
  padding: 10px 16px;
  background: var(--off-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: var(--transition);
}

[data-theme="dark"] .chatbot-input input {
  background: #0f3460;
  border-color: rgba(255,255,255,0.1);
  color: #e8e8e8;
}

.chatbot-input input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.chatbot-input input::placeholder {
  color: var(--text-light);
}

.chatbot-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.chatbot-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(21,101,192,0.4);
}

/* ---- Floating Particles ---- */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---- Animated Background Shapes ---- */
.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  animation: floatShape 20s ease-in-out infinite;
}

.bg-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation-duration: 25s;
}

.bg-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  background: var(--accent);
  bottom: -50px;
  left: -50px;
  animation-duration: 20s;
  animation-delay: -5s;
}

.bg-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  background: var(--secondary);
  top: 40%;
  right: 10%;
  animation-duration: 18s;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, -10px) scale(1.05); }
}

/* ---- Marquee / Scrolling Text ---- */
.marquee-section {
  background: #F97316;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.marquee-content span {
  padding: 0 50px;
}

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

/* ---- Animated Gradient Border ---- */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary), var(--accent), var(--secondary), var(--primary));
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  animation: gradientShift 4s ease infinite;
}

/* ---- Card Tilt Effect ---- */
.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

/* ---- Magnetic Button Effect ---- */
.magnetic-btn {
  transition: transform 0.3s ease;
}

/* ---- Staggered List Animation ---- */
.stagger-list li {
  opacity: 0;
  transform: translateX(-20px);
  animation: staggerIn 0.5s ease forwards;
}

.stagger-list li:nth-child(1) { animation-delay: 0.1s; }
.stagger-list li:nth-child(2) { animation-delay: 0.2s; }
.stagger-list li:nth-child(3) { animation-delay: 0.3s; }
.stagger-list li:nth-child(4) { animation-delay: 0.4s; }
.stagger-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---- Animated Underline ---- */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* ---- Hero Slide Content Animation ---- */
.hero-slide .hero-content-inner {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-content-inner {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Glowing Text ---- */
.glow-text {
  text-shadow: 0 0 10px rgba(66,165,245,0.5), 0 0 20px rgba(66,165,245,0.3), 0 0 40px rgba(66,165,245,0.1);
}

/* ---- 3D Card Flip ---- */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Lazy loading image placeholder */
.lazy-img {
  background: linear-gradient(135deg, var(--light-gray), var(--off-white));
  min-height: 200px;
}

.lazy-img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Working hours table */
.working-hours {
  width: 100%;
  border-collapse: collapse;
}

.working-hours td {
  padding: 10px 15px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--light-gray);
}

.working-hours td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.working-hours td:last-child {
  color: var(--text-secondary);
  text-align: right;
}

/* Parallax */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Admission open banner */
.admission-open-banner {
  background: var(--accent);
  padding: 12px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.admission-open-banner a {
  padding: 5px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
}

.admission-open-banner a:hover {
  background: var(--primary-dark);
}

/* Color theme switcher */
.theme-switcher {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  transform: translateY(-50%) translateX(-100%);
}

.theme-switcher:hover {
  transform: translateY(-50%) translateX(0);
}

.theme-switcher-toggle {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-color {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
}

.theme-color:hover,
.theme-color.active {
  border-color: var(--dark);
  transform: scale(1.1);
}

/* ---- Results Page ---- */
.results-page-section {
  background: var(--off-white);
  min-height: 60vh;
}

.results-head {
  text-align: center;
  margin-bottom: 40px;
}

.results-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.results-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.class-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
  transition: var(--transition);
}

.class-card span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

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

.class-card:hover i {
  transform: scale(1.15);
}

.term-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.term-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.term-card i {
  font-size: 2.2rem;
}

.term-num {
  font-size: 1.2rem;
  font-weight: 700;
}

.term-year {
  background: rgba(255,255,255,0.2);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.term-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.term-card:nth-child(4) {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #5a4300;
}

.term-card:nth-child(4) .term-year {
  background: rgba(0,0,0,0.12);
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.summary-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}

.summary-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.summary-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.result-table th,
.result-table td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
  white-space: nowrap;
}

.result-table thead th {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  position: sticky;
  top: 0;
}

.result-table tbody tr:hover {
  background: var(--off-white);
}

.result-table tbody tr:first-child td {
  background: rgba(255, 213, 79, 0.12);
}

.student-name {
  font-weight: 600;
  text-align: left !important;
  color: var(--text-primary);
}

.total-cell {
  font-weight: 700;
  color: var(--primary-dark);
}

.pct-cell {
  font-weight: 700;
  color: var(--primary);
}

.mark-fail {
  color: #e53935;
  font-weight: 600;
}

.mark-pass {
  color: #2e7d32;
  font-weight: 600;
}

.rank-badge {
  display: inline-block;
  min-width: 26px;
  height: 26px;
  line-height: 26px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.division-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e8f5e9;
  color: #2e7d32;
}

.division-badge.div-fail {
  background: #fbe9e7;
  color: #e53935;
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}
