/* =====================================
   FOUNDATION PAGE
===================================== */

.foundation-hero-wrapper {
  background: url("../images/foundation-hero-bg.png") no-repeat center center;
  background-size: cover;
  border-radius: 28px;
  padding: 34px 20px;
  overflow: hidden;
}

.foundation-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  padding: 48px 56px;
}

.foundation-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}

.foundation-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.56rem);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #000;
}

.foundation-content {
  max-width: 900px;
}

.foundation-content p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--heading);
}

.foundation-points {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.foundation-point {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
}

.foundation-point-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .foundation-card {
    padding: 40px 32px;
  }

  .foundation-content p {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .foundation-hero-wrapper {
    border-radius: 20px;
    padding: 18px 12px;
  }

  .foundation-card {
    border-radius: 18px;
    padding: 28px 18px;
  }

  .foundation-title {
    font-size: 2.2rem;
  }

  .foundation-subtitle {
    font-size: 0.95rem;
  }

  .foundation-content p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .foundation-point {
    justify-content: flex-start;
    font-size: 0.95rem;
  }
}

/* =====================================
   COMMON SECTION TITLES
===================================== */

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
}

.section-subtitle {
  color: var(--heading);
  font-size: 1rem;
}

/* =====================================
   EDUCATIONAL VIDEOS
===================================== */
.video-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31, 95, 174, 0.18);
  background: #fff;
}

.video-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* =====================================
   BLOGS
===================================== */
.blog-card {
  background: transparent;
}

.blog-image-wrap {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(31, 95, 174, 0.14);
  border-bottom: none;
}

.blog-image-wrap img {
  aspect-ratio: 1.25 / 0.9;
  object-fit: cover;
}

.blog-content {
  background: #fff;
  border: 1px solid rgba(31, 95, 174, 0.14);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 18px 16px 14px;
  margin: 0 12px;
  margin-top: -6px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.blog-title {
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.blog-description {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0;
}

.blog-time {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

.blog-btn {
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .video-play-btn img {
    width: 44px;
    height: 44px;
  }

  .blog-content {
    margin: 0 8px;
    margin-top: -6px;
    padding: 16px 14px 12px;
  }

  .blog-title {
    font-size: 1rem;
  }

  .blog-description {
    font-size: 0.88rem;
  }
}
