* {
  margin: 0; padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body {
  background: #0a0f1a;
  color: #fff;
  scroll-behavior: smooth;
}

/* ===== Navbar ===== */
header {
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  z-index: 1000;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(10px);
}
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 50px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links li a:hover {
  color: #00ffff;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.hero-content {
  position: absolute;
  top: 50%; left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
}
.hero-content h1 {
  font-size: 3rem;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}
.hero-content span {
  color: #00ffff;
}
.hero-content p {
  margin: 15px 0;
  font-size: 1.1rem;
  opacity: 0.9;
}
.btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(90deg, #00ffff, #007bff);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
  box-shadow: 0 0 15px #00ffff;
}
.btn:hover {
  transform: scale(1.1);
}

/* ===== About ===== */
.about {
  padding: 100px 50px;
  background: rgba(255, 255, 255, 0.05);
  display: flex; justify-content: center; align-items: center;
}
.about-container {
  display: flex; gap: 50px; flex-wrap: wrap;
  align-items: center;
  max-width: 1100px;
}
.about-container img {
  width: 400px; border-radius: 20px;
  box-shadow: 0 0 20px #00ffff50;
}
.about-text h2 {
  font-size: 2.5rem;
}
.about-text span { color: #00ffff; }
.about-text p {
  margin: 20px 0;
  line-height: 1.7;
}
/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 50px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
}

.about-text {
  flex: 1 1 45%;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text span {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.about-text p {
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: #f1f1f1;
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .about-text {
    flex: 1 1 100%;
  }
}

/* ===== Sections Common ===== */
section h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 40px;
}
section h2 span { color: #00ffff; }

/* ===== Schools ===== */
.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 50px 80px;
}
.school-card {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  text-align: center;
  padding: 30px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px #00ffff40;
  transition: 0.4s;
}
.school-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #00ffff40, #007bff30);
}
/* ===== SCHOOLS SECTION ===== */
.schools {
  padding: 100px 50px;
  background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.9));
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.section-title span {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}

.school-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
}

.school-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.4);
}

.school-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.school-info {
  padding: 20px;
}

.school-info h3 {
  margin-bottom: 10px;
  color: #00ffff;
  font-size: 1.3rem;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.school-info p {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Button inside card */
.school-info .btn {
  padding: 8px 18px;
  background: linear-gradient(90deg, #00ffff, #007bff);
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
  display: inline-block;
}

.school-info .btn:hover {
  background: linear-gradient(90deg, #007bff, #00ffff);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .schools {
    padding: 80px 20px;
  }
  .school-grid {
    gap: 20px;
  }
}

/* ===== Courses ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 50px 80px;
}
.course-card {
  background: rgba(255,255,255,0.07);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px #007bff40;
  transition: 0.4s;
}
.course-card:hover {
  transform: translateY(-8px);
}

/* ===== Teachers ===== */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 0 50px 80px;
}
.teacher-card {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: 0.4s;
}
.teacher-card:hover { transform: translateY(-10px); }
.teacher-card img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 0 10px #00ffff50;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 0 50px 80px;
}
.gallery-grid img {
  width: 100%; border-radius: 15px;
  transition: 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff40;
}

/* ===== Feedback ===== */
.feedback {
  padding: 100px 50px;
  text-align: center;
  background: rgba(255,255,255,0.05);
}
.feedback-carousel {
  position: relative;
  max-width: 700px;
  margin: auto;
}
.feedback-card {
  display: none;
  opacity: 0;
  transition: opacity 1s;
}
.feedback-card.active {
  display: block;
  opacity: 1;
}
.feedback-card p {
  font-style: italic;
  margin-bottom: 15px;
}
.feedback-card h4 {
  color: #00ffff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 25px;
  background: rgba(0,0,0,0.5);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media(max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px; right: -100%;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    width: 200px;
    text-align: center;
    transition: 0.4s;
  }
  .nav-links.active { right: 0; }
  .menu-toggle { display: block; }
  .about-container img { width: 100%; }
  .hero-content h1 { font-size: 2.3rem; }
}

/* Keep previous styles, plus below additions */

#particle-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #020111 0%, #000 100%);
}

/* === Scroll Animation === */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
