/* ===============================
   Foundation Page Styles
================================ */

/* Page Banner */
.page-banner {
  background: linear-gradient(
    rgba(31, 119, 180, 0.95),
    rgba(31, 119, 180, 0.95)
  );
  color: var(--white);
  padding: clamp(60px, 6vw, 100px) 0;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.page-banner h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--red); /* 🔴 Red accent */
  margin: 15px auto 0;
  border-radius: 4px;
}

.page-banner p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 0.95;
}

/* ===============================
   Course Section
================================ */
.course-section {
  padding: clamp(60px, 7vw, 50px) 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(25px, 4vw, 45px);
}

/* ===============================
   Course Card
================================ */
.course-card {
  background: var(--light-blue);
  border-radius: 24px;
  padding: clamp(35px, 4vw, 55px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-left: 6px solid var(--blue); /* 🔵 Blue base */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  transition: 0.35s ease;

  min-height: 420px;
}

.course-card:hover {
  transform: translateY(-10px);
  border-left-color: var(--red); /* 🔴 Red on hover */
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.15);
}

.course-card h3 {
  color: var(--blue);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 10px;
}

.course-card p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-bottom: 15px;
  color: var(--dark-text);
}

/* ===============================
   Bullet Points
================================ */
.course-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.course-card ul li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}

/* ===============================
   Button
================================ */
.course-card .btn {
  align-self: flex-start;
}
.page-hero {
  background: url("../images/foundation/hero.jpg") center / cover no-repeat;
}

.contact {
  display: flex;
  margin-top: 50px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .course-grid {
    grid-template-columns: 1fr; /* 1 card per row on mobile */
  }
}
