* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global theme tokens: update colors/shadows once for the whole site. */
:root {
  --brand: #0f766e;
  --brand-deep: #0b3d3a;
  --brand-soft: #d8f2ef;
  --gold: #c9a227;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #edf4f3;
  --surface: #ffffff;
  --surface-soft: #f8fcfb;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 30px 55px rgba(15, 23, 42, 0.16);
}

html {
  scroll-behavior: smooth;
}

/* Base typography and page background. */
body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 162, 39, 0.08), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(15, 118, 110, 0.1), transparent 40%),
    var(--bg);
  line-height: 1.65;
  min-height: 100vh;
}

section {
  scroll-margin-top: 110px;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
}

p,
li {
  color: var(--muted);
}

/* Shared navigation styles (used by generated <site-nav> component). */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 8%;
  background: var(--glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.18);
}

.logo span {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  font-size: 0.95rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-links a {
  text-decoration: none;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.nav-links a:hover {
  transform: translateY(-1px);
  background: rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.18);
}

.nav-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.menu-toggle {
  display: none;
  font-size: 1.7rem;
  cursor: pointer;
}

.page-breadcrumb-wrap {
  width: min(1180px, 100% - 3rem);
  margin: 0.85rem auto 0;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
  font-size: 0.85rem;
}

.page-breadcrumb a {
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 700;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb span[aria-current="page"] {
  color: var(--muted);
  font-weight: 600;
}

/* Home hero section. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  padding: 5.4rem 10% 4.8rem;
  display: grid;
  place-content: center;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(11, 61, 58, 0.9), rgba(15, 118, 110, 0.72)),
    url("../assets/images/grp3.JPG") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 162, 39, 0.2), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.18), transparent 32%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: #ffffff;
  line-height: 1.08;
  max-width: 840px;
  margin-inline: auto;
  text-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  animation: fadeUp 0.65s ease both;
}

.hero p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  animation: fadeUp 0.75s ease both;
}

.hero .cta {
  animation: fadeUp 0.85s ease both;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ticker {
  margin-top: 1.4rem;
  width: min(760px, 96%);
  margin-inline: auto;
  padding: 0.58rem 0;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 61, 58, 0.48);
  backdrop-filter: blur(4px);
}

.hero-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: tickerLoop 24s linear infinite;
}

.hero-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.hero-ticker-item {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  text-decoration: none;
}

.hero-ticker-item:hover {
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.hero-ticker-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 2px;
  border-radius: 6px;
}

.hero-ticker-item::after {
  content: "•";
  margin-left: 2rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Reusable section container and layout helpers. */
.section {
  width: min(1180px, 100% - 3rem);
  margin: 2rem auto;
  padding: 3.2rem clamp(1rem, 3vw, 2rem);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
}

.section.center-text {
  text-align: center;
}

.section.center-text p {
  max-width: 720px;
  margin: 0 auto 0.9rem;
}

.last-updated {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.alt {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(216, 242, 239, 0.55));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.center-text .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

/* Generic card grid system used across pages. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  padding: 1.25rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 35px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 118, 110, 0.24);
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 88px;
  font-weight: 700;
  color: var(--brand-deep);
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  color: var(--brand-deep);
}

.card p,
.card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trust-grid .card {
  display: grid;
  align-content: start;
}

.trust-grid .card .cta {
  margin-top: 0.9rem;
}

.leader-card {
  text-align: center;
}

.faculty-list-grid .card h3 {
  margin-bottom: 0.2rem;
}

.faculty-role {
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.18rem;
}

.faculty-degree {
  color: var(--muted);
}

.leader-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 2px dashed rgba(15, 118, 110, 0.45);
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.leader-photo-img {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.08);
}

.timeline {
  display: grid;
  gap: 1.1rem;
}

.step {
  padding: 1rem 1rem 1rem 1.15rem;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 14px 14px 0;
}

.step h3 {
  margin-bottom: 0.3rem;
}

.page-header {
  width: min(1180px, 100% - 3rem);
  margin: 2rem auto 0.8rem;
  padding: 3.2rem 2rem;
  text-align: center;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(140deg, rgba(11, 61, 58, 0.94), rgba(15, 118, 110, 0.85)),
    url("../assets/images/pyramid.jpeg") center / cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.35), transparent 38%);
}

.page-header h1,
.page-header p {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-bottom: 0.4rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
}

.stage {
  margin-top: 1.8rem;
}

.stage h3 {
  color: var(--brand-deep);
  margin-bottom: 0.45rem;
}

.stage ul,
.section ul {
  padding-left: 1.2rem;
}

.stage li,
.section li {
  margin-bottom: 0.4rem;
}

.vacancy-grid .card {
  text-align: center;
}

.vacancy-grid .card h3 {
  margin-bottom: 0.15rem;
}

.vacancy-grid .card p {
  font-weight: 600;
  color: var(--brand);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
}

.img-box {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
  position: relative;
}

.img-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 61, 58, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.img-box:hover img {
  transform: scale(1.06);
}

.img-box:hover::after {
  opacity: 1;
}

.img-caption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.75rem;
  z-index: 2;
  color: #ffffff;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

.img-box:hover .img-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.center-text {
  text-align: center;
  margin-top: 1.6rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.82rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-family: "Sora", "Manrope", sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 24px rgba(11, 61, 58, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(11, 61, 58, 0.4);
}

.cta-outline {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cta-outline-dark {
  color: var(--brand-deep);
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: none;
}

.cta-outline-dark:hover {
  background: rgba(15, 118, 110, 0.14);
  box-shadow: none;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.admission-form {
  max-width: 900px;
  margin: 1.2rem auto 0;
  display: grid;
  gap: 1rem;
}

.hidden {
  display: none !important;
}

.form-switcher {
  max-width: 900px;
  margin: 1rem auto 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.form-switch-btn {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #ffffff;
  color: var(--brand-deep);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-switch-btn:hover {
  border-color: rgba(15, 118, 110, 0.4);
}

.form-switch-btn.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #ffffff;
  border-color: transparent;
}

.admission-form fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.86);
}

.admission-form legend {
  padding: 0 0.45rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  color: var(--brand-deep);
}

.form-row {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.form-row:first-child {
  margin-top: 0.2rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admission-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.94rem;
}

.admission-form input,
.admission-form textarea,
.admission-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.78rem 0.85rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admission-form input[type="file"] {
  padding: 0.58rem;
  background: #f8fbfb;
}

.application-status {
  text-align: center;
  font-weight: 600;
  margin-top: 0.25rem;
}

.admission-form input:focus,
.admission-form textarea:focus,
.admission-form select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.6);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.55rem 1rem;
  margin-top: 0.4rem;
}

.check-grid label,
.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--muted);
}

.check-grid input,
.consent-line input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

#admission-form-status {
  margin-top: 0.35rem;
  text-align: center;
  font-weight: 600;
}

.fee-section {
  width: min(1180px, 100% - 3rem);
}

.fee-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.fee-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #ffffff;
}

.fee-table thead tr {
  background: linear-gradient(130deg, #0f766e, #0b3d3a);
  color: #ffffff;
}

.fee-table th,
.fee-table td {
  padding: 0.85rem;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.fee-table td:first-child {
  font-weight: 700;
}

.fee-table tbody tr:nth-child(even) {
  background: #ffffff;
}

.fee-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.fee-table .total-fee {
  color: var(--brand-deep);
  font-weight: 800;
}

.fee-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.simple-table th,
.simple-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.simple-table th {
  width: 32%;
  color: var(--brand-deep);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 600;
  background: rgba(15, 118, 110, 0.06);
}

.notice-list {
  display: grid;
  gap: 0.9rem;
}

.notice-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.notice-item span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.notice-item p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 0.95rem;
}

.faq-list summary {
  font-weight: 700;
  color: var(--brand-deep);
  cursor: pointer;
}

.faq-list p {
  margin-top: 0.6rem;
}

.career-flow {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.7rem;
}

.flow-head {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.15);
  color: var(--brand-deep);
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  text-align: center;
}

.flow-node {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  position: relative;
}

.flow-node.course::before {
  content: "→";
  position: absolute;
  left: -0.62rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 800;
}

.flow-node.job::before {
  content: "→";
  position: absolute;
  left: -0.62rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 800;
}

.flow-node.stream {
  border-left: 4px solid var(--brand);
}

/* One-time reveal animation classes toggled by JS. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 0.9rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.6);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.template-btn {
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.08);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.template-btn:hover {
  background: rgba(15, 118, 110, 0.14);
}

#form-status {
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 600;
}

.map-box {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
}

.map {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 16px;
}

blockquote {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.88);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow-soft);
  font-style: italic;
  color: #334155;
}

blockquote span {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-weight: 700;
  color: var(--brand-deep);
}

.footer {
  margin-top: 1.8rem;
  padding: 2rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(140deg, rgba(11, 61, 58, 0.98), rgba(15, 118, 110, 0.92));
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-links {
  margin: 0.7rem 0 0.4rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 130;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-family: "Sora", "Manrope", sans-serif;
  border-radius: 999px;
  padding: 0.84rem 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 32px rgba(11, 61, 58, 0.34);
}

/* Basic keyframe used by reveal and hero entrance effects. */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickerLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Tablet breakpoint adjustments. */
@media (max-width: 900px) {
  .navbar {
    padding-inline: 5%;
  }

  .nav-links {
    gap: 0.35rem;
  }

  .nav-links a {
    padding: 0.45rem 0.84rem;
  }

  .section,
  .page-header,
  .page-breadcrumb-wrap {
    width: min(1180px, 100% - 1.6rem);
  }
}

/* Mobile breakpoint adjustments. */
@media (max-width: 768px) {
  body {
    padding-bottom: 4.8rem;
  }

  .navbar {
    padding: 0.72rem 4.2%;
  }

  .menu-toggle {
    display: block;
    color: var(--brand-deep);
    line-height: 1;
    padding: 0.2rem 0.35rem;
  }

  .logo-link {
    gap: 0.6rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo span {
    font-size: 0.82rem;
  }

  .nav-links {
    position: absolute;
    left: 0;
    top: calc(100% + 0.3rem);
    width: 100%;
    padding: 0.8rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    padding: 0.72rem 0.95rem;
    font-size: 0.95rem;
  }

  .page-breadcrumb-wrap {
    margin-top: 0.65rem;
  }

  .page-breadcrumb {
    width: 100%;
    border-radius: 14px;
    padding: 0.48rem 0.72rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 62vh;
    padding: 4.2rem 1.2rem;
  }

  .hero-actions {
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .hero-actions .cta {
    width: 100%;
  }

  .hero-ticker {
    width: 100%;
    border-radius: 14px;
    padding: 0.5rem 0;
  }

  .hero-ticker-content {
    gap: 1rem;
    padding-right: 1rem;
  }

  .hero-ticker-item {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .section {
    margin: 1.25rem auto;
    padding: 2.2rem 1rem;
  }

  .page-header {
    padding: 2.3rem 1rem;
  }

  .page-header p {
    font-size: 0.98rem;
  }

  .card-grid {
    gap: 0.9rem;
  }

  .card {
    padding: 1rem 0.95rem;
  }

  .timeline {
    gap: 0.8rem;
  }

  .step {
    padding: 0.9rem 0.82rem 0.9rem 0.95rem;
  }

  .footer-links {
    gap: 0.55rem;
  }

  .footer-links a {
    font-size: 0.83rem;
  }

  .mobile-sticky-cta {
    display: block;
  }

  blockquote {
    padding: 1.25rem 1rem;
  }

  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }

  .form-switcher {
    grid-template-columns: 1fr;
  }

  .simple-table th,
  .simple-table td {
    display: block;
    width: 100%;
  }

  .career-flow {
    grid-template-columns: 1fr;
  }

  .flow-head {
    text-align: left;
  }

  .flow-node.course::before,
  .flow-node.job::before {
    left: 0.45rem;
    top: 0.35rem;
    transform: none;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 0.76rem;
    line-height: 1.1;
  }

  .hero {
    padding: 3.8rem 0.9rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-ticker-item {
    font-size: 0.74rem;
  }

  .page-header h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ticker-track {
    animation: none;
    justify-content: center;
    width: 100%;
  }
}
