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

:root {
  --forest: #005b63;
  --forest-deep: #00454d;
  --sage: #38edc4;
  --sage-light: #c8f8ed;
  --cream: #f7fffb;
  --paper: rgba(226, 250, 255, .80);
  --moss: #009e9a;
  --text: #004f58;
  --muted: #176b70;
  --line: rgba(0, 91, 99, .22);
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(34, 60, 47, .08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(120deg, #00cfe8 0%, #39edc3 52%, #ffe36d 100%) fixed;
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: var(--forest); }
a:hover { color: #52765c; }
img, svg { max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 255, 251, .88);
  border-bottom: 1px solid rgba(41, 76, 62, .12);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 62px; height: 62px; }
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -.04em;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.6vw, 34px);
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a[aria-current="page"] { border-color: var(--moss); }
main { min-height: 65vh; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  overflow: hidden;
  background: var(--reading-panel);
  position: relative;
}
.hero-grid {
  width: min(1120px, calc(100% - 40px));
  min-height: 440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 32px;
  padding: 54px 0 44px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #00666b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.7rem, 5.5vw, 4.5rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.65rem); margin: 0 0 22px; }
h3 { font-size: 1.35rem; margin: 0 0 10px; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.65; max-width: 650px; }
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}
.hero-art img { width: min(390px, 100%); filter: drop-shadow(0 14px 16px rgba(41,76,62,.08)); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 23px;
  background: var(--forest);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--forest);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { background: var(--forest-deep); color: var(--white); transform: translateY(-1px); }
.section { padding: 58px 0; }
.section-tight { padding: 42px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-heading p { color: var(--muted); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.focus-card, .card, .faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 18px rgba(34, 60, 47, .035);
}
.focus-card { padding: 24px 22px; text-align: center; }
.focus-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: rgba(234, 255, 249, .78);
  color: var(--forest);
  font-size: 1.55rem;
}
.focus-card h3 { font-size: 1.12rem; }
.focus-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.welcome-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: rgba(245, 255, 245, .78);
  border-radius: var(--radius);
}
.welcome-panel .aside-copy {
  border-left: 1px solid #a7b9a2;
  padding-left: 30px;
  color: #005b63;
}
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; }
.check-list li::before { content: "✦"; color: var(--moss); position: absolute; left: 2px; }
.page-hero { background: rgba(234, 255, 249, .78); padding: 54px 0 42px; }
.page-hero .container { max-width: 1120px; }
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.page-hero p { font-size: 1.12rem; max-width: 760px; }
.content { max-width: 1120px; }
.content h2 { margin-top: 34px; }
.content h3 { margin-top: 24px; }
.content ul { padding-left: 1.35rem; }
.content li { margin-bottom: .45rem; }
.badge-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; list-style: none; }
.badge-list li { margin: 0; }
.badge-list a {
  display: block; height: 100%;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 15px 17px;
  text-decoration: none; font-weight: 600;
}
.badge-list a::after { content: " ↗"; color: var(--moss); }
.note { background: rgba(235, 255, 245, .82); border-left: 4px solid var(--moss); padding: 16px 20px; border-radius: 0 12px 12px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
blockquote {
  margin: 0; padding: 24px;
  background: rgba(234, 255, 249, .78); border-radius: var(--radius);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem; line-height: 1.55;
}
blockquote cite { display: block; margin-top: 14px; font-family: "DM Sans", sans-serif; font-size: .85rem; font-style: normal; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%; border: 0; background: transparent; color: var(--forest);
  text-align: left; padding: 20px 22px; font: 600 1rem/1.5 "DM Sans", sans-serif;
  cursor: pointer; display: flex; justify-content: space-between; gap: 18px;
}
.faq-question span:last-child { font-size: 1.3rem; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: #075a60; }
.faq-answer[hidden] { display: none; }
.faq-category { margin: 36px 0 16px; }
.contact-strip { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-strip h2 { color: var(--white); margin-bottom: 8px; }
.contact-strip p { margin-bottom: 0; color: #e0e9df; }
.contact-strip a { color: var(--white); }
.contact-strip .button { background: var(--cream); color: var(--forest); border-color: var(--cream); flex-shrink: 0; }
.site-footer { background: var(--forest-deep); color: #edf2e9; padding: 28px 0; margin-top: 36px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #edf2e9; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.small { font-size: .9rem; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
@media (max-width: 780px) {
  .header-inner { width: min(100% - 28px, 1120px); min-height: auto; padding: 12px 0; align-items: flex-start; flex-direction: column; gap: 8px; }
  .brand img { width: 48px; height: 48px; }
  .nav { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .nav a { font-size: .9rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 4px; padding: 42px 0 32px; }
  .hero-art { min-height: 200px; }
  .hero-art img { width: min(290px, 78%); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome-panel, .cards-2 { grid-template-columns: 1fr; }
  .welcome-panel { padding: 24px; }
  .welcome-panel .aside-copy { border-left: 0; border-top: 1px solid #a7b9a2; padding: 22px 0 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .container, .hero-grid { width: calc(100% - 30px); }
  .focus-grid, .badge-list { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .card { padding: 22px; }
}

/* Added profile photo, ecodemy seals and clickable voucher banners */
.about-photo { float: right; width: min(34%, 260px); margin: 0 0 24px 30px; text-align: center; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 4px solid rgba(255,255,255,.75); box-shadow: var(--shadow); }
.about-photo figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.main-qualification { margin: 20px 0 26px; text-align: left; }
.main-qualification img { width: 180px; height: auto; }
.additional-qualifications { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.additional-qualifications a, .main-qualification a { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; transition: transform .18s ease; }
.additional-qualifications a:hover, .main-qualification a:hover { transform: translateY(-3px); }
.additional-qualifications img { width: 125px; height: auto; }
.voucher-section { margin-top: 44px; padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.58); border: 1px solid var(--line); }
.voucher-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 26px; }
.voucher-banners a { display: block; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.7); transition: transform .18s ease, box-shadow .18s ease; }
.voucher-banners a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.voucher-banners img { display: block; width: 100%; height: auto; }
@media (max-width: 780px) { .about-photo { float: none; width: min(75%, 280px); margin: 20px auto 28px; } .additional-qualifications { justify-content: center; } .main-qualification { text-align: center; } .voucher-banners { grid-template-columns: 1fr; } }


/* Consistent pale blue/turquoise panels, subtle botanical background, and shared widths */
:root {
  --reading-panel: rgba(226, 250, 255, .80);
  --reading-border: rgba(0, 91, 99, .20);
}
body {
  background-image: url("assets/pattern.svg"), linear-gradient(120deg, #00cfe8 0%, #39edc3 52%, #ffe36d 100%);
  background-repeat: repeat, no-repeat;
  background-size: 240px 240px, cover;
  background-attachment: fixed, fixed;
}
/* Keep the pattern quiet so it adds texture without competing with text. */
.page-hero { background: var(--reading-panel); }
.page-hero .container { padding: 22px 0; border-radius: 0; }
.hero { background: var(--reading-panel); }
.hero-grid { width: min(1120px, calc(100% - 40px)); }
.hero-grid > div:first-child {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.section-heading {
  background: var(--reading-panel);
  border: 1px solid var(--reading-border);
  border-radius: var(--radius);
  padding: 25px 28px;
}
.welcome-panel { background: var(--reading-panel); border: 1px solid var(--reading-border); }
.focus-card, .card, .faq-item, .badge-list a, .note, blockquote,
.voucher-section {
  background: var(--reading-panel);
  border-color: var(--reading-border);
}
/* FAQ categories and answers use the same translucent reading-panel colour. */
.faq-category { background: var(--reading-panel); border: 1px solid var(--reading-border); border-radius: var(--radius); padding: 18px 22px; }
.faq-question { background: transparent; }
.faq-answer { background: var(--reading-panel); border-top: 1px solid var(--reading-border); }
.faq-answer p, .faq-answer ul { margin-top: 16px; }
.faq-answer li { margin-bottom: .65rem; }
/* About page: one unified panel per heading and its associated content. */
.content-panel {
  background: var(--reading-panel);
  border: 1px solid var(--reading-border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  margin: 0 0 22px;
  box-shadow: 0 5px 18px rgba(0, 60, 70, .045);
  overflow: auto;
}
.content-panel > h2:first-child { margin-top: 0; }
.content-panel > p:last-child, .content-panel > ul:last-child { margin-bottom: 0; }
.content-panel .voucher-section { margin-top: 24px; }
.content-panel .note { background: rgba(226, 250, 255, .52); }
.disclaimer-section { padding-top: 10px; padding-bottom: 10px; }
.disclaimer {
  margin: 0;
  padding: 20px 24px;
  color: var(--text);
  background: var(--reading-panel);
  border: 1px solid var(--reading-border);
  border-left: 5px solid var(--moss);
  border-radius: var(--radius);
  box-shadow: 0 5px 18px rgba(0, 60, 70, .05);
  font-size: .92rem;
}
.contact-strip { background: var(--reading-panel); color: var(--text); border: 1px solid var(--reading-border); }
.contact-strip h2, .contact-strip p, .contact-strip a { color: var(--forest); }
.contact-strip .button { background: var(--forest); color: var(--white); border-color: var(--forest); }
@media (max-width: 780px) {
  .page-hero .container { padding: 18px 0; }
  .section-heading { padding: 21px 20px; }
  .faq-category { padding: 16px 18px; }
  .disclaimer { padding: 17px 18px; }
  .content-panel { padding: 20px 18px; }
}


/* About-page hero: portrait arranged like the large logo on the homepage. */
.about-page-hero { padding: 0; }
.about-hero-grid {
  width: min(1120px, calc(100% - 40px));
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 32px;
  padding: 42px 0;
}
.about-hero-grid > div { min-width: 0; }
.about-hero-grid h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.about-hero-grid p:not(.eyebrow) { font-size: 1.12rem; max-width: 650px; }
.about-hero-photo {
  width: 100%;
  max-width: 250px;
  justify-self: center;
  margin: 0;
  text-align: center;
}
.about-hero-photo img {
  display: block;
  width: 100%;
  max-height: 390px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 4px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
}
.about-hero-photo figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; }
@media (max-width: 780px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .about-hero-photo { width: min(78%, 300px); }
  .about-hero-photo img { max-height: 360px; }
}
.voucher-banners {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.voucher-banners img {
    max-width: 600px;
    height: auto;
}
