/* Glider Academy — SEO landing pages and homepage content blocks.
   Lightweight on purpose (no Bootstrap dependency): landing pages load only
   this file + the Montserrat font. Class prefix gp- avoids clashes with the
   EduMall template CSS that the homepage still loads. */
:root {
  --gp-primary: #0071dc;
  --gp-primary-dark: #005bb3;
  --gp-navy: #031f42;
  --gp-accent: #ffc221;
  --gp-wa: #1fa855;
  --gp-wa-dark: #178a45;
  --gp-text: #252525;
  --gp-muted: #5c6470;
  --gp-line: #e3e8ef;
  --gp-soft: #f4f7fb;
  --gp-radius: 12px;
}

.gp-body {
  margin: 0;
  background: #fff;
  color: var(--gp-text);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.gp-body *, .gp-body *::before, .gp-body *::after { box-sizing: border-box; }
.gp-body img { max-width: 100%; height: auto; }
.gp-body a { color: var(--gp-primary); }
.gp-body a:hover { color: var(--gp-primary-dark); }
.gp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.gp-skip { position: absolute; left: -999px; top: 0; background: var(--gp-navy); color: #fff; padding: 8px 12px; z-index: 100; }
.gp-skip:focus { left: 8px; color: #fff; }

/* ---------- header ---------- */
.gp-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--gp-line); }
.gp-header__bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.gp-logo { display: inline-flex; align-items: center; flex: none; }
.gp-logo img { display: block; width: 150px; height: auto; }
.gp-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gp-nav a { color: var(--gp-navy); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.gp-nav a:hover, .gp-nav a[aria-current="page"] { background: var(--gp-soft); color: var(--gp-primary); }
.gp-header__cta { flex: none; }
.gp-menu { display: none; margin-left: auto; }
.gp-menu summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--gp-navy); padding: 8px 12px; border: 1px solid var(--gp-line); border-radius: 8px; }
.gp-menu summary::-webkit-details-marker { display: none; }
.gp-menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gp-line); box-shadow: 0 12px 24px rgba(3, 31, 66, .08); padding: 8px 16px 16px; }
.gp-menu__panel a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--gp-line); color: var(--gp-navy); text-decoration: none; font-weight: 600; }
.gp-menu__panel .gp-btn { margin-top: 12px; width: 100%; justify-content: center; border: 0; color: #fff; }
@media (max-width: 1080px) {
  .gp-header .gp-nav, .gp-header .gp-header__cta { display: none; }
  .gp-header .gp-menu { display: block; }
}

/* ---------- buttons ---------- */
.gp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; line-height: 1.2; cursor: pointer; }
.gp-body .gp-btn--wa, .gp-btn--wa { background: var(--gp-wa); color: #fff; }
.gp-body .gp-btn--wa:hover, .gp-btn--wa:hover { background: var(--gp-wa-dark); color: #fff; }
.gp-body .gp-btn--primary, .gp-btn--primary { background: var(--gp-primary); color: #fff; }
.gp-body .gp-btn--primary:hover, .gp-btn--primary:hover { background: var(--gp-primary-dark); color: #fff; }
.gp-body .gp-btn--ghost, .gp-btn--ghost { background: #fff; color: var(--gp-navy); border-color: var(--gp-line); }
.gp-body .gp-btn--ghost:hover, .gp-btn--ghost:hover { border-color: var(--gp-primary); color: var(--gp-primary); }
.gp-btn--sm { padding: 8px 14px; font-size: 14px; }
.gp-btn svg { width: 18px; height: 18px; flex: none; }
.gp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- breadcrumbs + hero ---------- */
.gp-crumbs { font-size: 13px; color: var(--gp-muted); padding: 14px 0 0; }
.gp-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gp-crumbs li + li::before { content: '›'; margin-right: 6px; color: #a0a8b3; }
.gp-crumbs a { color: var(--gp-muted); text-decoration: none; }
.gp-crumbs a:hover { text-decoration: underline; }
.gp-hero { background: linear-gradient(180deg, var(--gp-soft), #fff); padding: 8px 0 40px; }
.gp-hero h1 { color: var(--gp-navy); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.18; margin: 18px 0 14px; font-weight: 800; }
.gp-lead { font-size: clamp(16px, 2vw, 18px); color: #3a4350; max-width: 760px; margin: 0 0 22px; }
.gp-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--gp-navy); }
.gp-points li::before { content: '✓'; color: var(--gp-wa); margin-right: 6px; font-weight: 800; }

/* ---------- content ---------- */
.gp-main section { padding: 32px 0; }
.gp-main h2 { color: var(--gp-navy); font-size: clamp(22px, 3vw, 30px); line-height: 1.25; margin: 0 0 14px; font-weight: 800; }
.gp-main h3 { color: var(--gp-navy); font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.gp-prose { max-width: 820px; }
.gp-prose p { margin: 0 0 14px; }
.gp-list { padding-left: 20px; margin: 0 0 14px; }
.gp-list li { margin-bottom: 8px; }
.gp-steps { counter-reset: gp; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gp-steps li { counter-increment: gp; background: var(--gp-soft); border-radius: var(--gp-radius); padding: 18px 18px 18px 60px; position: relative; }
.gp-steps li::before { content: counter(gp); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gp-primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.gp-alt { background: var(--gp-soft); }

/* ---------- course cards ---------- */
.gp-courses { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gp-course { border: 1px solid var(--gp-line); border-radius: var(--gp-radius); padding: 20px; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.gp-course:target { border-color: var(--gp-primary); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.gp-course h3 a { color: inherit; text-decoration: none; }
.gp-course p { margin: 0 0 12px; }
.gp-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.gp-meta li { font-size: 12px; font-weight: 700; color: var(--gp-navy); background: var(--gp-soft); border-radius: 999px; padding: 4px 10px; }
.gp-course__for { font-size: 14px; color: var(--gp-muted); }
.gp-course__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 6px; }
.gp-course__syllabus { font-size: 14px; font-weight: 600; margin-right: auto; }
.gp-group { margin-top: 26px; }
.gp-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.gp-group__head h3 { font-size: 21px; margin: 0; }

/* ---------- programme cards (homepage + related) ---------- */
.gp-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gp-card { display: block; border: 1px solid var(--gp-line); border-radius: var(--gp-radius); padding: 20px; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.gp-card:hover { border-color: var(--gp-primary); box-shadow: 0 8px 20px rgba(3, 31, 66, .08); }
.gp-card strong { display: block; color: var(--gp-navy); font-size: 17px; margin-bottom: 6px; }
.gp-card span { color: var(--gp-muted); font-size: 14px; line-height: 1.5; display: block; }

/* ---------- FAQ ---------- */
.gp-faq { max-width: 860px; }
.gp-faq details { border: 1px solid var(--gp-line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.gp-faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; color: var(--gp-navy); position: relative; list-style: none; }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--gp-primary); }
.gp-faq details[open] summary::after { content: '–'; }
.gp-faq details p { margin: 0; padding: 0 18px 16px; color: #3a4350; }

/* ---------- CTA band + footer ---------- */
.gp-cta { background: var(--gp-navy); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.gp-cta h2 { color: #fff !important; margin: 0 0 6px !important; }
.gp-cta p { margin: 0; color: #d6deea; }
.gp-footer { background: var(--gp-navy); color: #c9d3e1; margin-top: 40px; padding: 40px 0 24px; font-size: 14px; }
.gp-footer a { color: #fff; text-decoration: none; }
.gp-footer a:hover { text-decoration: underline; color: #fff; }
.gp-footer__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.gp-footer h2 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.gp-footer ul { list-style: none; padding: 0; margin: 0; }
.gp-footer li { margin-bottom: 7px; }
.gp-footer address { font-style: normal; line-height: 1.6; }
.gp-footer__base { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- floating WhatsApp ---------- */
.gp-wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--gp-wa); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.gp-wa-float svg { width: 30px; height: 30px; }
.gp-wa-float:hover { background: var(--gp-wa-dark); }

/* ---------- homepage blocks (inside the template page) ---------- */
.gp-home { font-family: 'Montserrat', system-ui, sans-serif; color: var(--gp-text); line-height: 1.65; }
.gp-home section { padding: 48px 0; }
.gp-home h1 { color: var(--gp-navy); font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; font-weight: 800; margin: 0 0 16px; }
.gp-home h2 { color: var(--gp-navy); font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
.gp-home .gp-hero { padding: 48px 0 40px; }
.gp-home__intro { max-width: 760px; color: var(--gp-muted); margin: 0 0 24px; }
.gp-home__hero { display: grid; gap: 32px; grid-template-columns: 1.2fr .8fr; align-items: center; }
.gp-home__hero img { width: 100%; height: auto; }
@media (max-width: 860px) { .gp-home__hero { grid-template-columns: 1fr; } .gp-home__hero figure { display: none; } }
.gp-home figure { margin: 0; }
