.courses-hero {
  background:
    linear-gradient(110deg, rgba(10, 32, 68, .94), rgba(16, 43, 87, .78)),
    url("assets/training-cars.png") center 48% / cover no-repeat;
}
.course-categories { padding: 82px 28px 92px; }
.course-content { width: min(1128px, 100%); margin: 0 auto; }
.course-section-heading { max-width: 720px; margin-bottom: 36px; }
.course-section-heading h2, .fee-poster-copy h2 { margin: 0; color: #0b2856; font: 400 clamp(36px, 4vw, 50px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.course-section-heading > p:last-child, .fee-poster-copy > p:not(.kicker) { margin: 16px 0 0; color: #657087; font-size: 15px; line-height: 1.7; }
.course-category-card { padding: 26px; border: 1px solid #e3eaf1; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(12,38,75,.05); }
.course-category-number { display: block; margin-bottom: 18px; color: #c9473d; font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.course-category-card h3 { margin: 0 0 10px; color: #12366f; font: 700 22px/1.2 Georgia, "Times New Roman", serif; }
.course-category-card p { margin: 0; color: #657087; font-size: 14px; line-height: 1.65; }
.course-category-card[id] { scroll-margin-top: 108px; }
.course-category-link { display: inline-flex; gap: 8px; margin-top: 16px; color: #12366f; font-size: 12px; font-weight: 800; text-decoration: none; }
.course-category-link:hover { text-decoration: underline; }
.course-availability-note { margin: 26px 0 0; color: #657087; font-size: 13px; }
.course-availability-note strong { color: #12366f; }
.fee-poster-section { padding: 82px 28px; background: #f5f8fb; }
.fee-poster-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, .75fr); gap: 64px; align-items: center; width: min(1128px, 100%); margin: 0 auto; }
.fee-poster-copy h2 { max-width: 500px; }
.fee-poster-copy .kicker { margin-bottom: 12px; }
.fee-poster-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 20px; margin-top: 26px; }
.fee-poster-actions .button { flex: 0 0 100%; width: fit-content; }
.fee-poster-actions .text-link { margin-top: 6px; font-size: 13px; }
.fee-poster-preview { max-width: 520px; margin: 0 auto; padding: 0; overflow: hidden; border: 1px solid #dfe7ef; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(12,38,75,.11); }
.fee-poster-preview-button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.fee-poster-preview-button img { display: block; width: 100%; height: auto; object-fit: contain; }
.fee-poster-preview-button > span { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 12px; align-items: center; padding: 9px 13px; border-radius: 999px; background: rgba(11,40,86,.92); color: #fff; font-size: 12px; font-weight: 750; }
.fee-poster-preview figcaption { padding: 12px 16px 14px; color: #657087; font-size: 12px; line-height: 1.5; }
.fee-poster-modal .modal-content { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #081b39; color: #fff; }
.fee-poster-modal .modal-header { padding: 16px 20px 10px; }
.fee-poster-modal .modal-body { display: flex; justify-content: center; padding: 10px 20px; }
.fee-poster-modal .modal-body img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 190px); object-fit: contain; }
.fee-poster-modal .modal-footer { gap: 10px; }

@media (max-width: 760px) {
  .course-categories, .fee-poster-section { padding: 62px 20px; }
  .fee-poster-layout { grid-template-columns: 1fr; gap: 34px; }
  .fee-poster-preview { width: min(100%, 430px); }
  .fee-poster-modal .modal-dialog { margin: 8px; }
  .fee-poster-modal .modal-header { padding: 48px 14px 8px; }
  .fee-poster-modal .modal-body { padding: 8px 12px; }
  .fee-poster-modal .modal-body img { max-height: calc(100vh - 190px); }
  .fee-poster-modal .modal-footer { justify-content: center; padding: 8px 12px 14px; }
  .fee-poster-modal .modal-footer .btn { flex: 1 1 auto; }
}
