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

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background: #0a0a0a;
  color: white;
  overflow-x: hidden;
  position: relative;
}

/* Auth Buttons (Login/Signup) */
.auth-buttons {
  position: absolute;
  top: 20px;
  right: 40px;
  display: flex;
  gap: 1rem;
  z-index: 100;
}

.auth-buttons button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Login Button */
.login-btn {
  background: transparent;
  border: 2px solid #667eea;
  color: #667eea;
}

.login-btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
}

/* Sign Up Button */
.signup-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
}


/* Animated Stars Background */
.stars-container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
}

.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(
      1px 1px at 130px 80px,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkleMove 25s linear infinite;
}

@keyframes sparkleMove {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}

/* Header Styles */
header {
  position: relative;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 1s ease-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  width: 10rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  animation: logoFloat 3s ease-in-out infinite;
}

.nav-logo img {
  height: 100%;
  width: 100%;
  transform: scale(1.7)
}

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

.nav-elements ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-elements li {
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-elements li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-elements li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: all 0.3s ease;
}

.nav-elements li:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: heroFadeIn 2s ease-out;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite alternate;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.learn-btn, .contact-btn {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Learn More button */
.learn-btn {
  background: transparent;
  border: 2px solid #764ba2;
  color: #764ba2;
}
.learn-btn:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  color: white;
  box-shadow: 0 10px 25px rgba(118, 75, 162, 0.4);
}

/* Contact Us button */
.contact-btn {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: white;
}
.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 126, 95, 0.4);
}


/* Boxes Section */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin: 4rem 0 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: text;
  color: transparent;
  animation: fadeInUp 1s ease-out;
}

.boxes {
  margin: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s ease;
  animation: boxSlideIn 1s ease-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

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

@keyframes boxSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(-15deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.box:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.box:hover::before {
  left: 100%;
}

.box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.box:hover img {
  transform: scale(1.1);
}

.box h1 {
  color: #333;
  text-align: center;
  padding: 1rem;
  font-size: 1.5rem;
}

.box-content {
  padding: 1rem;
}

.box-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.button button {
  width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
  padding: 1rem;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Student Comments Section */
.comments-section {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  margin: 4rem 0;
  overflow: hidden;
}

.comments-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
}

.comments-slider {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 2rem;
}

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

.comment-card {
  min-width: 350px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-right: 2rem;
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  margin-right: 1rem;
}

.student-info h4 {
  color: white;
  margin-bottom: 0.2rem;
}

.student-info .rating {
  color: #ffd700;
}

.comment-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-style: italic;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 100%);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #667eea;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .nav-elements ul {
    gap: 1rem;
  }

  .nav-elements li {
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
  }

  .boxes {
    grid-template-columns: 1fr;
    margin: 1rem;
    padding: 0 1rem;
  }

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

  .comment-card {
    min-width: 280px;
  }

  nav {
    padding: 1rem;
  }

  .nav-logo {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .nav-elements ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Scroll animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out;
}

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