/* Bryan University — Online Programs Landing Page */

:root {
  --navy: #14294f;
  --navy-dark: #0a1730;
  --navy-deep: #0f1f3d;
  --gold: #f4b41a;
  --gold-dark: #b98a0d;
  --ink: #3a4a63;
  --muted: #5a6a84;
  --light: #eef2f9;
  --line: #e2e8f3;
  --white: #ffffff;
  --font-head: "Poppins", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #d8dde4;
  font-family: var(--font-body);
  color: var(--navy);
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

img { display: block; }

.page {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--white);
  overflow: hidden;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--white);
  border-bottom: 1px solid #eceef2;
}

.site-header .logo { height: 44px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 14px;
}

.site-nav a:hover { color: var(--gold); }

.tagline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.5px;
}
#header_phones a {display: flex; gap: 0.25rem; margin: 0.5rem 0}
#header_phones a svg {height: 1rem; width: auto}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 48px;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
}

.hero__image,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__image {
  background: url("images/hero.jpg") center / cover no-repeat;
  opacity: 0.28;
}

.hero__scrim {
  background: linear-gradient(285deg, rgba(244, 180, 26, 0.42), rgba(20, 41, 79, 0.72) 100%);
}

.hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 20px;
}

.hero p {
  font-size: 18px;
  color: #dbe3f0;
  line-height: 1.6;
  margin: 0 0 32px;
}
html:has(#thanks) {height: 100%}
html:has(#thanks) body, html:has(#thanks) .page {display: flex; flex-direction: column; flex-grow: 1; min-height: 100%; width: 100%}
#thanks {flex-grow: 1}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn--gold-pill {
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  padding: 15px 34px;
  border-radius: 999px;
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 7px;
  align-self: flex-start;
}

.btn--navy:hover { color: var(--white); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 7px;
  align-self: flex-start;
}

.btn--gold:hover { color: var(--navy); }

.btn--submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-size: 15px;
}

/* ---------- Shared section pieces ---------- */

.eyebrow {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.eyebrow--gold { color: var(--gold); }

.section { background: var(--white); }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.intro { padding: 70px 96px 20px; }

.intro h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  margin: 0 0 16px;
  line-height: 1.15;
}

.intro p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ---------- Programs ---------- */

.programs { padding: 20px 96px 70px; }

.programs__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

.programs__head h3,
.why h3,
.faq h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  margin: 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.program-grid:not(:has(> :nth-child(2))) {display: block}

.program-card {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.program-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}

.program-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 12px;
  line-height: 1.25;
}

.program-card p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}

.program-card__meta {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.program-card--featured h4 { color: var(--white); }
.program-card--featured p { color: #c8d2e3; }
.program-card--featured .program-card__meta { color: #aeb9cd; }

/* ---------- Why Bryan ---------- */

.why { padding: 20px 96px 60px; }

.why__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: var(--light);
  border-radius: 18px;
  padding: 44px;
  max-width: 1120px;
  margin: 0 auto;
}

.why__media {
  height: 290px;
  border-radius: 14px;
  background: url("images/why-bryan.jpg") center / cover no-repeat;
  box-shadow: 0 16px 34px rgba(20, 41, 79, 0.16);
}

.why h3 { margin-bottom: 14px; line-height: 1.18; }

.why p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Testimonials ---------- */

.testimonials {
  padding: 70px 96px;
  background: var(--navy);
  text-align: center;
}

.testimonials__inner { max-width: 760px; margin: 0 auto; }

.testimonials h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  margin: 0 0 14px;
  line-height: 1.3;
}

.video-placeholder {
  border: 1px dashed #4a5a7a;
  border-radius: 14px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d8bab;
  font-size: 14px;
  margin-top: 24px;
}

/* ---------- FAQ ---------- */

.faq { padding: 70px 96px; }

.faq__head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
}

.faq__question:hover { color: var(--gold-dark); }

.faq__sign {
  flex: none;
  font-size: 20px;
  color: var(--gold-dark);
}

.faq__answer {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
  white-space: pre-line;
}

.faq__answer[hidden] { display: none; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  padding: 70px 48px;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
}

.cta-band__image {
  position: absolute;
  inset: 0;
  background: url("images/cta.jpg") center / cover no-repeat;
  opacity: 0.22;
}

.cta-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 61, 0.85), rgba(15, 31, 61, 0.92));
}

.cta-band h2 {
  position: relative;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  color: var(--white);
  margin: 0;
  max-width: 700px;
  margin-inline: auto;
}

/* ---------- Footer + form ---------- */

.site-footer {
  background: var(--navy-dark);
  padding: 60px 96px 40px;
}

.site-footer__inner { max-width: 1160px; margin: 0 auto; }

.footer-top {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.footer-intro { flex: 1; }

.footer-intro .logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-intro p {
  font-size: 16px;
  color: #c8d2e3;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 0 24px;
}

.footer-intro .phone { margin: 0; max-width: none; }
.footer-intro .phone a { color: var(--gold); }

.request-form {
  width: 420px;
  flex: none;
  background: var(--white);
  border-radius: 14px;
  padding: 26px 26px 28px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.request-form h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 4px;
  line-height: 1.15;
}

.request-form__lede {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 16px;
}

.request-form form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.field-row { display: flex; gap: 11px; }

.request-form input,
.request-form select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cdd6e5;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background-color: var(--white);
}

.request-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2314294f' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.disclaimer {
  font-size: 10.5px;
  color: #9fadc4;
  line-height: 1.5;
  text-align: center;
  margin: 2px 0 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid #1c2c4d;
}

.copyright { font-size: 12.5px; color: #7d8bab; }

.legal-links {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #3a4b6a;
}

.legal-links a { color: #c9d3e3; }
.legal-links a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .site-header { padding: 14px 20px; }
  .site-nav { display: none; }
  .hero { padding: 56px 20px; }
  .hero h1 { font-size: 34px; }
  .intro,
  .programs,
  .why,
  .testimonials,
  .faq,
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .intro h2 { font-size: 28px; }
  .cta-band h2 { font-size: 28px; }
  .program-grid { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .why__media { height: 220px; order: -1; }
  .footer-top { flex-direction: column; }
  .request-form { width: 100%; }
  .field-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 24px; }
  .legal-links { flex-wrap: wrap; justify-content: center; }
}
