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

/* ===== CSS Custom Properties (Design Tokens) ===== */
:root {
  /* Primary Colors */
  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-700: #C2410C;

  /* Violet/Purple Colors */
  --violet-50: #F5F3FF;
  --violet-100: #EDE9FE;
  --violet-200: #DDD6FE;
  --violet-300: #C4B5FD;
  --violet-400: #A78BFA;
  --violet-500: #8B5CF6;
  --violet-600: #7C3AED;
  --violet-700: #6D28D9;
  --violet-800: #5B21B6;
  --violet-900: #4C1D95;

  /* Neutral Colors */
  --n-50: #FAFAFA;
  --n-100: #F4F4F5;
  --n-200: #E4E4E7;
  --n-300: #D4D4D8;
  --n-400: #A1A1AA;
  --n-500: #71717A;
  --n-600: #52525B;
  --n-700: #3F3F46;
  --n-800: #27272A;
  --n-900: #18181B;
  --n-950: #09090B;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

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

body {
  font-family: var(--font-secondary);
  color: var(--n-800);
  background-color: var(--n-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

/* ===== Top Info Bar ===== */
.top-bar {
  background: linear-gradient(135deg, var(--violet-700), var(--violet-900));
  color: white;
  padding: 10px 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: transform 0.3s ease;
}

.top-bar.hidden {
  transform: translateY(-100%);
}

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

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

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.top-bar-left svg {
  width: 14px;
  height: 14px;
  fill: var(--orange-400);
}

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

.top-bar-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.top-bar-right a:hover {
  background: var(--orange-500);
  transform: translateY(-2px);
}

.top-bar-right a svg {
  width: 14px;
  height: 14px;
  fill: white;
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 38px; /* Height of the top-bar */
  left: 0;
  right: 0;
  z-index: 100;
  transition: top 0.3s ease;
}

.header.scrolled {
  top: 0;
}

.navbar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--n-200);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.header.scrolled .navbar {
  padding: 6px 0;
  box-shadow: var(--shadow-lg);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 2px solid var(--violet-200);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text .school-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--violet-800);
  line-height: 1.2;
}

.nav-brand-text .school-tagline {
  font-size: 0.7rem;
  color: var(--orange-600);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--n-700);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-500);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn-primary {
  background: var(--orange-500);
  color: white;
  border: 2px solid var(--orange-500);
}

.btn-primary::before {
  background: var(--orange-600);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--violet-700);
  border: 2px solid var(--violet-300);
}

.btn-secondary::before {
  background: var(--violet-50);
}

.btn-secondary:hover {
  border-color: var(--violet-500);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: white;
  color: var(--violet-700);
  border-color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--n-100);
  color: var(--n-600);
  border: 1px solid var(--n-200);
}

.btn-ghost:hover {
  background: var(--n-200);
}

.btn-login {
  background: var(--violet-600);
  color: white;
  border: 2px solid var(--violet-600);
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-login::before {
  background: var(--violet-700);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-login svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: var(--n-100);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  z-index: 200;
}

.hamburger:hover {
  background: var(--n-200);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--n-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

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

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

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--violet-600);
  z-index: 150;
  transform: translateX(100%);
  transition: transform var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 100px 32px 40px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu-links a {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-links a:hover {
  color: var(--orange-400);
  padding-left: 12px;
}

.mobile-menu-links a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.5;
}

.mobile-menu-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-900) 0%, var(--violet-700) 50%, var(--orange-700) 100%);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(76, 29, 149, 0.7) 0%,
    rgba(76, 29, 149, 0.5) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 180px 0 100px;
  width: 100%;
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--orange-300);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--orange-400);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 900px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title span {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  width: 100%;
  max-width: 1000px;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-stat {
  text-align: center;
  padding: 24px;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange-400);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating shapes */
.hero-shape {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.1;
  z-index: 2;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--orange-500);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--violet-400);
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--orange-300);
  top: 40%;
  right: 5%;
  animation: float 6s ease-in-out infinite 2s;
}

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

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--orange-300);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--n-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--orange-500);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--n-500);
  line-height: 1.7;
}

/* ===== About / Ethos Section ===== */
.about-section {
  background: white;
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--orange-500);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-primary);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content h2 span {
  color: var(--orange-500);
}

.about-content p {
  color: var(--n-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1rem;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--n-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--n-200);
  transition: all var(--transition-base);
}

.about-feature:hover {
  background: var(--orange-50);
  border-color: var(--orange-200);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-700);
}

/* ===== Academics Section ===== */
.academics-section {
  background: linear-gradient(180deg, var(--n-50), white);
}

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

.academic-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--n-200);
  transition: all var(--transition-base);
  position: relative;
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--orange-200);
}

.academic-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.academic-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.academic-card-body {
  padding: 28px;
}

.academic-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.academic-card-icon.orange {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.academic-card-icon.violet {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
}

.academic-card-icon.teal {
  background: linear-gradient(135deg, #14B8A6, #0D9488);
}

.academic-card-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.academic-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 10px;
}

.academic-card p {
  color: var(--n-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.academic-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-500);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition-base);
}

.academic-card-link:hover {
  gap: 12px;
}

.academic-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-base);
}

/* ===== Why Choose Us Section ===== */
.why-section {
  background: linear-gradient(135deg, var(--violet-800), var(--violet-900));
  color: white;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 600px;
  height: 600px;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  opacity: 0.06;
}

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

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  border-color: var(--orange-400);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.why-card h3 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ===== Achievements / Stats Marquee Section ===== */
.achievements-section {
  background: white;
  overflow: hidden;
}

.achievements-marquee {
  display: flex;
  animation: marquee 30s linear infinite;
  gap: 48px;
  padding: 40px 0;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: var(--n-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--n-200);
  white-space: nowrap;
  min-width: max-content;
  transition: all var(--transition-base);
}

.achievement-item:hover {
  background: var(--orange-50);
  border-color: var(--orange-200);
}

.achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-100), var(--orange-200));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--orange-600);
}

.achievement-text h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--violet-800);
}

.achievement-text p {
  font-size: 0.8rem;
  color: var(--n-500);
  font-weight: 500;
}

/* ===== News & Events Section ===== */
.news-section {
  background: var(--n-50);
}

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

.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--n-200);
  transition: all var(--transition-base);
}

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

.news-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.news-card-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--orange-500);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card-body {
  padding: 24px;
}

.news-card-tag {
  display: inline-block;
  background: var(--violet-50);
  color: var(--violet-600);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-card h3 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.88rem;
  color: var(--n-500);
  line-height: 1.6;
}

/* ===== Login Portal Section ===== */
.login-section {
  background: linear-gradient(135deg, var(--n-900), var(--violet-900));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.login-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: var(--orange-500);
  opacity: 0.05;
  border-radius: var(--radius-full);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 100%);
  border-radius: var(--radius-xl);
}

.login-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-400);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-card-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.login-card-icon.parent-icon {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}

.login-card-icon.student-icon {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}

.login-card-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.login-card h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.login-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.login-card .btn {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ===== Login Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 440px;
  padding: 48px 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-2xl);
}

.modal-backdrop.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--n-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: var(--n-200);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  fill: var(--n-600);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon.parent {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.modal-icon.student {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.modal-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.modal h2 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--n-900);
}

.modal .modal-subtitle {
  text-align: center;
  color: var(--n-500);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--n-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--n-800);
  background: var(--n-50);
  transition: all var(--transition-base);
}

.form-group input:focus {
  outline: none;
  border-color: var(--orange-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.form-group input::placeholder {
  color: var(--n-400);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--orange-500);
  cursor: pointer;
}

.form-check span {
  font-size: 0.85rem;
  color: var(--n-600);
}

.form-link {
  font-size: 0.85rem;
  color: var(--orange-500);
  font-weight: 600;
}

.form-link:hover {
  color: var(--orange-600);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  margin-bottom: 16px;
}

.form-divider {
  text-align: center;
  color: var(--n-400);
  font-size: 0.8rem;
  margin: 16px 0;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: var(--n-200);
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

/* ===== Testimonials Section ===== */
.testimonials-section {
  background: white;
}

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

.testimonial-card {
  background: var(--n-50);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--n-200);
  transition: all var(--transition-base);
  position: relative;
}

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

.testimonial-quote {
  font-size: 2rem;
  color: var(--orange-400);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--n-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--orange-400), var(--violet-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--n-800);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--n-500);
}

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

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
}

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

.cta-content h2 {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--n-950);
  color: var(--n-400);
  padding: 80px 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-brand-logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-brand-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--n-500);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: var(--n-400);
  transition: fill var(--transition-base);
}

.footer-social a:hover svg {
  fill: white;
}

.footer-column h4 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-column a {
  font-size: 0.88rem;
  color: var(--n-500);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-column a:hover {
  color: var(--orange-400);
  padding-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

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

.footer-bottom a:hover {
  color: var(--orange-500);
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--orange-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
  cursor: pointer;
}

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

.scroll-top:hover {
  background: var(--orange-600);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: white;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll reveal animation classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Counter animation */
.counter-animate {
  display: inline-block;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

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

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

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

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

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

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

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

  .section-title {
    font-size: 2.2rem;
  }
}

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

  .top-bar {
    display: none;
  }

  .header {
    top: 0 !important;
  }

  .hero-content {
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

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

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

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

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

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

  .login-card {
    padding: 36px 28px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .about-content h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal {
    padding: 36px 24px;
    width: 95%;
  }

  .nav-actions .btn-login {
    display: none;
  }
}

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

  .hero-stat:nth-child(2)::after {
    display: none;
  }

  .nav-brand-text .school-name {
    font-size: 0.95rem;
  }

  .nav-brand img {
    height: 36px;
    width: 36px;
  }

  .hero-content {
    padding: 120px 0 60px;
  }
}
