@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* =========================================
   MONEY SMART KIDS - MAIN THEME
   Navy   #02153D
   Purple #4B227A
   Cyan   #0197AF
   Aqua   #00EED0
========================================= */

:root {
  --navy: #02153d;
  --navy-2: #0d275a;
  --purple: #4b227a;
  --purple-2: #64329b;
  --cyan: #0197af;
  --aqua: #00eed0;
  --white: #ffffff;
  --paper: #f7fbfc;
  --ink: #203544;
  --muted: #5d7484;
  --border: #d7e6ea;
  --shadow: rgba(2, 21, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 'DM Sans', Arial, sans-serif;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  color: var(--navy);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: var(--purple);
  font-style: normal;
}

p {
  line-height: 1.7;
}

em {
  font-style: normal;
}

/* =========================================
   HEADER
========================================= */

.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(5%, calc((100vw - 1350px) / 2));
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 20px var(--shadow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  line-height: 1;
}

.brand-mark {
  font-size: 2.7rem;
  color: var(--aqua);
  line-height: 1;
}

.brand strong {
  display: block;
  font: 800 1.3rem/1 'Outfit', sans-serif;
}

.brand small {
  display: block;
  font: 600 1rem/1.1 'Outfit', sans-serif;
}

.company-logo {
  display: block;
  width: auto;
  height: 200px;
}

.footer-logo {
  height: 65px;
}

.nav {
  display: flex;
  gap: clamp(16px, 2.7vw, 40px);
  align-items: center;
}

.nav a {
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--aqua);
}

.nav a.active {
  position: relative;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 3px;
  background: var(--aqua);
}

.header-cta {
  padding: 12px 20px;
  background: var(--aqua);
  color: var(--navy);
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: 0.2s ease;
}

.header-cta span {
  margin-left: 6px;
}

.header-cta:hover {
  background: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 21, 61, 0.2);
}

.menu {
  display: none;
  color: var(--white);
}

/* =========================================
   BUTTONS
========================================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 50px;
  padding: 15px 25px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 21, 61, 0.2);
}

.yellow {
  background: var(--aqua);
  color: var(--navy);
}

.yellow:hover {
  background: var(--cyan);
  color: var(--white);
}

/* Bring MSK to Your School button */
.hero .btn.outline {
  background: transparent;
  border: 1.5px solid #8297B5;
  color: #FFFFFF;
}

.hero .btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.teal,
.dark {
  background: var(--purple);
  color: var(--white);
}

/* =========================================
   HOME HERO
========================================= */

.hero {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 40px;
  min-height: 585px;
  overflow: hidden;
  padding-right: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--purple) 100%);
}

.hero-copy {
  align-self: center;
  padding: 75px 4% 65px max(10%, calc((100vw - 1350px) / 2));
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--purple);
}

.hero .eyebrow {
  color: var(--aqua);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 5.7vw, 6.3rem);
  letter-spacing: -0.06em;
  margin: 20px 0;
}

.hero h1 em {
  color: var(--aqua);
}

.hero p {
  max-width: 520px;
  font-size: 1.18rem;
  color: #eaf8f7;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 8px;
}

.hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


.hero-art {
  position: relative;
  width: 100%;
  height: 580px;
  min-height: 0;

  /* sejajarkan atas gambar dengan tajuk Smart with Money */
  align-self: start;
  margin: 84px 0 0;

  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);

}

.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
}

.hero-note {
  position: absolute;
  right: 5%;
  bottom: 8%;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 35px rgba(2, 21, 61, 0.2);
  transform: rotate(-4deg);
  font: 600 1rem/1.35 'Outfit', sans-serif;
  color: var(--navy);
  border-radius: 9px;
}

.hero-note strong {
  color: var(--purple);
}

/* =========================================
   BENEFITS
========================================= */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px max(5%, calc((100vw - 1350px) / 2));
  background: var(--white);
}

.benefits > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefits b {
  display: grid;
  place-items: center;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #e9f8fb;
  color: var(--cyan);
  font-size: 1.8rem;
}

.benefits strong,
.benefits small {
  display: block;
}

.benefits strong {
  color: var(--navy);
  font-size: 0.94rem;
}

.benefits small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
  padding: 48px max(5%, calc((100vw - 1350px) / 2));
}

.section-intro p,
.section-heading > p,
.feature-description p,
.programme-card p,
.partner-grid p,
.page-hero p,
.contact-copy > p,
.gallery-callout p {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 10px 0 0;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 6px;
}

/* =========================================
   FEATURE TEASER
========================================= */

.feature-teaser {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 30px;
  align-items: center;
  background: var(--white);
    /* Kurangkan jarak dengan section atas */
  margin-top: -60px;
}

.feature-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  transform: translateY(20px);
  background: linear-gradient(
    180deg,
    var(--white) 100%,
    var(--purple) 0%
  );
}

.feature-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-label {
  position: absolute;
  top: 28px;
  left: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.feature-label > span {
  font: 800 1.65rem Georgia, serif;
  color: var(--aqua);
}

.feature-label small,
.feature-label strong {
  display: block;
}

.feature-label small {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #c8fbf5;
}

.feature-label strong {
  font: 700 1.5rem Georgia, serif;
  color: var(--white);
}

.video-pending {
  position: absolute;
  left: 38px;
  bottom: 28px;
  margin: 0;
  color: #e1f7f5;
  font-size: 0.9rem;
}

.feature-description {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-description .eyebrow {
  color: var(--cyan);
}

.feature-description h2 {
  font: 700 clamp(2rem, 2.4vw, 2.75rem)/1.12 Georgia, serif;
  letter-spacing: -0.02em;
  margin: 22px 0;
}

.feature-description h2 {
  margin: 18px 0 20px;
}

.feature-description ul {
  margin: 24px 0;
}

.feature-description li {
  padding-top: 12px;
  padding-bottom: 12px;
}

.feature-description li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.feature-link {
  margin-top: 6px;
  align-self: flex-start;
}

.feature-link:hover {
  color: var(--purple);
}

/* =========================================
   WHY MONEY SMART KIDS - NEW LAYOUT
========================================= */

.why-modern {
  display: grid;
  grid-template-columns: 39% 1fr;
  gap: 55px;
  align-items: start;
  padding: 80px max(5%, calc((100vw - 1350px) / 2));
  background: #f4f9fb;
}

.why-copy {
  padding-top: 5px;
}

.why-eyebrow {
  display: block;
  margin-bottom: 22px;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.why-copy h2 {
  margin: 0 0 24px;
  max-width: 580px;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: clamp(3rem, 4.2vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--navy);
}

.why-copy h2 em {
  display: block;
  color: var(--purple);
  font-style: normal;
}

.why-copy p {
  max-width: 590px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

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

.why-card {
  min-height: 270px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(2, 21, 61, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 18px 35px rgba(2, 21, 61, 0.10);
}

.why-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan), var(--aqua));
  color: var(--navy);
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.why-card h3 {
  margin: 0 0 12px;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .why-modern {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .why-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .why-modern {
    padding: 65px 6%;
  }

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

  .why-card {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .why-modern {
    padding: 55px 6%;
  }

  .why-copy h2 {
    font-size: 2.8rem;
  }

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

  .why-card {
    min-height: auto;
    padding: 24px;
  }

  .why-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
}


/* =========================================
   PROGRAMMES
========================================= */

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

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

.programme-card {
  padding: 30px;
  border-radius: 20px;
  min-height: 405px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.programme-card:hover {
  transform: translateY(-5px);
}

.mint {
  background: #ebfcfd;
}

.cream {
  background: #f3ecfa;
}

.blue {
  background: #e8f7fb;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.circle {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.8rem;
  color: var(--cyan);
}

.programme-card h3 {
  font-size: 2.4rem;
  margin: 25px 0 15px;
}

.programme-card a {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(2, 21, 61, 0.12);
  font-weight: 800;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
}

.programme-card a:hover {
  color: var(--purple);
}

/* =========================================
   EXPERIENCE
========================================= */

.experience {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.experience h2,
.experience p {
  color: var(--white);
}

.experience h2 em {
  color: var(--aqua);
}

.experience p {
  max-width: 530px;
}

.cycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cycle div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 70px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}

.cycle b {
  color: var(--aqua);
  font-size: 0.8rem;
}

.cycle strong {
  font: 700 clamp(0.85rem, 1.3vw, 1.2rem) 'Outfit', sans-serif;
}

/* =========================================
   LOCATIONS
========================================= */

.locations {
  background: #eef8fa;
}

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

.location-grid a {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: 14px;
  color: var(--navy);
  font: 700 1.15rem 'Outfit', sans-serif;
  display: flex;
  justify-content: space-between;
  transition: 0.2s ease;
}

.location-grid a:hover {
  background: var(--aqua);
  color: var(--navy);
}

.fine {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 18px 0 0;
}

/* =========================================
   PARENTS
========================================= */

.parents {
  background: var(--white);
  text-align: center;
}

.parents h2 {
  margin: 12px 0 35px;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
  text-align: left;
}

.parent-grid > div {
  border-top: 4px solid var(--aqua);
  padding: 22px;
  background: #f5fbfc;
  border-radius: 0 0 12px 12px;
}

.parent-grid strong {
  font: 700 1.3rem 'Outfit', sans-serif;
  color: var(--navy);
}

.parent-grid p {
  margin: 8px 0 0;
}

/* =========================================
   PARTNERSHIP
========================================= */

.partnership {
  background: #f3ecfa;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.partner-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 16px;
  min-height: 245px;
}

.partner-grid span {
  font-weight: 800;
  color: var(--cyan);
}

.partner-grid h3 {
  font-size: 1.4rem;
  margin: 25px 0 10px;
}

.partner-promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
  background: var(--white);
}

.partner-promise p {
  font-size: 1.1rem;
  color: var(--muted);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Menengahkan butang di dalam kontainer */
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  width: 100%;
}

/* =========================================
   CONTACT STRIP
========================================= */

.contact {
  background: linear-gradient(115deg, #d9fffa, #ebfcfd);
  padding: 80px max(5%, calc((100vw - 1350px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.contact .eyebrow {
  color: var(--purple);
}

.contact h2 {
  margin: 12px 0;
}

.contact h2 em {
  color: var(--purple);
}

.contact p {
  max-width: 630px;
  margin: 0;
}

.contact .fine {
  grid-column: 1 / -1;
  font-size: 0.75rem;
}

/* =========================================
   INNER PAGE HERO
========================================= */

.page-hero {
  padding: clamp(75px, 10vw, 135px) max(5%, calc((100vw - 1350px) / 2));
  background: linear-gradient(115deg, #e9f7fb 0%, #ffffff 55%, #d9fffa 100%);
  min-height: 430px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.page-hero h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  letter-spacing: -0.055em;
  margin: 16px 0 24px;
}

.page-hero h1 em {
  color: var(--purple);
}

.page-hero .eyebrow {
  color: var(--cyan);
}

.page-hero-navy {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white);
}

.page-hero-navy h1,
.page-hero-navy p {
  color: var(--white);
}

.page-hero-navy h1 em,
.page-hero-navy .eyebrow {
  color: var(--aqua);
}

/* =========================================
   GALLERY
========================================= */

.gallery-section {
  background: #eef8fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
}

.gallery-grid figure {
  margin: 0;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #dceef1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 20px;
  border-radius: 15px;
  background: rgba(2, 21, 61, 0.9);
  color: var(--white);
}

.gallery-grid figcaption strong,
.gallery-grid figcaption span {
  display: block;
}

.gallery-grid figcaption strong {
  font: 700 1.2rem 'Outfit', sans-serif;
}

.gallery-grid figcaption span {
  margin-top: 4px;
  color: #d7f7f3;
  font-size: 0.9rem;
}

.gallery-wide {
  grid-column: 1 / -1;
}

.gallery-callout {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(30px, 5vw, 70px);
  border-radius: 24px;
  background: var(--white);
}

.gallery-callout h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 15px 0;
}

/* =========================================
   CONTACT PAGE
========================================= */

.contact-page {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(70px, 9vw, 130px) max(5%, calc((100vw - 1350px) / 2));
  background: linear-gradient(135deg, var(--paper), #edf8fa);
}

.contact-copy h1 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  letter-spacing: -0.055em;
  margin: 18px 0 24px;
}

.contact-copy h1 em {
  color: var(--purple);
}

.contact-copy > p {
  max-width: 690px;
  font-size: 1.1rem;
}

.contact-paths {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-paths a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  transition: 0.2s ease;
}

.contact-paths a:hover {
  background: #ecfffc;
  border-color: var(--aqua);
  transform: translateX(4px);
}

.contact-paths small,
.contact-paths strong {
  display: block;
}

.contact-paths small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--purple);
}

.contact-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--navy), var(--purple));
  color: var(--white);
}

.contact-card h2 {
  color: var(--white);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 16px 0;
}

.contact-card p {
  color: #e3f6f4;
}

.contact-card .fine {
  color: #d7f7f3;
}

.contact-card .btn {
  white-space: normal;
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px max(5%, calc((100vw - 1350px) / 2)) 20px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-main .brand {
  color: var(--white);
}

.footer-main .brand-mark {
  color: var(--aqua);
}

.footer-main p {
  margin: 0;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9rem;
}

.footer-main a:hover,
footer a:hover {
  color: var(--aqua);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 50px;
  padding-top: 20px;
  color: #cce3e7;
  font-size: 0.8rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {
  .header-cta {
    display: none;
  }

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

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

  .skill-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .cycle {
    max-width: 720px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .feature-teaser,
  .partner-promise,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 420px;
  }

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

  .gallery-grid figure {
    min-height: 350px;
  }

  .nav a.active::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .header {
    height: 72px;
    padding: 0 5%;
  }

  .company-logo {
    height: 200px;
  }

  .footer-logo {
    height: 55px;
  }

  .menu {
    display: block;
    background: none;
    border: 0;
    font-size: 1.8rem;
    cursor: pointer;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5% 22px;
    background: var(--navy);
    box-shadow: 0 10px 20px rgba(2, 21, 61, 0.2);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 3px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-right: 0;
  }

  .hero-copy {
    padding: 64px 6% 25px;
  }

  .hero h1 {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .hero-art {
    width: calc(100% - 12%);
    height: 390px;
    margin: 20px 6% 50px;
  }

  .hero-note {
    bottom: 5%;
    font-size: 0.85rem;
  }

  .benefits {
    gap: 16px;
    padding: 28px 6%;
  }

  .benefits b {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .benefits > div {
    gap: 9px;
  }

  .benefits small {
    font-size: 0.73rem;
  }

  .section {
    padding: 70px 6%;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .skill-grid,
  .cards,
  .parent-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid > div {
    min-height: auto;
  }

  .programme-card {
    min-height: 360px;
  }

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

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

  .cycle div {
    height: 112px;
  }

  .cycle strong {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .contact {
    padding: 70px 6%;
    grid-template-columns: 1fr;
  }

  .contact .fine {
    grid-column: 1;
  }

  .page-hero {
    min-height: 350px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .contact-page {
    padding: 65px 6%;
  }

  .contact-copy h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .footer-main {
    display: grid;
    gap: 30px;
  }

  .footer-main nav {
    gap: 18px;
  }

  .footer-bottom {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .feature-media {
    min-height: 330px;
    border-radius: 22px;
  }

  .feature-label {
    left: 22px;
    top: 22px;
  }

  .video-pending {
    left: 22px;
    bottom: 20px;
  }

  .feature-description {
    border-radius: 22px;
    padding: 25px;
  }
}

@media (max-width: 420px) {
  .benefits,
  .location-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 320px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    white-space: normal;
  }

  .cycle strong {
    font-size: 0.75rem;
  }
}

@media (max-width: 700px) {
  .hero-foot {
    gap: 10px 10px;
  }

  .hero-foot span {
    padding: 12px 18px;
    font-size: 0.84rem;
  }
}

@media (max-width: 700px) {
  .company-logo {
    height: 200px;
  }
}
/* =========================================
   PROGRAMMES PAGE - MERGED EDITS
   Scoped to .programmes-page-body so Home stays unchanged.
========================================= */

.programmes-page-body .programme-page-hero {
  display: grid;

  /* kiri sedikit lebih besar daripada kanan */
  grid-template-columns: 1.15fr 0.85fr;

  align-items: center;
  gap: 45px;

  /* penuh satu screen selepas navbar */
  min-height: calc(100vh - 88px);

  /* ruang tepi supaya masih nampak terapung */
  padding: 45px 6%;

  background: linear-gradient(
    135deg,
    #eef8fa 0%,
    #ffffff 56%,
    #e9e4f3 100%
  );
}

.programmes-page-body .programme-page-hero .hero-text {
  min-width: 0;
}

.programmes-page-body .programme-page-hero h1 {
  margin: 20px 0 28px;
  font-size: clamp(7.5rem, 7vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.programmes-page-body .programme-page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.programmes-page-body .programme-page-hero .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.programmes-page-body .programme-page-hero .hero-image img {
  width: 100%;
  max-width: 650px;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(2, 21, 61, 0.18);
}

.programmes-page-body .programmes-page {
  padding: 48px max(5%, calc((100vw - 1350px) / 2));
  background: var(--white);
}

.programmes-page-body .program-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.programmes-page-body .program-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
}

.programmes-page-body .program-row.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.programmes-page-body .program-row.reverse .programme-visual {
  order: 2;
}

.programmes-page-body .program-row.reverse .program-info {
  order: 1;
}

.programmes-page-body .programme-visual {
  width: 100%;
  min-height: 430px;
  padding: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #d5f3f7;
  box-shadow: 0 16px 38px rgba(2, 21, 61, 0.08);
}

.programmes-page-body .programme-visual.program-2 {
  background: #eee6f7;
}

.programmes-page-body .programme-visual > img {
  width: 100%;
  height: 245px;
  display: block;
  object-fit: cover;
  margin-bottom: 24px;
}

.programmes-page-body .programme-visual .card-top,
.programmes-page-body .programme-visual h3 {
  margin-left: 28px;
  margin-right: 28px;
}

.programmes-page-body .programme-visual h3 {
  margin-bottom: 0;
}

.programmes-page-body .program-info {
  max-width: 650px;
}

.programmes-page-body .program-info h2 {
  margin: 12px 0 20px;
  font-size: clamp(2.7rem, 4.2vw, 4.8rem);
}

.programmes-page-body .program-info p {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.05rem;
}

.programmes-page-body .program-info > a,
.programmes-page-body .school-partnership {
  display: inline-flex !important;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 12px 0;
  border-bottom: 2px solid var(--cyan);
  color: var(--navy);
  font-weight: 800 !important;
  text-align: left !important;
}

.programmes-page-body .program-info > a:hover,
.programmes-page-body .school-partnership:hover {
  color: var(--purple);
}

.programmes-page-body .school-programme-callout {
  margin-top: 80px;
  padding: clamp(35px, 5vw, 65px);
  border-radius: 28px;
  background: linear-gradient(135deg, #eef8fa, #f3ecfa);
  text-align: center;
}

.programmes-page-body .school-programme-callout h2 {
  max-width: 800px;
  margin: 12px auto 18px;
  font-size: clamp(2.5rem, 4vw, 4.4rem);
}

.programmes-page-body .school-description {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
}

.programmes-page-body .school-partnership {
  margin-top: 22px;
}

@media (max-width: 900px) {
  .programmes-page-body .programme-page-hero,
  .programmes-page-body .program-row,
  .programmes-page-body .program-row.reverse {
    grid-template-columns: 1fr;
  }

  .programmes-page-body .programme-page-hero .hero-image {
  width: 100%;
  max-width: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

.programmes-page-body .programme-page-hero .hero-image img {
  width: 100%;

  /* samakan tinggi dengan box kiri */
  height: 680px;

  object-fit: cover;
  object-position: center;

  display: block;

  border-radius: 32px;

  box-shadow: 0 18px 45px rgba(2, 21, 61, 0.15);
}
  .programmes-page-body .program-row.reverse .programme-visual,
  .programmes-page-body .program-row.reverse .program-info {
    order: initial;
  }
}

@media (max-width: 700px) {
  .programmes-page-body .programme-page-hero {
    padding: 60px 6%;
  }

 .programmes-page-body .programme-page-hero h1 {
  margin: 20px 0 28px;
  font-size: clamp(7.5rem, 7vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

  .programmes-page-body .programme-page-hero .hero-image img {
    height: 300px;
  }

  .programmes-page-body .programmes-page {
    padding: 65px 6%;
  }

  .programmes-page-body .program-list {
    gap: 55px;
  }

  .programmes-page-body .programme-visual {
    min-height: auto;
  }

  .programmes-page-body .programme-visual > img {
    height: 220px;
  }
}




/* =========================================================
   GALLERY PAGE ONLY
   Scoped to .gallery-page so Home and Programmes stay intact.
========================================================= */
.gallery-page .gallery-action-section {
    padding: 82px max(5%, calc((100vw - 1350px) / 2)) 95px;
    background: #f3f4f6;
}

.gallery-page .gallery-action-inner {
    width: min(100%, 720px);
    margin: 0 auto;
}

.gallery-page .gallery-action-inner > h2 {
    margin: 0 0 30px;
    color: #16324f;
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: clamp(2.25rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: center;
}

.gallery-page .gallery-video-frame {
    width: min(100%, 360px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    background: #2f2f2f;
    box-shadow: 0 18px 38px rgba(7, 26, 51, 0.18);
}

.gallery-page .gallery-video-frame video {
    width: 100%;
    aspect-ratio: 9 / 16;
    display: block;
    background: #2f2f2f;
    object-fit: contain;
}

@media (max-width: 700px) {
    .gallery-page .gallery-action-section {
        padding: 58px 6% 70px;
    }

    .gallery-page .gallery-action-inner > h2 {
        margin-bottom: 22px;
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .gallery-page .gallery-video-frame {
        border-radius: 16px;
    }
}

/* =========================================================
   GALLERY LOCATIONS + CALLOUT — MATCH REFERENCE DESIGN
   Scoped to Gallery only so other pages remain unchanged.
========================================================= */
.gallery-page .locations {
    width: calc(100% - 10%);
    max-width: 1250px;
    margin: 70px auto 48px;
    padding: 36px 50px 38px;
    border-radius: 24px;
    background: linear-gradient(120deg, #071f3d 0%, #123663 62%, #39236f 100%);
    box-shadow: 0 20px 45px rgba(7, 26, 51, 0.14);
}

.gallery-page .locations .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
    align-items: end;
    gap: 55px;
    margin-bottom: 24px;
}

.gallery-page .locations .section-heading > div {
    min-width: 0;
}

.gallery-page .locations .eyebrow {
    color: #00eed0;
}

.gallery-page .locations .section-heading h2 {
    max-width: 720px;
    margin: 16px 0 0;
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 4.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    white-space: normal;
}

.gallery-page .locations .section-heading h2 em {
    color: #f4c95d;
    font-style: normal;
    text-decoration: underline;
    text-decoration-thickness: 8px;
    text-underline-offset: 10px;
}

.gallery-page .locations .section-heading p {
    max-width: 350px;
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.55;
}

.gallery-page .locations .location-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.gallery-page .locations .location-card {
    min-height: 88px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #071f3d;
    background: #ffffff;
    border: 1px solid rgba(7, 31, 61, 0.12);
    border-radius: 14px;
    font: 700 1rem 'Outfit', 'DM Sans', sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gallery-page .locations .location-card:first-child {
    background: #fffaf0;
    border-color: #f4c95d;
}

.gallery-page .locations .location-card span:last-child {
    color: #0197af;
    font-size: 1.1rem;
}

.gallery-page .locations .location-card:hover {
    color: #071f3d;
    background: var(--aqua);
    border-color: var(--aqua);
    transform: translateY(-4px);
}

.gallery-page .gallery-callout {
    width: calc(100% - 28%);
    max-width: 960px;
    min-height: 280px;
    margin: 0 auto 80px;
    padding: 45px 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1.5px solid #f4c95d;
    border-radius: 20px;
    background: #fff7dc;
    box-shadow: 0 18px 40px rgba(7, 26, 51, 0.1);
}

.gallery-page .gallery-callout .eyebrow {
    color: #4b227a;
}

.gallery-page .gallery-callout h2 {
    margin: 14px 0 12px;
    color: #12345b;
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.gallery-page .gallery-callout p {
    max-width: 680px;
    margin: 0 auto 22px;
    color: #40556c;
    line-height: 1.6;
}

.gallery-page .gallery-callout .btn {
    margin: 0 auto;
}

@media (max-width: 1050px) {
    .gallery-page .locations .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-page .locations .section-heading p {
        max-width: 620px;
    }

    .gallery-page .locations .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-page .gallery-callout {
        width: calc(100% - 12%);
    }
}

@media (max-width: 620px) {
    .gallery-page .locations {
        width: calc(100% - 24px);
        margin: 42px auto 32px;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .gallery-page .locations .section-heading h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .gallery-page .locations .location-grid {
        grid-template-columns: 1fr;
    }

    .gallery-page .gallery-callout {
        width: calc(100% - 24px);
        min-height: 0;
        margin-bottom: 55px;
        padding: 40px 22px;
    }

    .gallery-page .gallery-callout h2 {
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }
}

.skills-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.skills-list li {
  position: relative;
  margin-bottom: 22px;
  padding-left: 42px;
  color: #16324f;
  font-size: 18px;
  line-height: 1.6;
}

/* Ikon bulat turquoise */
.skills-list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;
  border-radius: 50%;

  background: #00dfcb;
  color: #071a33;
  font-size: 15px;
  font-weight: 900;
}

.skills-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 15px;

  margin: 0 0 22px;
  padding: 0;

  color: #16324f;
  font-size: 17px;
  line-height: 1.5;
}

.skills-list li::before {
  content: "✓";
  position: static;

  /* Menghalang ikon menjadi silinder */
  flex: 0 0 26px;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  aspect-ratio: 1 / 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;
  border-radius: 50%;

  background-color: #00dfcb;
  color: #071a33;

  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* =========================================================
   PROGRAMMES PAGE - FAMILY TESTIMONIAL VIDEOS
   Uses the existing Money Smart Kids colour theme.
========================================================= */

.programmes-page-body .family-stories {
  padding: clamp(70px, 8vw, 110px) max(5%, calc((100vw - 1350px) / 2));
  background: linear-gradient(135deg, #edf9fa 0%, #f7fbfc 52%, #f1ebf8 100%);
}

.programmes-page-body .family-stories-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(28px, 6vw, 90px);
  margin-bottom: 42px;
}

.programmes-page-body .family-stories-number {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
}

.programmes-page-body .family-stories .eyebrow {
  display: block;
  color: var(--cyan);
}

.programmes-page-body .family-stories h2 {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.programmes-page-body .family-stories-heading > p {
  max-width: 470px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.programmes-page-body .family-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.programmes-page-body .family-video-card {
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(2, 21, 61, 0.16);
}

.programmes-page-body .family-video-card:nth-child(2) {
  background: linear-gradient(135deg, var(--navy-2), var(--purple));
}

.programmes-page-body .family-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061d49;
  object-fit: cover;
}

.programmes-page-body .family-video-copy {
  min-height: 190px;
  padding: 28px 30px 32px;
  color: var(--white);
}

.programmes-page-body .family-video-copy span {
  display: block;
  margin-bottom: 9px;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.programmes-page-body .family-video-copy h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.programmes-page-body .family-video-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.programmes-page-body .family-video-note {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 850px) {
  .programmes-page-body .family-stories-heading,
  .programmes-page-body .family-video-grid {
    grid-template-columns: 1fr;
  }

  .programmes-page-body .family-stories-heading {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .programmes-page-body .family-stories {
    padding: 60px 6%;
  }

  .programmes-page-body .family-video-card {
    border-radius: 21px;
  }

  .programmes-page-body .family-video-copy {
    min-height: 0;
    padding: 24px 22px 27px;
  }
}

.location-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.location-gallery img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  background: #dce7eb;
}

.location-gallery img:first-child {
  grid-column: span 2;
  height: 470px;
}

@media (max-width: 700px) {
  .location-gallery {
    grid-template-columns: 1fr;
  }

  .location-gallery img:first-child {
    grid-column: auto;
    height: 300px;
  }

  .location-gallery img {
    height: 260px;
  }
}

/* =========================================
   FIND A PROGRAMME DROPDOWN
========================================= */

.programme-dropdown {
  position: relative;
  z-index: 1000;
}

/* Buang anak panah asal details */
.programme-dropdown summary {
  list-style: none;
  cursor: pointer;
}

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

.programme-dropdown .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 220px;
  padding: 16px 25px;
  border: 0;
  border-radius: 50px;

  background: var(--aqua);
  color: var(--navy);

  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.programme-dropdown .header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 238, 208, 0.2);
}

.programme-dropdown .dropdown-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

/* Pusing ikon apabila dropdown dibuka */
.programme-dropdown[open] .dropdown-arrow {
  transform: rotate(180deg);
}

/* Kotak pilihan */
.programme-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;

  width: 285px;
  padding: 10px;

  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;

  box-shadow: 0 18px 45px rgba(2, 21, 61, 0.18);
}

/* Segi tiga kecil di atas dropdown */
.programme-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 32px;

  width: 14px;
  height: 14px;

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: #ffffff;

  transform: rotate(45deg);
}

.programme-dropdown-menu a {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;

  padding: 15px 14px;
  border-radius: 12px;

  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease;
}

.programme-dropdown-menu a:hover {
  background: #e8fbfd;
}

.programme-dropdown-menu a + a {
  border-top: 1px solid var(--border);
}

.programme-dropdown-menu a > span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.programme-dropdown-menu strong {
  font-size: 15px;
}

/* Telefon */
@media (max-width: 900px) {
  .programme-dropdown {
    width: 100%;
  }

  .programme-dropdown .header-cta {
    width: 100%;
  }

  .programme-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .programme-dropdown-menu::before {
    display: none;
  }
}

.programme-dropdown {
  width: fit-content;
}

.programme-dropdown .header-cta {
  width: auto;
  min-width: 0;
  padding: 13px 22px;
  font-size: 15px;
  white-space: nowrap;
}

.programme-dropdown {
  display: inline-block !important;
  width: max-content !important;
}

.programme-dropdown .header-cta {
  display: inline-flex !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;

  align-items: center !important;
  justify-content: center !important;

  gap: 0 !important;
  padding: 12px 20px !important;
  margin: 0 !important;

  font-size: 15px;
  white-space: nowrap;
}

:root {
    --navy: #02153d;
    --navy2: #0d275a;
    --purple: #4b227a;
    --cyan: #0197af;
    --aqua: #00eed0;
    --yellow: #f4c95d;
    --paper: #f7fbfc;
    --white: #fff;
    --ink: #203544;
    --muted: #5d7484;
    --border: #d7e6ea
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 "DM Sans", Arial, sans-serif
}

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

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--navy);
    font-family: "Outfit", "DM Sans", sans-serif;
    line-height: 1.05
}

.header {
    height: 88px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 35px;
    background: var(--navy);
    color: #fff
}

.brand {
    margin-right: auto
}

.company-logo {
    display: block;
    width: auto;
    height: 200px
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-weight: 700
}

.nav a:hover,
.nav a.active {
    color: var(--aqua)
}

.programme-dropdown {
    position: relative;
    width: max-content
}

.programme-dropdown summary {
    display: inline-flex;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--aqua);
    color: var(--navy);
    font-weight: 800;
    list-style: none;
    cursor: pointer
}

.programme-dropdown summary::-webkit-details-marker {
    display: none
}

.programme-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    width: 260px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px #02153d2b
}

.programme-dropdown-menu a {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 8px;
    padding: 14px;
    border-radius: 10px;
    color: var(--navy)
}

.programme-dropdown-menu a:hover {
    background: #e8fbfd
}

.programme-dropdown-menu span {
    color: var(--cyan);
    font-weight: 800
}

.programme-dropdown-menu a+a {
    border-top: 1px solid var(--border)
}

.programme-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;

    padding: 45px 5% 45px;

    /* background yellow 1day program */
    background: linear-gradient(
        135deg,
        #FFF8DC 0%,
        #fbf2cd 100%
    );

    min-height: 500px;
}

.programme-hero-copy {
    max-width: 600px
}

.eyebrow {
    color: #00BFCB;
    font-size: 13px;
    letter-spacing: 4px;
    font-weight: 900;
}

.programme-hero h1 {
    font-size: clamp(6.0rem, 5vw, 7rem);
    line-height: 0.95;
    color: #071A4A;
    margin-bottom: 30px;
}
.programme-hero h1 em {
    color: #542A8A;
    font-style: normal;
}

.programme-hero p {
    max-width: 650px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 1.12rem
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 15px 24px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--navy);
    font-weight: 800
}

.programme-hero-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 20px 45px #02153d26
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 35px 6%;
    gap: 30px;
}


.quick-fact {
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 1px solid #dbe5e8;
}


.quick-fact:last-child {
    border-right: none;
}

.fact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #DDF8F8;

    display: flex;
    justify-content: center;
    align-items: center;
}

.fact-icon i {
    font-size: 26px;
    color: #00B8C8;
}

.quick-fact small {
    display: block;
    color: #00AFC0;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quick-fact strong {
    color: #071A4A;
    font-size: 18px;
}

.detail-section {
    padding: 30px max(5%, calc((100vw - 1320px)/2));
    background: #fff
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .75fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 20px
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    letter-spacing: -.045em
}

.section-heading h2 em {
    color: var(--purple);
    font-style: normal
}

.section-heading p {
    margin: 0;
    color: var(--muted)
}

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

.info-card {
    min-height: 210px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--paper)
}

.info-card span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 27px;
    border-radius: 50%;
    background: var(--aqua);
    color: var(--navy);
    font-weight: 900
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem
}

.info-card p {
    margin: 0;
    color: var(--muted)
}

.journey-section {
    padding: 90px max(5%, calc((100vw - 1320px)/2));
    background: linear-gradient(135deg, var(--navy), var(--navy2) 55%, var(--purple));
    color: #fff
}

.journey-section h2 {
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 5rem)
}

.journey-section .eyebrow {
    color: var(--aqua)
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px
}

.journey-card {
    padding: 28px;
    border: 1px solid #ffffff24;
    border-radius: 20px;
    background: #ffffff0d
}

.journey-card span {
    color: var(--aqua);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em
}

.journey-card h3 {
    margin: 13px 0 9px;
    color: #fff
}

.journey-card p {
    margin: 0;
    color: #ffffffbf
}

.outcomes {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 30px max(5%, calc((100vw - 1320px)/2));
    background: #f3f3f2ef
}

.outcomes h2 {
    font-size: clamp(2.7rem, 5vw, 4.8rem)
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 25px;
    border: 2.5px solid var(--border);
    border-radius: 20px;
    color: var(--navy);
    font-weight: 700
}

.check-list li::before {
    content: "✓";
    display: grid;
    place-items: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--aqua)
}

/* =========================================================
   PROGRAMME CTA BANNER
   ========================================================= */

.programme-cta {
    position: relative;
    width: min(1160px, calc(100% - 10%));
    min-height: 275px;

    margin: 0 auto 80px;
    padding: 10px 55px;

    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 260px;
    align-items: center;
    gap: 25px;

    overflow: hidden;

    background: #fff1a8;
    border: 1px solid #f4c95d;
    border-radius: 32px;

    box-shadow: 0 18px 40px rgba(7, 26, 51, 0.10);
}


/* =========================================================
   LEFT IMAGE
   ========================================================= */

.programme-cta-image {
    position: relative;
    align-self: stretch;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    margin-left: -30px;
    margin-bottom: -35px;
}

.programme-cta-image img {
    display: block;

    width: 100%;
    max-width: 310px;
    height: 330px;

    object-fit: contain;
    object-position: bottom center;
}


/* =========================================================
   CENTER CONTENT
   ========================================================= */

.programme-cta-content {
    position: relative;
    z-index: 3;

    text-align: center;
}

.programme-cta-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #00a99d;

    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.22em;
}

.programme-cta-content h2 {
    margin: 0 0 12px;

    color: #071d49;

    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: clamp(3.0rem, 4vw, 4rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.045em;
}

.programme-cta-content p {
    max-width: 560px;

    margin: 0 auto 17px;

    color: #536b80;

    font-size: 0.86rem;
    line-height: 1.45;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.programme-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 12px 22px;

    border-radius: 999px;

    background: #06265b;
    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 800;

    box-shadow: 0 8px 18px rgba(2, 21, 61, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.programme-cta-button span {
    font-size: 1rem;
}

.programme-cta-button:hover {
    background: #4b227a;

    transform: translateY(-2px);

    box-shadow: 0 12px 24px rgba(2, 21, 61, 0.20);
}

/* Small Skills Bright Futures */

.future-text {
    position: absolute;

    right: 0;
    bottom: 15px;

    color: #071d49;

    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    font-weight: 800;

    line-height: 0.95;
    letter-spacing: -0.04em;

    transform: rotate(-3deg);
}

@media (max-width: 900px) {

    .programme-cta {
        width: calc(100% - 10%);
        grid-template-columns: 220px 1fr;

        min-height: 300px;

        padding: 35px 30px;
    }

    .programme-cta-image {
        margin-left: -35px;
        margin-bottom: -35px;
    }

    .programme-cta-image img {
        max-width: 240px;
        height: 300px;
    }

    .programme-cta-content {
        text-align: left;
    }

    .programme-cta-content p {
        margin-left: 0;
    }

    .programme-cta-button {
        font-size: 0.78rem;
    }
}


@media (max-width: 620px) {

    .programme-cta {
        width: calc(100% - 30px);
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 0 24px 30px;
        border-radius: 24px;
        text-align: center;
    }

    .programme-cta-image {
        width: 100%;
        height: 220px;
        margin: 0;
        align-items: flex-end;
    }

    .programme-cta-image img {
        width: auto;
        max-width: 230px;
        height: 245px;
    }

    .programme-cta-content {
        text-align: center;
    }

    .programme-cta-eyebrow {
        margin-top: 5px;
    }

    .programme-cta-content h2 {
        font-size: 2.7rem;
    }

    .programme-cta-content p {
        font-size: 0.84rem;
        margin-left: auto;
        margin-right: auto;
    }

    .programme-cta-button {
        width: auto;
    }
}

/* =========================================================
   
========================================================= */

footer {
    padding: 50px 5% 25px;
    background: var(--navy);
    color: #fff
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    max-width: 1020px;
    margin: auto
}

.footer-main nav {
    display: flex;
    gap: 24px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1320px;
    margin: 35px auto 0;
    padding-top: 22px;
    border-top: 1px solid #ffffff2e;
    font-size: .85rem
}

@media(max-width:950px) {
    .nav {
        display: none
    }

    .programme-hero,
    .outcomes,
    .section-heading {
        grid-template-columns: 1fr
    }

    .quick-facts,
    .journey-grid {
        grid-template-columns: 1fr 1fr
    }

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

    .programme-hero {
        min-height: 0
    }

    .section-heading {
        gap: 15px
    }

    .footer-main {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:620px) {
    .header {
        padding: 0 18px;
        gap: 12px
    }

    .company-logo {
        height: 200px
    }

    .programme-dropdown summary {
        padding: 10px 14px;
        font-size: .82rem
    }

    .programme-dropdown-menu {
        right: 0;
        width: 230px
    }

    .programme-hero,
    .detail-section,
    .journey-section,
    .outcomes {
        padding: 60px 20px
    }

    .programme-hero h1 {
        font-size: 3.5rem
    }

    .programme-hero-image img {
        height: 300px
    }

    .quick-facts,
    .card-grid,
    .journey-grid,
    .check-list {
        grid-template-columns: 1fr
    }

    .programme-cta {
        margin: 0 18px 60px;
        padding: 42px 22px
    }

    .footer-main nav {
        flex-direction: column;
        gap: 10px
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px
    }
}

/* =========================================================
  edit 25/9
========================================================= */

/* =========================================================
   OUR REACH SECTION
========================================================= */

.msk-impact {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 220px;
    padding: 20px 10px 69px;
    color: #ffffff;

    /* Background grid yang baru */
    background-image:
        linear-gradient(
            rgba(0, 20, 38, 0.62),
            rgba(0, 20, 38, 0.62)
        ),
        url("assets/map-background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   MAIN 2 COLUMN LAYOUT
========================================================= */

.impact-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 620px;
    align-items: center;
    gap: 45px;
    width: min(1450px, 95%);
    margin: 0 auto;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.impact-content {
    max-width: 600px;
}


/* =========================================================
   TOP TEXT
========================================================= */

.impact-top {
    margin-bottom: 55px;
}

.impact-top h2 {
    display: inline-block;

    margin: 0 0 22px;

    padding-bottom: 7px;

    color: #ffffff;

    font-size: clamp(2.0rem, 3vw, 2.6rem);
    font-weight: 800;

    line-height: 1.2;

    border-bottom: 2px solid #f4b942;
}


.impact-top ul {
    margin: 0;
    padding-left: 22px;
}

.impact-top li {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 1.3rem;
    line-height: 1.0;
}


/* =========================================================
   BOTTOM TEXT
========================================================= */

.impact-bottom {
    margin: 0;
    transform: translateX(110px);
    max-width: 650px;
}


.impact-bottom h3 {
    margin: 0 0 20px;

    color: #ffffff;

    text-align: left;

    font-size: 1.7rem;
    font-weight: 800;

    line-height: 1.35;
}


.impact-bottom ul {
    margin: 0;

    padding-left: 22px;
}


.impact-bottom li {
    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 1.2rem;
    line-height: 1.2;
}


/* =========================================================
   RIGHT MAP
========================================================= */

.impact-map {
    position: relative;
    width: 100%;
    max-width: 690px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
     transform: translateX(-45px);
}


/* MAP IMAGE */

.impact-map-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.12);
    transform-origin: center;
    opacity: 0.78;
    filter: brightness(1.0) saturate(0.9);
    border-radius: 12px;
    box-shadow:
        0 0 30px rgba(0, 174, 255, 0.08);
}

/* =========================================================
   MAP LOCATION
========================================================= */

.impact-location {
    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 5px;

    transform: translate(-50%, -50%);
}


/* =========================================
   ANIMATED MAP PIN
========================================= */

.impact-dot {
    position: relative;
    z-index: 3;

    display: block;

    width: 11px;
    height: 11px;
    flex: 0 0 11px;

    background: #ffc83d;

    border: 2px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 0 5px #ffc83d,
        0 0 10px rgba(255, 200, 61, 0.9),
        0 0 18px rgba(255, 200, 61, 0.6);
}

/* Lingkaran pulse */

.impact-dot::before,
.impact-dot::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    border: 2px solid rgba(255, 200, 61, 0.85);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}


/* Pulse pertama */

.impact-dot::before {
    width: 22px;
    height: 22px;

    animation: mapPinPulse 2s ease-out infinite;
}


/* Pulse kedua */

.impact-dot::after {
    width: 22px;
    height: 22px;

    animation: mapPinPulse 2s ease-out infinite;
    animation-delay: 1s;
}


/* Animation */

@keyframes mapPinPulse {

    0% {
        transform:
            translate(-50%, -50%)
            scale(0.45);

        opacity: 1;
    }

    70% {
        opacity: 0.35;
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(2);

        opacity: 0;
    }
}
@media (max-width: 900px) {
    .impact-map-group {
        gap: 18px;
    }

    .peninsular-map {
        max-width: 280px;
    }

    .borneo-map {
        max-width: 340px;
    }
}

@media (max-width: 700px) {
    .impact-map-group {
        width: 100%;
        align-items: center;
    }

    .peninsular-map {
        max-width: 260px;
    }

    .borneo-map {
        max-width: 300px;
    }

    .kota-kinabalu .impact-location-name {
        font-size: 0.38rem;
        padding: 2px 4px;
    }
}


/* =========================================================
   LOCATION LABEL
========================================================= */

.impact-location-name {
    padding: 1px 6px;

    white-space: nowrap;

    background: rgba(5, 22, 37, 0.94);

    color: #ffffff;

    border: 1px solid #ffc83d;

    border-radius: 2px;

    font-size: 0.60rem;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
                     PIN POSITIONS
========================================================= */

.puncak-alam {
    top: 33%;
    left: 5%;
}

.kota-damansara {
    top: 37%;
    left: 6%;
}

.eco-grandeur {
    top: 33%;
    left: 21%;
}

.shah-alam {
    top: 42%;
    left: 7%;
}

.cyberjaya {
    top: 46%;
    left: 8%;
}

.kuala-lumpur {
    top: 39%;
    left:23%;
}

.putrajaya {
    top: 46%;
    left: 22%;
}

.bangi {
    top: 49.5%;
    left: 22%;
}

.seremban {
    top: 53%;
    left: 25%;
}

.kuantan {
    top: 44%;
    left: 36%;
}

.johor-bahru {
    top: 65%;
    left: 38%;
}

.kota-kinabalu {
    top: 47%;
    left: 72%;
    flex-direction: row-reverse;
}

/* Label sebelah kiri */

.puncak-alam,
.kota-damansara,
.shah-alam,
.cyberjaya {
    flex-direction: row-reverse;
} 


/* ==============================
   ADJUST LABEL ONLY
============================== */

.puncak-alam .impact-location-name {
    transform: translate(-1px, 0px);
}

.kota-damansara .impact-location-name {
    transform: translate(2px, 0px);
}

.shah-alam .impact-location-name {
    transform: translate(-1px, 0px);
}

.kuala-lumpur .impact-location-name {
    transform: translate(1px, 0px);
}

.putrajaya .impact-location-name {
    transform: translate(1px, 0px);
}

.cyberjaya .impact-location-name {
    transform: translate( -1px, 0px);
}

.bangi .impact-location-name {
    transform: translate(1px, 0px);
}

.seremban .impact-location-name {
    transform: translate(1px, 0px);
}

.kuantan .impact-location-name {
    transform: translate(1px, 0);
}

.johor-bahru .impact-location-name {
    transform: translate(1px, 0);
}

.kota-kinabalu .impact-location-name {
    transform: translate(1px, 0);
}

.eco-grandeur .impact-location-name {
    transform: translate(1px, 0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .msk-impact {
        min-height: auto;

        padding: 50px 20px;
    }


    .impact-container {
        grid-template-columns: 1fr 330px;

        gap: 35px;
    }


    .impact-map {
        max-width: 320px;
    }


    .impact-top {
        margin-bottom: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .msk-impact {
        padding: 45px 15px;
    }


    .impact-container {
        display: flex;

        flex-direction: column;

        gap: 30px;
    }


    .impact-content {
        width: 100%;
        max-width: 100%;
    }


    .impact-top {
        margin-bottom: 35px;
    }


    .impact-top h2 {
        font-size: 1.6rem;
    }


    .impact-bottom h3 {
        font-size: 1.2rem;
    }


    .impact-top li,
    .impact-bottom li {
        font-size: 0.85rem;
    }


    .impact-map {
        width: 280px;

        max-width: 90%;

        margin: 0 auto;
    }


    .impact-location-name {
        font-size: 0.36rem;

        padding: 2px 4px;
    }


    .impact-dot {
        width: 7px;
        height: 7px;

        flex-basis: 7px;

        border-width: 1px;
    }

    .impact-bottom {
    transform: none;
    max-width: 100%;
}

}

/* =========================================
   NAVBAR FONT SIZE
========================================= */

.header .nav a {
    font-size: 1.25rem;
    font-weight: 700;
}

.header .programme-dropdown .header-cta {
    font-size: 1.05rem !important;
}

/* =========================================
   PROGRAMME HERO TEXT BOX
========================================= */

.programmes-page-body .programme-page-hero .hero-text {
  width: 100%;
  max-width: none;
  /* BESARKAN BOX */
  min-height: 580px;
  padding: 70px 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  border-radius: 32px;
  box-shadow: 0 18px 45px rgba(2, 21, 61, 0.12);
}


/* OUR PROGRAMMES */
/* Explore it. Do it. */
.programmes-page-body .programme-page-hero .hero-text h1 {
    font-size: clamp(3.2rem, 4.8vw, 5rem);
    line-height: 1.02;
    color: #ffffff;
    margin: 28px 0 30px;
}

/* Achieve it. */
.programmes-page-body .programme-page-hero .hero-text h1 em {
    color: var(--aqua);
}

/* Description */
.programmes-page-body .programme-page-hero .hero-text p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.programme-page-hero .hero-image {
    width: 100%;
    max-width: 570px;
    margin-left: auto;
}

.programme-page-hero .hero-image img {
    width: 100%;
    display: block;

    border-radius: 32px;

    object-fit: cover;

    box-shadow:
        0 18px 45px rgba(2, 21, 61, 0.10);
}

/* =========================================
  REDESIGN AHAD
========================================= */

/* =========================================
   PROGRAMMES HERO - FULL IMAGE STYLE
========================================= */

.programmes-page-body .programme-page-hero {

    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 90px);
    padding: 80px 6%;
    background-image:
        linear-gradient(
            90deg,
            rgba(3,18,61,0.98) 0%,
            rgba(34,28,100,0.90) 35%,
            rgba(34,28,100,0.45) 60%,
            rgba(0,0,0,0.15) 100%
        ),
        url("assets/programme-bg.png");

    background-size: cover;
    background-position: center;
    overflow:hidden;
}


/* remove old left card */

.programmes-page-body .programme-page-hero .hero-text {

    position: relative;
    z-index:2;
    max-width:700px;
    background:none;
    padding:0;
    min-height:auto;
}


/* small heading */

.programmes-page-body.programme-page-hero .eyebrow {

    color:#00e6d0;
    font-size:1.25rem;
    letter-spacing:0.3em;
    font-weight:1000;
}


/* BIG TITLE */

.programmes-page-body .programme-page-hero h1 {
  margin: 20px 0 28px;
  font-size: clamp(9.5rem, 10vw, 12rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}


/* turquoise second line */

.programmes-page-body .programme-page-hero h1 em {

    color:#00ead5;
     font-size: clamp(5.5rem, 10vw, 6rem);

}


/* paragraph */

.programmes-page-body.programme-page-hero p {

    max-width:650px;
    color:white;
    font-size:1.1rem;
    line-height:1.8;
}


/* hide separate image */

.programmes-page-body 
.programme-page-hero .hero-image {

    display:none;

}



/* MOBILE */

@media(max-width:900px){

    .programmes-page-body 
    .programme-page-hero{

        min-height:700px;

        padding:60px 6%;

        background-position:center;

    }


    .programmes-page-body 
    .programme-page-hero h1{

        font-size:3rem;

    }

}

/* =========================================
   1day wokshop (workshop activity)
========================================= */
/* =========================
WORKSHOP ACTIVITIES DESIGN
========================= */

.activities-section {

    padding-top:60px;
    padding-bottom:60px;
}

.activities-section .section-heading{
    display:block;
    margin-bottom:30px;
}

.activities-section .section-heading p{

    max-width:900px;
    font-size:18px;
    line-height:1.7;
}

.activities-section h2{

    font-size:58px;
    line-height:1.1;
    max-width:900px;
    white-space:nowrap;

}

.activities-section h2 em{

    color:#5634a5;
    font-style:normal;
}

.activities-section .section-heading p{

    max-width:900px;
    font-size:18px;
    line-height:1.7;
}


/* CARD */

.card-grid{

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

.info-card {
    background: #f8fbfc;
    border: 1px solid #d9e6ec;
    border-radius: 30px;
    padding: 28px;
    overflow: hidden;
    transition: 0.3s ease;
}


.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}


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


.info-card{

    position:relative;
    overflow:hidden;
    border-radius:32px;
    padding:20px;
    border:1px solid #dce8ef;
    min-height:380px;

}

/* background card */

.card-yellow{
    background:#fff5d8;
}

.card-blue{
    background:#e8f5ff;
}

.card-purple{
    background:#f0e6ff;
}

.card-pink{
    background:#ffe8ef;
}

.card-green{
    background:#e7f8ed;
}

.card-softblue{
    background:#e5f4ff;
}

/* IMAGE */

.card-image{

    width:100%;
    height:230px;
    overflow:hidden;
    border-radius:25px;
}

.card-image img{

    width:100%;
    height:100%;
    object-fit:cover;
}

/* NUMBER */

.card-number{

    position:absolute;
    top:35px;
    left:35px;
    width:55px;
    height:55px;
    background:#12d8d1;
    color:#06224b;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    font-weight:700;
    z-index:5;
}

/* TEXT */

.card-content{

    padding:28px 15px 15px;

}


.card-content h3{

    font-size:28px;
    color:#071d49;
    margin-bottom:15px;
}


.card-content p{

    font-size:18px;
    line-height:1.6;
    color:#55708f;
}

/* =====================================================
   12 WEEK PROGRAMME
   LEARNING JOURNEY
   ===================================================== */

.learning-journey {
    width: 100% !important;
    padding: 60px 0 100px !important;
    background: linear-gradient(
        110deg,
        #061b48 0%,
        #0b2c63 48%,
        #45206d 100%
    ) !important;
    overflow: hidden !important;
}

.learning-journey .journey-container {
    width: 88% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}


/* ===============================
   HEADER
   =============================== */

.learning-journey .journey-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 80px !important;
    margin-bottom: 100px !important;
}

.learning-journey .journey-header > div {
    flex: 1 !important;
}

.learning-journey .section-label {
    display: block !important;
    margin-bottom: 18px !important;
    color: #00d9d0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
}

.learning-journey .journey-header h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: 0.98 !important;
    letter-spacing: -3px !important;
    font-weight: 800 !important;
}

.learning-journey .journey-header > p {
    flex: 0 0 400px !important;
    margin: 30px 0 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}


/* ===============================
   TRACK
   =============================== */

.learning-journey .journey-track {
    position: relative !important;
    display: grid !important;
    grid-template-columns:
        minmax(0, 1fr)
        45px
        minmax(0, 1fr)
        45px
        minmax(0, 1fr)
        45px
        minmax(0, 1fr) !important;

    align-items: center !important;
    width: 100% !important;
}


/* ===============================
   ITEM
   =============================== */

.learning-journey .journey-item {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding-top: 48px !important;
}


/* ===============================
   CARD
   =============================== */

.learning-journey .journey-card {
    position: relative !important;
    width: 100% !important;
    min-height: 270px !important;
    box-sizing: border-box !important;
    padding: 72px 38px 35px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12) !important;
}


/* ===============================
   CARD COLOURS
   =============================== */

.learning-journey .card-yellow {
    background: #fff6d8 !important;
}

.learning-journey .card-blue {
    background: #dff7fa !important;
}

.learning-journey .card-purple {
    background: #eee4ff !important;
}

.learning-journey .card-pink {
    background: #ffe6ee !important;
}


/* ===============================
   ICON
   =============================== */

.learning-journey .journey-icon {
    position: absolute !important;
    top: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow:0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.learning-journey .journey-icon span {
    font-size: 45px !important;
    line-height: 1 !important;
}


/* ICON COLOURS */

.learning-journey .icon-yellow {
    background: #ffe58a !important;
}

.learning-journey .icon-blue {
    background: #bdeef1 !important;
}

.learning-journey .icon-purple {
    background: #dfc9ff !important;
}

.learning-journey .icon-pink {
    background: #ffc5d8 !important;
}


/* ===============================
   CARD TEXT
   =============================== */

.learning-journey .journey-weeks {
    display: block !important;
    margin-bottom: 15px !important;
    color: #00bfc2 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 4px !important;
}

.learning-journey .journey-card h3 {
    margin: 0 0 15px !important;
    color: #061a46 !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
}

.learning-journey .journey-card p {
    margin: 0 !important;
    color: #57718e !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
}


/* ===============================
   ARROWS
   =============================== */

.learning-journey .journey-arrow {
    position: relative !important;

    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #00d9d0 !important;

    font-size: 36px !important;
    font-weight: 700 !important;

    transform: translateY(5px) !important;
}


/* ===============================
   DOTTED LINE
   =============================== */

.learning-journey .journey-track::before {
    content: "" !important;

    position: absolute !important;

    left: 5% !important;
    right: 5% !important;

    top: 47px !important;

    height: 2px !important;

    background: repeating-linear-gradient(
        to right,
        rgba(0, 217, 208, 0.65) 0,
        rgba(0, 217, 208, 0.65) 4px,
        transparent 4px,
        transparent 10px
    ) !important;

    z-index: 1 !important;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .learning-journey .journey-header {
        display: block !important;
        margin-bottom: 70px !important;
    }

    .learning-journey .journey-header > p {
        max-width: 600px !important;
        margin-top: 25px !important;
    }

    .learning-journey .journey-track {
        grid-template-columns: 1fr 1fr !important;
        gap: 70px 25px !important;
    }

    .learning-journey .journey-arrow {
        display: none !important;
    }

    .learning-journey .journey-track::before {
        display: none !important;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .learning-journey {
        padding: 65px 0 75px !important;
    }

    .learning-journey .journey-container {
        width: 90% !important;
    }

    .learning-journey .journey-header h2 {
        font-size: 42px !important;
        letter-spacing: -2px !important;
    }

    .learning-journey .journey-header > p {
        font-size: 16px !important;
    }

    .learning-journey .journey-track {
        grid-template-columns: 1fr !important;
        gap: 70px !important;
    }

    .learning-journey .journey-card {
        min-height: auto !important;
        padding: 70px 28px 32px !important;
    }

    .learning-journey .journey-icon {
        width: 90px !important;
        height: 90px !important;
    }
}

/* =====================================================
   PROGRAMME EXPERIENCE
===================================================== */

.programme-experience {
    width: 100%;
    padding: 20px 0 110px;
    background: #ffffff;
}

.experience-container {
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
}


/* HEADER */

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 70px;

    margin-bottom: 30px;
}

.experience-title {
    flex: 1;
}

.experience-title .section-label {
    display: block;

    margin-bottom: 15px;

    color: #00bfc2;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 5px;
    text-transform: uppercase;
}


.experience-title h2 {
    margin: 0;
    color: #061a46;
    font-size: clamp(46px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}


.experience-title h2 span {
    color: #3f0d7d;
}


.experience-description {
    flex: 0 0 390px;
    margin: 85px 0 0;

    color: #57718e;

    font-size: 17px;
    line-height: 1.6;
}


/* ===============================
   CARD GRID
================================ */

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


/* ===============================
   CARD
================================ */

.experience-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #d7e4ec;
    box-shadow:
        0 8px 20px rgba(5, 30, 70, 0.06);
}


/* ===============================
   CARD BACKGROUNDS
================================ */

.experience-card.card-yellow {
    background: #fff7d8;
}

.experience-card.card-blue {
    background: #e2f7fa;
}

.experience-card.card-purple {
    background: #eee6ff;
}

.experience-card.card-pink {
    background: #ffe8f0;
}

.experience-card.card-green {
    background: #e4f7e9;
}

.experience-card.card-light-blue {
    background: #e1f2ff;
}


/* =========================================
   PROGRAMME EXPERIENCE - CARD IMAGES
   ========================================= */

.experience-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Card layout */
.experience-card {
    padding: 18px;
    border-radius: 28px;
    overflow: hidden;
}

/* Image container if your HTML uses one */
.experience-card .card-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 20px;
}

.experience-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===============================
   NUMBER
================================ */

.experience-number {
    position: absolute;
    left: 12px;
    top: 150px;
    z-index: 5;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #00d8d0;
    color: #061a46;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}


/* ===============================
   CARD CONTENT
================================ */

.experience-content {
    padding: 24px 26px 27px;
}


.experience-content h3 {
    margin: 0 0 10px;
    color: #061a46;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}


.experience-content p {
    margin: 0;
    color: #57718e;
    font-size: 16px;
    line-height: 1.5;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .experience-header {
        display: block;
    }

    .experience-description {
        max-width: 550px;

        margin-top: 25px;
    }

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

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .programme-experience {
        padding: 65px 0 75px;
    }

    .experience-container {
        width: 90%;
    }

    .experience-title h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .experience-description {
        font-size: 16px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .experience-image {
        height: 170px;
    }

    .experience-content {
        padding: 22px 24px 26px;
    }
}

/*29/9/2026 dell*/
.hero-foot {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
}

.hero-foot span {
  white-space: nowrap;
  padding: 10px 9px;
  font-size: 13px;
  font-weight: 700;
}

.feature-description {
  position: relative;
  isolation: isolate;
}

.feature-description::before {
  content: "";
  position: absolute;
  inset: -16px -20px;
  z-index: -1;
  background: linear-gradient(135deg, #effcfb, #d9f7f3);
  border: 1px solid #d8e8fa;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(3, 23, 69, 0.08);
}

.feature-description .eyebrow {
  color: #007c8c;
}

.feature-description > p {
  color: #40566f;
}

@media (max-width: 600px) {
  .feature-description::before {
    inset: -12px;
    border-radius: 18px;
  }
}

.footer-main .footer-logo {
  width: auto;
  height: 75px;
  max-width: none;
  transform: none;
}

@media (max-width: 700px) {
  .footer-main .footer-logo {
    height: 62px;
  }
}

/* One Day Workshop refinements */
.one-day-workshop-page .programme-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #071a4a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.one-day-workshop-page .programme-back:hover,
.one-day-workshop-page .programme-back:focus-visible {
  background: #542a8a;
}
.one-day-workshop-page .outcomes h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.one-day-workshop-page .programme-hero h1 {
  font-size: clamp(3rem, 4.2vw, 5rem);
  line-height: 1.04;
}
.one-day-workshop-page .card-grid .info-card {
  background: #e8f5ff;
}
@media (max-width: 700px) {
  .one-day-workshop-page .programme-hero h1 {
    font-size: clamp(2.7rem, 9vw, 3.6rem);
  }
}

/* 12 Weeks Program updates */
.twelve-weeks-page .programme-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #071a4a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.twelve-weeks-page .programme-back:hover,
.twelve-weeks-page .programme-back:focus-visible { background: #542a8a; }
.twelve-weeks-page .programme-hero h1 {
  font-size: clamp(3rem, 4.2vw, 5rem);
  line-height: 1.04;
}
.twelve-weeks-page .programme-experience .experience-card {
  background: #e2f7fa;
}
.twelve-weeks-page .outcomes h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.twelve-weeks-page .programme-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  min-height: 310px;
}
.twelve-weeks-page .programme-cta-content {
  text-align: center;
}
.twelve-weeks-page .programme-cta-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}
.twelve-weeks-page .programme-cta-content .primary-button {
  display: inline-flex;
  width: auto;
  margin: 0 auto;
}
.twelve-weeks-page .programme-cta-image {
  margin: 0;
  align-self: stretch;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
}
.twelve-weeks-page .programme-cta-image img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .twelve-weeks-page .programme-hero h1 {
    font-size: clamp(2.7rem, 9vw, 3.6rem);
  }
  .twelve-weeks-page .programme-cta {
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
  }
  .twelve-weeks-page .programme-cta-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
  }
  .twelve-weeks-page .programme-cta-image img { height: 100%; }
}

.programmes-page-body .family-stories {
  padding-top: 25px;
  padding-bottom: 36px;
  background: #fff;
}

.programmes-page-body .family-stories-heading {
  display: block;
}

.programmes-page-body .family-stories-heading > p {
  max-width: 650px;
  margin: 14px 0 0;
  text-align: left;
}
/* What Families Say: fit the cards to their text and tighten the next section. */
.programmes-page-body .family-video-copy {
  min-height: 0;
  padding: 24px 30px 26px;
}

.programmes-page-body .locations {
  background: #d9f2f0;
}

.programmes-page-body .parents {
  padding-top: 30px;
  background: #eaf3fb;
}

@media (max-width: 600px) {
  .programmes-page-body .family-video-copy {
    padding: 24px 22px 26px;
  }
}

/* Gallery hero: text on the left and portrait video on the right. */
.gallery-page .page-hero {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(240px, 320px);
    justify-content: center;
    align-items: center;
    gap: clamp(32px, 5vw, 90px);
    padding-top: 55px;
    padding-bottom: 55px;
}

.gallery-page .page-hero .gallery-hero-copy p {
    max-width: 560px;
}

.gallery-page .page-hero .gallery-video-frame {
    width: 100%;
}

@media (max-width: 700px) {
    .gallery-page .page-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 6%;
    }

    .gallery-page .page-hero .gallery-video-frame {
        width: min(100%, 300px);
        margin: 0 auto;
    }
}

/* Partnership: Become a licensee button colour states. */
.partner-actions .btn.outline {
  background: var(--navy);
  color: var(--white);
}

.partner-actions .btn.outline:hover,
.partner-actions .btn.outline:focus-visible,
.partner-actions .btn.outline:active {
  background: var(--cyan);
  color: var(--white);
}

/* Our Programmes: align hero typography with the other main pages. */
.programmes-page-body .programme-page-hero .hero-text h1 {
  font-size: clamp(3.5rem, 5.7vw, 6.3rem);
}
.programmes-page-body .programme-page-hero .hero-text h1 em {
  font-size: inherit;
}
.programmes-page-body .programme-page-hero .hero-text p {
  font-size: 1.18rem;
}
@media (max-width: 900px) {
  .programmes-page-body .programme-page-hero .hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
  }
  .programmes-page-body .programme-page-hero .hero-text p {
    font-size: 1.1rem;
  }
}

/* Gallery: cheerful backgrounds and activity highlights. */
.gallery-page main { background: #e9f8f5; }
.gallery-page .page-hero {
  background: #d9f2f0;
}
.gallery-page .gallery-highlights { background: #fff3ce; padding-top: 58px; padding-bottom: 62px; }
.gallery-page .gallery-highlights h2 { font-size: clamp(2.4rem, 4vw, 4rem); margin: 12px 0 18px; }
.gallery-page .gallery-highlights-intro { max-width: 650px; color: var(--muted); margin-bottom: 30px; }
.gallery-highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-highlight { overflow: hidden; border-radius: 24px; background: #c9f1ed; box-shadow: 0 12px 28px rgba(2,21,61,.08); }
.gallery-highlight:nth-child(2) { background: #e7daf8; }
.gallery-highlight:nth-child(3) { background: #d5eafa; }
.gallery-highlight img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-highlight > div { padding: 24px; }
.gallery-highlight span { color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.gallery-highlight h3 { margin: 12px 0; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.gallery-highlight p { color: var(--ink); margin: 0; }
@media (max-width: 800px) {
  .gallery-highlights-grid { grid-template-columns: 1fr; }
  .gallery-highlight img { aspect-ratio: 16 / 9; }
}

.gallery-page .locations .location-card:active,
.gallery-page .locations .location-card:focus-visible {
  background: var(--aqua);
  border-color: var(--aqua);
  color: #071f3d;
}

/* Shared five-photo layout for all location pages. */

      /* Cyberjaya gallery only — tidak mengubah halaman lain */
      .location-page {
        margin: 0;
        background: #f4f7fa;
        color: #16324f;
      }

      .location-page .location-gallery {
        padding-top: 8px !important;
      }

      .location-page .gallery-container {
        width: min(1350px, 100%);
        margin: 0 auto;
      }

      .location-page .back-button {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 45px;
        color: #16324f;
        font-weight: 800;
        text-decoration: none;
      }

      .location-page .back-button span {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 1px solid #16324f;
        border-radius: 50%;
        transition: 0.2s ease;
      }

      .location-page .back-button:hover span {
        background: #16324f;
        color: #ffffff;
        transform: translateX(-3px);
      }

      .location-page .gallery-heading {
        max-width: 650px;
        margin-bottom: 38px;
      }

      .location-page .gallery-heading .eyebrow {
        display: block;
        margin-bottom: 13px;
        color: #4b227a;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.18em;
      }

      .location-page .gallery-heading h1 {
        margin: 0 0 18px;
        color: #16324f;
        font-size: clamp(3.2rem, 6vw, 5.8rem);
        line-height: 0.95;
        letter-spacing: -0.055em;
      }

      .location-page .gallery-heading p {
        max-width: 590px;
        margin: 0;
        color: #536b80;
        font-size: 1.05rem;
        line-height: 1.75;
      }

      /* LOCATION PHOTO GALLERY
         1 large image on top + 3 x 3 equal images below */
      .location-page .programme-photo-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: 560px repeat(3, 260px);
        gap: 18px;
      }

      .location-page .mosaic-gallery-grid > :first-child,
      .location-page .programme-photo-grid > :first-child {
       min-height: 520px !important;
      }
      
      .location-page .programme-photo {
        min-width: 0;
        min-height: 0;
        margin: 0;
        overflow: hidden;
        border-radius: 22px;
        background: #dce6ec;
        box-shadow: 0 12px 30px rgba(22, 50, 79, 0.08);
      }

      .location-page .programme-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.35s ease;
      }

      .location-page .programme-photo:hover img {
        transform: scale(1.035);
      }

      /* Image 1 spans the full width at the top */
      .location-page .photo-large {
        grid-column: 1 / -1;
        grid-row: 1;
      }

      /* Images 2-10 automatically fill a 3 x 3 grid */
      .location-page .programme-photo:nth-child(n + 2) {
        grid-column: auto;
        grid-row: auto;
      }

      .location-page .photo-wide,
      .location-page .photo-tall {
        grid-column: auto;
        grid-row: auto;
      }

      @media (max-width: 850px) {
        .location-page .programme-photo-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          grid-template-rows: 340px repeat(5, 230px);
          gap: 16px;
        }

        .location-page .photo-large {
          grid-column: 1 / -1;
          grid-row: 1;
        }

        .location-page .programme-photo:nth-child(n + 2) {
          grid-column: auto;
          grid-row: auto;
        }
      }

      @media (max-width: 600px) {
        .location-page .location-gallery {
          padding: 24px 18px 55px;
        }

        .location-page .back-button {
          margin-bottom: 36px;
        }

        .location-page .gallery-heading h1 {
          font-size: clamp(3rem, 15vw, 4.6rem);
        }

        .location-page .programme-photo-grid {
          grid-template-columns: 1fr;
          grid-template-rows: none;
          gap: 14px;
        }

        .location-page .photo-large,
        .location-page .programme-photo:nth-child(n + 2) {
          grid-column: 1;
          grid-row: auto;
          height: 245px;
        }

        .location-page .photo-large {
          height: 330px;
        }
      }
    
.location-page .location-gallery { display: block; margin-top: 0; }

/* Gallery locations: lift the heading and retain breathing room above the cards. */
.gallery-page .locations {
  padding-top: 18px;
}
.gallery-page .locations .section-heading {
  margin-bottom: 58px;
}
.gallery-page .locations .section-heading h2 {
  margin-top: 0;
}
.gallery-page .locations .section-heading > p {
  align-self: center;
  margin: 0;
}
@media (max-width: 1050px) {
  .gallery-page .locations .section-heading {
    margin-bottom: 38px;
  }
}

/* Contact Us: headquarters and partner locations. */
.contact-locations { background: #d9f2f0; }
.contact-locations > h2 { margin: 12px 0 18px; font-size: clamp(2.4rem, 4vw, 4rem); }
.contact-locations > p { max-width: 680px; color: var(--muted); margin-bottom: 30px; }
.contact-hq-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: 30px; border-radius: 24px; background: var(--navy); color: white; }
.contact-hq-panel h3 { color: white; font-size: 1.8rem; margin: 10px 0 12px; }
.contact-hq-panel p { margin: 0; color: #e4edf6; }
.contact-hq-panel .eyebrow { color: var(--aqua); }
.contact-hq-actions { display: grid; gap: 14px; }
.location-contact-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; border: 0; border-radius: 16px; padding: 20px 24px; background: var(--navy); color: white; font: 800 1rem 'DM Sans', sans-serif; text-align: left; }
.contact-hq-actions .location-contact-button { background: var(--aqua); color: var(--navy); }
.location-contact-button:enabled { cursor: pointer; }
.location-contact-button:enabled:hover { background: var(--cyan); color: white; }
.contact-partners-title { margin: 34px 0 20px; font-size: 1.8rem; }
.contact-partner-buttons { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 900px) { .contact-partner-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); } .contact-hq-panel { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .contact-partner-buttons { grid-template-columns: 1fr; } .contact-hq-panel { padding: 24px; } }

.contact-hq-actions a.location-contact-button:hover,
.contact-hq-actions a.location-contact-button:focus-visible {
  background: var(--cyan);
  color: var(--white);
}



.contact-partner-buttons a.location-contact-button:hover,
.contact-partner-buttons a.location-contact-button:focus-visible {
    background: var(--cyan);
    color: var(--white);
}
/* Compact HQ at left, centered beside eight partner contacts. */
.contact-locations .contact-location-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.contact-location-layout .contact-hq-panel {
  grid-template-columns: 1fr;
  padding: 22px;
  gap: 16px;
  border-radius: 20px;
}
.contact-location-layout .contact-hq-panel h3 {
  font-size: 1.35rem;
  margin: 8px 0 10px;
}
.contact-location-layout .contact-hq-panel p { font-size: .95rem; }
.contact-location-layout .contact-hq-actions { gap: 10px; justify-items: start; }
.contact-location-layout .contact-hq-actions .location-contact-button {
  width: fit-content;
  max-width: 100%;
  padding: 11px 13px;
  font-size: .85rem;
  gap: 12px;
  border-radius: 12px;
}
.contact-location-layout .contact-partners-panel { min-width: 0; }
.contact-location-layout .contact-partners-title { margin: 0 0 18px; font-size: 1.6rem; }
.contact-location-layout .contact-partner-buttons {
  grid-template-columns: repeat(4, minmax(0, 170px));
  gap: 14px;
}
.contact-location-layout .contact-partner-buttons .location-contact-button {
  padding: 12px 14px;
  font-size: .9rem;
  gap: 10px;
  border-radius: 12px;
  min-height: 48px;
}
@media (max-width: 950px) {
  .contact-locations .contact-location-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-location-layout .contact-hq-panel { width: min(320px, 100%); }
}
@media (max-width: 550px) {
  .contact-location-layout .contact-partner-buttons {
    grid-template-columns: repeat(2, minmax(0, 170px));
  }
}

.feature-media .teaser-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-top: 20px;
}

/* Desktop */
@media (min-width: 1051px) {
    .feature-teaser {
        align-items: stretch;
        gap: 30px;
    }

    .feature-teaser .feature-media {
        transform: none;
        aspect-ratio: auto;
        min-height: 460px;
    }

    .feature-teaser .feature-media video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: contain;
        background: #000;
    }

    .feature-teaser .feature-description {
        align-self: stretch;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .feature-teaser .feature-description::before {
        inset: 0;
    }

    .feature-teaser .feature-description h2 {
        font-size: 1.9rem;
        margin: 12px 0;
    }

    .feature-teaser .feature-description > p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0;
    }

    .feature-teaser .feature-description ul {
        margin: 14px 0;
    }

    .feature-teaser .feature-description li {
        font-size: 0.95rem;
        line-height: 1.4;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .feature-teaser .feature-link {
        font-size: 0.95rem;
        margin-top: 4px;
    }
}

.school-partnership-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 32px auto;
}

.school-partnership-card {
    padding: 28px;
    background: #fff;
    border: 1px solid #d8e3ec;
    border-radius: 20px;
    text-align: left;
}

.school-partnership-card .school-card-number {
    display: block;
    color: #00a5b5;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.school-partnership-card h3 {
    color: var(--navy);
    font-size: 1.35rem;
    margin: 0 0 12px;
}

.school-partnership-card p {
    color: #60758b;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 700px) {
    .school-partnership-cards {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   PARTNERSHIP - COMBINED HERO + CARDS
========================================= */

.partnership-page .school-combined {
  width: calc(100% - 80px);
  max-width: 1500px;

  margin: 38px auto 70px;

  padding: 70px 52px 55px;

  border-radius: 34px;

  background: linear-gradient(
    115deg,
    #edf8fb 0%,
    #f3eef9 100%
  );

  text-align: center;
}


/* FOR SCHOOLS */

.partnership-page .school-combined > .eyebrow {
  display: block;

  margin-bottom: 24px;

  color: var(--cyan);

  font-size: 0.9rem;
  font-weight: 800;

  letter-spacing: 0.28em;
}


/* MAIN HEADING */

.partnership-page .school-combined > h1 {
  max-width: 1000px;

  margin: 0 auto 24px;

  color: var(--navy);

  font-family: 'Outfit', 'DM Sans', sans-serif;

  font-size: clamp(3.4rem, 5.5vw, 5.8rem);

  font-weight: 800;

  line-height: 0.98;

  letter-spacing: -0.055em;
}


/* DESCRIPTION */

.partnership-page .school-intro {
  max-width: 850px;

  margin: 0 auto 46px;

  color: var(--muted);

  font-size: 1.15rem;

  line-height: 1.7;
}


/* =========================
   THREE CARDS
========================= */

.partnership-page .school-card-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  width: 100%;

  margin: 0 auto;

  text-align: left;
}


.partnership-page .school-card {
  min-height: 290px;

  padding: 34px 34px 32px;

  background: #ffffff;

  border: 1px solid #d7e6ea;

  border-radius: 24px;

  box-shadow:
    0 12px 28px
    rgba(2, 21, 61, 0.04);
}


/* CARD NUMBER */

.partnership-page .school-card > span {
  display: block;

  margin-bottom: 28px;

  color: var(--cyan);

  font-family: 'Outfit', 'DM Sans', sans-serif;

  font-size: 1.25rem;

  font-weight: 800;
}


/* CARD TITLE */

.partnership-page .school-card h3 {
  margin: 0 0 14px;

  color: var(--navy);

  font-family: 'Outfit', 'DM Sans', sans-serif;

  font-size: 1.65rem;

  font-weight: 800;

  line-height: 1.2;
}


/* CARD DESCRIPTION */

.partnership-page .school-card p {
  margin: 0;

  color: var(--muted);

  font-size: 1.05rem;

  line-height: 1.75;
}


/* =========================
   BUTTON
========================= */

.partnership-page .school-cta {
  margin-top: 36px;

  text-align: center;
}


.partnership-page .school-cta .btn {
  min-width: 260px;

  padding: 17px 28px;

  justify-content: space-between;

  background: var(--aqua);

  color: var(--navy);
}


.partnership-page .school-cta .btn:hover {
  background: var(--cyan);

  color: #ffffff;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

  .partnership-page .school-combined {
    width: calc(100% - 40px);

    padding: 55px 30px 45px;
  }

  .partnership-page .school-card-grid {
    grid-template-columns: 1fr;
  }

  .partnership-page .school-card {
    min-height: auto;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .partnership-page .school-combined {
    width: calc(100% - 24px);

    margin: 20px auto 40px;

    padding: 42px 18px 35px;

    border-radius: 24px;
  }

  .partnership-page .school-combined > h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .partnership-page .school-intro {
    margin-bottom: 30px;

    font-size: 1rem;
  }

  .partnership-page .school-card-grid {
    gap: 16px;
  }

  .partnership-page .school-card {
    padding: 25px 22px;

    border-radius: 18px;
  }

  .partnership-page .school-card > span {
    margin-bottom: 20px;
  }

  .partnership-page .school-cta .btn {
    width: 100%;

    min-width: 0;
  }

}

/*2/10/2026*/
.partner-map-section {
    background: #d9f2f0;
}

.partner-map-section > h2 {
    margin: 12px 0;
}

.partner-map-section > p {
    color: #60758b;
    margin-bottom: 24px;
}

#partner-map {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    border: 1px solid #c5e4e0;
    z-index: 0;
}

/* Kad maklumat apabila pin diklik */
#partner-map .leaflet-popup-content-wrapper {
    background: #071b45;
    color: #fff;
    border-radius: 18px;
}

#partner-map .leaflet-popup-tip {
    background: #071b45;
}

#partner-map .leaflet-popup-content {
    margin: 22px;
    min-width: 210px;
    line-height: 1.5;
}

#partner-map .leaflet-popup-close-button {
    color: #fff;
}

.partner-map-popup h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 14px;
}

.partner-map-popup p {
    margin: 8px 0;
}

.partner-map-popup .map-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #00d6bd;
    color: #071b45;
    text-decoration: none;
    font-weight: 700;
}

.partner-map-popup .map-contact:hover {
    background: #8cebe0;
}

.partner-map-popup .map-contact svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.partner-map-popup .map-pending {
    color: #cbd9e8;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    #partner-map {
        height: 380px;
        border-radius: 18px;
    }
}


/* Programme enquiry form */
.enquiry-section{background:#f4fbfc}.enquiry-section>h2{margin:12px 0 28px;font-size:clamp(2rem,3vw,3rem)}
.msk-enquiry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1000px;margin:0 auto;padding:32px;background:#fff;border:1px solid #dce9ed;border-radius:24px}
.enquiry-field{display:flex;flex-direction:column;gap:9px;min-width:0}.enquiry-full{grid-column:1/-1}.enquiry-field label{color:#526078;font-size:1rem;font-weight:600}
.enquiry-field input,.enquiry-field select,.enquiry-field textarea{width:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #d9ddea;border-radius:8px;background:#fff;color:#16324f;font:inherit}
.enquiry-field input,.enquiry-field select{min-height:52px}.enquiry-field textarea{resize:vertical;min-height:120px}
.enquiry-field input:focus,.enquiry-field select:focus,.enquiry-field textarea:focus{outline:2px solid #00b8b0;outline-offset:2px}
.enquiry-trap{position:absolute;left:-9999px}.msk-enquiry-form button:disabled{opacity:.65;cursor:wait}#enquiry-status{margin:12px 0 0;color:#40566f}
@media(max-width:650px){.msk-enquiry-form{grid-template-columns:1fr;padding:22px 18px;gap:18px}}

/*12:50*/
/* =========================================
   CONTACT INFORMATION - BEFORE ENQUIRY FORM
========================================= */

.contact-info-section {
    background: #ffffff;
    padding-top: 70px;
    padding-bottom: 70px;
}

.contact-info-section > h2 {
    margin: 12px 0 35px;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
}


/* GENERAL CARD */

.contact-info-card {
    min-height: 245px;
    padding: 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.contact-info-card h3 {
    margin: 10px 0 8px;
    font-size: 2rem;
}

.contact-info-card p {
    margin: 0 0 22px;
}


/* SMALL LABEL */

.contact-card-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}


/* HQ CARD */

.contact-hq-card {
    background: var(--navy);
    color: var(--white);
}

.contact-hq-card h3 {
    color: var(--white);
}

.contact-hq-card p {
    color: #dceaf2;
}

.contact-hq-card .contact-card-label {
    color: var(--aqua);
}


/* WHATSAPP BUTTON */

.contact-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    width: fit-content;
    min-width: 190px;

    padding: 13px 17px;
    border-radius: 13px;

    background: var(--aqua);
    color: var(--navy);

    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.contact-info-button:hover {
    background: var(--cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-info-button span {
    font-size: 1.1rem;
}


/* MYCEO EDUCATION CARD */

.contact-company-card {
    background: #e9f7fb;
    border: 1px solid #d2e9ee;
}

.contact-company-card .contact-card-label {
    color: var(--cyan);
}

.contact-company-card h3 {
    color: var(--navy);
}

.contact-company-card p {
    color: var(--muted);
}


/* OFFICE HOURS */

.contact-opening-hours {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: auto;
    padding-top: 18px;

    border-top: 1px solid rgba(2, 21, 61, 0.12);
}

.contact-opening-hours span {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-opening-hours strong {
    color: var(--navy);
    font-size: 0.95rem;
}


/* MOBILE */

@media (max-width: 700px) {

    .contact-info-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-info-card {
        min-height: 220px;
        padding: 25px;
    }

    .contact-info-card h3 {
        font-size: 1.7rem;
    }

    .contact-opening-hours {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

}

.contact-info-section {
    background: #ffffff;
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.contact-info-section > h2 {
    margin: 12px 0 35px;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

/* TWO CARDS */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;

    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* EACH CARD */
.contact-card {
    width: 100%;
    min-height: 307px;
    box-sizing: border-box;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

/* Make all text inside card centered */
.contact-card h2,
.contact-card h3,
.contact-card p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* OFFICE HOURS SECTION */
.contact-card .office-hours {
    width: 100%;
    max-width: 470px;
    margin: 25px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* Office hours text */
.contact-card .office-hours span,
.contact-card .office-hours p {
    text-align: center;
    margin: 5px 0;
}

/* BUTTON */
.contact-card a,
.contact-card button {
    margin-left: auto;
    margin-right: auto;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-card {
        min-height: auto;
        padding: 35px 25px;
    }
}

.office-hours {
    width: 100%;
    max-width: 470px;
    margin: 25px auto 0;
    padding-top: 25px;
    border-top: 1px solid #cbdde2;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.office-hours span,
.office-hours strong {
    width: 100%;
    text-align: center;
}

.whatsapp-button {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   FINAL CENTER ALIGNMENT
========================================= */

/* TALK WHATSAPP - CENTER */
.contact-info-button {
    margin-left: auto;
    margin-right: auto;
}


/* MONDAY - FRIDAY + OFFICE HOURS - CENTER */
.contact-opening-hours {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.contact-opening-hours span,
.contact-opening-hours strong {
    width: 100%;
    text-align: center;
}


/* PROGRAMME ENQUIRY TITLE - CENTER */
.enquiry-section > .eyebrow {
    text-align: center;
}

.enquiry-section > h2 {
    text-align: center;
}


/* SUBMIT ENQUIRY BUTTON - CENTER */
.msk-enquiry-form > button {
    grid-column: 1 / -1;
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
}

/* CENTER PROGRAMME ENQUIRY SECTION */
.enquiry-section {
    text-align: center;
}

.enquiry-section .eyebrow {
    text-align: center !important;
    width: 100%;
}

.enquiry-section h2 {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   PROGRAMME ENQUIRY
========================================= */

/* Center ONLY the heading */
.enquiry-section > .eyebrow,
.enquiry-section > h2 {
    text-align: center !important;
}

/* Keep ALL FORM INFORMATION LEFT ALIGNED */
.enquiry-section .msk-enquiry-form {
    text-align: left !important;
}

/* Labels */
.enquiry-section .msk-enquiry-form label {
    text-align: left !important;
}

/* Input, select and textarea text */
.enquiry-section .msk-enquiry-form input,
.enquiry-section .msk-enquiry-form select,
.enquiry-section .msk-enquiry-form textarea {
    text-align: left !important;
}

/* Submit button stays centered */
.enquiry-section .msk-enquiry-form > button {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.enquiry-section .msk-enquiry-form > button {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.enquiry-section .msk-enquiry-form button[type="submit"] {
    display: block !important;
    margin: 20px auto 0 !important;
}

/*5/10/2026*/
/* =========================================================
   PARTNERSHIP HERO - TEKS DI KIRI, GAMBAR DI KANAN
========================================================= */

.partnership-hero-banner {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  /* Menolak teks ke sebelah kiri */
  justify-content: flex-start;
  padding: 80px max(6%, calc((100vw - 1350px) / 2));
  overflow: hidden;

  /* 
     Kecerunan diterbalikkan:
     - Kiri: Biru navy pekat supaya teks senang dan jelas dibaca
     - Kanan: Biru telus lembut supaya gambar nampak terang dan tajam
  */
  background-image: 
    linear-gradient(
      90deg,
      rgba(4, 18, 53, 1) 0%,
      rgba(4, 18, 53, 0.95) 25%,     /* Kawasan teks gelap pekat */
      rgba(13, 39, 90, 0.75) 55%,    /* Peralihan warna */
      rgba(7, 26, 74, 0.40) 100%     /* Kanan: gambar nampak jelas */
    ),
    url("assets/partner-hero.jpg"); /* Pastikan nama fail gambar betul */

  background-size: cover;
  background-position: center right; /* Fokus gambar di sebelah kanan */
  background-repeat: no-repeat;
}

/* Kandungan Teks di Sebelah Kiri */
.partnership-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
}

.partnership-hero-content .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--cyan, #0197af);
  font-size: 1.02rem;
  letter-spacing: 0.25em;
  font-weight: 800;
  text-transform: uppercase;
}

.partnership-hero-content h1 {
  margin: 0 0 20px;
  color: #ffffff;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: clamp(3.8rem, 6.5vw, 6.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.partnership-hero-content h1 em {
  color: var(--aqua, #00eed0);
  font-style: normal;
}

.partnership-hero-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.75;
}

/* =========================================================
   RESPONSIF (TABLET & MOBILE)
========================================================= */

@media (max-width: 900px) {
  .partnership-hero-banner {
    min-height: 440px;
    padding: 60px 6%;
    background-image: 
      linear-gradient(
        180deg,
        rgba(4, 18, 53, 0.88) 0%,
        rgba(4, 18, 53, 0.70) 100%
      ),
      url("assets/partner-hero.jpg");
  }

  .partnership-hero-content h1 {
    font-size: clamp(2.6rem, 8vw, 3.8rem);
  }
}

/* Luaskan kotak teks supaya perkataan panjang muat tanpa terhimpit */
.partnership-hero-content {
  max-width: 780px; /* Besarkan lebar bekas teks */
}

/* Pastikan 'futures together' sentiasa kekal dalam satu baris */
.partnership-hero-content h1 em {
  display: inline-block;
  white-space: nowrap; /* Menghalang perkataan turun ke baris baru */
  color: var(--aqua, #00eed0);
  font-style: normal;
}

@media (max-width: 600px) {
  .partnership-hero-content h1 em {
    white-space: normal; /* Kembali fleksibel untuk skrin telefon */
  }
}

/* =========================================================
   PARTNERSHIP HERO - NAIKKAN TEKS KE ATAS & RAPATKAN GAP
========================================================= */

.partnership-hero-banner {
  position: relative;
  min-height: 700px;
  display: flex;
  
  /* 1. Alihkan penjajaran dari 'center' ke 'flex-start' supaya teks naik ke atas */
  align-items: flex-start;
  justify-content: flex-start;
  
  /* 2. Kurangkan padding bahagian atas (contoh: 70px atau 60px) */
  padding: 70px max(6%, calc((100vw - 1350px) / 2)) 80px;
  
  overflow: hidden;

  background-image: 
    linear-gradient(
      90deg,
      rgba(4, 18, 53, 1) 0%,
      rgba(4, 18, 53, 0.95) 25%,
      rgba(13, 39, 90, 0.75) 55%,
      rgba(7, 26, 74, 0.40) 100%
    ),
    url("assets/partner-hero.jpg");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Kotak Teks */
.partnership-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: left;
  
  /* 3. Kurangkan jurang dalaman teks jika jarak antara baris terlalu renggang */
  margin-top: 10px; /* Boleh dilaras jika mahu naik lebih tinggi lagi */
}

/* Rapatkan jurang antara eyebrow dan tajuk utama */
.partnership-hero-content .eyebrow {
  display: block;
  margin-bottom: 12px; /* Asal: 20px - 24px */
  color: var(--cyan, #0197af);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  text-transform: uppercase;
}

/* Rapatkan jurang antara tajuk utama dan perenggan */
.partnership-hero-content h1 {
  margin: 0 0 14px; /* Asal: 24px */
  line-height: 0.98;
}

.partnership-hero-content p {
  margin: 0;
  line-height: 1.6;
}

/* Pastikan lajur kiri disusun secara menegak */
.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Jarak perenggan teks */
.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* Bekas statistik impak */
.partner-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px; /* Jarak antara teks dan barisan statistik */
}

/* Kandungan setiap item statistik */
.stat-item {
  text-align: left;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--aqua, #00eed0); /* Warna aksen aqua */
  line-height: 1;
}

.stat-item small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Garisan pemisah antara statistik */
.stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   PARTNERSHIP - COMBINED HERO + CARDS (COMPACT)
========================================= */

.partnership-page .school-combined {
  width: calc(100% - 80px);
  max-width: 1500px;
  margin: 38px auto 70px;
  padding: 50px 52px 45px;
  border-radius: 34px;
  background: linear-gradient(115deg, #edf8fb 0%, #f3eef9 100%);
  text-align: center;
}

/* Label FOR SCHOOLS */
.partnership-page .school-combined > .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-align: center;
}

/* TAJUK UTAMA: Rapatkan jurang baris dan buang jurang ke bawah */
.partnership-page .school-combined > h1 {
  max-width: 1000px;
  margin: 0 auto 0 !important;   /* Tiada jurang bawah */
  padding-bottom: 0 !important;
  color: var(--navy);
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95 !important;   /* Menghilangkan ruang kosong terbina fon */
  letter-spacing: -0.05em;
  text-align: center;
}

/* PENERANGAN: Melekat tepat di bawah perkataan 'to school' */
.partnership-page .school-intro {
  max-width: 850px;
  margin: 8px auto 30px !important; /* Rapat ke tajuk atas (8px), beri ruang ke kad bawah (30px) */
  padding-top: 0 !important;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}

/* =========================
   3 KAD SEKOLAH (NOMBOR SEBARIS DENGAN TAJUK)
========================= */

.partnership-page .school-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.partnership-page .school-card {
  min-height: auto;               /* Saiz kotak ikut panjang teks */
  padding: 24px 24px;
  background: #ffffff;
  border: 1px solid #d7e6ea;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(2, 21, 61, 0.04);
}

/* Bekas untuk letak nombor dan tajuk kad sebaris */
.school-card-header {
  display: flex;
  align-items: center;
  gap: 12px;                      /* Jarak antara '01' dan 'Schools' */
  margin-bottom: 12px;
}

/* Nombor kad */
.school-card-header span {
  display: block;
  margin: 0;
  color: var(--cyan);
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

/* Tajuk kad */
.school-card-header h3 {
  margin: 0;
  color: var(--navy);
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Teks perenggan dalam kad */
.partnership-page .school-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Butang 'Partner with us' */
.partnership-page .partner-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* Susunan 3 lajur mendatar */
.partnership-page .school-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Kotak kad putih */
.partnership-page .school-card {
  display: block !important;
  padding: 24px 22px !important;
  background: #ffffff !important;
  border: 1px solid #d7e6ea !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 24px rgba(2, 21, 61, 0.04) !important;
  text-align: left !important;
}

/* Baris tajuk dan nombor */
.partnership-page .school-card-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.partnership-page .school-card-header span {
  display: inline-block !important;
  color: var(--cyan, #0197af) !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.partnership-page .school-card-header h3 {
  margin: 0 !important;
  color: var(--navy, #02153d) !important;
  font-family: 'Outfit', 'DM Sans', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.partnership-page .school-card p {
  margin: 0 !important;
  color: var(--muted, #5d7484) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

/* =========================================================
   10-PHOTO MOSAIC GALLERY DENGAN LENCANA VISUAL
========================================================= */

.location-page {
  background: #f6fafd;
}

.location-page .gallery-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.location-page .gallery-heading {
  margin-bottom: 40px;
}

.location-page .gallery-heading .eyebrow {
  display: inline-block;
  color: var(--cyan, #0197af);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.location-page .gallery-heading h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 800;
  color: var(--navy, #02153d);
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.location-page .gallery-heading p {
  font-size: 1.05rem;
  color: var(--muted, #5d7484);
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

/* Grid Bento 4 Lajur */
.mosaic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}

/* Bingkai Foto */
.gallery-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e2ebf0;
  border: 1px solid rgba(2, 21, 61, 0.08);
  box-shadow: 0 10px 26px rgba(2, 21, 61, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(2, 21, 61, 0.12);
}

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

/* Gaya Lencana Kecil (Photo Badges) */
.photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2, 21, 61, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gallery-cell:hover .photo-badge {
  background: var(--navy, #02153d);
  border-color: var(--aqua, #00eed0);
  color: var(--aqua, #00eed0);
}

/* Konfigurasi Saiz Dinamik Grid */
.cell-large {
  grid-column: span 2;
  grid-row: span 2;
}

.cell-wide {
  grid-column: span 2;
}

.cell-tall {
  grid-row: span 2;
}

/* Paparan Responsif (Tablet & Telefon) */
@media (max-width: 1024px) {
  .mosaic-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .cell-tall {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .mosaic-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
  }

  .cell-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cell-wide {
    grid-column: span 2;
  }
}

@media (max-width: 500px) {
  .mosaic-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .cell-large,
  .cell-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Latar belakang baharu - tidak putih rata, sebaliknya ada ton warna tema */
.location-page {
  background: linear-gradient(135deg, #eef7fa 0%, #f4fbfb 45%, #f1ebf9 100%) !important;
  min-height: 100vh;
}

/* =========================================================
   JOHOR GALLERY - TON BACKGROUND & PENGISIAN RUANG ATAS
========================================================= */

/* 1. Latar Belakang Tema Lembut (Bukan putih rata) */
.location-page {
  background: linear-gradient(145deg, #eaf6f9 0%, #f7fbfc 50%, #f2ebf8 100%) !important;
  min-height: 100vh;
}

.location-page .gallery-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 24px 90px;
}

/* 2. Butang Kembali yang Lebih Timbul */
.location-page .back-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 21, 61, 0.1);
  box-shadow: 0 4px 14px rgba(2, 21, 61, 0.04);
  color: var(--navy);
  font-weight: 700;
  transition: 0.2s ease;
}

.location-page .back-button:hover {
  background: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 6px 18px rgba(2, 21, 61, 0.08);
}

.location-page .back-button span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
}

/* 3. Susunan Atas: Seimbangkan Ruang Kiri dan Kanan */
.gallery-heading-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}

.location-page .gallery-heading {
  max-width: 650px;
  margin-bottom: 0;
}

.location-page .gallery-heading .eyebrow {
  display: inline-block;
  color: var(--cyan, #0197af);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.location-page .gallery-heading h1 {
  font-size: clamp(3rem, 5.2vw, 4.6rem);
  font-weight: 800;
  color: var(--navy, #02153d);
  letter-spacing: -0.045em;
  margin: 0 0 12px;
  line-height: 1.02;
}

.location-page .gallery-heading p {
  font-size: 1.1rem;
  color: var(--muted, #5d7484);
  margin: 0;
  line-height: 1.6;
}

/* 4. Kad Penyeri Sebelah Kanan (Mengisi Ruang Kosong Atas) */
.gallery-meta-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(2, 21, 61, 0.08);
  box-shadow: 0 10px 28px rgba(2, 21, 61, 0.06);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.meta-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy, #02153d);
  font-weight: 800;
}

.meta-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, #5d7484);
}

.meta-divider {
  width: 1px;
  height: 34px;
  background: rgba(2, 21, 61, 0.1);
}

/* 5. Kotak Bingkai Gambar (Kontras Lebih Menonjol pada Background Baharu) */
.gallery-cell {
  background: #d8e6eb !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 12px 30px rgba(2, 21, 61, 0.07) !important;
}

/* Responsif skrin kecil */
@media (max-width: 900px) {
  .gallery-heading-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* Kotak biru gelap luaran - dikecilkan lebar & dipadatkan */
.gallery-page .locations,
.locations {
  width: min(980px, calc(100% - 40px)); /* Dikecilkan saiz maksimum supaya padat */
  max-width: 980px;
  margin: 60px auto 48px;
  padding: 34px 38px 36px;              /* Padding dalaman yang lebih kemas */
  border-radius: 24px;
  background: linear-gradient(120deg, #071f3d 0%, #123663 62%, #39236f 100%);
  box-shadow: 0 20px 45px rgba(7, 26, 51, 0.14);
}

/* Susunan grid: 3 kolum (3 atas, 3 bawah) */
.gallery-page .locations .location-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 kolum */
  gap: 14px;                                         /* Jarak antara kad */
}

/* Butang kad setiap lokasi */
.gallery-page .locations .location-card,
.location-grid a {
  min-height: 72px;
  padding: 18px 20px;
  background: var(--white, #ffffff);
  border: 1px solid rgba(7, 31, 61, 0.12);
  border-radius: 14px;
  color: var(--navy, #02153d);
  font: 700 1.05rem 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gallery-page .locations .location-card:hover,
.location-grid a:hover {
  background: var(--aqua, #00eed0);
  border-color: var(--aqua, #00eed0);
  color: var(--navy, #02153d);
  transform: translateY(-3px);
}

/* Responsif untuk skrin telefon / tablet */
@media (max-width: 820px) {
  .gallery-page .locations .location-grid,
  .location-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolum pada tablet */
  }
}

@media (max-width: 540px) {
  .gallery-page .locations .location-grid,
  .location-grid {
    grid-template-columns: 1fr;            /* 1 kolum pada telefon */
  }
}

/*6/10/2026*/
/* =========================================================
   LOCATION PAGES - PHOTO COLLAGE BACKGROUND
========================================================= */

.location-page {
    min-height: 100vh;

    background-color: #fbfaf8 !important;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.08)
        ),
        url("assets/location-collage-bg.png") !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}


/* Pastikan bahagian gallery transparent
   supaya background boleh nampak */
.location-page .location-gallery {
    background: transparent !important;

}


/* Content kekal di atas background */
.location-page .gallery-container {
    position: relative;
    z-index: 1;
}


/* Untuk phone/tablet */
@media (max-width: 768px) {

    .location-page {
        background-attachment: scroll !important;
        background-position: top center !important;
        background-size: cover !important;
    }

}

/* =========================================================
   STANDARDIZE ALL LOCATION GALLERIES
   Semua page sama size & layout
========================================================= */

/* Kota Damansara + semua page mosaic */
.location-page .programme-photo-grid,
.location-page .mosaic-gallery-grid {
    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: 520px repeat(3, 260px) !important;

    grid-auto-rows: unset !important;

    gap: 18px !important;

    width: 100% !important;
}


/* Semua frame gambar sama */
.location-page .programme-photo,
.location-page .gallery-cell {
    position: relative;

    margin: 0 !important;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    border-radius: 22px;

    background: #dce6ec;

    box-shadow:
        0 12px 30px rgba(22, 50, 79, 0.08);
}


/* Semua gambar ikut frame */
.location-page .programme-photo img,
.location-page .gallery-cell img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}


/* =========================================
   GAMBAR PERTAMA BESAR PENUH
========================================= */

.location-page .programme-photo-grid > :first-child,
.location-page .mosaic-gallery-grid > :first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}


/* =========================================
   GAMBAR 2 - 10 SEMUA SAMA SIZE
========================================= */

.location-page .programme-photo-grid > :nth-child(n+2),
.location-page .mosaic-gallery-grid > :nth-child(n+2) {
    grid-column: auto !important;
    grid-row: auto !important;
}


/* Buang setting mosaic lama */
.location-page .cell-large,
.location-page .cell-wide,
.location-page .cell-tall {
    grid-column: auto !important;
    grid-row: auto !important;
}


/* Gambar pertama tetap full width */
.location-page .mosaic-gallery-grid > .cell-large:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
}

/* =========================================================
   LOCATION PAGE - RAPATKAN BAHAGIAN ATAS
========================================================= */
/* Naikkan keseluruhan content */
.location-page .location-gallery {
    padding-top: 0px !important;
}


/* Container */
.location-page .gallery-container {
    padding-top: 0 !important;
}


/* Back button rapat ke atas */
.location-page .back-button {
    margin-top: 0px !important;
    margin-bottom: 16px !important;
    padding-top: 4px !important;

}


/* Tajuk + info card */
.location-page .gallery-heading-wrapper {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}


/* Buang space tambahan tajuk */
.location-page .gallery-heading {
    margin-top: 0 !important;
}


/* PHOTO ARCHIVE */
.location-page .gallery-heading .eyebrow {
    margin-top: 0 !important;
    margin-bottom: 7px !important;
}


/* Tajuk */
.location-page .gallery-heading h1 {
    white-space: nowrap !important;
    font-size: clamp(2.5rem, 4vw, 4.2rem) !important;
}


/* Description */
.location-page .gallery-heading p {
    margin-bottom: 0 !important;
}

.location-page .mosaic-gallery-grid {
    overflow-y: auto;
}

/* =========================================================
   LOCATION PAGE - FINAL HEADER ADJUSTMENT
========================================================= */

/* Tajuk program kekal 1 line */
.location-page .gallery-heading {
    max-width: none !important;
    width: auto !important;
}

.location-page .gallery-heading h1 {
    white-space: nowrap !important;

    font-size: clamp(2.7rem, 4.2vw, 4.6rem) !important;
    line-height: 1 !important;

    margin-bottom: 10px !important;
}


/* Back to Gallery - turun sikit */
.location-page .back-button {
    margin-top: 12px !important;
    margin-bottom: 18px !important;

    background: #02153d !important;
    color: #ffffff !important;

    border: 1px solid #02153d !important;
    box-shadow: 0 6px 16px rgba(2, 21, 61, 0.16) !important;
}


/* Bulatan arrow */
.location-page .back-button span {
    background: #ffffff !important;
    color: #02153d !important;

    border: none !important;
}


/* Hover */
.location-page .back-button:hover {
    background: #0d275a !important;
    color: #ffffff !important;
}

.location-page .back-button:hover span {
    background: #00eed0 !important;
    color: #02153d !important;
}

/*della*/
.gallery-page .gallery-foot {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 8px;

    margin-top: 22px;
    max-width: 520px;
}

.gallery-page .gallery-foot span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 14px;

    border: 1px solid rgba(2, 21, 61, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.18);
    color: var(--navy);

    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
}

.gallery-page .page-hero .eyebrow {
    font-size: 1rem;
}

.gallery-page .page-hero .gallery-hero-copy p {
    font-size: 1.25rem;
    line-height: 1.7;
}

.hero-art {
    position: relative;
    width: 100%;
    height: 525px;

    align-self: end;
    margin: 0 0 62px;

    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/*8/10/2026*/
/* =========================================
   OUR PROGRAMMES HERO FINAL FIX
========================================= */

.programmes-page-body .programme-page-hero {
    min-height: 585px;
    height: auto;
    padding: 55px 6%;
}

.programmes-page-body .programme-page-hero .hero-text {
    min-height: 0;
    padding: 0;
}

/* FINAL HOME HERO IMAGE ALIGNMENT */
.hero-art {
    height: 525px;
    align-self: center;
    margin: 25px 0 35px;
}

/* =========================================
   FINAL FOOTER
========================================= */

footer {
    background: var(--navy);
    color: #ffffff;

    padding: 25px 5% 18px;
}


/* TOP FOOTER */

.footer-main {
    width: min(1280px, 100%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* LOGO */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-main .footer-logo {
    width: auto;
    height: 55px;
    display: block;
}


/* BUILD • PROTECT • GROW */

.footer-tagline {
    margin: 5px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.footer-tagline span {
    margin: 0 4px;
    color: var(--aqua);
}


/* NAVIGATION */

.footer-main nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 28px;
}

.footer-main nav a {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-main nav a:hover {
    color: var(--aqua);
}


/* BOTTOM FOOTER */

.footer-bottom {
    width: min(1280px, 100%);
    margin: 22px auto 0;

    padding-top: 15px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.18);

    color: #cce3e7;
    font-size: 0.78rem;
}


/* COPYRIGHT CENTER */

.footer-copyright {
    grid-column: 2;

    margin: 0;

    text-align: center;
}


/* BACK TO TOP */

.back-to-top {
    grid-column: 3;

    justify-self: end;

    color: #ffffff;
    text-decoration: none;
}

.back-to-top:hover {
    color: var(--aqua);
}

/* MOBILE */

@media (max-width: 700px) {

    footer {
        padding: 25px 6% 18px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;
    }

    .footer-main nav {
        gap: 15px 20px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 12px;

        text-align: center;
    }

    .footer-copyright,
    .back-to-top {
        grid-column: 1;
        justify-self: center;
    }
}

/* =========================================
   COMPACT FOOTER
   Logo & text kekal besar
========================================= */

footer {
    padding: 10px 5% 8px !important;
}

/* Bahagian logo + menu */
.footer-main {
    min-height: 62px;
    margin: 0 auto !important;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

/* LOGO KEKAL BESAR */
.footer-main .footer-logo {
    height: 60px !important;
    width: auto;
}

/* Build • Protect • Grow */
.footer-main .brand::after {
    margin-top: 0 !important;
    font-size: 0.75rem;
}

/* MENU KEKAL BESAR */
.footer-main nav {
    gap: 28px;
}

.footer-main nav a {
    font-size: 1rem !important;
}

/* Bahagian bawah */
.footer-bottom {
    margin: 5px auto 0 !important;
    padding-top: 7px !important;

    min-height: 27px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Copyright tengah */
.footer-bottom > span {
    grid-column: 2;
    text-align: center;
}

/* Back to top kanan */
.footer-bottom > a {
    grid-column: 3;
    justify-self: end;
}

/* =========================================
   FOOTER LOGO + TAGLINE ALIGNMENT
========================================= */

.footer-main .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 220px;
}

/* BESARKAN LOGO */
.footer-main .footer-logo {
    width: auto !important;
    height: 75px !important;
    object-fit: contain;
}

/* BUILD • PROTECT • GROW */
.footer-main .brand::after {
    content: none !important;
}

.footer-main .footer-logo {
    height: 95px !important;
    width: auto !important;
    object-fit: contain;
}

.footer-bottom {
    max-width: 1280px;
    margin: 5px auto 0 !important;
    padding-top: 8px !important;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* Build • Protect • Grow kiri */
.footer-values {
    grid-column: 1;
    justify-self: start;

    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Copyright tengah */
.footer-copyright {
    grid-column: 2;
    justify-self: center;

    color: #cce3e7;
    font-size: 0.8rem;
}

/* Back to top kanan */
.back-to-top {
    grid-column: 3;
    justify-self: end;

    color: #ffffff;
    font-size: 0.8rem;
}

.footer-main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-bottom {
    margin-top: -8px !important;
}

/* FINAL TIGHT FOOTER TOP */

footer {
    padding: 0 5% 6px !important;
}

.footer-main {
    margin: 0 auto !important;
    padding: 0 !important;

    min-height: 0 !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-main .footer-logo {
    margin: 0 !important;
}

.footer-main nav {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================
   FOOTER TOP
   LOGO LEFT | NAV CENTER | SOCIAL RIGHT
========================================= */

.footer-main {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;

    gap: 30px;
}


/* LOGO KIRI */

.footer-brand {
    grid-column: 1;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-main .footer-logo {
    height: 85px !important;
    width: auto !important;

    display: block;
    margin: 0 !important;
}


/* MENU TENGAH */

.footer-nav {
    grid-column: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 28px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav a {
    color: #ffffff;

    font-size: 1rem !important;
    font-weight: 700;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--aqua);
}


/* SOCIAL MEDIA KANAN */

.footer-social {
    grid-column: 3;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 16px;
}


/* ICON */

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1.5px solid var(--aqua);
    border-radius: 50%;

    color: var(--aqua);

    font-size: 1.15rem;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* HOVER */

.footer-social a:hover {
    background: var(--aqua);
    color: var(--navy);

    transform: translateY(-2px);
}

/* =========================================
   RESTORE FOOTER BOTTOM
========================================= */

.footer-bottom {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto !important;
    padding-top: 8px !important;

    display: grid !important;
    grid-template-columns: 220px 1fr 220px !important;
    align-items: center !important;

    border-top: 1px solid rgba(255,255,255,0.18);

    min-height: 30px !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/* KIRI */
.footer-values {
    grid-column: 1 !important;

    justify-self: center !important;

    margin: 0 !important;

    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;

    white-space: nowrap;
}

/* COPYRIGHT TENGAH */
.footer-copyright {
    grid-column: 2 !important;

    justify-self: center !important;

    margin: 0 !important;

    color: #cce3e7;
    font-size: 0.8rem;

    white-space: nowrap;
}

/* BACK TO TOP KANAN */
.back-to-top {
    grid-column: 3 !important;

    justify-self: end !important;

    margin: 0 !important;

    color: #ffffff;
    font-size: 0.8rem;

    white-space: nowrap;
}

.back-to-top:hover {
    color: var(--aqua);
}

/*latest from teha*/
/* =========================================
   CONTACT PAGE - TEXT COLOUR FIX
========================================= */

.contact-page-background .contact-info-section > h2,
.contact-page-background .enquiry-section > h2 {
    color: #ffffff !important;
}

/* perkataan highlight */
.contact-page-background .contact-info-section > h2 em,
.contact-page-background .enquiry-section > h2 em {
    color: #00eed0 !important;
}

/* small heading */
.contact-page-background .contact-info-section > .eyebrow,
.contact-page-background .enquiry-section > .eyebrow {
    color: #00eed0 !important;
}

.contact-page-background .contact-info-section > .eyebrow,
.contact-page-background .enquiry-section > .eyebrow {
    color: #00eed0 !important;
    font-size: 1.20rem !important;
    letter-spacing: 0.22em !important;
    font-weight: 800 !important;
}

/* CARD KANAN - MyCEO Education */
.contact-company-card {
    background: #fff4dc;
    border: 1px solid rgba(0, 238, 208, 0.22) !important;
}

.contact-company-card h3 {
    color: #02153d !important;
}

.contact-company-card p {
    color: #5d7484 !important;
}

.contact-company-card .contact-card-label,
.contact-company-card .contact-opening-hours span {
    color: #0197af !important;
}

/* CARD KIRI - Contact HQ */
.contact-hq-card {
   background: linear-gradient(135deg, #073b57, #0a6c78);

    color: #ffffff !important;
}

.contact-hq-card h3 {
    color: #ffffff !important;
}

.contact-hq-card p {
    color: rgba(255,255,255,0.82) !important;
}

.contact-hq-card .contact-card-label {
    color: #00eed0 !important;
}

.contact-hq-card,
.contact-company-card {
    background: #E2F9F6 !important;
    border: 1px solid #d2e9ee !important;
    color: #02153d !important;
}

.contact-hq-card h3,
.contact-company-card h3 {
    color: #02153d !important;
}

.contact-hq-card p,
.contact-company-card p {
    color: #5d7484 !important;
}

.contact-hq-card .contact-card-label,
.contact-company-card .contact-card-label,
.contact-opening-hours span {
    color: #0197af !important;
}

.enquiry-section {
    position: relative;

    background-image:
        linear-gradient(
            rgba(247, 251, 252, 0.92),
            rgba(247, 251, 252, 0.92)
        ),
        url("assets/contact-background.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.contact-page-background {
    background-image:
        linear-gradient(
            rgba(2, 21, 61, 0.28),
            rgba(2, 21, 61, 0.28)
        ),
        url("assets/contact-background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Buang background asal section */
.contact-page-background .contact-info-section,
.contact-page-background .enquiry-section {
    background: transparent !important;
}

/* =========================================
   GALLERY PAGE BACKGROUND ONLY
   HTML TIDAK DIUBAH
========================================= */

.gallery-page main {
    background-image:
        linear-gradient(
            rgba(240, 250, 250, 0.58),
            rgba(240, 250, 250, 0.58)
        ),
        url("assets/gallery-bg.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Hero transparent supaya background main nampak */
.gallery-page .page-hero {
    background: transparent !important;
}

/* Kekalkan section Our Previous Programmes seperti sedia ada */
.gallery-page .locations {
    background: linear-gradient(
        120deg,
        rgba(7, 31, 61, 0.95),
        rgba(57, 35, 111, 0.95)
    ) !important;
}

/* Kekalkan CTA card seperti sedia ada */
.gallery-page .gallery-callout {
    background: #E2F9F6 !important;
}

/* =========================================================
   FINAL GALLERY PAGE DESIGN
   FULL PAGE BACKGROUND
   HTML TIDAK PERLU DIUBAH
========================================================= */


/* =========================================================
   1. FULL GALLERY PAGE BACKGROUND
========================================================= */

.gallery-page main {
    position: relative;

    background-image:
        linear-gradient(
            rgba(2, 21, 61, 0.58),
            rgba(2, 21, 61, 0.58)
        ),
        url("assets/gallery-bg.jpg") !important;

    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}


/* =========================================================
   2. GALLERY HERO
========================================================= */

.gallery-page .page-hero {
    position: relative;

    display: grid !important;
    grid-template-columns:
        minmax(0, 620px)
        minmax(240px, 340px) !important;

    justify-content: center !important;
    align-items: center !important;

    gap: clamp(32px, 5vw, 90px) !important;

    min-height: 620px;

    padding-top: 55px !important;
    padding-bottom: 55px !important;

    background: transparent !important;

    overflow: hidden;
}


/* =========================================================
   3. HERO TEXT
========================================================= */

.gallery-page .gallery-hero-copy {
    position: relative;
    z-index: 2;
}


/* GALLERY */

.gallery-page .page-hero .eyebrow {
    color: #00eed0 !important;

    font-size: 0.95rem !important;
    font-weight: 800;

    letter-spacing: 0.22em;
}


/* LEARNING IN */

.gallery-page .page-hero h1 {
    margin: 18px 0 24px !important;

    color: #ffffff !important;

    font-size: clamp(3.5rem, 5.7vw, 6.3rem) !important;
    line-height: 0.95;

    letter-spacing: -0.055em;
}


/* ACTION */

.gallery-page .page-hero h1 em {
    color: #00eed0 !important;
    font-style: normal;
}


/* DESCRIPTION */

.gallery-page .page-hero .gallery-hero-copy p {
    max-width: 560px;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.90) !important;

    font-size: 1.08rem;
    line-height: 1.7;
}


/* =========================================================
   4. FIVE SKILL PILLS
========================================================= */

.gallery-page .gallery-foot {
    display: grid;

    grid-template-columns:
        repeat(3, max-content);

    gap: 10px;

    margin-top: 28px;
}


/* Responsibility + Resilience bawah */

.gallery-page .gallery-foot span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 10px 17px;

    border:
        1px solid
        rgba(255, 255, 255, 0.28) !important;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.10) !important;

    color: #ffffff !important;

    font-size: 0.82rem;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    backdrop-filter: blur(5px);
}


/* =========================================================
   5. HERO VIDEO
========================================================= */

.gallery-page .gallery-video-frame {
    position: relative;

    z-index: 2;

    width: min(100%, 340px) !important;

    margin: 0 auto !important;

    overflow: hidden;

    border:
        2px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 24px;

    background: #000000;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.30);
}


.gallery-page .gallery-video-frame video {
    display: block;

    width: 100%;

    aspect-ratio: 9 / 16;

    object-fit: contain;

    background: #000000;
}


/* =========================================================
   6. OUR PREVIOUS PROGRAMMES
========================================================= */

.gallery-page .locations {
    width: calc(100% - 10%) !important;
    max-width: 1250px !important;

    margin: 55px auto 48px !important;

    padding: 38px 50px 42px !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 24px;

    background:
        linear-gradient(
            120deg,
            rgba(7, 31, 61, 0.88),
            rgba(57, 35, 111, 0.88)
        ) !important;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(6px);
}


/* SECTION HEADING */

.gallery-page .locations .section-heading {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.75fr)
        minmax(260px, 0.75fr) !important;

    align-items: end;

    gap: 55px;

    margin-bottom: 38px !important;
}


/* TITLE */

.gallery-page .locations .section-heading h2 {
    margin: 0 !important;

    color: #ffffff !important;

    font-size:
        clamp(3rem, 5vw, 4.7rem);

    line-height: 0.98;

    letter-spacing: -0.045em;
}


/* PROGRAMMES */

.gallery-page .locations
.section-heading h2 em {

    color: #f4c95d !important;

    font-style: normal;
}


/* DESCRIPTION */

.gallery-page .locations
.section-heading p {

    max-width: 350px;

    margin: 0 !important;

    color:
        rgba(255, 255, 255, 0.88) !important;

    font-size: 1rem;

    line-height: 1.6;
}


/* =========================================================
   7. LOCATION CARDS
========================================================= */

.gallery-page .locations .location-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 15px;
}


.gallery-page .locations .location-card {
    min-height: 82px;

    padding: 20px 22px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 16px;

    color: #071f3d !important;

    background:
        rgba(255, 255, 255, 0.94) !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.35) !important;

    border-radius: 14px;

    font:
        700 1rem
        'Outfit',
        'DM Sans',
        sans-serif;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


/* ARROW */

.gallery-page .locations
.location-card span:last-child {

    color: #0197af;

    font-size: 1.1rem;
}


/* HOVER */

.gallery-page .locations
.location-card:hover {

    background: #00eed0 !important;

    border-color: #00eed0 !important;

    color: #071f3d !important;

    transform: translateY(-4px);
}


/* =========================================================
   8. BOTTOM CTA
========================================================= */

.gallery-page .gallery-callout {
    width: calc(100% - 28%) !important;
    max-width: 960px !important;

    min-height: 280px;

    margin: 0 auto 80px !important;

    padding: 45px 55px !important;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border:
        1.5px solid
        rgba(244, 201, 93, 0.85);

    border-radius: 20px;

    background:
        rgba(226, 249, 246, 0.92) !important;

    box-shadow:
        0 18px 40px
        rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(7px);
}


/* EYEBROW */

.gallery-page .gallery-callout
.eyebrow {

    color: #4b227a !important;
}


/* TITLE */

.gallery-page .gallery-callout h2 {
    margin: 14px 0 12px;

    color: #12345b !important;

    font-size:
        clamp(2.6rem, 4vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* DESCRIPTION */

.gallery-page .gallery-callout p {
    max-width: 680px;

    margin: 0 auto 22px;

    color: #40556c !important;

    line-height: 1.6;
}


/* BUTTON */

.gallery-page .gallery-callout .btn {
    margin: 0 auto;
}


/* =========================================================
   9. TABLET
========================================================= */

@media (max-width: 900px) {

    .gallery-page main {
        background-attachment: scroll !important;
    }


    .gallery-page .page-hero {
        grid-template-columns: 1fr !important;

        min-height: auto;

        gap: 35px !important;

        padding: 60px 6% !important;
    }


    .gallery-page
    .gallery-video-frame {

        width:
            min(100%, 300px) !important;
    }


    .gallery-page
    .locations
    .section-heading {

        grid-template-columns:
            1fr !important;

        gap: 20px;
    }


    .gallery-page
    .locations
    .section-heading p {

        max-width: 620px;
    }


    .gallery-page
    .locations
    .location-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;
    }


    .gallery-page
    .gallery-callout {

        width:
            calc(100% - 12%) !important;
    }
}


/* =========================================================
   10. MOBILE
========================================================= */

@media (max-width: 620px) {

    .gallery-page .page-hero {
        padding: 50px 6% !important;
    }


    .gallery-page
    .page-hero h1 {

        font-size:
            clamp(3rem, 13vw, 5rem)
            !important;
    }


    .gallery-page
    .gallery-foot {

        grid-template-columns:
            repeat(2, max-content);

        gap: 9px;
    }


    .gallery-page
    .locations {

        width:
            calc(100% - 24px) !important;

        margin:
            42px auto 32px !important;

        padding:
            30px 20px !important;

        border-radius: 20px;
    }


    .gallery-page
    .locations
    .location-grid {

        grid-template-columns:
            1fr !important;
    }


    .gallery-page
    .gallery-callout {

        width:
            calc(100% - 24px) !important;

        min-height: 0;

        margin-bottom:
            55px !important;

        padding:
            40px 22px !important;
    }
}

.gallery-page .locations {
    width: calc(100% - 28%) !important;
    max-width: 960px !important;

    margin: 55px auto 48px !important;

    padding: 45px 55px !important;
}

.gallery-page {
    background:
        linear-gradient(
            rgba(2, 21, 61, 0.58),
            rgba(2, 21, 61, 0.58)
        ),
        url("assets/gallery-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.gallery-page main {
    background: transparent !important;
}

/* =========================================
   CONTACT PAGE FULL BACKGROUND
========================================= */

.contact-page-background {
    background:
        linear-gradient(
            rgba(2, 21, 61, 0.38),
            rgba(2, 21, 61, 0.38)
        ),
        url("assets/contact-background.jpg") !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.contact-page-background main {
    background: transparent !important;
}

.contact-page-background .contact-info-section,
.contact-page-background .enquiry-section {
    background: transparent !important;
}

.contact-page-background .contact-info-section > h2,
.contact-page-background .enquiry-section > h2 {
    color: #ffffff !important;
}

.contact-page-background .contact-info-section > h2 em,
.contact-page-background .enquiry-section > h2 em {
    color: #00eed0 !important;
}

.contact-page-background .contact-info-section > .eyebrow,
.contact-page-background .enquiry-section > .eyebrow {
    color: #00eed0 !important;
}