/* ========================================
   MEKAL SUTA COLLEGE - Main Stylesheet
   Design System & Global Styles
   ======================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --primary: #002147;
  --primary-light: #0A3A6B;
  --primary-dark: #001530;
  --primary-rgb: 0, 33, 71;

  /* Accent */
  --accent: #FDC800;
  --accent-light: #FFD740;
  --accent-dark: #C9A000;
  --accent-rgb: 253, 200, 0;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-50: #F1F3F8;
  --gray-100: #E4E8F0;
  --gray-200: #CDD3DE;
  --gray-300: #A8B0C0;
  --gray-400: #7D879A;
  --gray-500: #5A6275;
  --gray-600: #3D4455;
  --gray-700: #2A2F3D;
  --gray-800: #1A1E2B;
  --gray-900: #0D1017;

  /* Semantic */
  --success: #10B981;
  --info: #3B82F6;
  --warning: #F59E0B;
  --danger: #EF4444;

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

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

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px rgba(var(--accent-rgb), 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

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

/* ---------- Utility Classes ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
}

.section-title span {
  color: var(--accent-dark);
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  font-weight: 400;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(.4, 0, .2, 1), visibility 0.8s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4);
}

.preloader-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 16px;
  animation: fadeInUp 0.8s ease both 0.3s;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

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

@keyframes preloaderPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.4);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.6);
  }
}

/* ---- Cursor Glow ---- */
.cursor-glow {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  display: none;
}

@media (min-width: 1025px) {
  .cursor-glow {
    display: block;
  }
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  padding: 5px 0;
  position: relative;
  z-index: 100;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

.topbar-left i {
  color: var(--accent);
  font-size: 0.9rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: 0.78rem;
}

.topbar-link:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  background: transparent;
  position: relative;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
  box-shadow: none;
}

@keyframes slideDownHeader {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.header.scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  animation: slideDownHeader 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  border-bottom: 2px solid var(--accent);
}

/* Hide the logo and actions completely when scrolled */
.header.scrolled .logo,
.header.scrolled .header-actions {
  display: none !important;
}

/* Very thin padding for the sticky strip */
.header.scrolled .header-shell {
  row-gap: 0;
  padding: 0;
}

.header.scrolled .main-nav {
  border-top: none;
  padding: 2px 0;
}

/* Visible text for white glass background */
.header.scrolled .main-nav>a,
.header.scrolled .main-nav>.nav-item>a {
  padding: 6px 14px;
  /* Thin, compact height */
  font-size: 0.85rem;
  color: var(--primary);
  /* Deep blue text to show on white */
}

.header.scrolled .nav-icon-btn {
  color: var(--primary);
}

.header.scrolled .main-nav>a:hover,
.header.scrolled .main-nav>.nav-item>a:hover,
.header.scrolled .main-nav>a.active,
.header.scrolled .main-nav>.nav-item>a.active {
  color: var(--accent-dark);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex-wrap: nowrap;
  padding: 10px 0;
}

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

.logo-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--white);
}

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

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.logo-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.logo-tagline {
  display: none;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex: 1;
  margin-right: 15px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(var(--primary-rgb), 0.1);
}

.nav-icon-btn {
  width: 32px;
  /* Reduced from 36px */
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: rgba(var(--primary-rgb), 0.05);
  transform: translateY(-2px);
  color: var(--accent-dark);
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  padding: 2px 12px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-dark);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 80%;
}

/* Premium Dropdown */
.nav-item {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-arrow {
  font-size: 0.55rem !important;
  margin-left: 3px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-item .dropdown {
  position: absolute;
  top: calc(100%);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--primary);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  min-width: 720px;
  max-width: 95vw;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 200;
  border-top: 3px solid var(--accent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.nav-item .dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 16px;
}

.nav-item:hover .dropdown,
.nav-item .dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.25s ease;
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  padding-left: 24px;
}

.dropdown a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(var(--primary-rgb), 0.04);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.header-link:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.header-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.header-cta i {
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 6px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--primary);
}

/* Slider */
.hero-slider {
  position: absolute;
  inset: 0;
}

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

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

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

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(var(--primary-rgb), 0.85) 0%,
      rgba(var(--primary-rgb), 0.4) 60%,
      rgba(var(--primary-rgb), 0.2) 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out both;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

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

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 560px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hero-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* New Slider Classes */
.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(var(--primary-rgb), 0.85) 0%,
      rgba(var(--primary-rgb), 0.4) 60%,
      rgba(var(--primary-rgb), 0.2) 100%);
}

.slide-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 560px;
}

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

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

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.delay-4 {
  animation-delay: 0.6s;
}

/* Glow Button */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::after {
  opacity: 1;
}

/* Glass Button */
.btn-glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  animation: fadeInUp 1s ease both 1s;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  margin: 0 auto 8px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

.scroll-indicator span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Hero Dot Progress Bar */
.hero-dot {
  position: relative;
  overflow: hidden;
}

.hero-dot span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: none;
}

.hero-dot.active span {
  animation: dotProgress 5s linear forwards;
}

@keyframes dotProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* ============================================
   MARQUEE / NEWS TICKER
   ============================================ */
.news-ticker {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-label {
  background: var(--accent);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.ticker-content {
  display: flex;
  gap: 50px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 500;
  flex-shrink: 0;
}

.ticker-item i {
  color: var(--accent-dark);
}

.ticker-item a:hover {
  color: var(--primary);
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
  padding: var(--section-padding);
  background: var(--white);
}

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

.welcome-image {
  position: relative;
}

.welcome-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.welcome-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.welcome-stats-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.welcome-stats-badge .stat-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1;
}

.welcome-stats-badge .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.welcome-text p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

/* ---------- PREMIUM WELCOME STYLING ---------- */
.premium-welcome {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 252, 1) 100%);
  position: relative;
  overflow: hidden;
}

.premium-welcome::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 200, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.welcome-grid {
  position: relative;
  z-index: 2;
}

.premium-image-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.05),
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(var(--accent-rgb), 0.15);
}

.image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 33, 71, 0) 0%, rgba(0, 33, 71, 0.08) 100%);
  pointer-events: none;
}

.premium-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary);
  padding: 24px 32px;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 40px rgba(var(--accent-rgb), 0.3),
    0 0 0 1px rgba(var(--accent-rgb), 0.2);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.premium-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(var(--accent-rgb), 0.4),
    0 0 0 1px rgba(var(--accent-rgb), 0.2);
}

.badge-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: inline-block;
}

.premium-text {
  padding-top: 20px;
}

.premium-badge-style {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(253, 200, 0, 0.1) 0%, rgba(253, 200, 0, 0.05) 100%);
  color: var(--accent-dark);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  text-transform: uppercase;
}

.premium-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--gray-900);
  font-family: var(--font-serif);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 2px;
  margin-bottom: 24px;
}

.premium-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 28px !important;
  line-height: 1.8;
  text-align: left !important;
  font-weight: 500;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(var(--primary-rgb), 0.03);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(var(--primary-rgb), 0.06);
  transform: translateX(4px);
}

.feature-item i {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0 !important;
  line-height: 1.6;
}

.welcome-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.premium-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
  transition: all 0.3s ease;
  border: none;
}

.premium-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.35);
}

.premium-btn-ghost {
  border: 2px solid var(--gray-200);
  color: var(--primary);
  transition: all 0.3s ease;
  background: transparent;
}

.premium-btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12);
}

/* ============================================
   STATS COUNTER BAR
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

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

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

.stat-card {
  text-align: center;
  color: var(--white);
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(var(--accent-rgb), 0.25);
}

.stat-card .stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 2px;
  display: inline;
}

.stat-card .stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
  margin-top: 6px;
}

/* ============================================
   THREE COLUMN SECTION (News, Principal, Achievements)
   ============================================ */
.three-col-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

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

.col-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.col-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.col-card-header i {
  color: var(--accent);
  font-size: 1.2rem;
}

.col-card-body {
  padding: 24px;
  max-height: 460px;
  overflow-y: auto;
}

.col-card-body::-webkit-scrollbar {
  width: 4px;
}

.col-card-body::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.news-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateX(4px);
}

.news-item-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.news-item-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
  font-weight: 500;
}

.news-item-date {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* Principal card */
.principal-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.principal-photo {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.principal-photo img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.principal-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.principal-info span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.principal-message {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  text-align: justify;
}

/* Achievement slider */
.achievement-slider {
  position: relative;
  min-height: 260px;
}

.achievement-card {
  text-align: center;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.achievement-card.active {
  display: block;
  opacity: 1;
}

.achievement-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.achievement-card h4 {
  font-size: 0.95rem;
  color: var(--primary);
  line-height: 1.4;
  font-family: var(--font-sans);
  font-weight: 600;
}

.ach-nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.ach-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.col-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

/* ============================================
   DEPARTMENTS / PROGRAMS
   ============================================ */
.departments-section {
  padding: var(--section-padding);
  background: var(--white);
}

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

.dept-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

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

.dept-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--accent-rgb), 0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.dept-card:hover .dept-icon {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.1) rotate(5deg);
}

.dept-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  margin-bottom: 10px;
  font-weight: 700;
}

.dept-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   CAMPUS LIFE / DIAMOND GRID
   ============================================ */
.campus-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.campus-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 48px;
}

.campus-item {
  width: 140px;
  height: 140px;
  background: var(--white);
  transform: rotate(45deg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.campus-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
  transform: rotate(45deg) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.campus-item-inner {
  transform: rotate(-45deg);
  text-align: center;
}

.campus-item-inner i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.campus-item-inner p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.gallery-section {
  padding: var(--section-padding);
  background: var(--white);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 48px;
}

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

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(var(--primary-rgb), 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: var(--white);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CTA / CALL TO ACTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.04);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-content h2 span {
  color: var(--accent);
}

.cta-content p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

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

.footer-brand .logo-name {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

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

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

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

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

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

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

.footer-contact li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--accent);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  z-index: 2;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .three-col-grid {
    grid-template-columns: 1fr;
  }

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

  .welcome-image {
    order: -1;
  }

  .image-frame img {
    height: 400px;
  }

  .premium-badge {
    bottom: -25px;
    right: 20px;
    padding: 20px 28px;
  }

  .premium-title {
    font-size: 2.4rem;
  }

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

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

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

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

  .topbar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Nav */
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 70px 20px 20px;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.mobile-open a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
  }

  .main-nav.mobile-open a::after {
    display: none;
  }

  .nav-item {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-item .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    display: none;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-top: 4px;
    min-width: auto;
  }

  .nav-item .dropdown::before {
    display: none;
  }

  .nav-item .dropdown.mobile-show {
    display: block;
  }

  .nav-item .dropdown a {
    color: var(--gray-600);
    padding: 10px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-item .dropdown a::before {
    opacity: 1;
    transform: none;
    color: var(--accent-dark);
  }

  .nav-item .dropdown a:hover {
    color: var(--primary);
    background: rgba(var(--accent-rgb), 0.08);
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

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

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

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

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .campus-item {
    width: 110px;
    height: 110px;
  }

  /* Mobile responsive for premium welcome */
  .premium-welcome {
    padding: 60px 0;
  }

  .premium-welcome::before {
    width: 400px;
    height: 400px;
    top: -30%;
    right: -20%;
  }

  .premium-title {
    font-size: 1.8rem;
  }

  .image-frame img {
    height: 300px;
  }

  .premium-badge {
    bottom: -20px;
    right: 12px;
    padding: 16px 24px;
    font-size: 0.85rem;
  }

  .badge-icon {
    font-size: 1.2rem;
  }

  .features-list {
    gap: 12px;
  }

  .feature-item {
    padding: 12px;
    gap: 12px;
  }

  .feature-item i {
    font-size: 1rem;
  }

  .welcome-buttons {
    flex-direction: column;
  }

  .welcome-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .campus-grid {
    gap: 20px;
  }

  .campus-item {
    width: 95px;
    height: 95px;
  }

  /* Extra small mobile for premium welcome */
  .premium-badge {
    bottom: -15px;
    right: 8px;
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .premium-title {
    font-size: 1.5rem;
  }

  .image-frame img {
    height: 250px;
  }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   PAGE BANNER / BREADCRUMB
   ============================================ */
.page-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9) 0%, rgba(var(--primary-rgb), 0.6) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-banner-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* ============================================
   INNER PAGE CONTENT
   ============================================ */
.page-content {
  padding: var(--section-padding);
}

.page-content p {
  color: var(--gray-500);
  line-height: 1.85;
  margin-bottom: 20px;
  text-align: justify;
}

.page-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  margin-top: 32px;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: 100px;
}

/* Info Cards */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

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

.info-card h4 {
  font-size: 1.05rem;
  font-family: var(--font-sans);
  margin-bottom: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h4 i {
  color: var(--accent);
}

.info-card ul {
  padding-left: 0;
}

.info-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card ul li:last-child {
  border-bottom: none;
}

.info-card ul li::before {
  content: '▸';
  color: var(--accent);
  font-weight: 700;
}

/* Course Cards */
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.course-card .course-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--white);
}

.course-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 0 0 8px;
}

.course-card p {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin: 0;
}

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
}

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

.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

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

.team-card h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.team-card p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

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

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
  outline: none;
  color: var(--gray-700);
}

.form-control:focus {
  border-color: var(--accent);
}

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

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

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

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

/* FAQ Accordion */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question i {
  transition: transform var(--transition-normal);
  color: var(--accent);
}

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

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 18px;
}

.faq-answer p {
  font-size: 0.9rem;
  margin: 0;
}

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

.infra-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

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

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

.infra-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.infra-card-overlay h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  margin: 0;
}

.infra-card-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  margin: 4px 0 0;
}

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

.gallery-filters .filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* Full Gallery Grid */
.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.full-gallery-grid .gallery-item {
  height: 250px;
}

/* Vision Mission Boxes */
.vm-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.vm-box h3 {
  margin-top: 0;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-box h3 i {
  color: var(--accent);
}

/* Responsive Inner Pages */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .full-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-banner {
    height: 240px;
  }

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

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

@media (max-width: 480px) {
  .full-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HOMEPAGE SECTION STYLES (New Classes)
   ============================================ */

/* Section Padding & Header */
.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background: var(--gray-50);
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Welcome Section */
.welcome {
  background: var(--white);
}

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

.welcome .welcome-image {
  position: relative;
}

.welcome .welcome-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.welcome .welcome-image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.exp-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1;
  display: block;
}

.exp-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}

.welcome-text p {
  color: var(--gray-500);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.welcome-btns {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

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

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

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

.stat-item .stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--accent);
}

.stat-item .counter {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 6px;
  display: inline;
}

.stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-item p {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
  margin: 0;
}

/* Info Section / Widgets */
.info-section {
  background: var(--gray-50);
}

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

.info-card-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.widget-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-header h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-header h3 i {
  color: var(--accent);
}

.widget-nav {
  display: flex;
  gap: 6px;
}

.widget-nav button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 0.7rem;
}

.widget-nav button:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.widget-body {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
  max-height: 420px;
}

.widget-body::-webkit-scrollbar {
  width: 4px;
}

.widget-body::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

.widget-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.widget-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
}

/* News Items */
.news-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: all var(--transition-fast);
  cursor: pointer;
  margin-bottom: 10px;
}

.news-item:hover {
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateX(4px);
}

.news-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.news-content h4 {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-content span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Principal Widget */
.principal-profile {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.principal-profile img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.principal-profile strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
}

.principal-profile small {
  font-size: 0.78rem;
  color: var(--gray-400);
  display: block;
}

.principal-profile em {
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 600;
}

/* Achievement Slider */
.achievement-slider {
  position: relative;
  min-height: 280px;
}

.achievement-slide {
  transition: opacity 0.5s ease;
}

.achievement-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.achievement-slide h4 {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.4;
}

/* Dept Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dept-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
}

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

.dept-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--accent-dark);
  transition: all var(--transition-normal);
}

.dept-card:hover .dept-icon {
  background: var(--primary);
  color: var(--accent);
}

.dept-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  margin-bottom: 8px;
}

.dept-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 16px;
}

.dept-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
}

.dept-card:hover .dept-link {
  color: var(--primary);
}

.dept-card-cta {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.dept-card-cta h3,
.dept-card-cta p {
  color: var(--white);
}

.dept-card-cta p {
  opacity: 0.7;
}

.dept-card-cta .dept-icon {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent);
}

.dept-card-cta .dept-link {
  color: var(--accent);
}

/* Campus Life Grid */
.campus-life {
  background: var(--white);
}

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

.campus-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  text-decoration: none;
  color: var(--gray-600);
  transition: all var(--transition-normal);
}

.campus-item:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.campus-item i {
  font-size: 2rem;
  color: var(--accent-dark);
  transition: color var(--transition-fast);
}

.campus-item:hover i {
  color: var(--accent);
}

.campus-item span {
  font-weight: 600;
  font-size: 0.88rem;
}

/* Partners & Recruiters Board */
.st-partners {
  padding: 40px 0;
}

.partners-board {
  background: #E0EBEB;
  /* Matched to the light teal/blue in image */
  border-radius: 40px;
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partners-header {
  margin-bottom: 40px;
}

.partners-header p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 10px auto 0;
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s;
  display: block;
}

.partner-text-logo {
  transition: transform 0.3s;
}

.partner-logo:hover,
.partner-text-logo:hover {
  transform: scale(1.08);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Scrolls half the track assuming duplicate items */
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-overlay i {
  color: var(--white);
  font-size: 1.6rem;
}

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

.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  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.4'%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: 1;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ticker for new homepage */
.news-ticker .ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.news-ticker .ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 500;
  flex-shrink: 0;
}

.text-accent {
  color: var(--accent-dark) !important;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

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

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

.footer-brand {
  padding-right: 20px;
}

.footer-brand .logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.7;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  font-size: 0.85rem;
}

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

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex !important;
  gap: 12px;
  margin-bottom: 14px !important;
}

.footer-contact i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 3px;
}

.footer-contact span {
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  opacity: 0.5;
  margin: 0;
}

/* Mobile Responsive - Homepage Sections */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

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

  .campus-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

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

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 20px 20px;
    box-shadow: var(--shadow-xl);
    transition: left var(--transition-normal);
    z-index: 9999;
    overflow-y: auto;
    align-items: stretch;
  }

  .main-nav.mobile-open {
    left: 0;
  }

  .main-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-item .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    display: block;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), visibility var(--transition-normal);
    padding: 0;
    margin-left: 16px;
  }

  .nav-item .dropdown.mobile-show {
    visibility: visible;
    max-height: 500px;
    padding: 4px 0;
  }

  .topbar-left,
  .topbar-right {
    display: none;
  }
}

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

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

/* ============================================
   HEADER REFRESH
   ============================================ */
.topbar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  min-height: 44px;
  gap: 14px;
}

.topbar-left {
  flex-wrap: wrap;
  gap: 16px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  line-height: 1;
}

.topbar-badge i {
  font-size: 0.8rem;
}

.topbar-right {
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.topbar-link {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 15px 0;
}

.logo {
  min-width: 290px;
}

.header .logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #0e3c71 0%, var(--primary) 68%, var(--primary-dark) 100%);
  border: 3px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}

.header .logo-icon::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
}

.logo-icon-inner {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-text {
  gap: 2px;
}

.logo-kicker {
  display: inline-flex;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.header .logo-name {
  font-size: 1.42rem;
  line-height: 1.1;
}

.header .logo-tagline {
  font-size: 0.76rem;
  letter-spacing: 0.9px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  width: 100%;
  min-width: 0;
}

.main-nav>a,
.main-nav>.nav-item>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a::after {
  display: none;
}

.main-nav>a:hover,
.main-nav>a.active,
.main-nav>.nav-item>a:hover,
.main-nav>.nav-item>a.active,
.nav-item:hover>a {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.nav-arrow {
  font-size: 0.62rem;
  opacity: 0.55;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-item:hover .nav-arrow,
.nav-item>a.active .nav-arrow {
  opacity: 1;
  transform: rotate(180deg);
}

.nav-item .dropdown {
  left: 0;
  top: calc(100% + 16px);
  transform: translateY(12px);
  min-width: 240px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.nav-item:hover .dropdown {
  transform: translateY(0);
}

.dropdown a {
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 600;
}

.mobile-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
  display: none;
}

.mobile-toggle:hover {
  background: var(--gray-50);
}

.page-home .st-home-shortcuts {
  background: #fbfcff;
}

.page-home .st-home-shortcuts .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.page-home .st-home-shortcuts a {
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

.page-home .st-home-shortcuts a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 1180px) {
  .header-shell {
    gap: 10px;
  }

  .header .logo-name {
    font-size: 1.25rem;
  }

  .main-nav>a,
  .main-nav>.nav-item>a {
    padding: 10px 11px;
    font-size: 0.8rem;
  }

  .header-cta span {
    display: none;
  }

  .header-cta {
    padding: 12px 14px;
    font-size: 0.8rem;
  }
}


@media (max-width: 992px) {
  .topbar-right {
    display: none;
  }

  .topbar-left {
    width: 100%;
    justify-content: center;
  }

  .logo {
    min-width: 0;
  }

  .header-actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .header-link {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 11px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .header-shell {
    min-height: 76px;
    gap: 12px;
  }

  .header .logo-icon {
    width: 54px;
    height: 54px;
  }

  .logo-kicker,
  .header .logo-tagline,
  .header-cta {
    display: none;
  }

  .header-link {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header .logo-name {
    font-size: 1.08rem;
  }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: -320px;
    width: 304px;
    height: 100vh;
    padding: 88px 18px 24px;
    background: var(--white);
    border: none;
    border-radius: 0 24px 24px 0;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 9999;
    overflow-y: auto;
    transition: left var(--transition-normal);
  }

  .main-nav.mobile-open {
    left: 0;
  }

  .nav-actions {
    margin: auto 0 0 0;
    padding: 20px 0 0 0;
    border-left: none;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    justify-content: center;
    gap: 20px;
  }

  .main-nav>a,
  .main-nav>.nav-item>a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .nav-item .dropdown {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    margin-top: 0;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
  }

  .nav-item .dropdown.mobile-show {
    visibility: visible;
    max-height: 500px;
    padding-top: 6px;
  }

  .dropdown a {
    padding: 10px 12px;
    border-radius: 12px;
  }
}

/* ============================================
   OFFCANVAS SIDEBAR
   ============================================ */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(3px);
}

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

.offcanvas-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  height: 100vh;
  background: #19232D;
  z-index: 10001;
  transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.offcanvas-sidebar.active {
  right: 0;
}

.offcanvas-header {
  padding: 24px;
  display: flex;
  justify-content: flex-end;
}

.offcanvas-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.offcanvas-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.offcanvas-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.offcanvas-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #D1D5DB;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}

.offcanvas-links a i {
  font-size: 0.8rem;
  color: #9CA3AF;
  transition: color var(--transition-fast);
}

.offcanvas-links a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.offcanvas-links a:hover i {
  color: var(--accent);
}

 / *   - - -   P h o t o   C r o s s f a d e   S l i d e r   - - -   * /   . s t - p h o t o - s l i d e r    {
         p o s i t i o n :    r e l a t i v e ;
         w i d t h :    1 0 0 % ;
         h e i g h t :    5 5 0 p x ;
         b o r d e r - r a d i u s :    v a r ( - - r a d i u s - l g ) ;
         o v e r f l o w :    h i d d e n ;
         b o x - s h a d o w :    0   2 0 p x   4 0 p x   r g b a ( 0 ,  0 ,  0 ,  0 . 1 5 ) ;
         b o r d e r :    8 p x   s o l i d   w h i t e ;
     
}

     . s t - s l i d e    {
         p o s i t i o n :    a b s o l u t e ;
         t o p :    0 ;
         l e f t :    0 ;
         w i d t h :    1 0 0 % ;
         h e i g h t :    1 0 0 % ;
         o p a c i t y :    0 ;
         a n i m a t i o n :    s l i d e C r o s s f a d e   1 5 s   i n f i n i t e ;
     
}

     . s t - s l i d e   i m g    {
         w i d t h :    1 0 0 % ;
         h e i g h t :    1 0 0 % ;
         o b j e c t - f i t :    c o v e r ;
     
}

     . s t - s l i d e : n t h - c h i l d ( 1 )    {
     a n i m a t i o n - d e l a y :    0 s ;
     
}

   . s t - s l i d e : n t h - c h i l d ( 2 )    {
     a n i m a t i o n - d e l a y :    5 s ;
     
}

   . s t - s l i d e : n t h - c h i l d ( 3 )    {
     a n i m a t i o n - d e l a y :    1 0 s ;
     
}

     @ k e y f r a m e s   s l i d e C r o s s f a d e    {
         0 %    {
       o p a c i t y :    0 ;
       
  }

         1 0 %    {
       o p a c i t y :    1 ;
       
  }

         3 3 %    {
       o p a c i t y :    1 ;
       
  }

         4 3 %    {
       o p a c i t y :    0 ;
       
  }

         1 0 0 %    {
       o p a c i t y :    0 ;
       
  }

     
}

     . s l i d e r - o v e r l a y    {
         p o s i t i o n :    a b s o l u t e ;
         i n s e t :    0 ;
         b a c k g r o u n d :    l i n e a r - g r a d i e n t ( 1 8 0 d e g ,    t r a n s p a r e n t   6 0 % ,    r g b a ( 0 ,  0 ,  0 ,  0 . 3 ) ) ;
         p o i n t e r - e v e n t s :    n o n e ;
         z - i n d e x :    2 ;
     
}

     