:root {
  --ng-blue: #0c374d;
  --ng-text: #555;
  --ng-border: rgba(12, 55, 77, 0.12);
  --ng-shadow: rgba(0, 0, 0, 0.18) 0px 10px 30px;
}

html,
body,
#content {
  overflow-x: clip;
}

.courses-page p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ng-text);
}

.courses-page h2 {
  margin-bottom: 5px;
}

.courses-page .ng-title-img {
  width: 110px !important;
  max-width: 110px !important;
}

.ng-card {
  border-radius: 10px;
}

.courses-section {
  position: relative;
  overflow: visible;
  padding: 26px 0;
}

.courses-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--ng-blue);
  opacity: 0.75;
  margin-bottom: 5px;
}

.intro-text p,
.lector-intro {
  text-align: justify !important;
}

.intro-text p {
  margin-bottom: 15px !important;
}

.intro-section {
  padding-top: 10px !important;
}

/* HERO */
.hero-section {
  padding: 30px 0 22px;
}

.hero-section .row {
  --bs-gutter-x: 4rem;
}

.courses-hero-title {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 18px !important;
  color: #111;
}

.courses-lead {
  font-size: 17px !important;
  line-height: 1.85;
}

.course-hero-img {
  width: 100%;
  min-height: 390px;
  max-height: 485px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: var(--ng-shadow);
}

/* FOOTPRINTS */
.courses-section .section-footprints-1,
.courses-section .section-footprints-2 {
  position: absolute !important;
  opacity: 0.026 !important;
  pointer-events: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  z-index: 0 !important;
}

.courses-section .ng-card,
.courses-section .ng-course,
.courses-section .feature-box,
.courses-section .course-form-card,
.courses-section .lector-card,
.courses-section .training-map,
.courses-section .text-center,
.courses-section .row {
  position: relative;
  z-index: 10;
}

.courses-section .section-footprints-1 {
  left: -350px !important;
  top: 50% !important;
  transform: translateY(-50%) scale(1) !important;
  transform-origin: center center !important;
}

.courses-section .section-footprints-2 {
  right: -350px !important;
  top: 50% !important;
  transform: translateY(-50%) scaleX(-1) scale(1) !important;
  transform-origin: center center !important;
}

/* COURSE CARDS */
.ng-course {
  transition: all .25s ease;
}

.ng-course:hover {
  transform: translateY(-5px);
}

.ng-course .feature-box {
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px;
  margin: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ng-border);

  display: flex;
  flex-direction: column;
}

.ng-course .fbox-content {
  padding: 24px;

  display: flex;
  flex-direction: column;
  flex: 1;
}

.ng-course .fbox-content h3 {
  margin-bottom: 12px;
}

.ng-course .fbox-content > p {
  min-height: 155px;
}

.course-list {
  flex-grow: 1;
}

.course-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ng-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: rgba(0, 0, 0, 0.22) 0px 6px 16px;
}

.course-meta {
  margin: 18px 0;
  padding: 14px;
  background: rgba(12, 55, 77, 0.06);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ng-blue);
  font-weight: 500;
}

.course-list {
  text-align: left;
  padding-left: 1.25rem;
  margin-bottom: 0;
  color: var(--ng-text);
}

.course-list li {
  margin-bottom: 0.4rem;
}

/* LECTOR */
.lector-card .row {
  --bs-gutter-x: 3rem;
}

.lector-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 500;
  margin-bottom: 22px !important;
  color: #111;
}

.lector-intro {
  margin-bottom: 24px;
}

.lector-img {
  width: 100%;
  height: 405px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: var(--ng-shadow);
}

/* FORM */
.course-form-card {
  position: relative;
  overflow: hidden;
}

.reservation-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 115px;
  margin-bottom: 34px;
}

.reservation-title {
  text-align: center;
  flex: 1;
  z-index: 2;
}

.reservation-dog {
  position: absolute;
  top: 0;
  width: 135px;
  height: auto;
  display: block;
}

.reservation-dog-left {
  left: -48px;
}

.reservation-dog-right {
  right: -48px;
}

/* FAQ + MAP */
.course-step {
  border-left: 2px solid rgba(12, 55, 77, 0.18);
  padding-left: 24px;
  margin-bottom: 28px;
}

.course-step:last-child {
  margin-bottom: 0;
}

.course-step h4,
.faq-title {
  margin-bottom: 6px;
  font-weight: 600;
  color: #111;
}

.faq-text {
  margin-bottom: 0;
}

.training-map {
  overflow: hidden;
  border-radius: 10px;
}

.training-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* RESPONSIVE */
@media (min-width: 992px) and (max-width: 1399px) {
  .ng-course .fbox-content {
    padding: 20px;
  }

  .ng-course .fbox-content > p {
    min-height: 220px;
  }

  .course-meta {
    min-height: 72px;
    font-size: 13px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .course-list {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .courses-section .section-footprints-1 {
    left: -220px !important;
    transform: translateY(-50%) scale(0.8) !important;
  }

  .courses-section .section-footprints-2 {
    right: -220px !important;
    transform: translateY(-50%) scaleX(-1) scale(0.8) !important;
  }

  .hero-section .ng-button {
    width: 100%;
    text-align: center;
  }

  .course-form-card .button {
    width: 100%;
    text-align: center;
  }

  .courses-section {
    padding: 18px 0;
  }

  .hero-section {
    padding: 18px 0 12px;
  }

  .hero-section .row {
    --bs-gutter-x: 1.5rem;
  }

  .course-hero-img {
    min-height: 260px;
    max-height: none;
    margin-top: 24px;
  }

  .course-card-media {
    height: 220px;
  }

  .ng-course .feature-box {
    margin: 0;
  }

  .reservation-dog {
    display: none;
  }

  .reservation-header {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .training-map iframe {
    height: 300px;
  }

  .ng-card.p-5 {
    padding: 2rem !important;
  }

  .faq-text {
    text-align: justify;
  }

  .courses-eyebrow {
    text-align: center;
  }

  .courses-hero-title {
    text-align: center !important;
  }

  .lector-title {
    text-align: center !important;
  }
}