/* ===== GLOBAL ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  margin: 0.5em 0;
}

a {
  text-decoration: none;
}

/* ===== HEADER ===== */
.main-header {
  background: #0a2540;
  color: white;
  padding-bottom: 20px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  flex-wrap: nowrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  line-height: 1;         
  display: flex;
  align-items: center;
}


nav a {
  color: white;
  margin-left: 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #635bff;
}

.hero {
  text-align: center;
  padding: 60px 20px 40px 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1.2rem;
  color: #ffeb3b; /* bright color for contrast */
}

/* ===== SECTIONS ===== */
.section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

/* ===== COURSES GRID ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.course-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.course-card img {
  width: 100%;
  height: 180px; /* compact height */
  object-fit: cover;
}

.course-card h3 {
  margin: 15px 20px 10px 20px;
  font-size: 1.2rem;
  color: #0a2540;
}

.course-card p {
  margin: 0 20px 10px 20px;
  font-size: 0.95rem;
  color: #555;
  flex-grow: 1;
}

.course-card .price {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 20px 10px 20px;
  color: #0a2540;
}

.btn-outline, .btn-primary {
  display: inline-block;
  margin: 10px 20px 20px 20px;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0a2540;
  color: #0a2540;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #0a2540;
  color: white;
}

.btn-primary {
  background: #635bff;
  color: white;
  border: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #4b44d6;
}

/* ===== CORPORATE CTA ===== */
.corporate-cta {
  background: #0a2540;
  color: white;
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 40px 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial-card h4 {
  margin-top: 15px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #0a2540;
}

/* ===== FAQ ===== */
.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: #635bff;
  color: white;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
}

.faq-question:hover {
  background: #4b44d6;
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  font-size: 0.95rem;
  color: #333;
}

/* ===== ENROLL FORM ===== */
#enroll iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  border-radius: 10px;
}

/* ===== FOOTER ===== */
footer {
  background: #0a2540;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .course-card img {
    height: 150px;
  }

}
/* ===============================
   PROMO FLYING BANNER (GLOBAL)
================================ */

.promo-banner {
  position: sticky;
  top: 70px;
  z-index: 999;
  width: 100%;
  background: linear-gradient(90deg, #635bff, #4b44d6);
  overflow: hidden;
  padding: 8px 0;
}

.promo-track {
  display: flex;
  width: max-content;
  animation: slide-right 22s linear infinite;
}

.promo-banner:hover .promo-track {
  animation-play-state: paused;
}

.promo-track span {
  white-space: nowrap;
  padding-right: 80px;
  font-size: 14px;
  color: #ffffff;
}

.promo-track .coupon {
  background: #ffffff;
  color: #4b44d6;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
}

/* animation */
@keyframes slide-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}

/* mobile-only tweak */
@media (max-width: 768px) {
  .promo-track span {
    font-size: 13px;
    padding-right: 60px;
  }
}



}




