* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0f172a;
  color: #0f172a;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;

  background: #0f172a;
  transition: box-shadow 0.4s ease;
}
.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 40px;

  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 1),
    rgba(15, 23, 42, 0)
  );

  pointer-events: none;
}

.navbar.scrolled::after {
  display: none;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}



.logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.logo span {
  color: #22c55e;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.primary {
  background: #22c55e;
  color: #0f172a;
}

.secondary {
  border: 2px solid #22c55e;
  color: #22c55e;
}

/* Hero */
.hero {
  height: 92vh;
  margin-top: 70px;
  
  background-image:
    linear-gradient(
      to top,
      rgba(2, 6, 23, 0.3) 15%,
      rgba(2, 6, 23, 0.15) 35%,
      rgba(2, 6, 23, 0.05) 60%,
      rgba(2, 6, 23, 0) 60%
    ),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1600&q=70");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: visible;
}


.hero::after {
  content: "";
  position: absolute;
  bottom: -5%;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #0f172a);
  pointer-events: none;
}


.hero-content {
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 52px;
  color: #ffffff;
}

.hero-content p {
  margin: 20px 0;
  font-size: 18px;
  color: #ffffff;
}

.cta-btn {
  background: #1fcf5f;
  color: #0f172a;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Sections */
section {
  padding: 80px 60px;
  text-align: center;
  scroll-margin-top: 72px;
}
.features {
  padding-top: 190px; /* increase this value */
}


h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

/* Info */
.info {
  background: #e6f1fb;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 30px;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 
    0 10px 25px rgba(2, 6, 23, 0.08),
    0 4px 10px rgba(2, 6, 23, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 40px rgba(2, 6, 23, 0.12),
    0 6px 14px rgba(2, 6, 23, 0.06);
}
.features {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e6f1fb 100%
  );
}
.features {
  position: relative;
  z-index: 2;
}
.features {
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.25) 0%,
    #e6f1fb 40%,
    #e6f1fb 100%
  );
}
.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.35),
    rgba(2, 6, 23, 0)
  );
}




/* Courses */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background: #0f172a;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow:
    0 12px 30px rgba(2, 6, 23, 0.35),
    0 6px 14px rgba(2, 6, 23, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(2, 6, 23, 0.45),
    0 10px 20px rgba(2, 6, 23, 0.35);
}


.course-card span {
  display: inline-block;
  margin-top: 15px;
  background: #22c55e;
  color: #0f172a;
  padding: 5px 12px;
  border-radius: 20px;
}
.courses {
  background: linear-gradient(
    to bottom,
    #e6f1fb 0%,
    #d6e6f5 50%,
    #ffffff 100%
  );
}


/* About */
.about h2 {
  font-size: 36px;
}

.about p {
  max-width: 900px;
  margin: auto;
  font-size: 18.5px;
  line-height: 1.8;
  color: #1e293b;
}
.about {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f1f5f9 100%
  );
}



/* Form */
.form-card {
  max-width: 520px;
  margin: auto;
  background: radial-gradient(circle at center, #ffffff 0%, #60a5fa 100%);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.15);
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 22px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}
.contact {
  background: linear-gradient(
    to bottom,
    #f1f5f9 0%,
    #dbeafe 100%
  );
}



.captcha-box,
.privacy-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
}

.captcha-box {
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.privacy-box a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
}

.btn.full {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

/* Footer */
footer {
  background: #020617;
  color: #94a3b8;
  padding: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  section {
    padding: 60px 30px;
  }
}

@media (max-width: 480px) {
  nav {
    display: flex;
    flex-direction: column;
  }
  nav a {
    margin: 8px 0;
  }
  .hero-content h1 {
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .navbar {
    backdrop-filter: none;
    background: rgba(2, 6, 23, 0.95);
  }
}

/* =========================
   CAPTCHA STYLING
========================= */

.captcha-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#captchaCanvas {
  background: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

/* Professional Reload Button */
#reloadCaptcha {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

#reloadCaptcha:hover {
  background: #f1f5f9;
  border-color: #22c55e;
  color: #22c55e;
}

#reloadCaptcha:active {
  transform: rotate(90deg) scale(0.95);
}

#reloadCaptcha:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}


#reloadCaptcha:hover {
  background: #020617;
}

#captchaInput {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.brand-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.brand-text span {
  color: #22c55e;
}


@media (max-width: 600px) {
  .brand-text {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}


a.btn {
  text-decoration: none;
}
.btn:hover {
  opacity: 0.90;
}
section {
  position: relative;
}
/* =========================
   HERO ENTRANCE ANIMATION
========================= */

.hero-animate h1 {
  opacity: 0;
  transform: translateY(30px);
  animation: heroTitleIn 1s ease-out forwards;
}

.hero-animate p {
  opacity: 0;
  transform: translateY(30px);
  animation: heroSubIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-animate .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
  animation: heroBtnIn 1s ease-out forwards;
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes heroTitleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBtnIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-animate h1 {
  transform: translateY(30px) scale(0.97);
}
/* =========================
   CONTACT SECTION (MODERN)
========================= */

.contact {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(96, 165, 250, 0.25) 0%,
      rgba(96, 165, 250, 0.15) 30%,
      transparent 65%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(34, 197, 94, 0.18) 0%,
      rgba(34, 197, 94, 0.10) 35%,
      transparent 70%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(56, 189, 248, 0.18) 0%,
      transparent 65%
    ),
    linear-gradient(
      to bottom,
      #020617 0%,
      #020617 55%,
      #000814 100%
    );

  padding: 140px 60px;
  color: #ffffff;
}
.contact::before {
  content: "";
  position: absolute;
  inset: -20%;

  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(147, 197, 253, 0.12),
      transparent 70%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(74, 222, 128, 0.10),
      transparent 75%
    );

  pointer-events: none;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.04) 20%,
      transparent 40%
    ),
    linear-gradient(
      300deg,
      transparent 0%,
      rgba(255, 255, 255, 0.03) 25%,
      transparent 50%
    );

  opacity: 0.6;
  pointer-events: none;
}


.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-header p {
  color: #cbd5f5;
  font-size: 16px;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-form-card {
  background:
    radial-gradient(
      circle at top left,
      #1d526e 0%,
      #346687 40%,
      #07405f 70%
    ),
    linear-gradient(
      to bottom,
      #f8fafc,
      #dbeafe
    );

  padding: 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 620px;

  box-shadow:
    0 30px 70px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}



/* Form layout */
.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 10px; 
}


.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form-card input,
.contact-form-card textarea {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  outline: none;
}

.contact-form-card textarea {
  min-height: 140px;
  resize: none;
}

/* Submit button */
.contact-submit {
  margin-top: 10px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(
    to right,
    #22c55e,
    #16a34a
  );
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 100px 30px;
  }

  .contact-header h2 {
    font-size: 32px;
  }
}

.hero .btn.secondary {
  border: 1.5px solid #ffffff;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
}
.course-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* =========================
   CLEAN NAV DROPDOWN (FIXED)
========================= */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* main Courses link */
.nav-main {
  margin-left: 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* dropdown container */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);

  min-width: 220px;
  background: #020617;
  border-radius: 14px;
  padding: 8px 6px;

  box-shadow:
    0 20px 40px rgba(2, 6, 23, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.05);

  display: none;
  z-index: 2000;
}

/* dropdown items */
.dropdown-menu a {
  display: block;
  padding: 14px 22px;
  border-radius: 12px;

  font-size: 15px;
  font-weight: 500;
  color: #e5e7eb;

  transition: background 0.2s ease, color 0.2s ease;
}


.dropdown-menu a:hover {
  background: rgba(34, 197, 94, 0.14);
  color: #22c55e;
  margin-left: 6px;
  margin-right: 6px;
  box-shadow: inset 0 0 0 999px rgba(34, 197, 94, 0.14);
}



/* show on hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* invisible hover bridge */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
}
nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.hero-content h1 {
  font-weight: 700;
}
/* =========================
   CEO SECTION
========================= */

/* =========================
   CEO SECTION (GRADIENT)
========================= */

.ceo-section {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(34, 197, 94, 0.12),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(96, 165, 250, 0.18),
      transparent 65%
    ),
    linear-gradient(
      to bottom,
      #020617 0%,
      #020617 55%,
      #000814 100%
    );

  padding: 140px 60px;
}


.ceo-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.ceo-image img {
  width: 280px;
  height: 280px;

  object-fit: cover;
  border-radius: 50%;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45);
}


.ceo-content h2 {
  font-size: 36px;
  margin-bottom: 18px;
  color: #0f172a;
}

.ceo-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 10px;
}

.ceo-sign {
  margin-top: 22px;
  font-size: 15px;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 900px) {
  .ceo-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ceo-image img {
    margin: 0 auto;
  }
}
.ceo-content h2 {
  color: #ffffff;
}

.ceo-content p {
  color: #cbd5f5;
}

.ceo-sign {
  color: #e5e7eb;
}
.ceo-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 60px;
  backdrop-filter: blur(14px);
}
.contact::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 30px;

  background: linear-gradient(
    to bottom,
    rgba(0, 8, 20, 0),
    rgb(0, 8, 20)
  );

  pointer-events: none;
}
.ceo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  background: linear-gradient(
    to bottom,
    rgba(0, 8, 20, 1),
    rgba(0, 8, 20, 0)
  );

  pointer-events: none;
}
