/* ===== COURSES INTRO ===== */
.courses-intro {
  text-align: center;
  padding: 60px 0;
}

.courses-intro-text {
  margin: 0 auto;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}
.innnerBanner {
  background-size: cover !important;
  background-position: left !important  ;
  min-height: 340px !important;
}

/* ===== COURSE CATEGORIES ===== */
.course-cat-item {
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

.course-cat-item:last-child {
  border-bottom: none;
}

.course-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.course-cat-item.reverse .course-cat-content {
  order: 2;
}

.course-cat-item.reverse .course-cat-image {
  order: 1;
}

.course-cat-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #051e30;
  margin-bottom: 16px;
}

.course-cat-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Sub links */
.course-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: #f0f6ff;
  border: 1px solid #053d7a;
  border-radius: 50px;
  color: #053d7a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.course-sub-link:hover {
  background: #053d7a;
  color: #fff;
}

.course-sub-link i {
  width: 14px;
  height: 14px;
}

/* Image */
.course-cat-image {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}

.course-cat-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ===== CTA ===== */
.coursesCta {
  background: url("/images/Courses_bottomsection_bg.jpg") no-repeat center
    center;
  background-size: cover;
  position: relative;
}

.coursesCta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 991px) {
  .course-cat-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .course-cat-item.reverse .course-cat-content,
  .course-cat-item.reverse .course-cat-image {
    order: unset;
  }

  .course-cat-image img {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .course-cat-content h2 {
    font-size: 22px;
  }

  .cta-inner h2 {
    font-size: 22px;
  }

  .innnerBanner {
    min-height: 180px !important;
  }
  .innnerBanner .mobBan {
    object-position: left !important;
    height: 180px;
  }
}
