/* =========================================================
   Health Tech Training Center — Advanced Infection Control
   Stylesheet
   ---------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons
   5.  Header / navigation
   6.  Page banner
   7.  Intro
   8.  Course objective + angled image pair
   9.  Modules grid
   10. Who should attend
   11. What you gain (timeline)
   12. Info cards
   12b. Sub-navigation tabs
   13. Course-outcome & framed media
   14. Footer
   15. Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --red: #ED1C24;
  --red-dark: #C8151C;
  --red-tint: #FDEFEF;
  --red-line: #F6C9CB;

  --ink: #000;
  --ink-soft: #3C4048;
  --muted: #7A7F87;
  --line: #E6E8EC;

  --footer-bg: #232323;
  --footer-text: #FFFFFF;
  --footer-muted: #B9BCC1;
  --white: #FFFFFF;

  --font: "Inter", sans-serif;

  --container: 1356px;
  --gutter: 24px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --section-y: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
}

address {
  font-style: normal;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--intro {
  padding-block: 72px 56px;
}

.section--modules {
  padding-block: 0;
}

.section--cards {
  padding-block: 24px 96px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: block;
  font-size: clamp(16px, 1.2vw, 24px);
  font-weight: 300;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.h2 {
  font-size: clamp( 28px,2.5vw, 44px);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: #717171;
}
.body-text strong{
  color: #000;
}
.body-text p{
  margin-bottom: 0;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 36px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--solid {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(237, 28, 36, .22);
}

.btn--solid:hover {
  background: var(--red-dark);
}

.btn--outline {
  background: var(--white);
  color: var(--red);
  border-color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn--outline:hover img {
  filter: brightness(0) invert(1);
}

.btn--icon img {
  /* width: 14px;
  height: 14px; */
  transition: filter .25s var(--ease);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
  padding: 12px 24px;
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------- 5. Header ---------- */
/* .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 6px 22px rgba(20, 22, 26, .07);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav a.is-active {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
} */

/* ---------- 6. Page banner ---------- */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.firstaid-banner{
  min-height: 230px;
}
.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 32, 64, .86) 0%, rgba(16, 44, 84, .62) 55%, rgba(20, 52, 96, .42) 100%);
}

.page-banner__content {
  position: relative;
  text-align: center;
}

.page-banner__title {
  color: var(--white);
  font-size: clamp(28px, 1.9vw, 36px);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---------- 7. Intro ---------- */
.intro {
  text-align: center;
  max-width: 750px;
}

.intro__title {
  font-size: clamp(23px, 1.9vw , 36px);
  font-weight: 600;
  margin-bottom: 14px;
}

.intro__sub {
  font-size: clamp(17px, 1.25vw, 24px);
  color: #000;
  line-height: 113%;
  max-width: 90%;
  margin: auto;
  margin-bottom: 40px;
  font-weight: 300;
}

.intro__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 8. Course objective + angled pair ---------- */
.grid-2--objective {
  gap: 72px;
}
.objective__text .eyebrow{
  font-size: 20px;
  font-size: clamp(16px, 1.05vw, 20px);
}
.objective__text .h2 {
  margin-bottom: 16px;
}

.objective__text .body-text {
  margin-bottom: 28px;
  max-width: 100%;
}

/* Two photos separated by a diagonal cut, tilted as a unit */
.angled-pair {
  /* position: relative;
  display: grid; */
  /* grid-template-columns:1fr 1fr; */
  /* gap: 6px; */
  /* transform:rotate(-2.2deg); */
}

.angled-pair__item {
  margin: 0;
  overflow: hidden;
  height: 250px;
  background: var(--red-tint);
}

.angled-pair__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.angled-pair__item--left {
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.angled-pair__item--right {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.angled-pair--gain {
  transform: rotate(1.8deg);
}

.angled-pair--gain .angled-pair__item {
  height: 290px;
}

.angled-pair--attend {
  transform: none;
  gap: 4px;
}

.angled-pair--attend .angled-pair__item {
  height: 320px;
}

/* ---------- 9. Modules ---------- */
.modules__title {
  margin-bottom: 14px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.module-card {
  position: relative;
  padding: 22px 20px 26px;
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  min-height: 186px;
  /* transition: background-color .3s var(--ease), border-color .3s var(--ease),
    transform .3s var(--ease), box-shadow .3s var(--ease); */
     transition: 0.3s linear;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(237, 28, 36, .12);
}

.module-card__icon {
  /* width: 30px;
  height: 30px; */
  margin-bottom: 20px;
  /* opacity: .85; */
   transition: 0.3s linear;
}

.module-card__num {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 6px;
  transition: 0.3s linear;
}

/* .module-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.4;
} */

.module-card__desc {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin: 0;
  font-weight: 300;
  transition: 0.3s linear;
}
.module-card__desc p strong{
  font-weight: 600;
}
/* Highlighted (first) card */
.module-card--underline {
  border-bottom: 2px solid var(--red);
}

.module-card--active {
  background: var(--red);
  border-color: var(--red);
}

.module-card--active .module-card__icon {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.module-card--active .module-card__num,
.module-card--active .module-card__title {
  color: var(--white);
}

.module-card--active .module-card__desc {
  color: rgba(255, 255, 255, .9);
}

/* Hidden 8th card, revealed by the + tile */
.module-card--hidden {
  display: none;
}

.modules-grid.is-expanded .module-card--hidden {
  display: block;
}

.modules-grid.is-expanded .module-more {
  display: none;
}

.module-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 186px;
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  border-radius: var(--radius-sm);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}

.module-more:hover {
  background: #FBE2E3;
  transform: translateY(-4px);
}

.module-more__plus {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}

/* ---------- 10. Who should attend ---------- */
.grid-2--attend {
  gap: 70px;
}

/* Photo sitting on an angled blue plate — reusable across pages */
.shaped-media {
  position: relative;
  padding: 18px 0 18px 18px;
}

.shaped-media__shape {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  height: 100%;
  background: #DDE9F7;
  clip-path: polygon(0 22%, 100% 0, 100% 78%, 0 100%);
}

.shaped-media__shape--right {
  left: auto;
  right: 0;
  clip-path: polygon(0 0, 100% 22%, 100% 100%, 0 78%);
}

.shaped-media__img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.shaped-media--contain .shaped-media__img {
  object-fit: contain;
}

.attend__lead {
  margin-bottom: 14px;
}

/* .check-list {
  margin-bottom: 26px;
}

.check-list li {
  align-items: flex-start;
  gap: 10px;
  font-size: 22px;
  color: #717171;
  padding-block: 5px;
}

.check-list img {
  margin-top: 10px;
  flex-shrink: 0;
}



.check-list--muted li {
  color: var(--muted);
} */
 .section--modules{
  margin-bottom: 80px;
 }
 .section--attend{
  padding-top: 0 !important;
  padding-bottom: 60px;
 }
.section--attend .h2, .outcome__text .h2 {
  font-size: clamp(28px, 2.1vw, 40px);
}
.attend__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 420px;
}
.check-list strong {
  font-weight: 400;
}
/* ---------- 11. What you gain ---------- */
.grid-2--gain {
  gap: 64px;
}

.gain__sub {
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}

/* .timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  border-left: 1px dashed var(--red-line);
} */

/* .timeline__item {
  position: relative;
  padding-block: 7px;
}

.timeline__item p {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #717171;
  font-weight: 300;
} */

/* .timeline__dot {
  position: absolute;
  left: -26px;
  top: 11px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--red);
}

.timeline__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red);
}

.timeline__item.is-active p {
  color: var(--ink);
  font-weight: 500;
}

.timeline__item.is-active .timeline__dot {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, .14);
}

.timeline__item.is-active .timeline__dot::after {
  inset: 0;
  background: url("../images/icons/check-white.svg") center/8px no-repeat;
} */

/* ---------- 12. Info cards ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

/* .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
} */

.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.cards-3:not(:has(> :nth-child(3))) {
    grid-template-columns: repeat(2, 1fr);
}


/* A lone card doesn't stretch the full width */
.cards-1 {
  display: grid;
  grid-template-columns: minmax(0, 480px);
}

.cards-3 .info-card {
  padding: 26px 26px 28px;
}

/* .cards-3 .info-card__title {
  font-size: 19px;
} */

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 32px 32px;
  background: #fff;
  border: 1px solid var(--red-line);
  border-radius: var(--radius-sm);
  transition: 0.3s ease;
}
.info-card:hover{
  background: var(--red-tint);
}
.info-card .body-text {
  margin-bottom: 22px;
  /* color: #000; */
}

.info-card .btn {
  margin-top: auto;
}

.info-card__title {
  font-size: clamp(28px, 2.1vw, 40px);
  font-weight: 500;
  margin-bottom: 12px;
}

.info-card__title--lg {
  font-size: 24px;
  line-height: 1.3;
}

.info-card strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 12b. Sub-navigation tabs ---------- */
.section--tabs {
  padding-block: 44px 8px;
}

.tab-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-nav a {
  display: inline-block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #0A4D84;
  background: #EAF1FA;
  border-radius: var(--radius-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease);
  background: rgba(10, 77, 132, 0.2);
border-radius: 20px;


}

.tab-nav a:hover {
  background: #D7E5F6;
}

.tab-nav a.is-active {
  background: #0A4D84;
  color: var(--white);
  font-weight: 500;
}

.tab-nav a[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
}

/* ---------- 13. Course-outcome & framed media ---------- */

/* Single photo, tilted slightly off-axis */
.tilted-media {
  transform: rotate(-1.8deg);
}

.tilted-media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

/* Three photos split by two diagonal cuts */
.angled-trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
}

.angled-trio figure {
  margin: 0;
  overflow: hidden;
  height: 270px;
  background: var(--red-tint);
}

.angled-trio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.angled-trio figure:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

.angled-trio figure:nth-child(2) {
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.angled-trio figure:nth-child(3) {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

/* Photo sitting inside an offset red parallelogram outline */
.framed-media {
  position: relative;
  padding: 26px 30px;
}

.framed-media__frame {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--red);
  transform: skewX(-13deg);
}

.framed-media__img {
  position: relative;
  width: 100%;
  height: 290px;
  object-fit: cover;
  clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
}

/* Course outcome — angled photos over soft decorative discs */
.outcome-media {
  position: relative;
  padding: 26px 0;
  min-height: 280px;
}

.outcome-media__blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.outcome-media__blob--blue {
  width: 150px;
  height: 150px;
  background: #EEF3F9;
  top: 0;
  right: 0;
}

.outcome-media__blob--pink {
  width: 110px;
  height: 110px;
  background: #FBE9E9;
  bottom: 0;
  left: 6%;
}

.outcome-media__blob--pink-sm {
  width: 74px;
  height: 74px;
  background: #FBE9E9;
  bottom: 18%;
  right: 8%;
}

.outcome-media__figs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outcome-media__img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  /* clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%); */
}

.outcome-media__img:nth-child(even) {
  align-self: flex-end;
}

.outcome-media__figs--single .outcome-media__img {
  width: 100%;
  height: 230px;
}

/* Course-outcome text column */
.outcome__text .h2 {
  margin-bottom: 16px;
}

.outcome__text .body-text {
  max-width: 440px;
}

.outcome__text .check-list,
.outcome__text .timeline {
  max-width: 550px;
}

.outcome__lead {
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 130%;
  color: var(--ink);
  margin-bottom: 50px;
  max-width: 568px;
}

/* Lead line under a section heading */
.modules__lead {
  font-size: 16px;
  color: #000;
}

/* "Become a Lifesaver:" style eyebrow + large title */
.lede__title {
  font-size: clamp( 26px ,1.66vw,32px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 32px;
  text-transform: capitalize;
}

.lede__label {
  display: block;
  font-size: clamp(16px, 1.4vw, 26px);
  font-weight: 300;
  color: #000000;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}




/* Secondary label inside a check-list item */
.check-list__sub {
  color: var(--muted);
}

/* Objective column with no heading (allergen pages) */
.objective__text--noheading .body-text {
  margin-top: 4px;
}

/* Course index cards (navigation page, not from the design PDFs) */
.section--courses+.section--courses {
  padding-top: 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  /* background: var(--red-tint); */
  background: #EAF4FC;
  border: 1px solid var(--red-line);
  /* border: 1px solid #9cd2ff; */
  /* border-bottom: 2px solid var(--red); */
  border-bottom: 2px solid #0a4d84;
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(237, 28, 36, .12);
   background: var(--red-tint);
}

.course-card__meta {
  font-size: 14px;
  font-weight: 600;
  /* color: var(--red); */
  color: #0a4d84;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.course-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.course-card__desc {
  font-size: 16px;
  line-height: 1.7;
  /* color: var(--muted); */
  color: #3a3b3d;
  margin-bottom: 20px;
}

.course-card__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  /* color: #0a4d84; */
  text-transform: capitalize;
  font-weight: 700;
}
.section--outcome{
  padding-top: 0 !important;
}
.section--gain{
  padding-top: 32px;
}
/* ---------- 14. Footer ---------- */
/* .site-footer {
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding-block: 56px 26px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 52px;
}

.footer-cta__title {
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.45;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 34px;
}

.footer-brand__logo {
  width: 190px;
}

.footer-col__title {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-col address {
  font-size: 12px;
  line-height: 1.85;
  color: var(--footer-muted);
  max-width: 280px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 26px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  transition: background-color .25s var(--ease);
}

.footer-social a:hover {
  background: var(--red);
}

.footer-social img {
  width: 11px;
  height: 11px;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--footer-muted);
  transition: color .25s var(--ease);
}

.footer-mail:hover {
  color: var(--white);
}

.footer-mail img {
  width: 13px;
  height: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 11.5px;
}

.footer-bottom__nav,
.footer-bottom__legal {
  display: flex;
  gap: 26px;
}

.footer-bottom__copy {
  margin: 0;
}

.footer-bottom a {
  transition: color .25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--white);
} */

/* ---------- 15. Responsive ---------- */
@media(max-width: 1440px){
  .section--objective, .section--attend, .section--outcome{
    padding-block: 60px;
  }
  .section--modules{
    padding-block: 20px;
    padding-bottom: 0;
    margin-bottom: 60px;
  }
}
.section--intro {
  padding-block: 60px 30px;
}
.modules-grid{
  margin-top: 50px;
}
@media(max-width: 1040px){
  .modules-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  :root {
    --section-y: 64px;
  }

  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2 {
    gap: 48px;
  }

  /* .footer-main {
    grid-template-columns: 1fr 1fr;
  } */
}
@media (max-width: 1024px) {
  .section--courses+.section--courses {
    padding-top: 0;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
      .section--objective, .section--attend, .section--outcome {
        padding-block: 35px;
    }
    .section--modules{
      margin-bottom: 36px;
    }
}

@media (max-width: 860px) {
  /* .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(20, 22, 26, .08);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }

  .main-nav a {
    padding: 12px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a.is-active {
    border-color: transparent;
    color: var(--red);
  } */

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .angled-pair {
    transform: none;
  }

  .angled-pair--gain {
    transform: none;
  }

  .cards-2 {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }



  /* .footer-cta__title {
    font-size: 22px;
  } */
}





@media (max-width: 860px) {
  .tilted-media {
    transform: none;
  }

  .angled-trio figure {
    height: 200px;
  }

  .framed-media {
    padding: 18px 20px;
  }

  .outcome-media {
    min-height: 0;
  }

  .outcome-media__img {
    width: 100%;
  }

  .outcome-media__figs--single .outcome-media__img {
    height: 200px;
  }
  .section--gain{
    padding-top: 15px;
  }
}
@media (max-width: 560px) {
  :root {
    --section-y: 52px;
    --gutter: 18px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-card,
  .module-more {
    min-height: auto;
  }

  .module-more {
    padding-block: 26px;
  }

  .page-banner {
    min-height: 230px;
  }
   .firstaid-banner{
    min-height: 180px;
   }

  .page-banner__title {
    font-size: 22px;
  }





  .info-card__title--lg {
    font-size: 20px;
  }

  .angled-pair__item--left,
  .angled-pair__item--right {
    clip-path: none;
  }

  .shaped-media__img {
    height: 250px;
  }
}
@media (max-width: 576px) {
  .section--courses+.section--courses {
    padding-top: 0;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .cards-1 {
    grid-template-columns: 1fr;
  }

  .tab-nav a {
    font-size: 11px;
    padding: 7px 13px;
  }

 

  .angled-trio {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .angled-trio figure {
    height: 180px;
    clip-path: none !important;
  }

  .framed-media__img {
    clip-path: none;
    height: 230px;
  }

  .framed-media__frame {
    transform: none;
  }

  .outcome-media__img {
    clip-path: none;
  }

  .tilted-media img {
    height: 220px;
  }
  .section--objective, .section--attend, .section--outcome{
    padding-block: 30px;
  }
  .modules-grid{
    margin-top: 30px;
  }
  .outcome-media{
    margin: 0;
    padding: 0;
  }
  .section--gain{
    padding: 30px 0;
    padding-top: 0;
  }
  .section--cards{
    padding-bottom: 40px;
  }
  .section--intro {
    padding-block: 42px 20px;
}
.cards-3:not(:has(> :nth-child(3))) {
    grid-template-columns: repeat(1, 1fr);
}
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .module-card:hover,
  .module-more:hover {
    transform: none;
  }
}


.firstaid-menu .current-menu-item a{
    background: #0A4D84;
    color: #FFFFFF;
    font-weight: 500;
}
.attend__text ul{
  margin-bottom: 20px;
}
.attend__text li{
  position: relative;
  padding-left: 32px;
  font-size: clamp(17px, 1.5vw, 22px);
    color: #717171;
    padding-block: 5px;
    line-height: 1.5;
}
.attend__text li img, .outcome__content li img, .gain__text li img{
  position: absolute;
  left: 0;
  top: 14px;
}
.attend__text p, .outcome__content p{
  font-size: clamp(16px, 1.05vw, 20px);
}
.outcome__content li{
  font-size: clamp(17px, 1.55vw, 24px);
  color: #717171;
  position: relative;
  padding-left: 32px;
}
.gain__text li{
  position: relative;
  padding-left: 32px;
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 300;
  color: #717171;
}


@media(max-width: 1199px){
  .attend__text li img, .outcome__content li img, .gain__text li img{
    top: 9px;
  }
}

.module-card:hover{
  background: #FF4F54;
}
.module-card__num, .module-card__desc, .module-card__title{
  transition: 0.3s linear;
}
.module-card:hover :where(.module-card__num, .module-card__desc, .module-card__title){
  color: #FFFFFF;
}

.module-card__icon {
    transition: filter 0.3s ease;
}

.module-card:hover img {
    filter: brightness(0) invert(1);
}

.section--courses .container .section--courses-item:not(:last-child){
  margin-bottom: clamp(50px, 6.3vw, 120px);
}
.section--courses-item .h2{
  font-size: clamp( 26px,2.1vw, 40px);
}
.section--courses-item .eyebrow{
  font-size: clamp(16px, 1.05vw, 20px);
}

section{
  overflow: hidden;
}

.section--objective{
  position: relative;
}
.obj-image{
  /* position: absolute; */
  right: 0;
  background: #FF4F54;
  border-radius: 304.5px 0px 0px 304.5px;
  padding: 28px 0 28px 28px;
  overflow: hidden;
  height: 610px;
  max-width: 1036px;
  width: 100%;
  margin-left: auto;
}
.obj-image img{
  border-radius: 304.5px 0px 0px 304.5px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.objective__text{
  max-width: 633px;
  width: 100%;
  margin-left: auto;
  padding-left: 20px;
}
@media(max-width: 1600px){
  .obj-image{
    max-height: 510px;
  }
}
@media(max-width: 860px){
  .objective__text{
    max-width: 100%;
    padding: 0 20px;
  }
  .obj-image{
    max-height: 400px;
    padding: 20px 0 20px 20px;
    max-width: 95%;
  }
}
@media(max-width: 991px){
  .page-banner a{
    padding-block: 16px;
  }
}