:root {
  --primary: #2d4bff;
  --secondary: #6a3bff;
  --accent: #16c0ff;
  --dark: #091123;
  --text: #20263a;
  --muted: #667085;
  --bg-soft: #f5f8ff;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow: 0 20px 60px rgba(23, 26, 66, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
  overflow-x: hidden;
}

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

.section-pad {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(135deg, rgba(45, 75, 255, 0.05), rgba(106, 59, 255, 0.08));
}

.section-title h2 {
  font-weight: 700;
  color: #111a39;
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
  margin: 12px auto 0;
}

.glass-nav {
  backdrop-filter: blur(12px);
  background: rgba(9, 17, 35, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(9, 17, 35, 0.75);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #fff;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(13, 23, 64, 0.35);
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: width 0.28s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

.hero-section {
  min-height: 100vh;
  color: #fff;
  position: relative;
  background: radial-gradient(circle at 20% 20%, #324fff 0%, #18203e 52%, #0b1122 100%);
  overflow: hidden;
  padding-top: 110px;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(56, 95, 255, 0.45), rgba(106, 59, 255, 0.33));
  z-index: 2;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
  z-index: 3;
}

.shape-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(22, 192, 255, 0.45), transparent 70%);
  top: 10%;
  right: 10%;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  bottom: 15%;
  left: 8%;
  animation-delay: 1.5s;
}

.shape-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(106, 59, 255, 0.55), transparent 70%);
  top: 56%;
  right: 36%;
  animation-delay: 2.5s;
}

.hero-section .container {
  z-index: 4;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 16px;
}

.hero-tagline {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.typing-line {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

#typedText {
  color: #8de3ff;
  border-right: 2px solid #8de3ff;
  padding-right: 5px;
  font-weight: 600;
  animation: blinkCursor 0.8s infinite;
}

.hero-description {
  max-width: 660px;
  opacity: 0.95;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.hero-trust i {
  color: #5df3c0;
  margin-right: 6px;
}

.glow-btn {
  border: 0;
  background: linear-gradient(90deg, var(--accent), #8dc0ff);
  color: #00113a;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(22, 192, 255, 0.4);
}

.glow-btn:hover,
.glow-btn:focus {
  transform: translateY(-2px);
  color: #00113a;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(20, 23, 64, 0.2);
}

.hero-card {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.feature-list i {
  color: #4f7dff;
  margin-top: 5px;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card .icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 24px rgba(64, 74, 255, 0.25);
}

.course-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.course-card ul {
  margin: 0;
  padding-left: 20px;
  color: #2c3659;
  display: grid;
  gap: 6px;
}

.course-card .btn {
  border-radius: 999px;
}

.why-item {
  text-align: center;
  display: grid;
  gap: 10px;
  min-height: 160px;
  place-content: center;
  padding: 16px;
}

.why-item i {
  font-size: 1.6rem;
  color: var(--primary);
}

.why-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

.counter-row {
  margin-top: 26px;
}

.counter-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #deebff;
  padding: 22px 16px;
  box-shadow: 0 15px 30px rgba(40, 72, 184, 0.1);
}

.counter-card h3 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 8px;
  font-weight: 700;
  color: #1f2d66;
}

.counter-card p {
  color: var(--muted);
  margin: 0;
}

.testimonial-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 38px 30px;
}

.gallery-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(126, 144, 255, 0.24);
  box-shadow: 0 20px 45px rgba(35, 52, 128, 0.2);
  position: relative;
  background: #e6ecff;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(39, 61, 180, 0.08), rgba(21, 28, 64, 0.22));
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}


.stars {
  color: #ffbe2e;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.carousel-control-next,
.carousel-control-prev {
  filter: invert(1) grayscale(1);
  opacity: 0.6;
}

.cta-section {
  background: linear-gradient(120deg, #233fef, #6a3bff);
  color: #fff;
}

.cta-section h2 {
  font-weight: 700;
}

.cta-section p {
  max-width: 760px;
  margin: 10px auto 0;
  opacity: 0.92;
}

.cta-btn {
  color: #283bcf;
  border-radius: 999px;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
}

.contact-info i {
  color: var(--primary);
  margin-top: 4px;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.footer {
  background: #0f1939;
  color: #d4defd;
  padding: 70px 0 30px;
}

.footer h3,
.footer h6 {
  color: #fff;
}

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

.footer-brand .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #d4defd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(130deg, rgba(107, 134, 255, 0.3), rgba(167, 88, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.social-links a:hover {
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #25d366, #0fab54);
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.4);
  z-index: 1100;
  animation: pulse 1.8s ease-in-out infinite;
}

.cursor-glow {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(109, 96, 255, 0.14), transparent 66%);
  transform: translate(-50%, -50%);
  transition: left 0.2s linear, top 0.2s linear;
}

@keyframes blinkCursor {
  0%, 100% { border-color: rgba(141, 227, 255, 1); }
  50% { border-color: transparent; }
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 80px 0;
  }

  .hero-section {
    padding-top: 95px;
  }

  .glass-card {
    padding: 22px;
  }

  .navbar-collapse {
    background: rgba(9, 17, 35, 0.9);
    border-radius: 14px;
    padding: 12px;
    margin-top: 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-trust {
    gap: 10px;
    font-size: 0.86rem;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .gallery-card img {
    height: 230px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .testimonial-card {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.about-img {
  width: 100%;
  border-radius: 16px;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(25, 33, 79, 0.18);
}
