:root {
  --teal-main: #00bfb3;
  --teal-dark: #00a9a0;
  --yellow: #f5c542;
  --purple: #6a004f;
  --text-dark: #1a1a1a;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
}

/* TOP BAR */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
  font-size: 14px;
}
.top-links a {
  margin-left: 18px;
  color: #000;
  text-decoration: none;
}

/* HEADER */
.main-header {
  background: var(--teal-main);
  padding: 18px 0;
  color: #003b3b;
}
.header-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}
.search-box {
  padding: 6px 12px;
  border: 1px solid #ccc;
  width: 220px;
}

/* NAV BAR */
.nav-bar {
  background: var(--teal-main);
  border-top: 1px solid #009e95;
}
.nav-link {
  color: #003b3b !important;
  font-weight: 500;
  padding: 16px 14px;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(90deg, var(--teal-main) 65%, #f7f7f7 65%);
  min-height: 520px;
}

/* GRAPHIC AREA */
.graphic-area {
  position: relative;
  height: 520px;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
}

/* BADGE */
.badge-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 340px;
  background: var(--teal-dark);
  clip-path: polygon(10% 0%, 90% 0%, 90% 65%, 50% 100%, 10% 65%);
  border: 14px solid var(--yellow);
}

.badge-inner {
  text-align: center;
  color: #003b3b;
  padding-top: 40px;
}

.badge-top {
  font-size: 16px;
  font-weight: 600;
}

.badge-inner h1 {
  font-size: 90px;
  font-weight: 700;
  margin: 10px 0;
}

.badge-bottom {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #003b3b;
}

/* PURPLE BORDER */
.badge-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid var(--purple);
  clip-path: polygon(10% 0%, 90% 0%, 90% 65%, 50% 100%, 10% 65%);
  pointer-events: none;
}

/* CONTENT AREA */
.content-area {
  padding: 80px 60px;
}

.content-area h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 20px;
}

.content-area p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
}

/* BUTTON */
.btn-custom {
  background: #00c4b4;
  color: #000;
  padding: 10px 22px;
  font-weight: 500;
  border-radius: 6px;
}

/* BEFORE FOOTER – 3 CARDS SECTION */
.cam-info-cards {
  background: #d9faf6; /* light mint like screenshot */
  padding: 70px 0 80px;
}

.cam-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.cam-card-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.cam-card-body {
  padding: 26px 28px 28px;
}

.cam-card-title {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #111;
}

.cam-small-heading {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.cam-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 20px;
  max-width: 95%;
}

/* Link style in middle card */
.cam-news-link {
  color: #000;
  text-decoration: underline;
  font-size: 14px;
  line-height: 1.5;
}

/* Cambridge-like outline button */
.cam-outline-btn {
  border: 1px solid #0b6f7a;
  color: #0b6f7a;
  background: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.cam-outline-btn:hover {
  background: #0b6f7a;
  color: #fff;
}

/* ===== CAMBRIDGE PATHWAY SECTION ===== */
.pathway-wrap {
  background: #fff;
  padding: 55px 0 55px;
}

/* Head line */
.pathway-head .line {
  height: 2px;
  background: #18b8b2;
  flex: 1;
  min-width: 140px;
}

.pathway-title .text {
  line-height: 1;
  font-weight: 700;
  font-family: Inter, sans-serif;
}
.pathway-title .t1 {
  font-size: 18px;
}
.pathway-title .t2 {
  font-size: 18px;
}

.pathway-sub {
  font-size: 14px;
  color: #111;
  font-family: Inter, sans-serif;
  white-space: nowrap;
}

.arrow-icon {
  width: 34px;
  height: 22px;
  position: relative;
}
.arrow-icon:before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #18b8b2;
  border-left: none;
  border-radius: 4px;
  transform: skewX(-8deg);
}
.arrow-icon:after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid #18b8b2;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Cards */
.path-card {
  border: 2px solid transparent;
  background: #fff;
  height: 100%;
}

.path-card-top {
  padding: 14px 14px;
  color: #fff;
  font-weight: 700;
  position: relative;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}
.path-card-top h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-family: Inter, sans-serif;
  font-weight: 700;
}

.path-card-body {
  padding: 14px 14px 0;
  min-height: 340px;
}

.path-card-body ul {
  padding-left: 18px;
  margin: 10px 0 0;
}
.path-card-body li {
  margin: 6px 0;
  font-size: 13px;
}
.path-card-body a {
  color: #000;
  text-decoration: underline;
}

.age {
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 10px;
}

/* Bottom inside section */
.path-card-foot {
  margin-top: 18px;
  padding: 12px 12px;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Color themes (same combo) */
.bg-purple {
  background: #7b2ce2;
}
.bg-blue {
  background: #4b67ff;
}
.bg-green {
  background: #0a7f0a;
}
.bg-orange {
  background: #d84a20;
}
.bg-maroon {
  background: #7a0018;
}

.border-purple {
  border-color: #7b2ce2;
}
.border-blue {
  border-color: #4b67ff;
}
.border-green {
  border-color: #0a7f0a;
}
.border-orange {
  border-color: #d84a20;
}
.border-maroon {
  border-color: #7a0018;
}

.body-purple {
  background: #ffffff;
}
.body-blue {
  background: #ffffff;
}
.body-green {
  background: #ffffff;
}
.body-orange {
  background: #ffffff;
}
.body-maroon {
  background: #ffffff;
}

/* Age link colors */
.age-purple {
  color: #7b2ce2;
}
.age-blue {
  color: #4b67ff;
}
.age-green {
  color: #0a7f0a;
}
.age-orange {
  color: #d84a20;
}
.age-maroon {
  color: #7a0018;
}

/* Foot bg tint (bottom area in each card) */
.border-purple .path-card-foot {
  background: #e6d6ff;
}
.border-blue .path-card-foot {
  background: #dbe3ff;
}
.border-green .path-card-foot {
  background: #d8f0d8;
}
.border-orange .path-card-foot {
  background: #f7d6cf;
}
.border-maroon .path-card-foot {
  background: #ead6db;
}

/* Bottom purple bar */
.pathway-bottom-bar {
  background: #3b0f62;
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 2px;
}
/* ===== ACTION SECTION ===== */
.cam-action-section {
  background: #00bfb3; /* exact teal feel */
  padding: 80px 0;
}

/* Card base */
.action-card {
  background: #fff;
  padding: 26px 28px 30px;
  height: 100%;
}

/* Titles */
.action-title {
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

/* Left list */
.action-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.action-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #d9d9d9;
}

.action-list li:last-child {
  border-bottom: none;
}

.action-list .icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.action-list a {
  font-size: 15px;
  color: #000;
  text-decoration: underline;
  line-height: 1.4;
}

/* Text */
.action-text {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 20px;
}

/* Buttons */
.cam-btn-outline {
  border: 1px solid #0b6f7a;
  color: #0b6f7a;
  background: blue;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 4px;
  font-weight: 500;
}

.cam-btn-outline:hover {
  background: #0b6f7a;
  color: #fff;
}
/* ===== WHITE 3 FEATURE CARDS SECTION ===== */
.cam-feature3 {
  background: #fff;
  padding: 80px 0 90px;
}

/* Card */
.cam-fcard {
  background: #fff;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

/* Top image like screenshot */
.cam-fimg img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Content */
.cam-fbody {
  padding: 22px 26px 26px;
}

.cam-fbody h3 {
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 8px 0 14px;
  line-height: 1.25;
}

.cam-fbody p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 18px;
  max-width: 95%;
}

/* Outline button same style */
.cam-fbtn {
  border: 1px solid #0b6f7a;
  color: #0b6f7a;
  background: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.cam-fbtn:hover {
  background: #0b6f7a;
  color: #fff;
}

/* ===== CAMBRIDGE FOOTER ===== */
.cam-footer {
  background: #222526; /* dark charcoal */
  color: #fff;
  padding: 48px 0 34px;
}

.cam-footer-top {
  gap: 0;
}

/* Titles */
.cam-footer-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #fff;
}

/* Links list */
.cam-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cam-footer-links li {
  margin: 8px 0;
}

.cam-footer-links a {
  color: #fff;
  text-decoration: underline;
  font-size: 15px;
  line-height: 1.4;
}

.cam-footer-links a:hover {
  opacity: 0.85;
}

/* Social icons row */
.cam-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  align-items: center;
}

.cam-footer-social a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  opacity: 0.95;
}

.cam-footer-social a:hover {
  opacity: 0.75;
}

/* Vertical divider line */
.cam-vline-col {
  display: flex;
  justify-content: center;
}
.cam-vline {
  width: 1px;
  height: 150px;
  background: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

/* Brand area */
.cam-footer-brand {
  display: flex;
  justify-content: flex-end;
}

.cam-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 4px;
}

.cam-brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  position: relative;
}

.cam-brand-mark:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 2px;
}

.cam-brand-text .brand-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
}

.cam-brand-text .brand-sub {
  font-size: 11px;
  letter-spacing: 0.9px;
  opacity: 0.9;
  margin-top: 4px;
  white-space: nowrap;
}

/* Bottom legal section */
.cam-footer-bottom {
  margin-top: 34px;
}

.cam-copyright {
  font-size: 14px;
  margin-bottom: 10px;
}

.cam-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.cam-legal-links a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

.cam-back-top a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  .cam-footer-brand {
    justify-content: flex-start;
    margin-top: 24px;
  }
  .cam-vline {
    display: none;
  }
}
