.coe-profile {
  --coe-primary: #0b2e59;
  --coe-secondary: #0e477f;
  --coe-accent: #c89b3c;
  --coe-light: #f5f8fc;
  --coe-border: #dce5ef;
  --coe-text: #263548;
  --coe-muted: #68778a;
  --coe-white: #ffffff;

  color: var(--coe-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 1200px;
}

/* HERO */

.coe-hero {
  background:
    linear-gradient(120deg, rgba(5, 31, 64, 0.97), rgba(14, 71, 127, 0.9)),
    url("/sites/default/files/college-of-education-banner.jpg") center/cover;
  border-radius: 18px;
  color: var(--coe-white);
  margin-bottom: 28px;
  min-height: 380px;
  overflow: hidden;
  padding: 70px 7%;
  position: relative;
}

.coe-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  height: 320px;
  position: absolute;
  right: -80px;
  top: -100px;
  width: 320px;
}

.coe-hero__content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.coe-eyebrow {
  color: #f3cf76;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.coe-hero h1 {
  color: var(--coe-white);
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 22px;
}

.coe-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}

/* STATISTICS */

.coe-stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin: -65px 5% 70px;
  position: relative;
  z-index: 4;
}

.coe-stat {
  background: var(--coe-white);
  border: 1px solid var(--coe-border);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(15, 45, 78, 0.1);
  padding: 27px 20px;
  text-align: center;
}

.coe-stat strong {
  color: var(--coe-primary);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 9px;
}

.coe-stat span {
  color: var(--coe-muted);
  font-size: 14px;
  font-weight: 600;
}

/* SECTIONS */

.coe-section {
  padding: 65px 5%;
}

.coe-section--light {
  background: var(--coe-light);
  border-radius: 18px;
}

.coe-section__heading {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  margin-bottom: 38px;
  max-width: 850px;
}

.coe-section__number {
  align-items: center;
  background: var(--coe-primary);
  border-radius: 50%;
  color: var(--coe-white);
  display: flex;
  flex: 0 0 46px;
  font-size: 13px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
}

.coe-section__label {
  color: var(--coe-accent);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.coe-section__heading h2 {
  color: var(--coe-primary);
  font-size: clamp(27px, 4vw, 40px);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 0;
}

.coe-section__heading p {
  color: var(--coe-muted);
  margin: 14px 0 0;
}

/* INTRO */

.coe-intro-card {
  background: var(--coe-white);
  border-left: 5px solid var(--coe-accent);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 12px 35px rgba(15, 45, 78, 0.08);
  font-size: 17px;
  padding: 32px 35px;
}

.coe-intro-card p:first-child {
  color: var(--coe-primary);
  font-size: 21px;
  font-weight: 600;
  margin-top: 0;
}

.coe-intro-card p:last-child {
  margin-bottom: 0;
}

/* MENTORED COLLEGES */

.coe-college-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.coe-college-card {
  background: var(--coe-white);
  border: 1px solid var(--coe-border);
  border-radius: 13px;
  min-height: 120px;
  padding: 25px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coe-college-card:hover {
  box-shadow: 0 14px 30px rgba(15, 45, 78, 0.11);
  transform: translateY(-4px);
}

.coe-college-card span {
  color: var(--coe-accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 13px;
}

.coe-college-card h3 {
  color: var(--coe-primary);
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}

/* PROGRAMME ACCORDION */

.coe-programme-list {
  display: grid;
  gap: 18px;
}

.coe-programme-group {
  background: var(--coe-white);
  border: 1px solid var(--coe-border);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(15, 45, 78, 0.06);
  overflow: hidden;
}

.coe-programme-group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 24px 28px;
}

.coe-programme-group summary::-webkit-details-marker {
  display: none;
}

.coe-programme-group[open] summary {
  background: var(--coe-primary);
}

.coe-programme-icon {
  align-items: center;
  background: var(--coe-light);
  border-radius: 10px;
  color: var(--coe-primary);
  display: flex;
  flex: 0 0 50px;
  font-size: 13px;
  font-weight: 800;
  height: 50px;
  justify-content: center;
}

.coe-programme-group[open] .coe-programme-icon {
  background: rgba(255, 255, 255, 0.13);
  color: #f3cf76;
}

.coe-programme-title {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.coe-programme-title strong {
  color: var(--coe-primary);
  font-size: 19px;
}

.coe-programme-title small {
  color: var(--coe-muted);
  font-size: 14px;
  font-weight: 400;
  margin-top: 3px;
}

.coe-programme-group[open] .coe-programme-title strong {
  color: var(--coe-white);
}

.coe-programme-group[open] .coe-programme-title small {
  color: rgba(255, 255, 255, 0.72);
}

.coe-programme-toggle {
  color: var(--coe-primary);
  font-size: 27px;
  font-weight: 300;
}

.coe-programme-group[open] .coe-programme-toggle {
  color: var(--coe-white);
  transform: rotate(45deg);
}

.coe-programme-content {
  padding: 10px 28px 30px;
}

.coe-programme-content ul {
  display: grid;
  gap: 0 35px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.coe-programme-content li {
  align-items: flex-start;
  border-bottom: 1px solid #e8edf3;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 14px 0;
}

.coe-programme-content li::before {
  background: var(--coe-accent);
  border-radius: 50%;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  margin-top: 10px;
}

.coe-programme-content li span {
  background: #edf4fb;
  border-radius: 20px;
  color: var(--coe-secondary);
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  text-transform: uppercase;
}

/* CALL TO ACTION */

.coe-cta {
  align-items: center;
  background: linear-gradient(120deg, var(--coe-primary), var(--coe-secondary));
  border-radius: 18px;
  color: var(--coe-white);
  display: flex;
  gap: 35px;
  justify-content: space-between;
  margin-top: 45px;
  padding: 48px 5%;
}

.coe-cta span {
  color: #f3cf76;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.coe-cta h2 {
  color: var(--coe-white);
  font-size: 30px;
  line-height: 1.25;
  margin: 8px 0 10px;
}

.coe-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.coe-cta a {
  background: var(--coe-accent);
  border-radius: 7px;
  color: #11253d;
  display: inline-block;
  flex-shrink: 0;
  font-weight: 700;
  padding: 14px 24px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.coe-cta a:hover {
  background: #ddb75d;
  color: #11253d;
  transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .coe-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coe-college-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coe-programme-content ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .coe-hero {
    border-radius: 12px;
    min-height: auto;
    padding: 55px 25px 90px;
  }

  .coe-hero h1 {
    letter-spacing: -1px;
  }

  .coe-hero p {
    font-size: 17px;
  }

  .coe-stat-grid {
    gap: 10px;
    margin: -55px 15px 45px;
  }

  .coe-stat {
    padding: 22px 10px;
  }

  .coe-stat strong {
    font-size: 28px;
  }

  .coe-section {
    padding: 45px 20px;
  }

  .coe-section__heading {
    gap: 13px;
  }

  .coe-section__number {
    flex-basis: 38px;
    height: 38px;
  }

  .coe-college-grid {
    grid-template-columns: 1fr;
  }

  .coe-programme-group summary {
    gap: 12px;
    padding: 20px 17px;
  }

  .coe-programme-icon {
    flex-basis: 42px;
    height: 42px;
  }

  .coe-programme-title strong {
    font-size: 16px;
  }

  .coe-programme-title small {
    font-size: 12px;
  }

  .coe-programme-content {
    padding: 5px 18px 25px;
  }

  .coe-programme-content li {
    display: grid;
    grid-template-columns: 8px 1fr;
  }

  .coe-programme-content li span {
    grid-column: 2;
    justify-self: start;
  }

  .coe-cta {
    align-items: flex-start;
    border-radius: 12px;
    flex-direction: column;
    margin-top: 25px;
    padding: 38px 25px;
  }
}