.campus-drive,
.campus-drive * {
  box-sizing: border-box;
}

.campus-drive {
  --ink: #0c1f3c;
  --muted: #5f6b80;
  --paper: #f6f9ff;
  --blue: #1c5ca8;
  --red: #b82d3d;
  --gold: #f5c85c;
  --line: rgba(12, 31, 60, 0.14);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

.campus-drive a {
  color: inherit;
  text-decoration: none;
}

.cd-demo-strip,
.cd-nav,
.cd-programs,
.cd-about,
.cd-booking,
.cd-instructors,
.cd-areas,
.cd-faq,
.cd-enroll,
.cd-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.cd-demo-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  color: #e5edf9;
  background: var(--ink);
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  font-size: 0.9rem;
}

.cd-demo-strip p {
  margin: 0;
  max-width: 790px;
}

.cd-demo-strip nav,
.cd-nav nav,
.cd-hero-copy div,
.cd-areas div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-demo-strip a {
  color: #fff;
  font-weight: 950;
}

.cd-nav {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
}

.cd-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.cd-brand span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  font-weight: 950;
}

.cd-nav nav {
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}

.cd-nav nav::-webkit-scrollbar {
  display: none;
}

.cd-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.cd-nav nav a:last-child {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.cd-hero-banner {
  position: relative;
  min-height: clamp(560px, 74vh, 790px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.cd-hero-banner picture,
.cd-hero-banner img {
  position: absolute;
  inset: 0;
}

.cd-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,31,60,0.94) 0%, rgba(12,31,60,0.72) 44%, rgba(12,31,60,0.12) 80%),
    linear-gradient(180deg, rgba(245,200,92,0.14), rgba(184,45,61,0.1));
}

.cd-hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.cd-hero-copy > * {
  max-width: 640px;
}

.cd-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cd-hero-copy .cd-kicker {
  color: var(--gold);
}

.cd-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.cd-hero-copy p:not(.cd-kicker) {
  margin: 18px 0 0;
  color: #dce6f6;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.cd-hero-copy div {
  margin-top: 30px;
}

.cd-hero-copy a,
.cd-curriculum-grid a,
.cd-booking button,
.cd-enroll button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 22px;
  font-weight: 950;
  cursor: pointer;
}

.cd-hero-copy a:first-child,
.cd-booking button,
.cd-enroll button {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 18px 50px rgba(245,200,92,0.24);
}

.cd-hero-copy a:last-child,
.cd-curriculum-grid a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
}

.cd-hero-board {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 44px;
  z-index: 3;
  width: min(420px, calc(100% - 40px));
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  border-top: 8px solid var(--red);
  box-shadow: 0 26px 80px rgba(12,31,60,0.3);
}

.cd-hero-board strong {
  font-size: 1.2rem;
}

.cd-hero-board span {
  padding: 10px 12px;
  border-left: 5px solid var(--gold);
  background: var(--paper);
  font-weight: 850;
}

.cd-programs,
.cd-about,
.cd-booking,
.cd-instructors,
.cd-areas,
.cd-faq,
.cd-enroll {
  margin-top: 92px;
}

.cd-section-head {
  max-width: 790px;
  margin-bottom: 26px;
}

.cd-about h2,
.cd-section-head h2,
.cd-booking h2,
.cd-instructors h2,
.cd-areas h2,
.cd-faq h2,
.cd-enroll h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.cd-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cd-curriculum-grid article {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(12,31,60,0.08);
}

.cd-curriculum-grid article:first-child {
  border-top: 8px solid var(--blue);
}

.cd-curriculum-grid article:nth-child(2) {
  border-top: 8px solid var(--red);
}

.cd-curriculum-grid article:nth-child(3) {
  border-top: 8px solid var(--gold);
}

.cd-curriculum-grid article > span,
.cd-instructors strong {
  color: var(--red);
  font-weight: 950;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cd-curriculum-grid h3,
.cd-instructors h3 {
  margin: 10px 0;
  font-size: clamp(1.35rem, 2.4vw, 1.78rem);
  line-height: 1.12;
}

.cd-curriculum-grid p,
.cd-about p:not(.cd-kicker),
.cd-booking p,
.cd-instructors p,
.cd-faq p,
.cd-enroll p {
  color: var(--muted);
  line-height: 1.65;
}

.cd-curriculum-grid footer {
  display: grid;
  gap: 12px;
}

.cd-curriculum-grid footer small {
  color: var(--muted);
  font-weight: 900;
}

.cd-curriculum-grid footer strong {
  font-size: 1.65rem;
}

.cd-curriculum-grid a {
  width: max-content;
  color: #fff;
  background: var(--ink);
}

.cd-about,
.cd-booking,
.cd-enroll {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(12,31,60,0.08);
}

.cd-about dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.cd-about dl div {
  padding: 18px;
  background: var(--paper);
  border-left: 5px solid var(--red);
}

.cd-about dt {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 950;
}

.cd-about dd {
  margin: 6px 0 0;
  font-weight: 850;
}

.cd-booking {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #173c6b);
}

.cd-booking h2,
.cd-booking .cd-kicker {
  color: #fff;
}

.cd-booking p {
  color: #dce6f6;
}

.cd-booking form,
.cd-enroll form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
}

.cd-booking label,
.cd-enroll label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 950;
}

.cd-booking select,
.cd-enroll input,
.cd-enroll select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.cd-booking output {
  color: var(--muted);
  line-height: 1.4;
}

.cd-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-slots span {
  padding: 9px 12px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.cd-instructors > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cd-instructors article {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.cd-instructors article > span {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  font-weight: 950;
}

.cd-instructors article h3,
.cd-instructors article strong,
.cd-instructors article p {
  grid-column: 2;
}

.cd-areas {
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(184,45,61,0.82), rgba(28,92,168,0.88)),
    var(--ink);
}

.cd-areas .cd-kicker,
.cd-areas h2 {
  color: #fff;
}

.cd-areas div {
  margin-top: 22px;
}

.cd-areas span {
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
}

.cd-faq {
  display: grid;
  gap: 12px;
}

.cd-faq details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.cd-faq summary {
  cursor: pointer;
  font-weight: 950;
}

.cd-enroll {
  margin-bottom: 0;
}

.cd-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 42px 0 56px;
  color: var(--muted);
}

.cd-footer strong {
  color: var(--ink);
}

@media (max-width: 920px) {
  .cd-demo-strip,
  .cd-nav {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .cd-nav nav {
    justify-content: flex-start;
  }

  .cd-hero-board {
    position: relative;
    inset: auto;
    margin: -28px auto 0;
  }

  .cd-curriculum-grid,
  .cd-about,
  .cd-booking,
  .cd-instructors > div,
  .cd-enroll {
    grid-template-columns: 1fr;
  }

  .cd-hero-copy {
    padding-bottom: 84px;
  }
}

@media (max-width: 620px) {
  .cd-demo-strip,
  .cd-nav,
  .cd-programs,
  .cd-about,
  .cd-booking,
  .cd-instructors,
  .cd-areas,
  .cd-faq,
  .cd-enroll,
  .cd-footer {
    width: min(100% - 28px, 1180px);
  }

  .cd-demo-strip {
    width: 100%;
    padding-inline: 14px;
  }

  .cd-nav nav {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .cd-hero-banner {
    min-height: 650px;
  }

  .cd-hero-banner::after {
    background: linear-gradient(0deg, rgba(12,31,60,0.94), rgba(12,31,60,0.34));
  }

  .cd-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .cd-about,
  .cd-booking,
  .cd-enroll,
  .cd-areas {
    padding: 22px;
  }

  .cd-instructors article {
    grid-template-columns: 1fr;
  }

  .cd-instructors article h3,
  .cd-instructors article strong,
  .cd-instructors article p {
    grid-column: 1;
  }
}

.cd-hero-banner img {
  object-position: center center;
}

.cd-programs,
.cd-about,
.cd-booking,
.cd-instructors,
.cd-areas,
.cd-faq,
.cd-enroll {
  margin-top: 74px;
}

.cd-section-head {
  max-width: 100%;
  display: flex !important;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.cd-section-head .cd-kicker {
  flex: 0 0 auto;
  margin-bottom: 8px;
}

.cd-section-head h2 {
  max-width: 860px;
  text-align: right;
}

@media (max-width: 760px) {
  .cd-programs,
  .cd-about,
  .cd-booking,
  .cd-instructors,
  .cd-areas,
  .cd-faq,
  .cd-enroll {
    margin-top: 52px;
  }

  .cd-section-head {
    display: grid !important;
    gap: 10px;
  }

  .cd-section-head h2 {
    text-align: left;
  }
}
