* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #0a0c10;
  color: #eef2ff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* custom gradient and glassmorphism */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4ac7;
  --secondary: #00cec9;
  --accent: #fd79a8;
  --dark-bg: #0f1117;
  --card-bg: rgba(18, 22, 32, 0.8);
  --glow: 0 0 20px rgba(108, 92, 231, 0.4);
}

/* scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1f2c;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 20px;
}

/* header / navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 16, 0.8);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(108, 92, 231, 0.3);
  transition: all 0.3s;
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a29bfe, #6c5ce7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--secondary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: #cdd9ff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
  font-size: 1rem;
}
.nav-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 5px #00cec9;
}
.menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 70%;
    height: 100vh;
    background: #0c0f17e6;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
    transition: 0.3s;
    border-right: 1px solid var(--primary);
  }
  .nav-links.active {
    left: 0;
  }
  .menu-btn {
    display: block;
  }
}

/* hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 10% 30%, #121826, #05070c);
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 900px;
  padding: 2rem;
  z-index: 2;
}
.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a29bfe, #6c5ce7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.3rem;
  color: #cbd5ff;
  margin-bottom: 2rem;
}
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(95deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 8px 18px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(108, 92, 231, 0.5);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* sections common */
.section {
  padding: 100px 5%;
  max-width: 1300px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}
.section-title span {
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  padding: 0 0.5rem;
  border-radius: 8px;
}
.gradient-text {
  background: linear-gradient(95deg, #a29bfe, #00cec9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(4px);
  border-radius: 28px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(108, 92, 231, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: var(--glow);
}
.service-card i {
  font-size: 3rem;
  background: linear-gradient(145deg, #6c5ce7, #a29bfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}
.service-card h3 {
  margin: 1rem 0;
}

/* course list / curriculum */
.course-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.course-badge {
  background: #1e1f2e;
  padding: 0.8rem 1.6rem;
  border-radius: 60px;
  font-weight: 500;
  transition: 0.2s;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.course-badge:hover {
  background: var(--primary);
  transform: scale(1.02);
}

/* contact form */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  background: rgba(12, 15, 24, 0.6);
  border-radius: 48px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(108, 92, 231, 0.4);
}
.contact-info {
  flex: 1;
}
.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  background: #141824;
  border: 1px solid #2c2f3f;
  padding: 1rem;
  border-radius: 28px;
  color: white;
  font-family: inherit;
  outline: none;
  transition: 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.3);
}
.contact-info i {
  margin-right: 12px;
  color: var(--secondary);
}
.social-icons a {
  color: #eef2ff;
  font-size: 1.8rem;
  margin-right: 1.5rem;
  transition: 0.2s;
}
.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}
footer {
  text-align: center;
  padding: 2rem;
  background: #05070c;
  border-top: 1px solid #1e1f2c;
}
/* floating particles effect */
.particle {
  position: absolute;
  background: rgba(108, 92, 231, 0.4);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1f1f2e;
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 60px;
  border-left: 6px solid #00cec9;
  z-index: 2000;
  font-weight: 500;
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}
