/* =====================================================
   ONLINE COURSE PAGE
   Style aligned with Undergraduate / Postgraduate pages
===================================================== */

/* ================= COMMON SECTION SPACING ================= */

.clean-banner,
.undergraduate-info,
.image-strip,
.online-highlights,
.online-benefits,
.testimonials,
.psychometric-section {
  padding: 90px 0;
}

/* ================= BANNER SECTION ================= */

.clean-banner {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.banner-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.banner-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #fff;
}

.banner-text h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-text p {
  font-size: 17px;
  opacity: 0.9;
}

/* ================= INQUIRY FORM ================= */

.inquiry-form {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  padding: 35px;
  width: 360px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.inquiry-form h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #2563eb;
  outline: none;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.full-width {
  width: 100%;
}

/* ================= INFO SECTION ================= */

.undergraduate-info {
  text-align: center;
}

.pill-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50px;
  font-size: 13px;
  margin-bottom: 15px;
}

.section-lead {
  max-width: 700px;
  margin: 20px auto 0;
  color: #64748b;
}

/* ================= IMAGE STRIP ================= */

.image-strip h3 {
  text-align: center;
  margin-bottom: 40px;
}

.image-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.image-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.image-tile img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: 0.4s;
}

.image-tile:hover img {
  transform: scale(1.08);
}

.image-tile span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: #fff;
  font-weight: 600;
}

/* ================= HIGHLIGHTS ================= */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.highlight-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

.highlight-card i {
  font-size: 26px;
  color: #2563eb;
  margin-bottom: 12px;
}

/* ================= BENEFITS ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.feature-card i {
  font-size: 24px;
  color: #2563eb;
  margin-bottom: 10px;
}

/* ================= TESTIMONIALS ================= */

.testimonials {
  background: #f8fafc;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.testimonial-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .inquiry-form {
    position: static;
    transform: none;
    margin: 40px auto 0;
  }

  .clean-banner {
    padding: 60px 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 30px;
  }
}
