:root {
      --primary: #6c63ff;
      --primary-dark: #4d44db;
      --secondary: #ff6584;
      --accent: #39e1e3;
      --dark: #2a2a72;
      --light: #f8f9fa;
      --text: #333;
      --text-light: #777;
      --success: #28a745;
      --warning: #ffc107;
      --danger: #dc3545;
      --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      color: var(--text);
      background-color: var(--light);
      overflow-x: hidden;
    }
    
    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    /* Hero Section with Particle Background */
    .hero {
      position: relative;
      padding: 6rem 0;
      text-align: center;
      color: white;
      overflow: hidden;
      width: 100vw; /* full screen width */
      min-height: 100vh; /* full screen height for better balance */
}

    
    
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--dark), var(--primary));
      z-index: -2;
    }
    
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.392);
    }
    
    .hero p {
      font-size: 1.2rem;
      margin-bottom: 3.5rem;
      opacity: 0.9;
    }
    
  .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem; /* ✅ Added for vertical spacing between text and buttons */
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(57, 225, 227, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

    
    /* Floating Elements Animation */
    .floating-element {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.151);
      backdrop-filter: blur(5px);
      z-index: -1;
    }
    
    .floating-1 {
      width: 150px;
      height: 150px;
      top: 20%;
      left: 10%;
      animation: float 4s ease-in-out infinite;
    }
    
    .floating-2 {
      width: 100px;
      height: 100px;
      bottom: 15%;
      right: 15%;
      animation: float 8s ease-in-out infinite reverse;
    }
    
    .floating-3 {
      width: 200px;
      height: 200px;
      top: 50%;
      right: 5%;
      animation: float 12s ease-in-out infinite;
    }
    
    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(5deg); }
    }
    
     
    .section-title {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .section-title h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 2.5rem;
      color: var(--dark);
      margin-bottom: 1rem;
    }
    
    .section-title p {
     color: white;
      max-width: 700px;
      margin: 0 auto;
    }
    
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }
    
    .feature-card {
      background: white;
      border-radius: 10px;
      padding: 2rem;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow);
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
    
    .feature-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      border-radius: 50%;
      font-size: 1.8rem;
      box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
    }
    
    .feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--dark);
    }
    
    .feature-card p {
      color: var(--text-light);
    }
    
    /* Testimonials Section */
    .testimonials {
      padding: 5rem 0;
      background: linear-gradient(300deg, #ffffff 25%, #fdfdfd 0%, #50c8ff 75%);
    }
    
    .testimonial-slider {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
    }
    
    .testimonial {
      background: white;
      border-radius: 15px;
      padding: 2rem;
      box-shadow: var(--shadow);
      text-align: center;
      display: none;
    }
    
    .testimonial.active {
      display: block;
      animation: fadeIn 1s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .testimonial-text {
      font-size: 1.1rem;
      font-style: italic;
      color: var(--text);
      margin-bottom: 2rem;
      position: relative;
    }
    
    .testimonial-text::before,
    .testimonial-text::after {
      content: '"';
      font-size: 3rem;
      color: var(--accent);
      opacity: 0.3;
      position: absolute;
    }
    
    .testimonial-text::before {
      top: -20px;
      left: -10px;
    }
    
    .testimonial-text::after {
      bottom: -40px;
      right: -10px;
    }
    
    .student-info {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .student-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 1rem;
      border: 3px solid var(--accent);
    }
    
    .student-name {
      font-weight: 600;
      color: var(--dark);
    }
    
    .student-role {
      color: var(--text-light);
      font-size: 0.9rem;
    }
    
    .slider-controls {
      display: flex;
      justify-content: center;
      margin-top: 2rem;
    }
    
    .slider-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(108, 99, 255, 0.3);
      margin: 0 0.5rem;
      cursor: pointer;
      transition: var(--transition);
    }
    
    .slider-dot.active {
   transform: scale(1.2); 
}
    
    /* Back to Top Button */
    .back-to-top {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 50px;
      height: 50px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 999;
    }
    
    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }
    
    .back-to-top:hover {
      background: var(--primary-dark);
      transform: translateY(-5px);
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 3rem;
      }
    }
    
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      
      .hero p {
        font-size: 1.1rem;
      }
      
      .btn {
        padding: 0.7rem 1.5rem;
      }
      
      .section-title h2 {
        font-size: 2rem;
      }
      
      .testimonial-text {
        font-size: 1rem;
      }
    }
    
    @media (max-width: 576px) {
      .hero h1 {
        font-size: 2rem;
      }
      
      .hero p {
        font-size: 1rem;
      }
      
      .cta-buttons {
        flex-direction: column;
        gap: 1rem;
      }
      
      .btn {
        width: 100%;
        justify-content: center;
      }
    }

/* Fix for feature card links */
.feature-card-container {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.feature-card {
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card-container:hover .feature-card {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Ensure all cards maintain equal height */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
/* Add to your existing feature-card styles */
.feature-card {
  background: #ffffffdd;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.feature-icon {
  /* Your existing icon styles */
  margin-bottom: 1.5rem;
}

.feature-more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.feature-more i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.feature-card-container:hover .feature-more i {
  transform: translateX(5px);
}





/* Premium Circular Icons with Smooth Animations */
.icon-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 3rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

/* Base circle – invisible by default */
.icon-circle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: transparent;
  text-decoration: none;
  overflow: visible;
  transition: transform 0.4s ease;
  animation: float 4s ease-in-out infinite;
}

/* Image inside circle */
.icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  z-index: 2;
  filter: drop-shadow(0 0 3px rgba(0, 87, 137, 0.64));
}

/* Label below image, inside invisible circle */
.icon-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(1, 0, 0);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(194, 252, 48, 0.8);
  z-index: 2;
}

/* Glow effect appears ONLY on hover */
.icon-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 143, 232, 0.681) 10%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.icon-circle:hover::after {
  opacity: 1;
}

/* On hover: boost image and glow */
.icon-circle:hover {
  transform: translateY(-6px) scale(1.05);
}

.icon-circle:hover .icon-img {
  transform: scale(1.1);
}

/* Optional: floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Optional premium badge */
.icon-circle.premium::before {
  content: '★';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, gold, #ffd700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
  animation: spin 4s linear infinite;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  z-index: 3;
}

/* Spin animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive support */
@media (max-width: 768px) {
  .icon-circle {
    width: 90px;
    height: 90px;
  }

  .icon-img {
    width: 50px;
    height: 50px;
  }

  .icon-label {
    font-size: 0.6rem;
    margin-top: 6px;
  }

  .icon-links {
    gap: 1.2rem;
  }
}
