:root {
  --navy: #0B2A4A;
  --blue: #1E5AA8;
  --uk-blue: #1F4ED8;
  --gold: #D8A31A;
  --ink: #17263A;
  --muted: #5F6F82;
  --line: #D8E4F4;
  --soft: #F4F6F8;
  --soft-blue: #EAF2FF;
  --white: #FFFFFF;
  --shadow: 0 18px 45px rgba(11, 42, 74, 0.11);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img,
video,
iframe,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.1;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 56px 0;
}

.center {
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid rgba(31, 78, 216, 0.18);
  background: var(--soft-blue);
  color: var(--blue);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
}

.btn-whatsapp {
  background: #1FAF68;
  color: #ffffff;
}

.btn-gold {
  background: var(--gold);
  color: #142033;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}

/* Header */
.skip-link {
  position: absolute;
  top: -100px;
  left: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(216, 228, 244, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark,
.brand-real-logo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.brand-mark img,
.brand-real-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  min-width: 0;
}

.brand-title {
  color: var(--navy);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.brand-subtitle {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: #ffffff;
  border-radius: 13px;
  padding: 11px 15px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: inline-flex;
  padding: 10px 11px;
  border-radius: 999px;
  color: #2D4057;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft-blue);
  color: var(--blue);
}

.nav-actions {
  display: flex;
}

/* Homepage */
.home-hero {
  padding: 72px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 760px;
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.home-hero-visual {
  display: grid;
  gap: 20px;
  justify-items: center;
}

.hero-logo-card {
  text-align: center;
}

.hero-logo-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin-inline: auto;
}

.hero-logo-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-university-img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-navy-intro {
  padding: 56px 0;
  color: #ffffff;
  background: linear-gradient(145deg, var(--navy), #112d62 62%, #1f4ed8);
}

.home-navy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.home-navy-grid h2,
.home-navy-grid p {
  color: #ffffff;
}

.home-navy-grid p {
  color: rgba(255,255,255,0.82);
}

.home-navy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.navy-mini-card {
  padding: 26px;
  min-height: 170px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 6px;
}

.navy-mini-card h3 {
  color: #ffffff;
}

.home-video-box {
  position: relative;
  width: min(760px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.home-video-box img,
.home-video-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11,42,74,0.92);
  color: #ffffff;
  font-size: 1.4rem;
}

.video-caption {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.study-grid,
.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.study-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  margin: 9px 0;
}

.feature-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 950;
}

.why-section {
  background: #fbfdff;
}

.why-grid {
  grid-template-columns: 0.75fr 1.25fr;
}

.stats-row {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}

.stats-row strong {
  display: block;
  color: var(--navy);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.stats-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.why-cards {
  display: grid;
  gap: 22px;
}

.why-card {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(11,42,74,0.06);
}

.why-card img {
  width: 170px;
  height: 122px;
  object-fit: cover;
  border-radius: 6px;
}

.home-process-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}

.home-process-card {
  min-height: 220px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.home-process-card span {
  display: block;
  margin-bottom: 14px;
  color: #d8dee8;
  font-size: 2.8rem;
  font-weight: 950;
  line-height: 1;
}

.admissions-guide {
  max-width: 820px;
}

.small-text {
  color: var(--muted);
  font-size: 0.88rem;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.insight-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(11,42,74,0.06);
}

.insight-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.insight-card div {
  padding: 20px;
}

.insight-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insight-card a {
  color: var(--blue);
  font-weight: 900;
}

.cta-band {
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--uk-blue));
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Generic pages */
.page-hero {
  padding: 72px 0 58px;
  background: linear-gradient(135deg, #F7FAFE 0%, #EDF4FF 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 860px;
}

.breadcrumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 900;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

.card {
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(11,42,74,0.06);
}

.card-soft {
  background: var(--soft);
}

.card-blue {
  background: linear-gradient(135deg, var(--navy), var(--uk-blue));
  color: #ffffff;
}

.card-blue h2,
.card-blue h3,
.card-blue p {
  color: #ffffff;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 950;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.check-list li::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: 950;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  color: var(--navy);
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
}

.form textarea {
  min-height: 150px;
}

.site-footer {
  padding: 56px 0 26px;
  background: var(--navy);
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 900;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 950;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Tablet */
@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    left: 18px;
    right: 18px;
    z-index: 99999;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 24px 70px rgba(11,42,74,0.28);
  }

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

  .nav-links a {
    width: 100%;
    padding: 13px 14px;
  }

  .home-hero-grid,
  .home-navy-grid,
  .study-grid,
  .why-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-process-grid,
  .insight-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .container {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar {
    min-height: 64px;
  }

  .brand {
    max-width: calc(100% - 76px);
  }

  .brand-real-logo,
  .brand-mark,
  .brand-real-logo img,
  .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .brand-title {
    font-size: 0.68rem;
  }

  .brand-subtitle {
    font-size: 0.54rem;
  }

  .nav-toggle {
    padding: 8px 12px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .nav-links {
    top: 72px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    z-index: 999999;
  }

  .home-hero {
    padding: 24px 0 28px;
  }

  .home-hero-grid,
  .home-navy-grid,
  .study-grid,
  .why-grid,
  .home-process-grid,
  .insight-grid,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eyebrow {
    padding: 6px 9px;
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }

  .home-hero-copy h1 {
    font-size: 1.72rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 1.45rem;
  }

  h3 {
    font-size: 1rem;
  }

  .home-hero-copy p,
  .lead,
  p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .hero-logo-card img {
    width: 58px;
    height: 58px;
  }

  .hero-logo-card span {
    font-size: 0.48rem;
  }

  .home-navy-intro,
  .section {
    padding: 30px 0;
  }

  .section-tight {
    padding: 26px 0;
  }

  .navy-mini-card,
  .home-process-card,
  .why-card,
  .card {
    padding: 15px;
    border-radius: 16px;
  }

  .home-navy-cards {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 1fr;
  }

  .why-card img {
    width: 100%;
    height: 125px;
    object-fit: cover;
  }

  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stats-row strong {
    font-size: 1.65rem;
  }

  .stats-row span {
    font-size: 0.64rem;
  }

  .home-process-card span {
    font-size: 1.6rem;
    margin-bottom: 7px;
  }

  .insight-card img {
    height: 120px;
  }

  .insight-card div {
    padding: 13px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    border-radius: 18px;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 0.74rem;
  }
}


/* UKEP RESTORE MOBILE MENU START */

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    background: var(--navy) !important;
    color: #ffffff !important;
    z-index: 1000000 !important;
  }

  .nav-links {
    position: fixed !important;
    top: 66px !important;
    left: 10px !important;
    right: 10px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    max-height: calc(100vh - 82px) !important;
    overflow-y: auto !important;
    padding: 12px !important;
    background: #ffffff !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 70px rgba(11, 42, 74, 0.35) !important;
    z-index: 999999 !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links li {
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-links a {
    width: 100% !important;
    display: flex !important;
    padding: 12px 13px !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
  }

  .navbar {
    justify-content: space-between !important;
  }

  .brand {
    max-width: calc(100% - 72px) !important;
  }
}

/* UKEP RESTORE MOBILE MENU END */

/* UKEP COMPACT LAYOUT ALL PAGES START */

/* Desktop header: smaller, cleaner, no WhatsApp button */
.brand-subtitle,
.nav-actions {
  display: none !important;
}

.site-header {
  z-index: 999999 !important;
  overflow: visible !important;
}

.navbar {
  overflow: visible !important;
}

@media (min-width: 1041px) {
  .navbar {
    min-height: 66px !important;
    gap: 18px !important;
  }

  .brand {
    flex: 0 0 auto !important;
    gap: 9px !important;
  }

  .brand-real-logo,
  .brand-mark,
  .brand-real-logo img,
  .brand-mark img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-title {
    font-size: 1rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .nav-links {
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .nav-links a {
    padding: 9px 10px !important;
    font-size: 0.84rem !important;
    white-space: nowrap !important;
  }
}

/* Mobile: keep menu visible, make layout shorter */
@media (max-width: 760px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .navbar {
    min-height: 58px !important;
    gap: 8px !important;
  }

  .brand {
    max-width: calc(100% - 72px) !important;
    gap: 6px !important;
  }

  .brand-real-logo,
  .brand-mark,
  .brand-real-logo img,
  .brand-mark img {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  .brand-title {
    font-size: 0.72rem !important;
    line-height: 1.05 !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    margin-left: auto !important;
  }

  .nav-links {
    top: 66px !important;
    left: 10px !important;
    right: 10px !important;
    max-height: calc(100vh - 82px) !important;
    z-index: 9999999 !important;
  }

  /* Shorter homepage */
  .home-hero {
    padding: 18px 0 20px !important;
  }

  .hero-logo-card {
    display: none !important;
  }

  .home-hero-grid,
  .home-navy-grid,
  .study-grid,
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .eyebrow {
    padding: 5px 8px !important;
    font-size: 0.52rem !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
  }

  .home-hero-copy h1 {
    font-size: 1.52rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    margin: 10px 0 8px !important;
  }

  h2,
  .home-navy-grid h2,
  .study-grid h2,
  .why-copy h2,
  .process-section h2,
  .admissions-guide h2,
  .cta-band h2 {
    font-size: 1.18rem !important;
    line-height: 1.08 !important;
    margin-bottom: 7px !important;
  }

  h3,
  .navy-mini-card h3,
  .why-card h3,
  .home-process-card h3,
  .insight-card h3,
  .card h3 {
    font-size: 0.82rem !important;
    line-height: 1.15 !important;
    margin-bottom: 5px !important;
  }

  .home-hero-copy p,
  .lead,
  p,
  li {
    font-size: 0.72rem !important;
    line-height: 1.38 !important;
  }

  .hero-actions,
  .cta-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin-top: 10px !important;
  }

  .btn {
    min-height: 36px !important;
    padding: 8px 10px !important;
    font-size: 0.68rem !important;
  }

  .hero-university-img {
    max-height: 118px !important;
    object-fit: cover !important;
  }

  .home-navy-intro,
  .section {
    padding: 22px 0 !important;
  }

  .section-tight {
    padding: 20px 0 !important;
  }

  /* Two cards per row on mobile */
  .home-navy-cards,
  .home-process-grid,
  .insight-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .why-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .navy-mini-card,
  .home-process-card,
  .why-card,
  .card,
  .insight-card {
    padding: 10px !important;
    border-radius: 12px !important;
    min-height: auto !important;
  }

  .icon {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 7px !important;
    border-radius: 9px !important;
    font-size: 0.75rem !important;
  }

  .why-card {
    display: block !important;
  }

  .why-card img {
    width: 100% !important;
    height: 76px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-top: 8px !important;
  }

  .study-image,
  .home-video-box img,
  .home-video-box video {
    max-height: 145px !important;
    object-fit: cover !important;
  }

  .video-caption {
    display: none !important;
  }

  .video-play-badge {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
  }

  .feature-list {
    margin: 10px 0 12px !important;
  }

  .feature-list li {
    margin: 5px 0 !important;
  }

  .stats-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .stats-row strong {
    font-size: 1.35rem !important;
  }

  .stats-row span {
    font-size: 0.56rem !important;
  }

  .home-process-card span {
    font-size: 1.15rem !important;
    margin-bottom: 5px !important;
  }

  .insight-card img {
    height: 74px !important;
  }

  .insight-card div {
    padding: 9px !important;
  }

  .insight-card span {
    font-size: 0.52rem !important;
    margin-bottom: 5px !important;
  }

  .insight-card a {
    font-size: 0.68rem !important;
  }

  .admissions-guide .small-text {
    display: none !important;
  }

  .cta-band {
    padding: 16px 12px !important;
    border-radius: 14px !important;
    grid-template-columns: 1fr !important;
  }

  /* Footer: 2 columns / 2 rows */
  .site-footer {
    padding: 24px 0 18px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
  }

  .site-footer h3,
  .site-footer h4 {
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
  }

  .footer-links a,
  .site-footer p,
  .footer-bottom {
    font-size: 0.66rem !important;
    line-height: 1.35 !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    margin-top: 18px !important;
    padding-top: 12px !important;
  }
}

/* UKEP COMPACT LAYOUT ALL PAGES END */

/* UKEP MOBILE CENTER AND ARROW FIX START */

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    margin: 0 auto !important;
  }

  main,
  .site-header,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container {
    width: 100% !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .navbar {
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-hero-copy,
  .home-hero-visual,
  .center,
  .admissions-guide,
  .cta-band {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-hero-copy {
    text-align: center !important;
  }

  .home-hero-copy .eyebrow,
  .center .eyebrow,
  .why-copy .eyebrow,
  .admissions-guide .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions,
  .cta-actions {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-university-img,
  .study-image,
  .home-video-box,
  .cta-band,
  .insight-card,
  .why-card,
  .home-process-card,
  .navy-mini-card,
  .card {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-footer {
    text-align: left !important;
  }

  .footer-bottom {
    text-align: center !important;
    justify-items: center !important;
  }

  .footer-bottom span {
    display: block !important;
    width: 100% !important;
  }
}

/* Back to top button fix */
.back-to-top {
  position: fixed !important;
  right: 14px !important;
  bottom: 14px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: var(--navy) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  display: grid !important;
  place-items: center !important;
  z-index: 9999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  cursor: pointer !important;
  box-shadow: 0 12px 30px rgba(11, 42, 74, 0.25) !important;
  transform: translateY(10px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* UKEP MOBILE CENTER AND ARROW FIX END */

/* UKEP REAL ARROW LINK FIX START */

.back-to-top {
  position: fixed !important;
  right: 14px !important;
  bottom: 14px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: var(--navy) !important;
  color: #ffffff !important;
  display: grid !important;
  place-items: center !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  z-index: 99999999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  box-shadow: 0 12px 30px rgba(11, 42, 74, 0.25) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.back-to-top:hover {
  background: #071f39 !important;
}

/* UKEP REAL ARROW LINK FIX END */

/* UKEP PAGE SPECIFIC MOBILE POLISH START */

@media (max-width: 760px) {
  /* Keep Services/About style compact, but make reading-heavy pages readable */
  .page-universities .grid-2,
  .page-universities .grid-3,
  .page-universities .grid-4,
  .page-insights .grid-2,
  .page-insights .grid-3,
  .page-insights .grid-4,
  .page-article .grid-2,
  .page-article .grid-3,
  .page-article .grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* UK Universities page: stop text from looking squeezed */
  .page-universities .card,
  .page-universities .university-card {
    padding: 14px !important;
  }

  .page-universities .tag-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .page-universities .tag {
    font-size: 0.68rem !important;
    padding: 5px 8px !important;
    line-height: 1.2 !important;
  }

  .page-universities h3,
  .page-universities p,
  .page-universities li {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  /* Insights page: article cards need one column for cleaner titles */
  .page-insights .article-card,
  .page-insights .card {
    padding: 16px !important;
  }

  .page-insights .article-card h3,
  .page-insights .card h3 {
    font-size: 1rem !important;
    line-height: 1.18 !important;
  }

  .page-insights .article-meta {
    gap: 5px !important;
    font-size: 0.7rem !important;
  }

  /* Testimonials page: keep video cards two-column but make text smaller */
  .page-testimonials .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .page-testimonials .video-frame {
    border-radius: 10px !important;
  }

  .page-testimonials .card p {
    font-size: 0.68rem !important;
  }

  /* Contact page: keep form full width and clean */
  .page-contact .contact-grid,
  .page-contact .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .page-contact .form input,
  .page-contact .form select,
  .page-contact .form textarea {
    font-size: 0.85rem !important;
    padding: 12px 13px !important;
  }

  /* Footer copyright centered */
  .footer-bottom {
    text-align: center !important;
    justify-items: center !important;
  }
}

/* UKEP PAGE SPECIFIC MOBILE POLISH END */

/* UKEP ABOUT WIX STYLE START */

.about-wix-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.88), rgba(7, 24, 50, 0.66)),
    url("/assets/images/home/hero-university.jpg") center/cover no-repeat;
  overflow: hidden;
}

.about-wix-hero-content {
  position: relative;
  z-index: 2;
  padding: 82px 0;
}

.about-wix-hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.about-wix-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-wix-section {
  padding: 86px 0;
}

.about-wix-soft {
  background: #f4f7fb;
}

.about-wix-center {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.about-wix-center h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.about-wix-center p {
  color: var(--muted);
  line-height: 1.75;
}

.about-wix-small {
  font-size: 0.86rem;
}

.about-wix-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 44px auto 0;
}

.about-wix-cert-card,
.about-wix-value-card,
.about-wix-help-card {
  background: #fff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.045);
}

.about-wix-cert-card h3,
.about-wix-value-card h3,
.about-wix-help-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.about-wix-cert-card p,
.about-wix-value-card p,
.about-wix-help-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.about-wix-dark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  margin-top: 14px;
  border-radius: 4px;
  background: #071b3a;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: capitalize;
  border: 1px solid #071b3a;
}

.about-wix-dark-btn:hover {
  transform: translateY(-1px);
  background: #0b2a4a;
}

.about-wix-video {
  position: relative;
  max-width: 760px;
  margin: 38px auto 0;
  border-radius: 4px;
  overflow: hidden;
  background: #071b3a;
  box-shadow: 0 18px 44px rgba(11, 42, 74, 0.18);
}

.about-wix-video img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-wix-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #071b3a;
  font-size: 1.7rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.about-wix-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.about-wix-story h2,
.about-wix-approach h2 {
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  letter-spacing: -0.04em;
  color: var(--navy);
}

.about-wix-story p,
.about-wix-approach p {
  color: #4c5f75;
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-wix-image-card {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 26px rgba(11, 42, 74, 0.08);
}

.about-wix-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.about-wix-wide-image {
  padding: 18px 0 70px;
}

.about-wix-wide-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 2px;
}

.about-wix-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 46px;
}

.about-wix-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.about-wix-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.about-wix-checklist li {
  position: relative;
  padding-left: 22px;
  color: #26384d;
  margin: 10px 0;
  font-weight: 650;
}

.about-wix-checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 900;
}

.about-wix-purpose {
  background: #f7f9fc;
}

.about-wix-purpose .about-wix-center {
  max-width: 900px;
}

.about-wix-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.about-wix-final-cta {
  background: #f7f9fc;
}

.about-wix-final-cta p {
  margin-bottom: 26px;
}

.about-wix-cta-btn {
  min-width: 150px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .about-wix-split,
  .about-wix-cert-grid,
  .about-wix-values-grid,
  .about-wix-help-grid {
    grid-template-columns: 1fr;
  }

  .about-wix-hero {
    min-height: 360px;
  }

  .about-wix-section {
    padding: 64px 0;
  }

  .about-wix-wide-image img {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .about-wix-hero {
    min-height: 330px;
  }

  .about-wix-hero-content {
    padding: 58px 0;
  }

  .about-wix-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3.25rem);
  }

  .about-wix-cert-card,
  .about-wix-value-card,
  .about-wix-help-card {
    padding: 20px;
  }

  .about-wix-video {
    margin-top: 26px;
  }

  .about-wix-play {
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
  }

  .about-wix-split {
    gap: 30px;
  }
}

/* UKEP ABOUT WIX STYLE END */

/* UKEP ABOUT POLISH FINAL START */

/* Better overall spacing */
.page-about .about-wix-section {
  padding: 96px 0;
}

.page-about .about-wix-center {
  max-width: 920px;
}

.page-about .about-wix-center h2 {
  margin-bottom: 14px;
  line-height: 1.12;
}

.page-about .about-wix-center p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero refinement */
.page-about .about-wix-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(6, 21, 44, 0.84), rgba(6, 21, 44, 0.58)),
    url("/assets/images/home/hero-university.jpg") center center / cover no-repeat;
}

.page-about .about-wix-hero-content {
  text-align: left;
}

.page-about .about-wix-hero h1 {
  max-width: 760px;
  line-height: 0.95;
  margin-bottom: 18px;
}

.page-about .about-wix-hero p {
  max-width: 740px;
  font-size: 1.02rem;
}

/* Certification cards */
.page-about .about-wix-cert-grid {
  max-width: 980px;
  gap: 28px;
  margin-top: 48px;
}

.page-about .about-wix-cert-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.06);
}

.page-about .about-wix-cert-card h3 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.page-about .about-wix-cert-card p {
  margin-top: 10px;
  margin-bottom: 18px;
}

/* Video section */
.page-about .about-wix-video {
  max-width: 820px;
  border-radius: 12px;
  overflow: hidden;
}

.page-about .about-wix-video img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-about .about-wix-play {
  width: 78px;
  height: 78px;
  font-size: 1.75rem;
}

/* Split sections */
.page-about .about-wix-split {
  gap: 72px;
  align-items: center;
}

.page-about .about-wix-text-balanced > div:first-child,
.page-about .about-wix-approach > div:last-child {
  max-width: 560px;
}

.page-about .about-wix-story h2,
.page-about .about-wix-approach h2 {
  margin-bottom: 18px;
  line-height: 1.08;
}

.page-about .about-wix-story p,
.page-about .about-wix-approach p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #4f6278;
}

.page-about .about-wix-image-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 42, 74, 0.10);
}

.page-about .about-wix-story-image img,
.page-about .about-wix-approach-image img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

/* Wide image */
.page-about .about-wix-wide-image {
  padding: 8px 0 86px;
}

.page-about .about-wix-wide-image img {
  height: 380px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(11, 42, 74, 0.08);
}

/* Mission and values */
.page-about .about-wix-values-grid {
  gap: 26px;
  margin-top: 48px;
}

.page-about .about-wix-value-card {
  border-radius: 12px;
  min-height: 210px;
  padding: 28px;
}

.page-about .about-wix-value-card h3 {
  margin-bottom: 10px;
}

.page-about .about-wix-value-card p {
  line-height: 1.75;
}

/* Unique approach */
.page-about .about-wix-checklist {
  margin-top: 18px;
}

.page-about .about-wix-checklist li {
  margin: 12px 0;
  line-height: 1.6;
}

/* Purpose */
.page-about .about-wix-purpose .about-wix-center {
  max-width: 930px;
}

.page-about .about-wix-purpose p {
  max-width: 800px;
}

/* Who we help */
.page-about .about-wix-help-grid {
  gap: 24px;
  margin-top: 48px;
}

.page-about .about-wix-help-card {
  border-radius: 12px;
  min-height: 190px;
  padding: 26px;
  text-align: left;
}

/* Final CTA */
.page-about .about-wix-final-cta .about-wix-center {
  max-width: 860px;
}

.page-about .about-wix-cta-btn {
  min-width: 170px;
  border-radius: 8px;
  padding: 14px 24px;
}

/* Professional button style */
.page-about .about-wix-dark-btn {
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(11, 42, 74, 0.10);
}

/* Footer balance on about page */
.page-about .site-footer .footer-bottom {
  text-align: center;
}

/* Tablet */
@media (max-width: 980px) {
  .page-about .about-wix-section {
    padding: 78px 0;
  }

  .page-about .about-wix-split {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .page-about .about-wix-text-balanced > div:first-child,
  .page-about .about-wix-approach > div:last-child {
    max-width: 100%;
  }

  .page-about .about-wix-wide-image img {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .page-about .about-wix-section {
    padding: 58px 0;
  }

  .page-about .about-wix-hero {
    min-height: 340px;
    text-align: center;
  }

  .page-about .about-wix-hero-content {
    text-align: center;
    padding: 58px 0;
  }

  .page-about .about-wix-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    line-height: 0.98;
  }

  .page-about .about-wix-hero p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .page-about .about-wix-cert-grid,
  .page-about .about-wix-values-grid,
  .page-about .about-wix-help-grid {
    grid-template-columns: 1fr;
  }

  .page-about .about-wix-cert-card,
  .page-about .about-wix-value-card,
  .page-about .about-wix-help-card {
    text-align: center;
    min-height: auto;
    padding: 22px;
  }

  .page-about .about-wix-cert-card p,
  .page-about .about-wix-value-card p,
  .page-about .about-wix-help-card p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-about .about-wix-story,
  .page-about .about-wix-approach,
  .page-about .about-wix-purpose,
  .page-about .about-wix-final-cta {
    text-align: center;
  }

  .page-about .about-wix-story p,
  .page-about .about-wix-approach p,
  .page-about .about-wix-purpose p {
    margin-left: auto;
    margin-right: auto;
  }

  .page-about .about-wix-checklist {
    display: inline-block;
    text-align: left;
    margin: 18px auto 0;
  }

  .page-about .about-wix-wide-image img {
    height: 220px;
    border-radius: 12px;
  }

  .page-about .about-wix-video {
    max-width: 100%;
    border-radius: 12px;
  }

  .page-about .about-wix-play {
    width: 62px;
    height: 62px;
    font-size: 1.35rem;
  }
}

/* UKEP ABOUT POLISH FINAL END */

/* UKEP ABOUT WIDE IMAGE FINAL FIX START */

.page-about .about-wix-wide-image {
  padding: 10px 0 86px;
}

.page-about .about-wix-wide-image .container {
  max-width: 1180px;
}

.page-about .about-wix-wide-image img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11, 42, 74, 0.10);
}

@media (max-width: 900px) {
  .page-about .about-wix-wide-image img {
    height: 300px;
  }
}

@media (max-width: 760px) {
  .page-about .about-wix-wide-image {
    padding: 8px 0 58px;
  }

  .page-about .about-wix-wide-image img {
    height: 220px;
    border-radius: 12px;
  }
}

/* UKEP ABOUT WIDE IMAGE FINAL FIX END */

/* UKEP OUR STORY PROFESSIONAL FIX START */

.page-about .about-story-pro {
  background: #ffffff;
  padding: 96px 0;
}

.page-about .about-story-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
  max-width: 1180px;
}

.page-about .about-story-pro-copy {
  text-align: left !important;
  max-width: 560px;
  margin: 0;
}

.page-about .about-story-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #1b5aa6;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-about .about-story-pro-copy h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  text-align: left !important;
}

.page-about .about-story-pro-copy p {
  color: #4d6077;
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 18px;
  text-align: left !important;
  max-width: none !important;
}

.page-about .about-story-pro-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(11, 42, 74, 0.12);
  background: #f4f7fb;
}

.page-about .about-story-pro-media img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

/* Stop older About centering rules affecting Our Story */
.page-about .about-story-pro,
.page-about .about-story-pro * {
  justify-items: initial;
}

@media (max-width: 980px) {
  .page-about .about-story-pro-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-about .about-story-pro-copy {
    max-width: 760px;
  }

  .page-about .about-story-pro-media img {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .page-about .about-story-pro {
    padding: 62px 0;
  }

  .page-about .about-story-pro-copy,
  .page-about .about-story-pro-copy h2,
  .page-about .about-story-pro-copy p {
    text-align: left !important;
  }

  .page-about .about-story-pro-copy h2 {
    font-size: 2rem;
  }

  .page-about .about-story-pro-media img {
    height: 240px;
  }
}

/* UKEP OUR STORY PROFESSIONAL FIX END */

/* UKEP SERVICES PREMIUM HERO PREVIEW START */

.services-premium-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 20, 44, 0.88) 0%, rgba(5, 20, 44, 0.76) 34%, rgba(5, 20, 44, 0.30) 72%),
    url("/assets/images/services/services-hero-tower-bridge.png") center / cover no-repeat;
  overflow: hidden;
}

.services-premium-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(5, 20, 44, 0.04), rgba(5, 20, 44, 0.28));
  pointer-events: none;
}

.services-premium-content {
  position: relative;
  z-index: 2;
  padding: 96px 0 120px;
}

.services-premium-label {
  display: inline-block;
  color: #4f9cff;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid #4f9cff;
}

.services-premium-content h1 {
  max-width: 680px;
  color: #ffffff;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.services-premium-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 1.65;
  margin-bottom: 34px;
}

.services-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.services-premium-actions .btn {
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 900;
}

.services-premium-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.services-premium-actions .btn-secondary:hover {
  background: #ffffff;
  color: #071b3a;
}

@media (max-width: 900px) {
  .services-premium-hero {
    min-height: 560px;
    background:
      linear-gradient(90deg, rgba(5, 20, 44, 0.88), rgba(5, 20, 44, 0.56)),
      url("/assets/images/services/services-hero-tower-bridge.png") center / cover no-repeat;
  }

  .services-premium-content {
    padding: 72px 0 90px;
  }
}

@media (max-width: 760px) {
  .services-premium-hero {
    min-height: 500px;
    text-align: center;
    background:
      linear-gradient(180deg, rgba(5, 20, 44, 0.82), rgba(5, 20, 44, 0.64)),
      url("/assets/images/services/services-hero-tower-bridge.png") center / cover no-repeat;
  }

  .services-premium-content {
    padding: 62px 0 76px;
  }

  .services-premium-content h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .services-premium-content p {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .services-premium-actions {
    justify-content: center;
  }

  .services-premium-actions .btn {
    width: 100%;
    max-width: 270px;
  }
}

/* UKEP SERVICES PREMIUM HERO PREVIEW END */

/* UKEP SERVICES FULL PREMIUM START */

.services-intro-section,
.services-detail-section,
.services-key-section {
  background: #ffffff;
  padding: 90px 0;
}

.services-section-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 48px;
}

.services-section-heading span,
.services-detail-copy span,
.services-promise-grid > div:first-child span,
.services-final-card span {
  display: inline-flex;
  color: #1b5aa6;
  background: #eaf3ff;
  border: 1px solid rgba(27, 90, 166, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.services-section-heading h2,
.services-detail-copy h2,
.services-promise-grid h2,
.services-final-card h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.services-section-heading p,
.services-detail-copy p,
.services-promise-grid p,
.services-final-card p {
  color: #50647a;
  font-size: 1rem;
  line-height: 1.75;
}

.services-video-card {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #071b3a;
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.14);
}

.services-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.services-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #071b3a;
  font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.services-detail-section {
  padding-top: 30px;
}

.services-detail-stack {
  display: grid;
  gap: 82px;
}

.services-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.services-detail-row-reverse .services-detail-media {
  order: 2;
}

.services-detail-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(11, 42, 74, 0.10);
  background: #f5f8fc;
}

.services-detail-media img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.services-detail-copy {
  max-width: 570px;
}

.services-detail-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
}

.services-detail-copy ul {
  list-style: none;
  margin: 22px 0 22px;
  padding: 0;
}

.services-detail-copy li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  color: #2f4358;
  line-height: 1.55;
  font-weight: 650;
}

.services-detail-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5aa6;
  font-weight: 900;
}

.services-text-link {
  display: inline-flex;
  color: #071b3a !important;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(27, 90, 166, 0.25);
  padding-bottom: 5px;
}

.services-text-link:hover {
  color: #1b5aa6 !important;
  border-color: #1b5aa6;
}

.services-why-section,
.services-promise-section,
.services-final-cta {
  background: #f5f8fc;
  padding: 88px 0;
}

.services-why-grid,
.services-key-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-why-grid article,
.services-key-grid article,
.services-promise-card {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.045);
}

.services-why-grid h3,
.services-key-grid h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.services-why-grid p,
.services-key-grid p {
  color: #50647a;
  line-height: 1.65;
  font-size: 0.95rem;
}

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

.services-promise-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.services-promise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-promise-card li {
  position: relative;
  padding-left: 26px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(11, 42, 74, 0.12);
  color: #2f4358;
  line-height: 1.6;
}

.services-promise-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.services-promise-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5aa6;
  font-weight: 900;
}

.services-final-card {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.72), transparent 46%),
    linear-gradient(135deg, #071b3a, #174ec7);
  color: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.16);
}

.services-final-card span {
  color: #0b2a4a;
  background: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3);
}

.services-final-card h2,
.services-final-card p {
  color: #ffffff;
}

.services-final-card p {
  max-width: 740px;
  color: rgba(255,255,255,0.9);
}

.services-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.services-final-actions .btn {
  min-width: 150px;
}

.services-final-actions .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #ffffff;
}

.services-final-actions .btn-secondary:hover {
  background: #ffffff;
  color: #071b3a;
}

@media (max-width: 980px) {
  .services-detail-row,
  .services-promise-grid,
  .services-final-card {
    grid-template-columns: 1fr;
  }

  .services-detail-row-reverse .services-detail-media {
    order: 0;
  }

  .services-why-grid,
  .services-key-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .services-intro-section,
  .services-detail-section,
  .services-key-section,
  .services-why-section,
  .services-promise-section,
  .services-final-cta {
    padding: 58px 0;
  }

  .services-section-heading {
    margin-bottom: 34px;
  }

  .services-detail-stack {
    gap: 54px;
  }

  .services-detail-row {
    gap: 28px;
  }

  .services-detail-media img {
    height: 250px;
  }

  .services-detail-copy {
    text-align: left;
  }

  .services-why-grid,
  .services-key-grid {
    grid-template-columns: 1fr;
  }

  .services-final-card {
    padding: 30px 22px;
    border-radius: 18px;
    text-align: center;
  }

  .services-final-actions {
    justify-content: center;
  }

  .services-final-actions .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* UKEP SERVICES FULL PREMIUM END */

/* UKEP SERVICE DETAIL PAGES START */

.service-detail-hero {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 42%),
    linear-gradient(180deg, #f5f8fc, #ffffff);
  padding: 86px 0;
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.service-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #1b5aa6 !important;
  font-weight: 800;
  text-decoration: none;
}

.service-detail-hero-copy > span,
.service-detail-label,
.service-detail-heading span,
.service-detail-final-card span {
  display: inline-flex;
  color: #1b5aa6;
  background: #eaf3ff;
  border: 1px solid rgba(27, 90, 166, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.service-detail-hero h1,
.service-detail-panel h2,
.service-detail-heading h2,
.service-prepare-grid h2,
.service-detail-final-card h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.service-detail-hero p,
.service-detail-heading p,
.service-prepare-grid p,
.service-detail-final-card p {
  color: #50647a;
  font-size: 1rem;
  line-height: 1.75;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-detail-actions .btn {
  min-height: 48px;
  border-radius: 8px;
}

.service-detail-actions .btn-secondary {
  background: #ffffff;
  color: #071b3a;
  border: 1px solid rgba(11, 42, 74, 0.16);
}

.service-detail-hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(11, 42, 74, 0.12);
  background: #ffffff;
}

.service-detail-hero-image img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.service-detail-content,
.service-process-section,
.service-prepare-section,
.service-official-section,
.service-detail-final-cta {
  padding: 84px 0;
}

.service-detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-detail-panel,
.service-prepare-card,
.service-official-grid a {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.045);
}

.service-detail-panel h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.service-detail-panel ul,
.service-prepare-card ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.service-detail-panel li,
.service-prepare-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #33475e;
  line-height: 1.65;
}

.service-detail-panel li::before,
.service-prepare-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5aa6;
  font-weight: 900;
}

.service-process-section,
.service-official-section,
.service-detail-final-cta {
  background: #f5f8fc;
}

.service-detail-heading {
  max-width: 840px;
  margin: 0 auto 42px;
  text-align: center;
}

.service-detail-heading h2,
.service-prepare-grid h2,
.service-detail-final-card h2 {
  font-size: clamp(2rem, 3.3vw, 3.05rem);
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-process-grid article {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  border-radius: 16px;
  padding: 26px;
  min-height: 170px;
}

.service-process-grid strong {
  display: block;
  color: #1b5aa6;
  font-size: 0.86rem;
  margin-bottom: 22px;
}

.service-process-grid h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-prepare-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.service-official-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-official-grid a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #071b3a !important;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-official-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 90, 166, 0.28);
  box-shadow: 0 16px 36px rgba(11, 42, 74, 0.08);
}

.service-official-grid span {
  font-weight: 850;
}

.service-official-grid strong {
  color: #1b5aa6;
  white-space: nowrap;
}

.service-detail-final-card {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.75), transparent 46%),
    linear-gradient(135deg, #071b3a, #174ec7);
  border-radius: 24px;
  padding: 46px;
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.16);
}

.service-detail-final-card span {
  color: #0b2a4a;
  background: rgba(255, 255, 255, 0.88);
}

.service-detail-final-card h2,
.service-detail-final-card p {
  color: #ffffff;
}

.service-detail-final-card p {
  color: rgba(255,255,255,0.9);
}

.service-detail-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.service-detail-final-actions .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.45);
}

.service-detail-final-actions .btn-secondary:hover {
  background: #ffffff;
  color: #071b3a;
}

@media (max-width: 980px) {
  .service-detail-hero-grid,
  .service-detail-content-grid,
  .service-prepare-grid,
  .service-detail-final-card {
    grid-template-columns: 1fr;
  }

  .service-process-grid,
  .service-official-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .service-detail-hero,
  .service-detail-content,
  .service-process-section,
  .service-prepare-section,
  .service-official-section,
  .service-detail-final-cta {
    padding: 58px 0;
  }

  .service-detail-hero-grid {
    gap: 30px;
  }

  .service-detail-hero-copy {
    text-align: center;
  }

  .service-detail-actions {
    justify-content: center;
  }

  .service-detail-actions .btn {
    width: 100%;
    max-width: 270px;
  }

  .service-detail-hero-image img {
    height: 250px;
  }

  .service-process-grid,
  .service-official-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-panel,
  .service-prepare-card,
  .service-official-grid a {
    padding: 22px;
  }

  .service-official-grid a {
    flex-direction: column;
    gap: 8px;
  }

  .service-detail-final-card {
    padding: 30px 22px;
    border-radius: 18px;
    text-align: center;
  }

  .service-detail-final-actions {
    justify-content: center;
  }

  .service-detail-final-actions .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* UKEP SERVICE DETAIL PAGES END */

/* UKEP REAL VIDEO POLISH START */

.about-wix-video video,
.services-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #071b3a;
}

.about-wix-video,
.services-video-card {
  border-radius: 18px;
  overflow: hidden;
  background: #071b3a;
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.14);
}

@media (max-width: 760px) {
  .about-wix-video,
  .services-video-card {
    border-radius: 12px;
  }
}

/* UKEP REAL VIDEO POLISH END */


/* UKEP UK UNIVERSITIES PREMIUM START */

.ukuni-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 20, 44, 0.88) 0%, rgba(5, 20, 44, 0.70) 42%, rgba(5, 20, 44, 0.38) 100%),
    url("/assets/images/home/hero-university.jpg") center / cover no-repeat;
  overflow: hidden;
}

.ukuni-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(5, 20, 44, 0.02), rgba(5, 20, 44, 0.20));
}

.ukuni-hero-content {
  position: relative;
  z-index: 2;
  padding: 84px 0;
}

.ukuni-hero-content > span,
.ukuni-choice-copy > span,
.ukuni-section-heading > span,
.ukuni-note-card span,
.ukuni-final-card span {
  display: inline-flex;
  color: #4f9cff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 16px;
}

.ukuni-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

.ukuni-hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.92);
  font-size: 1.12rem;
  line-height: 1.72;
  margin-bottom: 30px;
}

.ukuni-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ukuni-hero-actions .btn {
  min-height: 50px;
  border-radius: 8px;
}

.ukuni-hero-actions .btn-secondary {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.ukuni-hero-actions .btn-secondary:hover {
  background: #ffffff;
  color: #071b3a;
}

.ukuni-choice-section,
.ukuni-video-section,
.ukuni-list-section,
.ukuni-official-note,
.ukuni-final-cta {
  padding: 86px 0;
}

.ukuni-choice-section,
.ukuni-list-section,
.ukuni-final-cta {
  background: #ffffff;
}

.ukuni-video-section,
.ukuni-official-note {
  background: #f5f8fc;
}

.ukuni-choice-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.ukuni-choice-copy h2,
.ukuni-section-heading h2,
.ukuni-note-card h2,
.ukuni-final-card h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.ukuni-choice-copy p,
.ukuni-section-heading p,
.ukuni-note-card p,
.ukuni-final-card p {
  color: #50647a;
  line-height: 1.75;
  font-size: 1rem;
}

.ukuni-choice-card,
.uni-premium-card,
.ukuni-note-card,
.ukuni-final-card {
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.045);
}

.ukuni-choice-card {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  padding: 32px;
}

.ukuni-choice-card h3 {
  color: var(--navy);
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.ukuni-choice-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ukuni-choice-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 13px;
  color: #30445b;
  line-height: 1.6;
}

.ukuni-choice-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1b5aa6;
  font-weight: 900;
}

.ukuni-section-heading {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.ukuni-section-heading > span,
.ukuni-choice-copy > span,
.ukuni-note-card span,
.ukuni-final-card span {
  color: #1b5aa6;
  background: #eaf3ff;
  border: 1px solid rgba(27, 90, 166, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
}

.ukuni-video-card {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #071b3a;
  box-shadow: 0 20px 48px rgba(11, 42, 74, 0.14);
}

.ukuni-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #071b3a;
}

.ukuni-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.ukuni-filter-row span {
  font-weight: 900;
  color: var(--navy);
  margin-right: 4px;
}

.ukuni-filter-row button {
  border: 1px solid rgba(11, 42, 74, 0.12);
  background: #f5f8fc;
  color: #24384f;
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  cursor: default;
}

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

.uni-premium-card {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  padding: 24px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uni-premium-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 42, 74, 0.08);
}

.uni-premium-top {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.uni-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #071b3a, #1f5de2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.uni-premium-card h3 {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 0 0 4px;
}

.uni-location {
  color: #63758a;
  font-size: 0.82rem;
  margin: 0;
}

.uni-desc {
  color: #50647a;
  line-height: 1.65;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.uni-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.uni-subjects span {
  background: #f0f5fc;
  color: #294158;
  border: 1px solid rgba(11, 42, 74, 0.08);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.uni-actions {
  margin-top: auto;
  display: grid;
  gap: 9px;
}

.uni-actions a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #071b3a !important;
  background: #f8fbff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  border-radius: 10px;
  padding: 11px 12px;
  font-weight: 900;
  font-size: 0.82rem;
  text-decoration: none;
}

.uni-actions a::after {
  content: "↗";
  color: #1b5aa6;
}

.uni-actions a:hover {
  background: #071b3a;
  color: #ffffff !important;
  border-color: #071b3a;
}

.ukuni-note-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  padding: 38px;
}

.ukuni-note-card p {
  max-width: 850px;
}

.ukuni-final-card {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.75), transparent 46%),
    linear-gradient(135deg, #071b3a, #174ec7);
  padding: 46px;
  color: #ffffff;
}

.ukuni-final-card span {
  color: #0b2a4a;
  background: rgba(255,255,255,0.88);
}

.ukuni-final-card h2,
.ukuni-final-card p {
  color: #ffffff;
}

.ukuni-final-card p {
  color: rgba(255,255,255,0.9);
}

.ukuni-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.ukuni-final-actions .btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.45);
}

.ukuni-final-actions .btn-secondary:hover {
  background: #ffffff;
  color: #071b3a;
}

@media (max-width: 1100px) {
  .ukuni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ukuni-choice-grid,
  .ukuni-note-card,
  .ukuni-final-card {
    grid-template-columns: 1fr;
  }

  .ukuni-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .ukuni-hero {
    min-height: 440px;
    text-align: center;
  }

  .ukuni-hero-content {
    padding: 62px 0;
  }

  .ukuni-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.3rem);
  }

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

  .ukuni-hero-actions {
    justify-content: center;
  }

  .ukuni-hero-actions .btn {
    width: 100%;
    max-width: 270px;
  }

  .ukuni-choice-section,
  .ukuni-video-section,
  .ukuni-list-section,
  .ukuni-official-note,
  .ukuni-final-cta {
    padding: 58px 0;
  }

  .ukuni-grid {
    grid-template-columns: 1fr;
  }

  .ukuni-choice-card,
  .uni-premium-card,
  .ukuni-note-card,
  .ukuni-final-card {
    padding: 22px;
    border-radius: 16px;
  }

  .uni-premium-card {
    min-height: auto;
  }

  .ukuni-filter-row {
    justify-content: center;
  }

  .ukuni-video-card {
    border-radius: 14px;
  }

  .ukuni-final-card {
    text-align: center;
  }

  .ukuni-final-actions {
    justify-content: center;
  }

  .ukuni-final-actions .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* UKEP UK UNIVERSITIES PREMIUM END */

/* UKEP UNIVERSITY LOGO CLEAN FINAL START */

/* Card logo layout: logo only, no box */
.uni-premium-card {
  padding: 24px !important;
}

.uni-premium-top {
  display: block !important;
  margin-bottom: 14px !important;
}

.uni-logo-wrap {
  width: 100% !important;
  height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  overflow: visible !important;
}

.uni-logo-wrap img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
  filter: none !important;
}

/* Crest style logos */
.logo-oxford img,
.logo-cambridge img,
.logo-birmingham img,
.logo-bristol img,
.logo-warwick img,
.logo-edinburgh img,
.logo-newcastle img {
  max-width: 62px !important;
  max-height: 62px !important;
}

/* Horizontal / wordmark logos */
.logo-ucl img {
  max-width: 120px !important;
  max-height: 42px !important;
}

.logo-kings img {
  max-width: 150px !important;
  max-height: 58px !important;
}

.logo-lse img {
  max-width: 170px !important;
  max-height: 54px !important;
}

.logo-manchester img {
  max-width: 168px !important;
  max-height: 54px !important;
}

.logo-liverpool img {
  max-width: 150px !important;
  max-height: 58px !important;
}

.logo-sunderland img {
  max-width: 160px !important;
  max-height: 54px !important;
}

.logo-leeds img {
  max-width: 78px !important;
  max-height: 62px !important;
}

/* Name area */
.uni-premium-card h3 {
  font-size: 1.16rem !important;
  line-height: 1.22 !important;
  margin-bottom: 4px !important;
}

.uni-location {
  font-size: 0.8rem !important;
  margin-bottom: 14px !important;
  color: #607489 !important;
}

.uni-desc {
  min-height: 88px !important;
}

/* Make card cleaner */
.uni-premium-card {
  border-radius: 18px !important;
  border: 1px solid rgba(11, 42, 74, 0.09) !important;
  box-shadow: 0 12px 30px rgba(11, 42, 74, 0.045) !important;
}

.uni-premium-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 42px rgba(11, 42, 74, 0.08) !important;
}

/* Mobile */
@media (max-width: 760px) {
  .uni-logo-wrap {
    height: 64px !important;
    margin-bottom: 14px !important;
    justify-content: flex-start !important;
  }

  .logo-oxford img,
  .logo-cambridge img,
  .logo-birmingham img,
  .logo-bristol img,
  .logo-warwick img,
  .logo-edinburgh img,
  .logo-newcastle img,
  .logo-leeds img {
    max-width: 54px !important;
    max-height: 54px !important;
  }

  .logo-kings img,
  .logo-liverpool img,
  .logo-sunderland img,
  .logo-manchester img,
  .logo-lse img {
    max-width: 135px !important;
    max-height: 48px !important;
  }

  .logo-ucl img {
    max-width: 105px !important;
    max-height: 38px !important;
  }

  .uni-desc {
    min-height: auto !important;
  }
}

/* UKEP UNIVERSITY LOGO CLEAN FINAL END */


/* UKEP UNIVERSITY CARD PREMIUM FINAL START */

/* Desktop: 3 cards per row */
.ukuni-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.uni-premium-card {
  padding: 26px 22px !important;
  min-height: auto !important;
  border-radius: 22px !important;
  border: 1px solid rgba(11, 42, 74, 0.08) !important;
  box-shadow: 0 16px 36px rgba(11, 42, 74, 0.055) !important;
  background: #ffffff !important;
}

.uni-premium-top {
  display: block !important;
  text-align: center !important;
  margin-bottom: 16px !important;
}

.uni-logo-wrap {
  width: 100% !important;
  height: 88px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 auto 16px !important;
  overflow: visible !important;
}

.uni-logo-wrap img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}

.logo-oxford img,
.logo-cambridge img,
.logo-birmingham img,
.logo-bristol img,
.logo-warwick img,
.logo-edinburgh img,
.logo-newcastle img,
.logo-leeds img {
  max-width: 70px !important;
  max-height: 70px !important;
}

.logo-ucl img {
  max-width: 140px !important;
  max-height: 54px !important;
}

.logo-kings img,
.logo-lse img,
.logo-manchester img,
.logo-liverpool img,
.logo-sunderland img {
  max-width: 160px !important;
  max-height: 60px !important;
}

.uni-premium-card h3 {
  text-align: center !important;
  font-size: 1.05rem !important;
  line-height: 1.22 !important;
  margin-bottom: 5px !important;
}

.uni-location {
  text-align: center !important;
  font-size: 0.76rem !important;
  color: #63758a !important;
  margin-bottom: 14px !important;
}

.uni-desc {
  text-align: center !important;
  min-height: 92px !important;
  font-size: 0.84rem !important;
  line-height: 1.65 !important;
  margin-bottom: 18px !important;
}

.uni-subjects {
  justify-content: center !important;
  margin-bottom: 18px !important;
}

.uni-subjects span {
  font-size: 0.64rem !important;
}

.uni-actions {
  gap: 8px !important;
}

.uni-actions a {
  border-radius: 10px !important;
  padding: 10px 11px !important;
  font-size: 0.76rem !important;
  background: #f7fbff !important;
}

/* Tablet and mobile: 2 cards per row */
@media (max-width: 980px) {
  .ukuni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

/* Small mobile: still 2 cards per row, but more compact */
@media (max-width: 520px) {
  .ukuni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .uni-premium-card {
    padding: 16px 12px !important;
    border-radius: 16px !important;
  }

  .uni-logo-wrap {
    height: 54px !important;
    margin-bottom: 10px !important;
  }

  .logo-oxford img,
  .logo-cambridge img,
  .logo-birmingham img,
  .logo-bristol img,
  .logo-warwick img,
  .logo-edinburgh img,
  .logo-newcastle img,
  .logo-leeds img {
    max-width: 42px !important;
    max-height: 42px !important;
  }

  .logo-kings img,
  .logo-lse img,
  .logo-manchester img,
  .logo-liverpool img,
  .logo-sunderland img {
    max-width: 92px !important;
    max-height: 38px !important;
  }

  .logo-ucl img {
    max-width: 82px !important;
    max-height: 34px !important;
  }

  .uni-premium-card h3 {
    font-size: 0.78rem !important;
  }

  .uni-location {
    font-size: 0.62rem !important;
  }

  .uni-desc {
    font-size: 0.64rem !important;
    min-height: 82px !important;
    line-height: 1.45 !important;
  }

  .uni-subjects span {
    font-size: 0.52rem !important;
    padding: 4px 6px !important;
  }

  .uni-actions a {
    font-size: 0.58rem !important;
    padding: 8px 7px !important;
  }
}

/* UKEP UNIVERSITY CARD PREMIUM FINAL END */

/* UKEP COURSE FINDER QUIZ START */

.course-finder-hero {
  background: linear-gradient(135deg, #071b3a, #1c2f58);
  color: #ffffff;
  text-align: center;
  padding: 94px 0 86px;
}

.course-finder-hero h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.course-finder-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  line-height: 1.7;
}

.course-finder-section {
  padding: 76px 0 72px;
  background: #ffffff;
}

.course-finder-container {
  max-width: 700px;
}

.quiz-progress-wrap {
  margin-bottom: 36px;
}

.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #071b3a;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.quiz-progress-bar {
  height: 8px;
  background: #e9eef5;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-bar span {
  display: block;
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, #8ecae6, #d7a91f);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.quiz-card,
.quiz-result-card {
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.11);
  border-radius: 18px;
  padding: 44px;
  box-shadow: 0 18px 42px rgba(11, 42, 74, 0.05);
}

.quiz-card h2,
.quiz-result-card h2 {
  color: var(--navy);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

.quiz-options {
  display: grid;
  gap: 14px;
}

.quiz-option {
  width: 100%;
  min-height: 58px;
  text-align: left;
  border: 1px solid rgba(11, 42, 74, 0.14);
  background: #ffffff;
  color: #24384f;
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.quiz-option:hover,
.quiz-option.selected {
  background: #eaf3ff;
  border-color: #1b5aa6;
  color: #071b3a;
  transform: translateY(-1px);
}

.quiz-nav {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.quiz-back {
  border: 0;
  background: transparent;
  color: #071b3a;
  font-weight: 900;
  cursor: pointer;
  padding: 10px 0;
}

.quiz-result-card > span {
  display: inline-flex;
  color: #1b5aa6;
  background: #eaf3ff;
  border: 1px solid rgba(27, 90, 166, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.quiz-result-card p {
  color: #50647a;
  line-height: 1.75;
}

.quiz-result-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.quiz-result-grid article {
  background: #f7fbff;
  border: 1px solid rgba(11, 42, 74, 0.10);
  color: #071b3a;
  border-radius: 12px;
  padding: 16px;
  font-weight: 850;
}

.quiz-result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.quiz-result-actions .btn-secondary {
  border: 0;
  cursor: pointer;
  color: #071b3a;
}

.quiz-small-note {
  font-size: 0.82rem;
  margin-top: 20px;
}

.course-finder-stats {
  padding: 60px 0 70px;
  background: #f5f8fc;
  border-top: 1px solid rgba(11, 42, 74, 0.08);
}

.course-finder-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}

.course-finder-stats article strong {
  display: block;
  color: #bfdbef;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.course-finder-stats article h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.course-finder-stats article p {
  color: #63758a;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .course-finder-hero {
    padding: 70px 0 62px;
  }

  .course-finder-section {
    padding: 50px 0;
  }

  .quiz-card,
  .quiz-result-card {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .quiz-option {
    min-height: 52px;
    font-size: 0.88rem;
  }

  .quiz-result-actions {
    grid-template-columns: 1fr;
  }

  .course-finder-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 430px) {
  .course-finder-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* UKEP COURSE FINDER QUIZ END */

/* UKEP UNIVERSITY LOGOS BIGGER FINAL START */

/* Keep 3 cards desktop, 2 cards mobile */
.ukuni-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  max-width: 1180px !important;
}

/* More space for logos */
.uni-logo-wrap {
  height: 118px !important;
  margin-bottom: 20px !important;
  justify-content: center !important;
}

/* Bigger crest logos */
.logo-oxford img,
.logo-cambridge img,
.logo-birmingham img,
.logo-bristol img,
.logo-warwick img,
.logo-edinburgh img,
.logo-newcastle img,
.logo-leeds img {
  max-width: 96px !important;
  max-height: 96px !important;
}

/* Bigger horizontal logos */
.logo-ucl img {
  max-width: 190px !important;
  max-height: 72px !important;
}

.logo-kings img {
  max-width: 220px !important;
  max-height: 84px !important;
}

.logo-lse img {
  max-width: 215px !important;
  max-height: 82px !important;
}

.logo-manchester img {
  max-width: 220px !important;
  max-height: 82px !important;
}

.logo-liverpool img {
  max-width: 210px !important;
  max-height: 84px !important;
}

.logo-sunderland img {
  max-width: 210px !important;
  max-height: 80px !important;
}

/* Make card headings a little stronger */
.uni-premium-card h3 {
  font-size: 1.16rem !important;
  margin-bottom: 6px !important;
}

.uni-location {
  font-size: 0.82rem !important;
  margin-bottom: 18px !important;
}

/* Mobile: 2 cards per row, logos still readable */
@media (max-width: 760px) {
  .ukuni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .uni-logo-wrap {
    height: 76px !important;
    margin-bottom: 12px !important;
  }

  .logo-oxford img,
  .logo-cambridge img,
  .logo-birmingham img,
  .logo-bristol img,
  .logo-warwick img,
  .logo-edinburgh img,
  .logo-newcastle img,
  .logo-leeds img {
    max-width: 58px !important;
    max-height: 58px !important;
  }

  .logo-ucl img {
    max-width: 110px !important;
    max-height: 42px !important;
  }

  .logo-kings img,
  .logo-lse img,
  .logo-manchester img,
  .logo-liverpool img,
  .logo-sunderland img {
    max-width: 122px !important;
    max-height: 50px !important;
  }
}

/* UKEP UNIVERSITY LOGOS BIGGER FINAL END */

/* UKEP MOBILE COMPACT FINAL START */

/* =========================
   FOOTER MOBILE FIX
========================= */

@media (max-width: 760px) {
  .site-footer {
    padding-top: 34px !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
    align-items: start !important;
  }

  .footer-grid > *:first-child {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  .footer-grid > *:nth-child(2),
  .footer-grid > *:nth-child(3) {
    grid-column: auto !important;
    text-align: left !important;
  }

  .footer-grid > *:nth-child(4) {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  .footer-grid h3,
  .footer-grid h4 {
    font-size: 0.92rem !important;
    margin-bottom: 10px !important;
  }

  .footer-grid p,
  .footer-grid a,
  .footer-grid li {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }

  .footer-socials,
  .social-links {
    justify-content: center !important;
  }

  .footer-bottom {
    text-align: center !important;
    gap: 6px !important;
  }
}

/* =========================
   HOME MOBILE COMPACT
========================= */

@media (max-width: 760px) {
  .home-page .grid-2,
  .home-page .grid-3,
  .home-page .cards-grid,
  .home-page .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .card,
  .home-page .feature-card,
  .home-page .stat-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .home-page .card h3,
  .home-page .feature-card h3 {
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
  }

  .home-page .card p,
  .home-page .feature-card p {
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
  }

  .home-page img {
    border-radius: 14px !important;
  }
}

/* =========================
   ABOUT MOBILE COMPACT
========================= */

@media (max-width: 760px) {
  .about-page .grid-2,
  .about-page .grid-3,
  .about-page .values-grid,
  .about-page .mission-grid,
  .about-page .who-grid,
  .about-page .about-values-grid,
  .about-page .about-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .about-page .card,
  .about-page .value-card,
  .about-page .mission-card,
  .about-page .who-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .about-page .card h3,
  .about-page .value-card h3,
  .about-page .mission-card h3,
  .about-page .who-card h3 {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
  }

  .about-page .card p,
  .about-page .value-card p,
  .about-page .mission-card p,
  .about-page .who-card p {
    font-size: 0.66rem !important;
    line-height: 1.45 !important;
  }

  .about-page .split,
  .about-page .about-split,
  .about-page .about-wix-row {
    gap: 18px !important;
  }

  .about-page .about-wix-row img,
  .about-page .split img {
    border-radius: 14px !important;
  }
}

/* =========================
   SERVICES MOBILE COMPACT
========================= */

@media (max-width: 760px) {
  .services-overview-page .services-detail-stack {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .services-overview-page .services-detail-row,
  .services-overview-page .services-detail-row-reverse {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 42, 74, 0.10) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 10px 24px rgba(11, 42, 74, 0.045) !important;
  }

  .services-overview-page .services-detail-media {
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .services-overview-page .services-detail-media img {
    height: 110px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
  }

  .services-overview-page .services-detail-copy {
    padding-top: 10px !important;
    text-align: left !important;
  }

  .services-overview-page .services-detail-copy span {
    font-size: 0.48rem !important;
    padding: 4px 7px !important;
    margin-bottom: 7px !important;
  }

  .services-overview-page .services-detail-copy h2 {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .services-overview-page .services-detail-copy p,
  .services-overview-page .services-detail-copy ul {
    display: none !important;
  }

  .services-overview-page .services-text-link {
    font-size: 0.68rem !important;
    padding-bottom: 3px !important;
  }

  .services-overview-page .services-why-grid,
  .services-overview-page .services-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .services-overview-page .services-why-grid article,
  .services-overview-page .services-key-grid article {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .services-overview-page .services-why-grid h3,
  .services-overview-page .services-key-grid h3 {
    font-size: 0.78rem !important;
  }

  .services-overview-page .services-why-grid p,
  .services-overview-page .services-key-grid p {
    font-size: 0.64rem !important;
    line-height: 1.45 !important;
  }
}

/* =========================
   UK UNIVERSITIES COMPACT DETAILS
========================= */

.uni-more-details {
  margin-top: 16px !important;
}

.uni-more-details summary {
  list-style: none !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  background: #071b3a !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 0.82rem !important;
}

.uni-more-details summary::-webkit-details-marker {
  display: none !important;
}

.uni-more-details summary::after {
  content: "＋" !important;
  font-size: 0.9rem !important;
}

.uni-more-details[open] summary::after {
  content: "−" !important;
}

.uni-more-details .uni-subjects {
  margin-top: 16px !important;
}

.uni-more-details .uni-actions {
  margin-top: 12px !important;
}

@media (max-width: 760px) {
  .uk-universities-page .ukuni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .uk-universities-page .uni-premium-card {
    padding: 14px 10px !important;
    border-radius: 16px !important;
  }

  .uk-universities-page .uni-logo-wrap {
    height: 58px !important;
    margin-bottom: 10px !important;
  }

  .uk-universities-page .uni-premium-card h3 {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
  }

  .uk-universities-page .uni-location {
    font-size: 0.58rem !important;
    margin-bottom: 10px !important;
  }

  .uk-universities-page .uni-desc {
    font-size: 0.62rem !important;
    line-height: 1.45 !important;
    min-height: 70px !important;
    margin-bottom: 10px !important;
  }

  .uk-universities-page .uni-more-details summary {
    min-height: 34px !important;
    font-size: 0.58rem !important;
    border-radius: 9px !important;
  }

  .uk-universities-page .uni-subjects span {
    font-size: 0.5rem !important;
    padding: 4px 5px !important;
  }

  .uk-universities-page .uni-actions a {
    font-size: 0.54rem !important;
    padding: 7px 6px !important;
    border-radius: 8px !important;
  }
}

/* UKEP MOBILE COMPACT FINAL END */

/* UKEP ABOUT MOBILE COMPACT FINAL START */

@media (max-width: 760px) {

  /* Reduce About page section height */
  .about-page section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .about-page .about-wix-section,
  .about-page .about-story-compact,
  .about-page .about-mission-compact,
  .about-page .about-approach-compact,
  .about-page .about-help-compact {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  /* Smaller headings */
  .about-page h2 {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
    margin-bottom: 10px !important;
  }

  .about-page p {
    font-size: 0.74rem !important;
    line-height: 1.55 !important;
  }

  /* Video smaller */
  .about-wix-video {
    max-width: 100% !important;
    border-radius: 14px !important;
  }

  .about-wix-video video {
    max-height: 190px !important;
    object-fit: cover !important;
  }

  /* Story section: make image/text tighter */
  .about-story-compact .container,
  .about-approach-compact .container {
    gap: 18px !important;
  }

  .about-story-compact img,
  .about-approach-compact img {
    width: 100% !important;
    max-height: 190px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .about-story-compact .split,
  .about-story-compact .about-wix-row,
  .about-approach-compact .split,
  .about-approach-compact .about-wix-row {
    gap: 18px !important;
  }

  /* Mission & Values: 4 cards = 2 columns / 2 rows */
  .about-mission-compact .grid-2,
  .about-mission-compact .grid-3,
  .about-mission-compact .cards-grid,
  .about-mission-compact .values-grid,
  .about-mission-compact .about-values-grid,
  .about-mission-compact [class*="grid"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Who We Help: 6 cards = 2 columns / 3 rows */
  .about-help-compact .grid-2,
  .about-help-compact .grid-3,
  .about-help-compact .cards-grid,
  .about-help-compact .who-grid,
  .about-help-compact .about-help-grid,
  .about-help-compact [class*="grid"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Compact all cards inside Mission and Who We Help */
  .about-mission-compact .card,
  .about-mission-compact article,
  .about-help-compact .card,
  .about-help-compact article {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    min-height: auto !important;
  }

  .about-mission-compact h3,
  .about-help-compact h3 {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .about-mission-compact p,
  .about-help-compact p {
    font-size: 0.58rem !important;
    line-height: 1.4 !important;
  }

  /* Unique approach list tighter */
  .about-approach-compact ul {
    margin-top: 10px !important;
    padding-left: 16px !important;
  }

  .about-approach-compact li {
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
    margin-bottom: 6px !important;
  }

  /* Final CTA shorter */
  .about-page .cta-band,
  .about-page .services-final-card,
  .about-page .ukuni-final-card {
    padding: 26px 18px !important;
    border-radius: 18px !important;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .about-mission-compact h3,
  .about-help-compact h3 {
    font-size: 0.66rem !important;
  }

  .about-mission-compact p,
  .about-help-compact p {
    font-size: 0.54rem !important;
  }
}

/* UKEP ABOUT MOBILE COMPACT FINAL END */

/* UKEP ABOUT IMAGE CLEANUP START */

/* Hide duplicate story images */
.about-story-extra-image {
  display: none !important;
}

/* Make the remaining story image cleaner */
.about-story-compact img,
.about-page img:not(.brand-logo):not(.footer-pro-brand img) {
  max-width: 100%;
}

/* Mobile About page polish */
@media (max-width: 760px) {

  /* Remove too much image repetition */
  .about-story-extra-image {
    display: none !important;
  }

  .about-story-compact img {
    max-height: 190px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    margin-bottom: 0 !important;
  }

  /* Mission & Values: force 2 cards per row */
  .about-mission-compact .container > div:has(article),
  .about-mission-compact .container > div:has(.card),
  .about-mission-compact .grid,
  .about-mission-compact .grid-2,
  .about-mission-compact .grid-3,
  .about-mission-compact .cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Who We Help: force 2 cards per row */
  .about-help-compact .container > div:has(article),
  .about-help-compact .container > div:has(.card),
  .about-help-compact .grid,
  .about-help-compact .grid-2,
  .about-help-compact .grid-3,
  .about-help-compact .cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .about-mission-compact article,
  .about-mission-compact .card,
  .about-help-compact article,
  .about-help-compact .card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
    min-height: auto !important;
  }

  .about-mission-compact h3,
  .about-help-compact h3 {
    font-size: 0.68rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .about-mission-compact p,
  .about-help-compact p {
    font-size: 0.54rem !important;
    line-height: 1.4 !important;
  }

  .about-mission-compact,
  .about-help-compact,
  .about-approach-compact,
  .about-story-compact {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}

/* UKEP ABOUT IMAGE CLEANUP END */

/* UKEP ABOUT HIDE APPROACH MOBILE IMAGE START */

@media (max-width: 760px) {
  .about-approach-compact img {
    display: none !important;
  }

  .about-approach-compact {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .about-approach-compact .container,
  .about-approach-compact .split,
  .about-approach-compact .about-wix-row {
    display: block !important;
  }

  .about-approach-compact h2 {
    text-align: center !important;
  }

  .about-approach-compact p {
    text-align: center !important;
  }

  .about-approach-compact ul {
    max-width: 320px !important;
    margin: 14px auto 0 !important;
  }
}

/* UKEP ABOUT HIDE APPROACH MOBILE IMAGE END */

/* UKEP SERVICES LAST CARD POLISH START */

@media (max-width: 760px) {
  /* Make the 5th main service card look intentional */
  .services-detail-stack > :last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    max-width: 58% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Make the 3rd Why Choose Us card centered instead of awkward left */
  .services-why-grid > :last-child:nth-child(odd),
  .services-support-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    max-width: 58% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Slightly reduce final CTA height */
  .services-overview-page .cta-band,
  .services-overview-page .services-final-card,
  .services-overview-page .service-detail-final-card {
    padding: 24px 16px !important;
  }
}

@media (max-width: 390px) {
  .services-detail-stack > :last-child:nth-child(odd),
  .services-why-grid > :last-child:nth-child(odd),
  .services-support-grid > :last-child:nth-child(odd) {
    max-width: 64% !important;
  }
}

/* UKEP SERVICES LAST CARD POLISH END */

/* UKEP HOME MOBILE FINAL POLISH START */

@media (max-width: 760px) {

  /* Home page overall spacing */
  .home-page section {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
  }

  /* Hero becomes tighter */
  .home-page .hero,
  .home-page .home-hero,
  .home-page .hero-section {
    padding-top: 34px !important;
    padding-bottom: 28px !important;
  }

  .home-page .hero h1,
  .home-page .home-hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.08 !important;
    margin-bottom: 10px !important;
  }

  .home-page .hero p,
  .home-page .home-hero p {
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
  }

  /* Images cleaner on mobile */
  .home-page img {
    border-radius: 14px !important;
  }

  .home-page .hero img,
  .home-page .home-hero img,
  .home-page .image-card img {
    max-height: 170px !important;
    object-fit: cover !important;
  }

  /* Main blue intro section tighter */
  .home-page .home-support-section,
  .home-page .support-highlight,
  .home-page .blue-section {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }

  .home-page .home-support-section h2,
  .home-page .support-highlight h2 {
    font-size: 1.1rem !important;
    line-height: 1.15 !important;
  }

  .home-page .home-support-section p,
  .home-page .support-highlight p {
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
  }

  /* 2-column card layout */
  .home-page .grid-2,
  .home-page .grid-3,
  .home-page .cards-grid,
  .home-page .features-grid,
  .home-page .stats-grid,
  .home-page .articles-grid,
  .home-page .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .card,
  .home-page .feature-card,
  .home-page .stat-card,
  .home-page article {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    min-height: auto !important;
  }

  .home-page .card h3,
  .home-page .feature-card h3,
  .home-page .stat-card h3,
  .home-page article h3 {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }

  .home-page .card p,
  .home-page .feature-card p,
  .home-page .stat-card p,
  .home-page article p {
    font-size: 0.58rem !important;
    line-height: 1.42 !important;
  }

  /* Center odd last card if there are 3 cards */
  .home-page .grid-3 > :last-child:nth-child(odd),
  .home-page .features-grid > :last-child:nth-child(odd),
  .home-page .articles-grid > :last-child:nth-child(odd),
  .home-page .insights-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    max-width: 58% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* How We Work cards */
  .home-page .process-grid,
  .home-page .steps-grid,
  .home-page .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .home-page .process-grid article,
  .home-page .steps-grid article,
  .home-page .how-grid article {
    padding: 14px 12px !important;
  }

  /* Blog / insight card images */
  .home-page .article-card img,
  .home-page .blog-card img,
  .home-page .insight-card img {
    height: 92px !important;
    object-fit: cover !important;
  }

  /* Final CTA shorter */
  .home-page .cta-band,
  .home-page .final-cta,
  .home-page .home-cta,
  .home-page .service-detail-final-card {
    padding: 24px 16px !important;
    border-radius: 18px !important;
  }

  .home-page .cta-band h2,
  .home-page .final-cta h2,
  .home-page .home-cta h2 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .home-page .cta-band p,
  .home-page .final-cta p,
  .home-page .home-cta p {
    font-size: 0.66rem !important;
  }
}

@media (max-width: 390px) {
  .home-page .grid-3 > :last-child:nth-child(odd),
  .home-page .features-grid > :last-child:nth-child(odd),
  .home-page .articles-grid > :last-child:nth-child(odd),
  .home-page .insights-grid > :last-child:nth-child(odd) {
    max-width: 64% !important;
  }
}

/* UKEP HOME MOBILE FINAL POLISH END */

/* UKEP CONTACT BACKEND FORM START */

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.form-note {
  margin: -4px 0 14px !important;
  color: #607489 !important;
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
}

.form-status {
  margin: 14px 0 0 !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.form-status.is-loading {
  color: #1b5aa6 !important;
}

.form-status.is-success {
  color: #137a3d !important;
}

.form-status.is-error {
  color: #b42318 !important;
}

.contact-enquiry-form button[disabled] {
  opacity: 0.75 !important;
  cursor: not-allowed !important;
}

/* UKEP CONTACT BACKEND FORM END */

/* UKEP FINAL FOOTER CLEAN SINGLE START */
.site-footer.site-footer-light,
.site-footer-light {
  background: #f7f9fc !important;
  color: #0b2a4a !important;
  border-top: 1px solid rgba(11, 42, 74, 0.10) !important;
  padding: 42px 0 18px !important;
  margin-top: 0 !important;
}

.footer-pro-layout {
  display: grid !important;
  grid-template-columns: 1.25fr 0.9fr 1fr 1.1fr !important;
  gap: 42px !important;
  align-items: start !important;
}

.footer-pro-brand,
.footer-pro-links,
.footer-pro-services,
.footer-pro-contact {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.footer-pro-brand img {
  width: 34px !important;
  height: auto !important;
  margin: 0 0 16px !important;
  filter: none !important;
}

.footer-pro-layout h3 {
  color: #071b3a !important;
  font-size: 0.98rem !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
  font-weight: 900 !important;
}

.footer-pro-brand p {
  color: #425970 !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  max-width: 310px !important;
  margin: 0 0 18px !important;
}

.footer-pro-layout ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-pro-layout li {
  margin-bottom: 10px !important;
  color: #425970 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

.footer-pro-layout a {
  color: #425970 !important;
  text-decoration: none !important;
}

.footer-pro-layout a:hover {
  color: #1b5aa6 !important;
}

.footer-pro-socials {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.footer-pro-socials a {
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 42, 74, 0.12) !important;
  color: #071b3a !important;
  font-size: 0.74rem !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.footer-pro-socials a:hover {
  background: #071b3a !important;
  color: #ffffff !important;
}

.footer-pro-certificates {
  margin-top: 36px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(11, 42, 74, 0.10) !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  color: #66788d !important;
  font-size: 0.8rem !important;
}

.footer-pro-certificates a {
  color: #66788d !important;
  font-weight: 800 !important;
}

.footer-pro-bottom {
  margin-top: 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  color: #66788d !important;
  font-size: 0.76rem !important;
}

.footer-pro-bottom a {
  color: #071b3a !important;
  font-weight: 900 !important;
}

@media (max-width: 980px) {
  .footer-pro-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px 34px !important;
  }

  .footer-pro-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .site-footer.site-footer-light,
  .site-footer-light {
    padding: 34px 0 18px !important;
  }

  .footer-pro-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
  }

  .footer-pro-brand {
    grid-column: 1 / -1 !important;
  }

  .footer-pro-layout h3 {
    font-size: 0.88rem !important;
    margin-bottom: 10px !important;
  }

  .footer-pro-brand p,
  .footer-pro-layout li {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }

  .footer-pro-certificates {
    margin-top: 26px !important;
    padding-top: 14px !important;
    font-size: 0.66rem !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .footer-pro-bottom {
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.66rem !important;
  }
}

@media (max-width: 430px) {
  .footer-pro-layout {
    grid-template-columns: 1fr !important;
  }

  .footer-pro-brand {
    grid-column: auto !important;
  }
}
/* UKEP FINAL FOOTER CLEAN SINGLE END */

/* UKEP HOME WIX CLEAN FINAL START */

/* Cleaner homepage closer to the Wix style */
.home-page .section {
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

.home-page .home-hero {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

.home-page .hero-university-img {
  max-width: 480px !important;
  height: 300px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 38px rgba(11, 42, 74, 0.12) !important;
}

/* Keep Study in the UK section professional and not image-heavy */
.home-page .study-grid {
  grid-template-columns: 0.95fr 1.05fr !important;
  gap: 56px !important;
  align-items: center !important;
}

.home-page .study-image {
  height: 310px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 38px rgba(11, 42, 74, 0.10) !important;
}

/* Why Choose section: professional text cards, no awkward image thumbnails */
.home-page .why-section {
  background: #f7fbff !important;
  padding-top: 82px !important;
  padding-bottom: 82px !important;
}

.home-page .why-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 62px !important;
  align-items: center !important;
}

.home-page .why-copy h2 {
  font-size: clamp(2.25rem, 3.1vw, 3.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
  margin-bottom: 18px !important;
}

.home-page .why-copy p {
  max-width: 460px !important;
  font-size: 0.98rem !important;
  line-height: 1.75 !important;
}

.home-page .why-cards {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.home-page .why-card {
  display: block !important;
  min-height: auto !important;
  padding: 24px 26px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 42, 74, 0.10) !important;
  box-shadow: 0 14px 34px rgba(11, 42, 74, 0.06) !important;
}

.home-page .why-card img {
  display: none !important;
}

.home-page .why-card h3 {
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

.home-page .why-card p {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Keep insights images controlled */
.home-page .insight-card img {
  height: 150px !important;
  object-fit: cover !important;
}

@media (max-width: 900px) {
  .home-page .study-grid,
  .home-page .why-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .home-page .hero-university-img,
  .home-page .study-image {
    height: 260px !important;
  }
}

@media (max-width: 760px) {
  .home-page .section,
  .home-page .why-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .home-page .home-hero {
    padding-top: 28px !important;
    padding-bottom: 34px !important;
  }

  .home-page .hero-university-img,
  .home-page .study-image {
    height: 180px !important;
    border-radius: 12px !important;
  }

  .home-page .why-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .home-page .insight-card img {
    height: 92px !important;
  }
}

/* UKEP HOME WIX CLEAN FINAL END */


/* UKEP REAL HOME VIDEO FINAL START */
.home-video-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.home-video-box {
  width: min(760px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #071b3a !important;
  box-shadow: 0 18px 42px rgba(11, 42, 74, 0.12) !important;
}

.home-video,
.home-video-box video {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  object-fit: cover !important;
  border: 0 !important;
}

.video-play-badge {
  display: none !important;
}

@media (max-width: 760px) {
  .home-video-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .home-video-box {
    border-radius: 14px !important;
  }
}
/* UKEP REAL HOME VIDEO FINAL END */





/* UKEP UNIFIED PAGE HERO SYSTEM START */

/* Services remains the visual reference.
   Homepage stays different.
   These rules unify About / Universities / Insights / Testimonials / Contact / FAQ. */

.unified-page-hero {
  position: relative !important;
  min-height: 540px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  margin: 0 !important;
  padding: 0 !important;
}

.unified-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 22, 52, 0.88) 0%,
      rgba(7, 30, 69, 0.78) 30%,
      rgba(8, 35, 76, 0.48) 60%,
      rgba(10, 39, 82, 0.20) 100%
    );
  z-index: 1;
}

.unified-page-hero > .container,
.unified-page-hero .container:first-child,
.unified-page-hero .page-hero-inner,
.unified-page-hero .about-wix-hero-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 86px 80px !important;
}

.unified-page-hero .page-hero-inner {
  max-width: 820px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.unified-page-hero .about-wix-hero-content {
  max-width: 820px !important;
  text-align: left !important;
}

.unified-page-hero .breadcrumb,
.unified-page-hero .page-breadcrumb,
.unified-page-hero .hero-breadcrumb {
  color: rgba(255, 255, 255, 0.88) !important;
  margin-bottom: 16px !important;
  font-weight: 600 !important;
}

.unified-page-hero .breadcrumb a,
.unified-page-hero .page-breadcrumb a,
.unified-page-hero .hero-breadcrumb a {
  color: #9ec4ff !important;
}

.unified-page-hero .eyebrow,
.unified-page-hero .hero-label,
.unified-page-hero .pill-label,
.unified-page-hero .section-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  margin-bottom: 18px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #9ec4ff !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.unified-page-hero h1 {
  max-width: 780px !important;
  margin: 0 0 22px !important;
  color: #ffffff !important;
  font-size: clamp(3.4rem, 6vw, 5.8rem) !important;
  line-height: 0.97 !important;
  letter-spacing: -0.07em !important;
  font-weight: 800 !important;
}

.unified-page-hero p,
.unified-page-hero .lead {
  max-width: 760px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.4vw, 1.22rem) !important;
  line-height: 1.65 !important;
}

.unified-page-hero .hero-actions,
.unified-page-hero .cta-actions,
.unified-page-hero .button-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-top: 28px !important;
}

/* Shared visual treatment for buttons in these heroes */
.unified-page-hero .btn-primary,
.unified-page-hero .btn.btn-primary {
  background: #0f3a72 !important;
  border-color: #0f3a72 !important;
  color: #ffffff !important;
}

.unified-page-hero .btn-outline,
.unified-page-hero .btn.btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

/* Page-related background images */
.page-about .unified-page-hero {
  background-image: url("/assets/images/about/education-consultant.jpg") !important;
}

.page-uk-universities .unified-page-hero {
  background-image: url("/assets/images/home/hero-university.jpg") !important;
}

.page-uk-education-insights .unified-page-hero {
  background-image: url("/assets/images/insights/cas-letter.jpg") !important;
}

.page-testimonials .unified-page-hero {
  background-image: url("/assets/images/home/proven-success.jpg") !important;
}

.page-contact .unified-page-hero {
  background-image: url("/assets/images/about/education-consultant.jpg") !important;
}

.page-faq .unified-page-hero {
  background-image: url("/assets/images/home/complete-support.jpg") !important;
}

/* Mobile */
@media (max-width: 900px) {
  .unified-page-hero {
    min-height: 440px !important;
  }

  .unified-page-hero > .container,
  .unified-page-hero .container:first-child,
  .unified-page-hero .page-hero-inner,
  .unified-page-hero .about-wix-hero-content {
    padding: 64px 28px !important;
  }

  .unified-page-hero h1 {
    font-size: clamp(2.3rem, 8vw, 3.5rem) !important;
    line-height: 1.02 !important;
  }

  .unified-page-hero p,
  .unified-page-hero .lead {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 640px) {
  .unified-page-hero {
    min-height: 390px !important;
  }

  .unified-page-hero > .container,
  .unified-page-hero .container:first-child,
  .unified-page-hero .page-hero-inner,
  .unified-page-hero .about-wix-hero-content {
    padding: 52px 20px !important;
  }

  .unified-page-hero h1 {
    font-size: 2.15rem !important;
    letter-spacing: -0.05em !important;
  }

  .unified-page-hero .hero-actions,
  .unified-page-hero .cta-actions,
  .unified-page-hero .button-row {
    gap: 10px !important;
    margin-top: 22px !important;
  }
}

/* UKEP UNIFIED PAGE HERO SYSTEM END */

/* UKEP ABOUT HERO TEXT FINAL FIX START */

/* Make About hero text match Services / UK Universities alignment */
.page-about .unified-page-hero .about-wix-hero-content,
.page-about .about-wix-hero .about-wix-hero-content {
  width: min(var(--container), calc(100% - 72px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 86px 0 !important;
  text-align: left !important;
}

.page-about .unified-page-hero h1,
.page-about .about-wix-hero h1 {
  max-width: 720px !important;
  font-size: clamp(3.2rem, 5vw, 5rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.07em !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

.page-about .unified-page-hero p,
.page-about .about-wix-hero p {
  max-width: 760px !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

@media (max-width: 900px) {
  .page-about .unified-page-hero .about-wix-hero-content,
  .page-about .about-wix-hero .about-wix-hero-content {
    width: min(var(--container), calc(100% - 42px)) !important;
    padding: 72px 0 !important;
  }

  .page-about .unified-page-hero h1,
  .page-about .about-wix-hero h1 {
    font-size: clamp(2.6rem, 8vw, 3.8rem) !important;
  }
}

@media (max-width: 760px) {
  .page-about .unified-page-hero .about-wix-hero-content,
  .page-about .about-wix-hero .about-wix-hero-content {
    width: calc(100% - 32px) !important;
    padding: 54px 0 !important;
  }

  .page-about .unified-page-hero h1,
  .page-about .about-wix-hero h1 {
    font-size: 2.25rem !important;
    line-height: 1.02 !important;
  }

  .page-about .unified-page-hero p,
  .page-about .about-wix-hero p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
}

/* UKEP ABOUT HERO TEXT FINAL FIX END */


/* UKEP LEGAL PAGES CLEAN FINAL START */

/* Legal pages stay simple, readable, and professional */
.page-legal .page-hero {
  background: linear-gradient(135deg, #f7fafe 0%, #edf4ff 100%) !important;
  border-bottom: 1px solid rgba(11, 42, 74, 0.08) !important;
  padding: 72px 0 54px !important;
}

.page-legal .page-hero .container,
.page-legal .page-hero-inner {
  width: min(980px, calc(100% - 72px)) !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

.page-legal .page-hero h1 {
  font-size: clamp(2.5rem, 4.2vw, 4.1rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
  color: var(--navy) !important;
  margin-bottom: 18px !important;
}

.page-legal .page-hero p,
.page-legal .page-hero .lead {
  color: var(--muted) !important;
  max-width: 720px !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.page-legal main > .section {
  padding: 72px 0 86px !important;
}

.page-legal main > .section > .container {
  width: min(860px, calc(100% - 72px)) !important;
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-legal main h2,
.page-legal main h3 {
  color: var(--navy) !important;
  letter-spacing: -0.035em !important;
}

.page-legal main h2 {
  font-size: clamp(1.45rem, 2vw, 1.9rem) !important;
  line-height: 1.18 !important;
  margin: 0 0 18px !important;
  padding-top: 18px !important;
}

.page-legal main h3 {
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  margin: 22px 0 10px !important;
}

.page-legal main p,
.page-legal main li {
  color: #42556b !important;
  font-size: 0.96rem !important;
  line-height: 1.78 !important;
}

.page-legal main ul,
.page-legal main ol {
  padding-left: 22px !important;
  margin-top: 10px !important;
  margin-bottom: 22px !important;
}

.page-legal main blockquote,
.page-legal main .note,
.page-legal main .alert,
.page-legal main .info-box {
  border-left: 4px solid var(--blue) !important;
  background: #f1f6ff !important;
  padding: 16px 18px !important;
  margin: 22px 0 !important;
  color: #324a63 !important;
}

@media (max-width: 760px) {
  .page-legal .page-hero {
    padding: 46px 0 38px !important;
  }

  .page-legal .page-hero .container,
  .page-legal .page-hero-inner,
  .page-legal main > .section > .container {
    width: calc(100% - 32px) !important;
  }

  .page-legal .page-hero h1 {
    font-size: 2.15rem !important;
  }

  .page-legal main > .section {
    padding: 44px 0 58px !important;
  }

  .page-legal main p,
  .page-legal main li {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }
}

/* UKEP LEGAL PAGES CLEAN FINAL END */


/* UKEP LEGAL STYLE FINAL START */

/* Professional legal / policy page layout */
.page-legal .page-hero {
  padding: 68px 0 52px !important;
  background: linear-gradient(135deg, #f7fafe 0%, #edf4ff 100%) !important;
  border-bottom: 1px solid rgba(11, 42, 74, 0.08) !important;
}

.page-legal .page-hero .container,
.page-legal .page-hero-inner {
  width: min(1040px, calc(100% - 72px)) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-legal .page-hero h1 {
  font-size: clamp(2.75rem, 4vw, 4.2rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.055em !important;
  color: var(--navy) !important;
  margin-bottom: 14px !important;
}

.page-legal .page-hero p,
.page-legal .page-hero .lead {
  max-width: 760px !important;
  color: #62748a !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

.page-legal .legal-content-section,
.page-legal main > .section {
  padding: 66px 0 82px !important;
}

.page-legal .legal-content,
.page-legal main > .section > .container {
  width: min(940px, calc(100% - 72px)) !important;
  max-width: 940px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-legal .legal-content {
  background: #ffffff !important;
}

.page-legal main h2 {
  color: var(--navy) !important;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
  margin: 42px 0 14px !important;
}

.page-legal main h2:first-child {
  margin-top: 0 !important;
}

.page-legal main h3 {
  color: var(--navy) !important;
  font-size: 1.08rem !important;
  line-height: 1.35 !important;
  margin: 24px 0 8px !important;
}

.page-legal main p,
.page-legal main li {
  color: #42556b !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

.page-legal main p {
  margin-bottom: 16px !important;
}

.page-legal main ul,
.page-legal main ol {
  padding-left: 24px !important;
  margin: 12px 0 24px !important;
}

.page-legal main li {
  margin-bottom: 8px !important;
}

.page-legal main a {
  color: var(--blue) !important;
  font-weight: 800 !important;
}

.page-legal .info-box,
.page-legal main blockquote,
.page-legal main .note,
.page-legal main .alert {
  border-left: 4px solid var(--blue) !important;
  background: #f1f6ff !important;
  padding: 18px 20px !important;
  margin: 24px 0 !important;
  border-radius: 0 12px 12px 0 !important;
  color: #324a63 !important;
  box-shadow: none !important;
}

.page-legal .info-box p,
.page-legal main blockquote p {
  margin-bottom: 0 !important;
}

.page-legal .small-text {
  color: #6b7c90 !important;
  font-size: 0.92rem !important;
  margin-bottom: 32px !important;
}

/* Better footer transition for legal pages */
.page-legal .site-footer-light {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  .page-legal .page-hero {
    padding: 44px 0 36px !important;
  }

  .page-legal .page-hero .container,
  .page-legal .page-hero-inner,
  .page-legal .legal-content,
  .page-legal main > .section > .container {
    width: calc(100% - 32px) !important;
  }

  .page-legal .page-hero h1 {
    font-size: 2.1rem !important;
    line-height: 1.06 !important;
  }

  .page-legal .legal-content-section,
  .page-legal main > .section {
    padding: 42px 0 58px !important;
  }

  .page-legal main h2 {
    font-size: 1.35rem !important;
    margin-top: 32px !important;
  }

  .page-legal main p,
  .page-legal main li {
    font-size: 0.9rem !important;
    line-height: 1.68 !important;
  }

  .page-legal .info-box,
  .page-legal main blockquote,
  .page-legal main .note,
  .page-legal main .alert {
    padding: 14px 16px !important;
  }
}

/* UKEP LEGAL STYLE FINAL END */

/* UKEP FAQ FULL WORK CONTENT START */
.faq-page-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}

.faq-page-section .section-heading {
  max-width: 780px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 54px !important;
}

.faq-category {
  max-width: 980px !important;
  margin: 0 auto 44px !important;
}

.faq-category h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.15rem) !important;
  line-height: 1.1 !important;
  color: var(--navy) !important;
  letter-spacing: -0.045em !important;
  margin: 0 0 18px !important;
}

.faq-item {
  background: #ffffff !important;
  border: 1px solid rgba(11, 42, 74, 0.10) !important;
  border-radius: 18px !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  box-shadow: 0 12px 32px rgba(11, 42, 74, 0.055) !important;
  overflow: hidden !important;
}

.faq-item summary {
  cursor: pointer !important;
  list-style: none !important;
  padding: 22px 26px !important;
  color: var(--navy) !important;
  font-weight: 900 !important;
  font-size: 1.02rem !important;
  line-height: 1.35 !important;
  position: relative !important;
}

.faq-item summary::-webkit-details-marker {
  display: none !important;
}

.faq-item summary::after {
  content: "+" !important;
  position: absolute !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: #eef5ff !important;
  color: var(--blue) !important;
  font-weight: 900 !important;
}

.faq-item[open] summary::after {
  content: "−" !important;
}

.faq-item p {
  padding: 0 26px 24px !important;
  margin: 0 !important;
  color: #52677d !important;
  font-size: 0.96rem !important;
  line-height: 1.75 !important;
}

.faq-page-section .cta-panel {
  max-width: 980px !important;
  margin: 68px auto 0 !important;
}

@media (max-width: 760px) {
  .faq-category {
    margin-bottom: 34px !important;
  }

  .faq-item summary {
    padding: 18px 54px 18px 18px !important;
    font-size: 0.94rem !important;
  }

  .faq-item summary::after {
    right: 16px !important;
  }

  .faq-item p {
    padding: 0 18px 20px !important;
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
  }
}
/* UKEP FAQ FULL WORK CONTENT END */


/* UKEP FOOTER SOCIAL ICONS PROFESSIONAL START */
.footer-pro-socials,
.social-links,
.footer-socials {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-top: 18px !important;
}

.footer-pro-socials .footer-social-icon,
.social-links a,
.footer-socials a {
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid rgba(11, 42, 74, 0.14) !important;
  color: #071b3a !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(11, 42, 74, 0.06) !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.footer-pro-socials .footer-social-icon svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  fill: currentColor !important;
}

.footer-pro-socials .footer-social-icon:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.footer-social-facebook:hover {
  background: #1877f2 !important;
}

.footer-social-instagram:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important;
}

.footer-social-x:hover {
  background: #000000 !important;
}

.footer-social-youtube:hover {
  background: #ff0000 !important;
}

@media (max-width: 760px) {
  .footer-pro-socials,
  .social-links,
  .footer-socials {
    justify-content: center !important;
  }

  .footer-pro-socials .footer-social-icon,
  .social-links a,
  .footer-socials a {
    width: 34px !important;
    height: 34px !important;
  }
}
/* UKEP FOOTER SOCIAL ICONS PROFESSIONAL END */







/* UKEP INSIGHTS OFFICIAL SOURCE LAYOUT START */
.ukep-insights-editorial {
  background: #ffffff;
  padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 130px);
}

.ukep-insights-intro {
  max-width: 760px;
  margin-bottom: clamp(70px, 9vw, 120px);
}

.ukep-insights-intro h2 {
  margin: 0 0 22px;
  color: #071b3a;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.ukep-insights-intro p {
  max-width: 650px;
  margin: 0 0 14px;
  color: #445973;
  font-size: 1.02rem;
  line-height: 1.8;
}

.ukep-insights-intro span {
  color: #5f7288;
  font-size: 0.92rem;
}

.ukep-featured-insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 520px;
  margin-bottom: clamp(90px, 11vw, 140px);
  border: 1px solid rgba(11, 42, 74, 0.12);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(7, 27, 58, 0.07);
}

.ukep-featured-image {
  min-height: 520px;
  background: #d8e5ed;
}

.ukep-featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}

.ukep-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 70px);
}

.ukep-featured-label {
  display: block;
  margin-bottom: 20px;
  color: #7d8ca0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.ukep-category-pill,
.ukep-card-image span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 5px;
  background: #edf4ff;
  color: #0a2f5c;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.ukep-category-pill {
  margin-bottom: 28px;
  padding: 7px 12px;
}

.ukep-featured-content h2 {
  max-width: 520px;
  margin: 0 0 26px;
  color: #071b3a;
  font-size: clamp(2.3rem, 4.6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.ukep-featured-content p {
  max-width: 560px;
  margin: 0 0 32px;
  color: #435872;
  font-size: 1rem;
  line-height: 1.75;
}

.ukep-featured-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ukep-dark-btn {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #071b3a;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
}

.ukep-official-link {
  color: #071b3a;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ukep-section-heading {
  max-width: 720px;
  margin-bottom: 56px;
}

.ukep-section-heading h2 {
  margin: 0 0 18px;
  color: #071b3a;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.ukep-section-heading p {
  max-width: 620px;
  margin: 0;
  color: #52677e;
  font-size: 1rem;
  line-height: 1.7;
}

.ukep-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.ukep-insight-card {
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(7, 27, 58, 0.055);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ukep-insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(7, 27, 58, 0.11);
}

.ukep-card-image {
  position: relative;
  height: 180px;
  background: #e7eef4;
  overflow: hidden;
}

.ukep-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ukep-card-image span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.88);
}

.ukep-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 30px 24px;
}

.ukep-card-content h3 {
  margin: 0 0 18px;
  color: #071b3a;
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.ukep-card-content p {
  margin: 0 0 22px;
  color: #52677e;
  font-size: 0.94rem;
  line-height: 1.65;
}

.ukep-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-bottom: 20px;
  color: #6a7d92;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}

.ukep-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  font-size: 0.8rem;
}

.ukep-card-bottom a {
  color: #071b3a;
  font-weight: 900;
  text-decoration: none;
}

.ukep-official-card-link {
  color: #536982 !important;
  font-weight: 800 !important;
}

.ukep-insights-cta {
  background: #071b3a;
  color: #ffffff;
  text-align: center;
  padding: clamp(80px, 11vw, 135px) 0;
}

.ukep-insights-cta .container {
  max-width: 760px;
}

.ukep-insights-cta h2 {
  margin: 0 auto 24px;
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.ukep-insights-cta p {
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.7;
}

.ukep-insights-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: #ffffff;
  color: #071b3a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .ukep-featured-insight {
    grid-template-columns: 1fr;
  }

  .ukep-featured-image {
    min-height: 330px;
  }

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

@media (max-width: 680px) {
  .ukep-insights-editorial {
    padding: 56px 0 72px;
  }

  .ukep-insights-intro {
    margin-bottom: 54px;
  }

  .ukep-featured-insight {
    min-height: auto;
    margin-bottom: 72px;
  }

  .ukep-featured-image {
    min-height: 250px;
  }

  .ukep-featured-content {
    padding: 32px 24px;
  }

  .ukep-featured-actions,
  .ukep-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ukep-insights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ukep-card-image {
    height: 190px;
  }

  .ukep-card-content {
    padding: 26px 22px 22px;
  }
}
/* UKEP INSIGHTS OFFICIAL SOURCE LAYOUT END */

/* UKEP INSIGHTS CTA HEIGHT FIX START */
.ukep-insights-cta {
  padding: clamp(52px, 7vw, 78px) 0 !important;
}

.ukep-insights-cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem) !important;
  margin-bottom: 18px !important;
}

.ukep-insights-cta p {
  margin-bottom: 26px !important;
}

.ukep-insights-cta a {
  padding: 13px 22px !important;
}

@media (max-width: 680px) {
  .ukep-insights-cta {
    padding: 48px 0 !important;
  }
}
/* UKEP INSIGHTS CTA HEIGHT FIX END */


/* UKEP VIDEO TESTIMONIALS SECTION START */
.ukep-video-testimonials-section {
  background: #ffffff;
  padding: clamp(70px, 9vw, 115px) 0;
}

.ukep-video-testimonials-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.ukep-video-testimonials-heading span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(197, 159, 92, 0.14);
  color: #0b2a4a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ukep-video-testimonials-heading h2 {
  margin: 0 0 16px;
  color: #071b3a;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.ukep-video-testimonials-heading p {
  max-width: 620px;
  margin: 0 auto;
  color: #52677e;
  font-size: 1rem;
  line-height: 1.75;
}

.ukep-video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ukep-video-testimonial-card {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.12);
  box-shadow: 0 16px 38px rgba(7, 27, 58, 0.08);
}

.ukep-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #071b3a;
}

.ukep-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ukep-video-testimonial-content {
  padding: 24px 24px 26px;
}

.ukep-video-testimonial-content h3 {
  margin: 0 0 10px;
  color: #071b3a;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.ukep-video-testimonial-content p {
  margin: 0;
  color: #52677e;
  font-size: 0.94rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ukep-video-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ukep-video-testimonials-section {
    padding: 56px 0 70px;
  }

  .ukep-video-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ukep-video-testimonials-heading {
    text-align: left;
  }
}
/* UKEP VIDEO TESTIMONIALS SECTION END */


/* UKEP DISCLAIMER FULL CONTENT START */
.ukep-disclaimer-content {
  background: #ffffff;
  padding: clamp(56px, 7vw, 88px) 0;
}

.ukep-disclaimer-card {
  max-width: 960px;
  margin: 0 auto 42px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 18px;
  background: #f3f7fc;
  border: 1px solid rgba(11, 42, 74, 0.12);
}

.ukep-disclaimer-card p {
  margin: 0;
  color: #40566f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.ukep-disclaimer-card strong {
  color: #071b3a;
}

.ukep-disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.ukep-disclaimer-grid article {
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(11, 42, 74, 0.1);
  box-shadow: 0 14px 32px rgba(7, 27, 58, 0.055);
}

.ukep-disclaimer-grid h2,
.ukep-disclaimer-note h2 {
  margin: 0 0 12px;
  color: #071b3a;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.ukep-disclaimer-grid p,
.ukep-disclaimer-note p {
  margin: 0;
  color: #52677e;
  font-size: 0.98rem;
  line-height: 1.75;
}

.ukep-disclaimer-note {
  max-width: 960px;
  margin: 34px auto 0;
  padding: clamp(28px, 4vw, 38px);
  border-radius: 20px;
  background: #071b3a;
  color: #ffffff;
  text-align: center;
}

.ukep-disclaimer-note h2 {
  color: #ffffff;
}

.ukep-disclaimer-note p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.84);
}

.ukep-disclaimer-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #071b3a;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .ukep-disclaimer-grid {
    grid-template-columns: 1fr;
  }

  .ukep-disclaimer-grid article {
    padding: 24px;
  }
}
/* UKEP DISCLAIMER FULL CONTENT END */

/* UKEP FOOTER LINK SPACING FIX START */
.footer-pro-links a,
.footer-pro-services a {
  display: block !important;
  margin-bottom: 10px !important;
}

.footer-pro-links a:last-child,
.footer-pro-services a:last-child {
  margin-bottom: 0 !important;
}
/* UKEP FOOTER LINK SPACING FIX END */
