
/* =====================
   VARIABLES
===================== */
:root {
  --primary: #007bff;
  --secondary: #6a11cb;
  --accent: #ffb400;
}

/* =====================
   GLOBAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #000;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 7%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img { width: 45px; height: 45px; }
.logo h2 { color: var(--primary); font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(8, 148, 153);
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: #0056b3; }

/* ======================
   DROPDOWN MENU (Fixed & Responsive)
====================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: rgb(8, 148, 153);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 15px;
}

/* Dropdown container (1st level) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #141428;
  border-radius: 10px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

/* Show on hover (desktop & tablets) */
@media (min-width: 769px) {
  .dropdown:hover > .dropdown-content {
    display: block;
  }

  /* keep floating – prevent header spacing on iPad/Surface/Zenbook */
  .dropdown-content {
    position: absolute !important;
  }

  .submenu {
    position: absolute !important;
  }
}

/* Submenu container */
.dropdown-sub {
  position: relative;
  list-style: none;
}

.sub-btn {
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.sub-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Submenu (2nd level) */
.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #1a1a3b; /* 🎨 distinct 2nd-level background */
  border-radius: 10px;
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown-sub:hover > .submenu {
  display: block;
}

.submenu a {
  display: block;
  color: #e0e0ff;
  text-decoration: none;
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s;
}

.submenu a:hover {
  background: #27275a;
  color: #fff;
}

/* ======================
   MOBILE DROPDOWN COLORS + FIX
====================== */
@media (max-width: 768px) {
  .dropdown-content.show {
    display: block !important;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background: #141428;
    border-radius: 0;
  }

  .dropdown-sub.active > .submenu {
    display: block !important;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background: #2a2a5c; /* ✅ lighter 2nd-level tone */
    border-radius: 0;
  }

  .dropdown,
  .dropdown-content,
  .submenu {
    position: static;
    width: 100%;
  }

  .sub-btn {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-content a,
  .submenu a {
    padding-left: 25px;
  }

  /* ✅ Enable scroll inside dropdowns on mobile */
  .dropdown-content {
    max-height: 70vh; /* fits most screens */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll on touch */
    overscroll-behavior: contain; /* prevent background scroll */
  }

  /* Optional: shadow edges for scroll */
  .dropdown-content::before,
  .dropdown-content::after {
    content: "";
    position: sticky;
    display: block;
    height: 10px;
    pointer-events: none;
  }

  .dropdown-content::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
  }

  .dropdown-content::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  }

  /* Custom scrollbar for dropdown */
  .dropdown-content::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
  }
}


/* =====================
   BUTTONS
===================== */
.login-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.login-btn:hover { background: #0056b3; }
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: black; }

/* =====================
   HERO SECTION
===================== */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 70px 7%;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: #fff;
  flex-wrap: wrap;
  min-height: 80vh;
}

.hero-text { flex: 1; min-width: 300px; z-index: 2; }
.hero-text h1 {
  font-size: 2.5rem; line-height: 1.3; margin-bottom: 15px;
  max-width: 500px; font-weight: 700;
}
.hero-text p { font-size: 1rem; margin-bottom: 25px; max-width: 400px; opacity: 0.95; font-weight: 600; }

.explore-btn {
  background: var(--accent);
  color: #000;
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}
.explore-btn:hover { transform: scale(1.05); background: #ffd633; }

.hero-video {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  height: 400px; /* adjust as you like */
  margin-top: 20px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000; /* fills the empty area around video */
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows full video without cutting */
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Subtle overlay (optional) */
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
  pointer-events: none;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .hero-video {
    height: 250px;
  }
}




/* =====================
   MEDIA QUERIES
===================== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px; right: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    border-radius: 0 0 15px 15px;
    z-index: 100;
    padding: 10px 0;
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .dropbtn { color: #fff; }
  .dropdown-content, .submenu { position: static; display: none; background: rgba(255,255,255,0.1); box-shadow: none; border-radius: 0; }
  .dropdown-sub.active .submenu { display: block; }
}

/* =====================
   CONTACT POPUP (GLASSMORPHISM)
===================== */
.contact-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-popup.show {
  display: flex;
  opacity: 1;
}

.contact-content {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  color: #fff;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

.contact-content h2 {
  color: #007bff;
  margin-bottom: 10px;
}

.contact-content p {
  margin-bottom: 10px;
  color: #fff;
}

.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.contact-content input,
.contact-content textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  outline: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.contact-content input::placeholder,
.contact-content textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-content button {
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #3622e7;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-content button:hover {
  background: #1d89bb;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}
/* =====================
   RESPONSIVE
===================== */
@media (max-width: 950px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 6%;
  }

  .hero-text {
    margin-bottom: 30px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-text p {
    margin: 0 auto 25px;
  }

  .hero-video video {
    width: 90%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    margin: 10px 0;
    border-radius: 12px;
  }

  .dropdown-content a {
    padding: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    border-radius: 0 0 15px 15px;
    z-index: 100;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    background: rgba(255,255,255,0.1);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .sub-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
  }

  .dropdown-sub .submenu {
    position: static;
    display: none;
    background: rgba(255,255,255,0.1);
    padding: 0;
    margin: 0;
  }

  .dropdown-sub.active .submenu {
    display: block;
  }

  .dropdown-sub a {
    padding: 15px;
    text-align: center;
  }
}

/* =====================
   ABOUT US SECTION
===================== */
.about-section {
  text-align: center;
  padding: 80px 7%;
  background: linear-gradient(135deg, #0a0e27, #10152f);
  color: #fff;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 50px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* About cards (glass effect) */
.about-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 30px 25px;
  width: 320px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

/* Card headings */
.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.mission h3 {
  color: #00cfff;
}

.vision h3 {
  color: #ff4b4b;
}

.values h3 {
  color: #9b4bff;
}

/* Text content */
.about-card p {
  color: #f1f1f1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.about-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card li {
  margin: 10px 0;
  font-size: 0.95rem;
}

/* Highlight brand name */
.highlight {
  color: #ffd700;
  font-weight: 600;
}

/* Buttons */
.about-buttons {
  margin-top: 40px;
}

.about-buttons .btn {
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  margin: 0 10px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn.enroll {
  background: #007bff;
  color: #fff;
}

.btn.enroll:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.btn.know {
  background: #ffd700;
  color: #000;
}

.btn.know:hover {
  background: #e5c100;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 950px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-card {
    width: 100%;
    max-width: 380px;
  }

  .about-section h2 {
    font-size: 2rem;
  }
}

/* ===============================
   GLASSMORPHISM ENROLL FORM
=============================== */

.enroll-btn {
  padding: 12px 25px;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.enroll-btn:hover {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transform: scale(1.05);
}

/* Popup Background */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.show {
  display: flex;
}

/* Popup Content Box */
.popup-content {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  padding: 25px 30px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(-15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-content h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #4da6ff;
  margin-bottom: 20px;
}

.popup-content label {
  display: block;
  font-weight: 500;
  color: #e5e5e5;
  margin-bottom: 6px;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  margin-bottom: 12px;
  outline: none;
}

.popup-content input::placeholder {
  color: #ccc;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #4b6cb7, #182848);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transform: scale(1.03);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #ff5c5c;
}

/* Success Message */
.success-popup {
  display: none;
  text-align: center;
  color: #00ffae;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 15px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .popup-content { width: 90%; padding: 20px; }
  .popup-content h2 { font-size: 1.4rem; }
  .submit-btn { font-size: 0.95rem; }
  .close-btn { font-size: 22px; }
}



/* ===============================
   PLACEMENT SUPPORT SECTION (ANIMATED)
=============================== */
.placement-section {
  text-align: center;
  padding: 100px 7%;
  background: linear-gradient(135deg, #000428, #004e92, #001f4d, #0072ff);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.placement-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 60px;
  text-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
  letter-spacing: 1px;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { text-shadow: 0 0 15px rgba(0, 255, 255, 0.3); }
  to { text-shadow: 0 0 35px rgba(0, 255, 255, 0.8); }
}

.placement-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}

.placement-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 35px 25px;
  width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.2);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.placement-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 300%;
  background: linear-gradient(180deg, rgba(0,255,255,0.15), transparent, rgba(0,255,255,0.15));
  animation: lightSweep 6s linear infinite;
}

@keyframes lightSweep {
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.placement-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.4);
  border-color: rgba(0, 255, 255, 0.4);
}

.placement-card h3 {
  font-size: 1.4rem;
  color: #00e0ff;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.placement-card p {
  font-size: 1rem;
  color: #e0f7ff;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .placement-container {
    flex-direction: column;
    align-items: center;
  }

  .placement-card {
    width: 100%;
    max-width: 360px;
  }

  .placement-title {
    font-size: 2rem;
  }
}

/* ===============================
   Success Stories Section
=============================== */
#success-stories {
  background: #0b0b2b;
  padding: 100px 50px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

#success-stories h2 {
  color: #ffd700;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* Container */
.testimonial-container {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px; 
  background: rgba(255,255,255,0.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Slides */
.testimonial-slide {
  display: none;
  animation: fade 0.6s ease-in-out;
  padding: 60px;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ffd700;
}

.testimonial-slide p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 15px;
}

.testimonial-slide h3 {
  font-weight: 600;
  color: #ffd700;
}

/* Navigation arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffd700;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: 0.3s;
  z-index: 10;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 8px;
}

.dots button {
  width: 10px;
  height: 10px;
  background: #aaa;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dots button.active {
  background: #ffd700;
  transform: scale(1.3);
}

/* Animations */
@keyframes fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  #success-stories {
    padding: 60px 20px;
  }

  #success-stories h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .testimonial-slide p {
    font-size: 1rem;
  }

  .arrow {
    font-size: 1.5rem;
    padding: 6px 10px;
  }

  .testimonial-slide img {
    width: 90px;
    height: 90px;
  }
}

/* ===============================
   COMPANIES YOU CAN JOIN
=============================== */
.companies-section {
  background: linear-gradient(135deg, #4A00E0, #00CFFD);
  color: #fff;
  text-align: center;
  padding: 100px 7%;
  overflow: hidden;
  position: relative;
}

.companies-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.company-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.company-track {
  display: flex;
  gap: 80px;
  width: calc(200%); /* Force long track */
  animation: scrollLeft 25s linear infinite;
}

.company-track img {
  width: 150px;
  height: auto;

  
  transition: transform 0.3s, opacity 0.3s;
}

.company-track img:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* Infinite horizontal scroll */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .companies-section h2 {
    font-size: 2rem;
  }
  .company-track {
    gap: 40px;
    animation-duration: 30s;
  }
  .company-track img {
    width: 90px;
  }
}

/* Section Background - Purple Gradient */
  .counters-section {
    background: linear-gradient(135deg, #4A00E0, #00CFFD);
    padding: 80px 0;
    color: #fff;
  }

  .counters {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
  }

  .counter-box {
    background: rgba(255,255,255,0.15);
    padding: 30px 40px;
    border-radius: 15px;
    min-width: 150px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
  }

  .counter-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
  }

  .icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a11cb;
    font-size: 2rem;
  }

  .counter-box h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .counter-box p {
    font-size: 1.2rem;
    font-weight: 500;
  }

  /* Mobile */
  @media (max-width: 768px) {
    .counter-box h3 {
      font-size: 2rem;
    }
    .counter-box p {
      font-size: 1rem;
    }
    .counters {
      gap: 30px;
    }
    .icon-circle {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }
  }

  @media (max-width: 480px) {
    .counter-box {
      padding: 20px 25px;
    }
  }

  


/* ===============================
   PROGRAMS FILTER & HORIZONTAL SCROLL
=============================== */
.programs-section-filter {
  padding: 80px 7%;
  background: linear-gradient(135deg, #00bfff, #6a11cb);
  color: #fff;
}

.programs-section-filter h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.programs-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #e0e0e0;
}

.programs-wrapper {
  display: flex;
  gap: 30px;
}

/* Left Filter Sidebar */
.program-filter {
  flex: 0 0 200px;
}

.program-filter ul {
  list-style: none;
  padding: 0;
}

.program-filter ul li {
  padding: 15px 20px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.program-filter ul li.active,
.program-filter ul li:hover {
  background: #ffd700;
  color: #000;
}

/* Right Programs Horizontal Scroll */
.programs-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  flex: 1;
}

.program-card {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.program-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.program-card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.program-btn {
  padding: 8px 20px;
  border: none;
  background-color: #ff4b4b;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
}

.program-btn:hover {
  background-color: #ffd700;
  color: #000;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Scrollbar hidden for cleaner look */
.programs-scroll::-webkit-scrollbar {
  display: none;
}
.programs-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .programs-wrapper {
    flex-direction: column;
  }
  .program-filter {
    flex-direction: row;
    overflow-x: auto;
    display: flex;
    gap: 10px;
  }
  .program-filter ul {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .program-filter ul li {
    flex: 0 0 auto;
  }
}

/* footer */
footer {
  background: #0b0b2b;
  color: #fff;
  padding: 50px 5%;
  font-family: 'Montserrat', sans-serif; /* Changed font */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #00CFFD; /* Upzora Blue */
  font-weight: 700; /* Bold headings */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-section ul li a:hover {
  color: #00CFFD;
}

.footer-section p {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #aaa;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
  .footer-container {
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 3%;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .social-icons a img {
    width: 24px;
    height: 24px;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

/* ---------- Popup Overlay ---------- */
.login-popup {
  position: fixed; top:0; left:0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); /* darker overlay */
  display: flex; justify-content: center; align-items: center;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.login-popup.show { opacity: 1; pointer-events: auto; }

/* ---------- Login Box (Glassmorphism Blue/Black) ---------- */
.login-box {
  background: rgba(0, 0, 50, 0.6); /* dark blue-black */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 100, 255, 0.5);
  border-radius: 16px;
  width: 90%; max-width: 400px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  color: #fff;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
.close-login { position:absolute; top:15px; right:20px; font-size:1.5rem; cursor:pointer; color:#fff; }

/* Forms */
.form { display:none; flex-direction:column; gap:1rem; }
.form.active { display:flex; }
.form h2 { text-align:center; margin-bottom:1rem; font-size: clamp(1.2rem, 4vw, 1.5rem); }

/* Inputs */
.form input {
  padding:0.8rem 1rem;
  border-radius:10px;
  border:1px solid rgba(0,100,255,0.5);
  background: rgba(0,0,0,0.3);
  color:#fff;
  font-size: clamp(0.9rem, 3vw, 1rem);
}
.form input::placeholder { color: rgba(200,200,255,0.7); }
.form input:focus { border-color:#00f; outline:none; }

/* Buttons */
.btn-primary {
  padding:0.8rem 1rem;
  background: rgba(0,100,255,0.7);
  color:#fff; border:none;
  border-radius:10px; cursor:pointer; font-weight:600;
  backdrop-filter: blur(5px);
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: clamp(0.9rem,3vw,1rem);
}
.btn-primary:hover { background: rgba(0,100,255,0.9); transform: translateY(-2px); }


/* Links */
.forgot-password, .signup-link, .back-to-login { text-align:center; font-size: clamp(0.8rem, 2.5vw, 0.9rem); }
.forgot-password a, .signup-link a, .back-to-login a { color:#00f; text-decoration:underline; transition: color 0.3s ease; }
.forgot-password a:hover, .signup-link a:hover, .back-to-login a:hover { color:#00ccff; }

/* Animations */
@keyframes fadeIn { from {opacity:0; transform: scale(0.9);} to {opacity:1; transform: scale(1);} }

/* Mobile */
@media(max-width:500px){ .login-box{ width:95%; padding:1.5rem; } }


/* ---------- Modal Popups (Login Success / Signup Error) ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1100; /* above login popup */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Content (Glass Style) */
.modal-content {
  background: rgba(0, 0, 50, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0,100,255,0.5);
  border-radius: 16px;
  width: 90%;
  max-width: 350px;
  padding: 2rem;
  position: relative;
  text-align: center;
  color: #fff;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* Close Button */
.modal .close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

/* Modal Text */
.modal h2 { margin-bottom: 1rem; font-size: clamp(1.2rem,4vw,1.5rem); }
.modal p { font-size: clamp(0.9rem,3vw,1rem); }

/* Hover Effects for Buttons (if any inside modal) */
.modal button { 
  padding:0.7rem 1rem;
  background: rgba(0,100,255,0.7);
  color:#fff;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  transition: background 0.3s ease, transform 0.2s ease;
}
.modal button:hover { background: rgba(0,100,255,0.9); transform: translateY(-2px); }

/* Reuse fadeIn animation */
@keyframes fadeIn { from {opacity:0; transform: scale(0.9);} to {opacity:1; transform: scale(1);} }

/* Mobile */
@media(max-width:500px){ .modal-content{ width:95%; padding:1.5rem; } }

.error {
  display: none;
  color: #d32f2f; /* clean red text */
  font-size: 15px;
  margin-top: 7px;
  font-weight: 600;
  line-height: 1.3;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 🔴 Error message box */
.error-box {
  display: block;
  background-color: #ffe5e5;
  color: #b30000;
  border: 1px solid #ff4d4d;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
  text-align: center;
  line-height: 1.5;
}


.error {
  color: #ff3b3b;
  font-size: 13px;
  margin: 3px 0 8px;
  display: block;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

#contactForm button {
  background-color: #4e54c8;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

#contactForm button:hover {
  background-color: #3e43b0;
}

/*enroll programs*/
#enrollPopup {
  display: none;
  justify-content: center;
  align-items: center;
}

#enrollPopup.show {
  display: flex;
}

