/* Modern responsive polish: mobile visibility, brand presentation and accessible controls */
:root {
  --modern-surface: var(--bg-card, #171321);
  --modern-line: var(--border-color, rgba(160, 66, 252, .22));
}

/* Keep the moving marketing message visible and readable on small screens. */
.marquee-ticker-wrap { background: var(--bg-card) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.marquee-ticker-item { color: var(--text-primary) !important; }

/* Digital presence and training layouts adapt without clipping content. */
.dp-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-links, .digital-presence-links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.training-programs-section, .training-stats-wrapper, .training-programs-grid, .programs-grid { min-width:0; }
.training-programs-grid, .programs-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.main-program-card, .program-card { min-width:0; width:100%; }
.program-card-title, .program-card-subtitle { overflow-wrap:anywhere; }

/* Three certificates at a time on desktop, with readable cards in both themes. */
.certs-carousel-controls { display:flex; align-items:center; justify-content:center; gap:14px; margin:14px auto 18px; }
.certs-progress { width:min(220px,72vw); height:4px; margin:0 auto 12px; overflow:hidden; border-radius:999px; background:var(--border-color); direction:inherit; }
.certs-progress-fill { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#1736A8,#A042FC); transition:width .32s ease; }
.feedback-progress { width:min(300px,82vw); height:5px; margin:8px auto 12px; overflow:hidden; border-radius:999px; background:var(--border-color); direction:inherit; }
.feedback-progress-fill { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#1736A8,#A042FC); transition:width .32s ease; }
.certs-carousel-arrow { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--modern-line); border-radius:50%; background:var(--modern-surface); color:var(--text-primary); font-size:26px; cursor:pointer; }
.certs-carousel-arrow:disabled { opacity:.4; cursor:default; }
.certs-page-status { min-width:90px; text-align:center; color:var(--text-secondary); }
.certs-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.cert-card { min-width:0; overflow:hidden; color:#20192b; background:#fff; border:1px solid rgba(30,20,50,.14); border-radius:16px; }
.cert-card img, .cert-img-container { background:#fff; }
.cert-card-body { color:#20192b; }
.cert-title, .cert-org, .cert-id, .cert-details { color:#20192b; }
.cert-details p { color:#433d4a; }
.certs-browse-wrapper { text-align:center; margin-top:20px; }
.main-program-card .program-card-actions { container-type:inline-size; }
.main-program-card .btn-cta-register .cta-full { display:inline; }
.main-program-card .btn-cta-register .cta-short { display:none; }
@container (max-width: 340px) {
  .main-program-card .btn-cta-register .cta-full { display:none; }
  .main-program-card .btn-cta-register .cta-short { display:inline; }
}
.certs-browse-wrapper .certs-browse-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:14px;
  color:#fff !important;
  background:linear-gradient(120deg,#1736A8,#7024B8) !important;
  box-shadow:0 6px 16px rgba(70,35,150,.22);
  font-weight:800;
  line-height:1.5;
  text-align:center;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.certs-browse-wrapper .certs-browse-btn::after {
  content:"↗";
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:50%;
  font-size:.9rem;
  line-height:1;
}
.certs-browse-wrapper .certs-browse-btn:hover,
.certs-browse-wrapper .certs-browse-btn:focus-visible {
  color:#fff !important;
  filter:brightness(1.08);
  transform:translateY(-2px);
  box-shadow:0 9px 22px rgba(70,35,150,.3);
}

/* Testimonials remain an obvious horizontal browse strip on every screen size. */
.feedback-grid { display:flex !important; gap:16px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding:8px 2px 14px; }
.feedback-grid::-webkit-scrollbar { display:none; }
.feedback-card { flex:0 0 min(82vw,360px); min-width:0; scroll-snap-align:center; display:flex; flex-direction:column; gap:12px; padding:20px; background:var(--bg-card); border:1px solid var(--modern-line); border-radius:18px; box-shadow:var(--shadow-sm,0 2px 8px rgba(0,0,0,.14)); }
.feedback-text { display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; line-height:1.8; color:var(--text-secondary); }
.feedback-dots { display:flex; justify-content:center; gap:7px; margin:8px 0 16px; }
.feedback-dot { width:8px; height:8px; border:0; border-radius:50%; padding:0; background:var(--border-color); cursor:pointer; }
.feedback-dot.active { width:21px; border-radius:5px; background:#a042fc; }
.feedback-more-wrapper { text-align:center; }

/* Partner chip and featured personal-brand photos. */
.gallery-partner-intro { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; max-width:900px; margin:12px auto 22px; text-align:center; }
.gallery-intro-copy { color:var(--text-secondary); line-height:1.8; }
.gallery-partner-chip { display:inline-flex; align-items:center; gap:10px; padding:9px 14px; border:1px solid rgba(160,66,252,.38); border-radius:999px; background:linear-gradient(120deg,rgba(160,66,252,.13),rgba(160,66,252,.04)); }
.gallery-partner-label { color:var(--text-secondary); font-size:.88rem; }
.gallery-partner-link { color:var(--text-primary); font-weight:800; text-decoration:none; }
.gallery-partner-link:hover { color:#a042fc; }
.personal-brand-featured { overflow:hidden; border:1px solid rgba(160,66,252,.26); }
.personal-brand-featured .gallery-img-container { aspect-ratio:16/10 !important; height:auto !important; position:relative; overflow:hidden; }
.personal-brand-featured .gallery-img { width:100%; height:100%; object-fit:cover; object-position:center 25%; transition:transform .5s ease; }
.personal-brand-featured:hover .gallery-img { transform:scale(1.035); }
.personal-brand-kicker { position:absolute; z-index:2; inset-inline-start:12px; top:12px; padding:7px 11px; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:#fff; background:rgba(24,16,38,.82); font-size:.8rem; font-weight:700; }
.gallery-card-caption { line-height:1.85; overflow-wrap:anywhere; }

/* Scroll progress and one-tap return control. */
.back-to-top { position:fixed; z-index:9998; inset-inline-end:20px; bottom:24px; width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:50%; color:#fff; background:#7c2fd0; box-shadow:0 4px 12px rgba(0,0,0,.22); opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .2s,transform .2s,visibility .2s; cursor:pointer; }
.back-to-top.is-visible { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top svg { width:20px; height:20px; }

/* Contact roles get clear separation while preserving the WhatsApp action. */
.contact-role-card { min-width:0; }
.contact-role-card .contact-card-value { overflow-wrap:anywhere; }
.contact-role-card .contact-card-btn { display:flex; justify-content:center; }

/* Keep animated labels and icon alignment from obstructing text. */
.skills-timeline li, .skill-item, .professional-skill-item { padding-inline-start:2.2rem; }
.skills-timeline li::before, .skill-item::before, .professional-skill-item::before { inset-inline-start:.35rem; }
.modal-tab, .modal-tabs button { animation:none; }

@media (max-width: 767px) {
  .dp-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px; }
  .training-programs-grid, .programs-grid { grid-template-columns:minmax(0,1fr) !important; }
  .main-program-card, .program-card { padding:clamp(16px,5vw,24px); }
  .marquee-ticker-wrap { min-height:58px; padding-block:12px; }
  .marquee-ticker-item { font-size:clamp(1rem,4vw,1.2rem); }
  .certs-grid { grid-template-columns:minmax(0,1fr) !important; }

  .gallery-header-wrapper { min-width:0; }
  .gallery-partner-intro { padding-inline:8px; }
  .personal-brand-featured .gallery-card-body { padding:16px; }
  .contact-info, .contact-layout { min-width:0; }
  .back-to-top { inset-inline-end:14px; bottom:82px; width:44px; height:44px; }
}
@media (min-width:600px) and (max-width:1023px) {
  .certs-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }

}
@media (max-width:390px) {
  .dp-stats-grid { gap:8px; }
  .dp-stats-grid > * { min-width:0; padding-inline:8px; }
  .feedback-card { flex-basis:84vw; }
  .gallery-partner-chip { gap:7px; padding:8px 10px; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Correct the site's actual course/stat grid class names. */
.training-stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:14px; min-width:0; }
.main-programs-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:20px; min-width:0; }
.main-program-card { min-width:0; width:100%; }
.skills-list li { padding-inline-start:2.25rem !important; }
html[dir="rtl"] .skills-list li { padding-right:2.25rem !important; padding-left:0 !important; }
html[dir="ltr"] .skills-list li { padding-left:2.25rem !important; padding-right:0 !important; }
.skills-list li::before { inset-inline-start:.35rem !important; }
@media (max-width:767px) {
  .training-stats-grid, .main-programs-grid { grid-template-columns:minmax(0,1fr) !important; }
  .marquee-ticker-wrap { mask-image:none; -webkit-mask-image:none; }
}
/* Final mobile pass: use the site's real grids and preserve visible content. */
@media (max-width: 767px) {
  .dp-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .dp-stat-card { min-width:0; flex-direction:column !important; align-items:center !important; gap:10px !important; padding:16px 10px !important; text-align:center; }
  .dp-stat-icon { width:44px !important; height:44px !important; min-width:44px !important; }
  .dp-stat-icon svg { width:30px !important; height:30px !important; }
  .dp-stat-content { width:100%; min-width:0; text-align:center; }
  .dp-stat-number { display:block; white-space:nowrap; font-size:clamp(1.8rem,8vw,2.4rem) !important; }
  .dp-stat-number bdi { direction:ltr; unicode-bidi:isolate; white-space:nowrap; }
  .dp-stat-label { display:block; font-size:.82rem !important; line-height:1.45; overflow-wrap:anywhere; }

  .main-programs-grid { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:16px !important; padding:0 !important; overflow:visible !important; }
  .main-program-card { width:100% !important; min-width:0 !important; flex:none !important; scroll-snap-align:none !important; padding:18px !important; }
  .program-card-actions { width:100%; }
  .program-card-actions .btn { width:100% !important; min-width:0; white-space:normal; }
  .topic-chips-wrap { display:flex; flex-wrap:wrap; gap:8px; }
  .topic-chip { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
  .training-stats-grid { grid-template-columns:minmax(0,1fr) !important; }

  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  .gallery-grid .static-featured-card { grid-column:1 / -1 !important; }
  #gallery-subtitle.gallery-partner-intro { display:flex !important; width:100%; max-width:100% !important; flex-direction:column; border-radius:18px !important; padding:14px !important; }
  .gallery-partner-link[href*="wa.me"] { display:inline-flex !important; width:auto !important; min-height:unset !important; align-items:center; }
}
#gallery-subtitle.gallery-partner-intro { display:flex !important; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; max-width:900px !important; border-radius:18px !important; padding:14px 18px !important; }
.gallery-partner-link[href*="wa.me"] { display:inline-flex !important; width:auto !important; min-height:unset !important; align-items:center; justify-content:center; padding:0 !important; }
.open-modal-btn[data-tab="details"]::before { display:none !important; }
.open-modal-btn[data-tab="details"] { position:relative; z-index:1; isolation:isolate; }
.dp-stat-card .dp-stat-number { white-space:nowrap; font-variant-numeric:tabular-nums; }
.dp-stat-card .dp-stat-number bdi { direction:ltr; unicode-bidi:isolate; white-space:nowrap; display:inline-block; }

/* Prevent gallery mosaics and stats from compressing their text on mobile. */
.gallery-grid .gallery-card:not(.static-featured-card) { min-width:0; overflow:hidden; }
.gallery-card-body { min-width:0; max-width:100%; box-sizing:border-box; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-title,
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-card-badge { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-title { text-wrap:balance; word-break:normal; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-card-badge { display:inline-flex; width:max-content; align-self:center; justify-content:center; white-space:normal; text-align:center; text-wrap:balance; line-height:1.45; }
.gallery-card-caption { overflow-wrap:anywhere; }
.dp-stat-number bdi { font-size:1em; line-height:1; }

/* Give the three training facts a consistent icon, number, and label rhythm. */
.training-stats-grid .stat-card { display:grid !important; grid-template-columns:42px auto minmax(0,1fr); align-items:center; justify-items:start; gap:10px 14px; min-height:76px; padding:14px 18px !important; text-align:start; }
.training-stats-grid .stat-card .stat-icon { display:grid; place-items:center; width:42px; height:42px; margin:0; }
.training-stats-grid .stat-card .stat-icon svg { display:block; width:30px; height:30px; }
.training-stats-grid .stat-card .stat-number { margin:0; font-size:clamp(1.5rem,5vw,1.9rem); line-height:1; white-space:nowrap; }
.training-stats-grid .stat-card .stat-label { min-width:0; margin:0; color:var(--text-secondary); font-size:.92rem; line-height:1.5; text-align:start; }

/* Tighten the course header so its logo and two badges read as one group. */
.main-program-card.available .program-card-header { grid-template-columns:minmax(0,1fr) 60px !important; grid-template-rows:auto auto; gap:7px 10px; min-height:82px; padding:10px 12px; }
.main-program-card.available .program-card-header .program-card-logo { width:56px; height:56px; padding:6px; }
.main-program-card.available .program-card-header .program-badge { padding:6px 10px !important; font-size:.78rem !important; }
/* Certificate cards keep both their controls and labels legible in either theme. */
.cert-card { background:#fff !important; }
.cert-img-container { background:#fff !important; }
.cert-img-container img { object-fit:contain !important; padding:8px; background:#fff; }
.cert-card-body { background:#fff !important; color:#20192b !important; }
.cert-card-body *, .cert-title, .cert-org, .cert-id, .cert-details, .cert-details summary, .cert-details p { color:#20192b !important; }
.certs-grid .cert-card { min-width:0; }

/* Make the marquee a readable proof strip followed by a clear training CTA. */
.marquee-ticker-wrap { padding:14px 0; background:var(--bg-card) !important; mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
.marquee-ticker-wrap:active .marquee-ticker-track,.marquee-ticker-wrap:focus-within .marquee-ticker-track { animation-play-state:paused; }
.marquee-ticker-item { min-height:42px; padding:8px 14px; border:1px solid var(--border-color); border-radius:999px; background:var(--bg-surface); color:var(--text-primary) !important; font-size:1rem; }
.marquee-ticker-item bdi { color:var(--brand-purple-tint); font-weight:900; font-variant-numeric:tabular-nums; }
html[data-theme="light"] .growth-partners-section .portal-title { background-image:linear-gradient(100deg,#6b21a8,#7526c6,#9d246f); }
[dir="rtl"] .feedback-carousel-arrow span,[dir="rtl"] .certs-carousel-arrow span { transform:rotate(180deg); }
@media (max-width:767px) {
  .marquee-ticker-wrap { padding:12px 0; mask-image:none; -webkit-mask-image:none; }
  .marquee-ticker-item { min-height:44px; padding:9px 14px; font-size:1rem; }
}

/* Growth Partners: restore the complete cards, commission display, checklist and application banner. */
.growth-partners-section { overflow:hidden; background:radial-gradient(ellipse at 50% 0,rgba(160,66,252,.13),transparent 58%); }
.growth-partners-section .gp-container { width:min(calc(100% - 32px),1280px); padding:0; }
.growth-partners-section .portal-header { max-width:860px; margin:0 auto 34px !important; }
.growth-partners-section .portal-title { margin:12px 0; font-size:clamp(2.1rem,5vw,3.5rem); line-height:1.15; color:var(--text-primary); background:linear-gradient(100deg,#c48bff,#8d42eb,#ff88c8); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.growth-partners-section .gp-subtitle { margin:0 auto 12px; color:var(--text-primary); font-size:clamp(1.05rem,2vw,1.3rem); font-weight:700; line-height:1.65; }
.growth-partners-section .gp-desc { max-width:760px; margin:0 auto; color:var(--text-secondary); line-height:1.9; font-size:1rem; }
.growth-partners-section .gp-badge { background:rgba(160,66,252,.14); border-color:rgba(160,66,252,.34); }
.gp-cards-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:20px; margin:0 0 26px; }
.growth-partners-section .gp-card { display:flex; min-width:0; flex-direction:column; gap:16px; padding:clamp(20px,2.4vw,30px) !important; border:1px solid var(--border-color) !important; border-radius:22px !important; background:var(--bg-card) !important; box-shadow:var(--shadow-sm); color:var(--text-primary); }
.growth-partners-section .gp-card-highlight { position:relative; overflow:hidden; border-color:rgba(160,66,252,.48) !important; background:linear-gradient(155deg,rgba(160,66,252,.14),var(--bg-card) 62%) !important; }
.growth-partners-section .gp-card-highlight::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#8d42eb,#ff88c8); }
.gp-comm-badge { display:inline-flex; align-items:center; gap:8px; align-self:flex-start; padding:7px 12px; border-radius:999px; background:rgba(160,66,252,.14); color:var(--text-primary); font-size:.88rem; font-weight:700; }
.gp-comm-rate { margin:2px 0 0; color:var(--brand-purple-tint); font-size:clamp(2.8rem,5vw,4.2rem); font-weight:900; line-height:1; direction:rtl; }
.gp-comm-subtitle { color:var(--text-primary); font-size:1.05rem; line-height:1.65; }
.gp-comm-desc,.gp-card-subtitle { color:var(--text-secondary); line-height:1.8; }
.gp-comm-features,.gp-checklist,.gp-skills-list { display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none; }
.gp-comm-feat-item,.gp-check-item,.gp-skill-item { display:flex; align-items:flex-start; gap:10px; min-width:0; color:var(--text-secondary); line-height:1.7; }
.gp-comm-feat-icon,.gp-check-icon,.gp-skill-dot,.gp-icon-badge { flex:0 0 auto; }
.gp-check-icon { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; color:#fff; background:#7937c8; font-size:.8rem; font-weight:800; }
.gp-check-item.highlight { color:var(--text-primary); font-weight:700; }
.gp-icon-badge { display:grid; place-items:center; width:48px; height:48px; border-radius:15px; background:rgba(160,66,252,.14); font-size:1.4rem; }
.gp-skill-dot { width:8px; height:8px; margin-top:.55em; border-radius:50%; background:#a042fc; box-shadow:0 0 0 4px rgba(160,66,252,.13); }
.gp-cta-banner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:clamp(22px,4vw,38px); border:1px solid rgba(160,66,252,.38); border-radius:24px; background:linear-gradient(115deg,rgba(160,66,252,.16),var(--bg-card)); box-shadow:var(--shadow-sm); }
.gp-cta-content { min-width:0; }
.gp-cta-free-badge { display:inline-flex; align-items:center; gap:8px; margin-bottom:10px; padding:6px 11px; border-radius:999px; background:rgba(160,66,252,.14); color:var(--text-primary); font-weight:700; }
.gp-cta-title { margin:0 0 6px; color:var(--text-primary); font-size:clamp(1.35rem,2.6vw,2rem); }
.gp-cta-desc { margin:0; color:var(--text-secondary); line-height:1.8; }
.gp-cta-btn-wrap { flex:0 0 auto; }
.growth-partners-section .gp-cta-btn { white-space:normal; text-align:center; }

/* Training section cards and the compact stats row shown in the attached images. */
.program-card-header { display:grid !important; grid-template-columns:minmax(0,1fr) 52px; grid-template-rows:auto auto; align-items:center !important; gap:8px 12px; }
.program-card-header .program-urgency-badge { grid-column:1; grid-row:1; justify-self:start; max-width:100%; margin:0; white-space:normal; line-height:1.4; }
.program-card-header .program-badge { grid-column:1; grid-row:2; justify-self:start; max-width:100%; white-space:normal; line-height:1.4; }
.program-card-header .program-card-logo { grid-column:2; grid-row:1 / span 2; justify-self:end; }
.program-card-header .program-card-logo img { width:48px; max-width:48px; height:48px; object-fit:contain; }
.training-stats-grid .stat-card,.training-stats-grid .stat-label { min-width:0; }
.training-stats-grid .stat-label { overflow-wrap:anywhere; }
@media (max-width:639px) {
  .training-stats-grid .stat-card { display:grid !important; grid-template-columns:40px 56px minmax(0,1fr); align-items:center; gap:8px; padding:14px 12px !important; text-align:start; }
  .training-stats-grid .stat-icon { width:38px; height:38px; margin:0; }
  .training-stats-grid .stat-icon svg { width:30px; height:30px; }
  .training-stats-grid .stat-number { min-width:0; margin:0; font-size:1.45rem !important; text-align:center; }
  .training-stats-grid .stat-number bdi { white-space:nowrap; }
  .training-stats-grid .stat-label { margin:0; font-size:.85rem; line-height:1.4; }
}

/* Give the two featured personal-brand photos calm captions below the image. */
.static-featured-card .gallery-card-body { position:static !important; inset:auto !important; width:100%; opacity:1 !important; transform:none !important; pointer-events:auto !important; padding:14px 16px !important; background:var(--bg-card) !important; border-top:1px solid var(--border-color) !important; }
.static-featured-card .gallery-card-caption { max-width:58ch; margin:0 auto !important; text-align:center; font-size:.94rem !important; line-height:1.8 !important; text-wrap:pretty; overflow-wrap:anywhere; }
.gallery-mention-link { display:inline-block; margin-inline:.12em; color:var(--brand-purple-tint) !important; text-decoration:none !important; font-weight:800; }
.gallery-mention-link:hover { text-decoration:underline !important; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-card-body { position:absolute !important; inset:auto 0 0 !important; width:100%; opacity:1 !important; transform:none !important; pointer-events:none; padding:9px 11px !important; background:linear-gradient(180deg,transparent,rgba(10,9,19,.93) 25%) !important; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; text-overflow:clip; line-height:1.45 !important; }
.gallery-collection-cue { display:flex; align-items:center; justify-content:center; gap:10px; max-width:720px; margin:0 auto 18px; color:var(--text-secondary); text-align:center; font-size:.94rem; line-height:1.7; }
.gallery-cue-arrow { display:grid; place-items:center; flex:0 0 30px; height:30px; border:1px solid var(--border-color); border-radius:50%; color:var(--brand-purple-tint); animation:galleryCue 1.8s ease-in-out infinite; }
.gallery-more-wrapper .btn { min-height:52px; padding:12px 24px; border:1px solid rgba(160,66,252,.5); border-radius:999px; color:#fff; background:linear-gradient(110deg,#7526c6,#a042fc,#cf64ec); box-shadow:0 5px 18px rgba(105,34,172,.28); font-weight:800; }
.gallery-more-wrapper .btn::after { content:" ↓"; margin-inline-start:8px; }
@keyframes galleryCue { 0%,100% { transform:translateY(-2px); opacity:.72; } 50% { transform:translateY(3px); opacity:1; } }

/* Review rail: touch swiping, mouse drag, clear arrows and a moving discovery cue. */
.feedback-carousel-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; }
.feedback-drag-hint { display:flex; align-items:center; gap:9px; margin:0; color:var(--text-secondary); font-size:.9rem; line-height:1.5; }
.feedback-hint-icon { color:var(--brand-purple-tint); font-size:1.25rem; font-weight:800; animation:reviewCue 1.6s ease-in-out infinite; }
.feedback-carousel-arrows { display:flex; gap:8px; flex:0 0 auto; }
.feedback-carousel-arrow { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--modern-line); border-radius:50%; color:var(--text-primary); background:var(--bg-card); font-size:24px; cursor:pointer; }
.feedback-grid { cursor:grab; touch-action:pan-x; user-select:none; }
.feedback-grid.is-dragging { cursor:grabbing; scroll-snap-type:none; }
.feedback-grid.is-dragging * { pointer-events:none; }
.feedback-card { flex-basis:min(82vw,360px); }
@keyframes reviewCue { 0%,100% { transform:translateX(3px); opacity:.65; } 50% { transform:translateX(-3px); opacity:1; } }

/* The three visible certificate cards match dark and light surfaces. */
.certs-page-status { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:8px 18px; border:1px solid rgba(160,66,252,.42); border-radius:999px; color:var(--text-primary); background:var(--bg-card); font:inherit; font-weight:800; cursor:pointer; }
.certs-page-status:disabled { display:none; }
.certs-carousel-arrow:disabled { opacity:.38; cursor:default; }
.cert-card { background:var(--bg-card) !important; }
.cert-img-container { background:#fff !important; }
.cert-img-container img { object-fit:contain !important; padding:8px; background:#fff; }
.cert-card-body { background:var(--bg-card) !important; color:var(--text-primary) !important; }
.cert-title { color:var(--text-primary) !important; }
.cert-org,.cert-id,.cert-details p { color:var(--text-secondary) !important; }
.cert-details summary { color:var(--brand-purple-tint) !important; }
.cert-carousel-active { animation:certCardReveal .38s ease-out both; }
@keyframes certCardReveal { from { opacity:.4; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:1023px) { .certs-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:639px) { .certs-grid { grid-template-columns:minmax(0,1fr) !important; } }
@media (min-width:768px) and (max-width:1023px) { .gp-cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .gp-card-highlight { grid-column:1 / -1; } }
@media (max-width:767px) {
  .feedback-carousel-toolbar { align-items:flex-start; }
  .feedback-drag-hint { max-width:calc(100% - 100px); font-size:.82rem; }
  .feedback-card { flex-basis:min(84vw,360px); }
  .gallery-collection-cue { align-items:flex-start; padding-inline:4px; font-size:.84rem; }
  .growth-partners-section { padding:54px 0; }
  .growth-partners-section .gp-container { width:calc(100% - 28px); }
  .gp-cards-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .growth-partners-section .gp-card { padding:20px !important; }
  .gp-cta-banner { flex-direction:column; align-items:stretch; text-align:center; gap:18px; }
  .gp-cta-btn-wrap,.growth-partners-section .gp-cta-btn { width:100%; }
}

/* Current brand polish: two distinct, slower proof rails and calmer card texture. */
.marquee-stack { display:flex; flex-direction:column; gap:7px; overflow:hidden; padding-block:8px; background:var(--bg-surface); }
.marquee-stack .marquee-ticker-wrap { min-height:52px; padding:5px 0; border:0; background:transparent !important; mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); -webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
.marquee-stack .marquee-ticker-track { animation-duration:50s; }
.marquee-stack .marquee-row-two .marquee-ticker-track { animation-duration:54s; animation-direction:reverse; }
.marquee-stack .marquee-ticker-item { min-height:40px; padding:7px 15px; background:var(--bg-card); }
.marquee-conversion-row { display:none !important; }
.marquee-ticker-item bdi[dir="ltr"] { direction:ltr; unicode-bidi:isolate; }
.marquee-row-two .marquee-ticker-group { gap:22px; }

.header .logo-img { width:140px; height:51px; max-width:38vw; object-fit:contain; filter:none !important; }
.header .logo-img-link { display:inline-flex; align-items:center; justify-content:center; padding:3px 8px; border:1px solid rgba(160,66,252,.32); border-radius:12px; background:#11121f; }
.program-card-header { grid-template-columns:minmax(0,1fr) 76px; }
.program-card-header .program-card-logo { width:72px; height:72px; display:grid; place-items:center; }
.program-card-header .program-card-logo img { display:block; width:72px; max-width:72px; height:72px; max-height:72px; object-fit:contain; }
.program-urgency-badge { display:inline-flex; align-items:center; gap:8px; }
.urgency-dot { flex:0 0 9px; width:9px; height:9px; border-radius:50%; background:#31d17c; box-shadow:0 0 0 0 rgba(49,209,124,.58); animation:urgencyPulse 1.8s ease-out infinite; }
@keyframes urgencyPulse { 0% { box-shadow:0 0 0 0 rgba(49,209,124,.55); } 75%,100% { box-shadow:0 0 0 8px rgba(49,209,124,0); } }

/* Keep all three Growth Partner card titles in the same visual row. */
.gp-cards-grid { align-items:stretch; }
.growth-partners-section .gp-card-highlight { display:grid !important; grid-template-rows:38px 58px minmax(50px,auto) auto 1fr; gap:8px; }
.gp-comm-badge { min-height:38px; align-self:start; }
.gp-comm-rate { min-height:58px; display:flex; align-items:center; margin:0; }
.gp-comm-subtitle { min-height:50px; margin:0; }
.gp-comm-desc { margin:0; }
.growth-partners-section .gp-card:not(.gp-card-highlight) .gp-header-wrap { display:grid; grid-template-columns:minmax(0,1fr) 48px; grid-template-rows:40px 58px minmax(50px,auto); align-items:center; gap:8px 12px; min-height:164px; }
.gp-header-wrap .gp-icon-badge { grid-column:2; grid-row:1; width:40px; height:40px; }
.gp-header-wrap .gp-card-title { grid-column:1/-1; grid-row:2; align-self:center; margin:0; color:var(--text-primary); font-size:clamp(1.15rem,1.7vw,1.4rem); font-weight:850; line-height:1.5; text-wrap:balance; }
.gp-header-wrap .gp-card-subtitle { grid-column:1/-1; grid-row:3; align-self:start; margin:0; line-height:1.75; }

/* Compact country proof: keep icon, count and label together on narrow screens. */
@media (max-width:639px) {
  .training-stats-grid .stat-card { grid-template-columns:36px 38px max-content; justify-content:center; gap:8px; }
  .training-stats-grid .stat-label { white-space:nowrap; font-size:clamp(.72rem,3.1vw,.85rem); }
  .program-card-header { grid-template-columns:minmax(0,1fr) 64px; }
  .program-card-header .program-card-logo,.program-card-header .program-card-logo img { width:62px; height:62px; max-width:62px; max-height:62px; }
}

/* Separate captions from photos cleanly; no dark seam at the image edge. */
.gallery-img-container { border:0 !important; box-shadow:none !important; background:var(--bg-surface) !important; }
.gallery-img-container img,.gallery-img { display:block; border:0 !important; outline:0 !important; vertical-align:top; }
.static-featured-card .gallery-card-body { border:0 !important; }
.personal-brand-featured .gallery-card-caption { padding-top:2px; }

/* Distinct, theme-aware texture for surfaces that previously looked flat. */
.main-program-card,.program-card,.gp-card,.feedback-card,.stat-card,.dp-stat-card,.exam-library-card {
  background-color:var(--bg-card) !important;
  background-image:radial-gradient(ellipse at 100% 0,rgba(160,66,252,.10),transparent 52%),repeating-linear-gradient(135deg,transparent 0 28px,rgba(160,66,252,.022) 28px 29px) !important;
}
html[data-theme="light"] .main-program-card,html[data-theme="light"] .program-card,html[data-theme="light"] .gp-card,html[data-theme="light"] .feedback-card,html[data-theme="light"] .stat-card,html[data-theme="light"] .dp-stat-card,html[data-theme="light"] .exam-library-card {
  background-image:radial-gradient(ellipse at 100% 0,rgba(122,34,214,.055),transparent 55%),repeating-linear-gradient(135deg,transparent 0 30px,rgba(18,20,34,.018) 30px 31px) !important;
}

/* The exam library presents a private, server-verified assessment entry. */
.exam-library-section { padding:64px 0; }
.exam-library-card { display:grid; grid-template-columns:76px minmax(0,1fr) minmax(260px,.85fr); gap:22px; align-items:center; padding:clamp(20px,4vw,38px); border:1px solid var(--border-color); border-radius:24px; box-shadow:var(--shadow-sm); }
.exam-library-mark { display:grid; place-items:center; width:66px; height:66px; border:1px solid rgba(160,66,252,.36); border-radius:20px; color:var(--brand-purple-tint); background:rgba(160,66,252,.12); font-size:42px; line-height:1; }
.exam-library-mark svg { display:block; width:34px; height:34px; }
.exam-library-eyebrow { color:var(--brand-purple-tint); font-size:.9rem; font-weight:800; }
.exam-library-copy h2 { margin:7px 0; color:var(--text-primary); font-size:clamp(1.5rem,3vw,2.2rem); line-height:1.3; }
.exam-library-copy p { color:var(--text-secondary); line-height:1.8; }
.exam-library-copy p { text-wrap:balance; }
.exam-library-form { display:grid; gap:9px; }
.exam-library-form label { color:var(--text-primary); font-size:.9rem; font-weight:700; }
.exam-library-form input { width:100%; min-height:46px; padding:9px 12px; border:1px solid var(--border-color); border-radius:12px; color:var(--text-primary); background:var(--bg-surface); font:inherit; }
.exam-library-form button { min-height:46px; margin-top:4px; }
.exam-library-form small { color:var(--text-secondary); line-height:1.5; text-align:center; }
.exam-library-home-link { justify-self:start; min-width:min(100%,240px); text-align:center; }
.exam-library-options { grid-column:1/-1; display:grid; grid-template-columns:repeat(auto-fit, minmax(210px, 1fr)); gap:12px; }
.exam-library-options h3 { grid-column:1/-1; margin:0 0 2px; color:var(--text-primary); font-size:1rem; font-weight:850; }
.exam-option-card { position:relative; display:flex; align-items:flex-start; gap:9px; min-width:0; min-height:102px; padding:12px 10px; border:1px solid var(--border-color); border-radius:15px; color:var(--text-primary); background:var(--bg-surface); text-align:start; font:inherit; transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease; }
.exam-option-card:not(:disabled) { cursor:pointer; }
.exam-option-card:not(:disabled):hover { transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.exam-option-card.is-selected { border-color:var(--brand-purple); background:linear-gradient(135deg,rgba(160,66,252,.13),var(--bg-card)); box-shadow:0 0 0 2px rgba(160,66,252,.10); }
.exam-option-icon { display:grid; flex:0 0 36px; width:36px; height:36px; place-items:center; border-radius:11px; background:rgba(160,66,252,.12); font-size:19px; }
.exam-option-copy { display:grid; gap:7px; min-width:0; }
.exam-option-copy strong { color:var(--text-primary); font-size:.88rem; line-height:1.5; }
.exam-option-copy small { width:fit-content; padding:3px 8px; border:1px solid rgba(39,174,96,.25); border-radius:999px; color:#18794e; background:rgba(39,174,96,.09); font-size:.72rem; font-weight:800; }
.exam-option-state { margin-inline-start:auto; color:var(--brand-purple-tint); font-size:1rem; }
.exam-option-card.is-locked { opacity:.62; cursor:not-allowed; background:var(--bg-card); }
.exam-option-card.is-locked .exam-option-copy small { border-color:var(--border-color); color:var(--text-secondary); background:rgba(128,118,154,.08); }
.exam-library-form { grid-column:1/-1; width:min(100%,640px); margin-inline:auto; }
.exam-library-frame { display:none; width:100%; height:0; border:0; border-radius:16px; background:var(--bg-surface); }
.exam-library-frame.is-active { display:block; height:min(820px,80vh); margin-top:18px; border:1px solid var(--border-color); box-shadow:var(--shadow-sm); }
body.exam-library-open .mobile-sticky-booking,body.exam-library-open .back-to-top { display:none !important; }

/* Put the return control above the mobile booking bar, away from page content. */
.back-to-top { inset-inline-end:22px; bottom:26px; width:46px; height:46px; border:1px solid rgba(255,255,255,.34); color:#fff; background:linear-gradient(145deg,#9a42ed,#6724ae); box-shadow:0 5px 14px rgba(55,20,92,.28); }
.back-to-top:hover { transform:translateY(-3px); background:linear-gradient(145deg,#ad5aff,#762bc3); }
@media (max-width:767px) {
  .marquee-stack { gap:3px; padding-block:6px; }
  .marquee-stack .marquee-ticker-wrap { min-height:50px; }
  .marquee-stack .marquee-ticker-item { min-height:40px; padding:7px 12px; font-size:.94rem; }
  .exam-library-card { grid-template-columns:48px minmax(0,1fr); gap:12px; padding:20px; }
  .exam-library-mark { width:46px; height:46px; border-radius:15px; font-size:30px; }
  .exam-library-copy { grid-column:2; }
  .exam-library-home-card .exam-library-home-link { grid-column:1/-1; justify-self:stretch; width:100%; }
  .exam-library-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .exam-option-card { min-height:106px; padding:10px 9px; gap:7px; }
  .exam-option-icon { flex-basis:28px; width:28px; height:28px; font-size:16px; }
  .exam-option-copy strong { font-size:.76rem; line-height:1.45; }
  .exam-option-state { position:absolute; inset-block-start:9px; inset-inline-end:9px; }
  .exam-option-copy { padding-inline-end:16px; }
  .exam-library-form { grid-column:1/-1; }
  .exam-library-form { grid-column:1/-1; }
  .back-to-top { inset-inline-end:14px; bottom:calc(92px + env(safe-area-inset-bottom)); width:42px; height:42px; }
}
@media (max-width:480px) {
  .header .nav-container { width:100%; padding:8px 12px; gap:8px; }
  .header .logo-img-link { padding:2px 5px; }
  .header .logo-img { width:min(116px,30vw); height:42px; }
  .header .header-controls { gap:6px !important; }
  .header .header-controls .btn-icon,.header .hamburger { width:40px; min-width:40px; height:40px; min-height:40px; }
  .hero-btns { display:grid !important; grid-template-columns:minmax(0,1fr); width:min(100%,320px); margin-inline:auto; gap:10px !important; }
  .hero-btns .btn { width:100%; min-width:0; justify-content:center; }
}

/* Make the upcoming program header feel intentional instead of leaving a blank strip. */
.coming-soon-full .program-card-header { display:flex !important; align-items:center; justify-content:flex-start; min-height:0 !important; margin-bottom:8px; padding:8px 10px; border:1px solid var(--border-color); border-radius:16px; background:linear-gradient(110deg,rgba(160,66,252,.07),transparent 72%); }
.coming-soon-full .program-badge-soon { display:inline-flex; align-items:center; gap:7px; margin:0; padding:8px 13px; border:1px solid rgba(160,66,252,.22); border-radius:999px; color:var(--text-primary); background:var(--bg-card); font-weight:800; }

/* Balanced compact header for tablet and mobile; theme-aware logo contrast. */
@media (max-width:1024px) {
  .header .nav-container { width:min(calc(100% - 32px),720px); justify-content:center; gap:clamp(22px,8vw,56px); padding:8px 0; }
  .header .logo-img-link { flex:0 0 auto; padding:0; border:0; border-radius:0; background:transparent; }
  .header .logo-img { width:clamp(112px,30vw,136px); height:48px; max-width:none; filter:none !important; }
  .header .header-controls { display:flex; align-items:center; gap:5px !important; padding:5px; border:1px solid var(--border-subtle); border-radius:17px; background:var(--bg-surface); }
  .header .header-controls .btn-icon,.header .hamburger { display:inline-flex; align-items:center; justify-content:center; flex:0 0 40px; width:40px; min-width:40px; height:40px; min-height:40px; margin:0; border:0 !important; border-radius:12px; color:var(--text-primary) !important; background:transparent !important; box-shadow:none !important; }
  .header .header-controls .btn-icon:hover,.header .hamburger:hover { background:var(--bg-card-hover) !important; }
  .header .hamburger { padding:0; }
}
html[data-theme="light"] .header .logo-img { filter:brightness(0) saturate(100%) !important; }
html[data-theme="dark"] .header .logo-img { filter:none !important; }

/* Smaller wordmark and a recognizable three-line menu control. */
@media (max-width:1024px) {
  .header .logo-img { width:clamp(100px,27vw,124px); height:44px; }
  .header .hamburger { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; }
  .header .hamburger span { display:block; flex:0 0 2px; width:22px !important; height:2px !important; border-radius:999px; background:var(--text-primary) !important; opacity:1 !important; transform:none !important; }
  .header .hamburger.active span:nth-child(1),.header .hamburger.active span:nth-child(2),.header .hamburger.active span:nth-child(3) { opacity:1 !important; transform:none !important; }
}

/* On the opened mobile menu, show every link directly with no “More” step. */
@media (max-width:1024px) {
  .header .nav-menu { width:min(340px,calc(100vw - 24px)); padding:18px 16px 26px; overflow-y:auto; overscroll-behavior:contain; background:var(--bg-card); border:1px solid var(--border-color); border-top:0; border-radius:0 0 0 20px; box-shadow:var(--shadow-md); }
  html[dir="ltr"] .header .nav-menu { border-radius:0 0 20px 0; }
  .header .nav-menu > ul { display:flex; flex-direction:column; align-items:stretch; gap:7px; width:100%; }
  .header .nav-menu > ul > li { width:100%; }
  .header .nav-menu .nav-link { display:flex; align-items:center; justify-content:flex-start; width:100%; min-height:46px; padding:10px 13px; border:1px solid var(--border-subtle); border-radius:12px; color:var(--text-primary) !important; background:var(--bg-surface); font-weight:700; }
  .header .nav-menu .nav-link:hover,.header .nav-menu .nav-link.active { border-color:var(--border-color); background:var(--bg-card-hover) !important; }
  .header .nav-menu .nav-link::after { display:none; }
  .header .nav-menu .nav-dropdown { margin-top:5px; padding-top:12px; border-top:1px solid var(--border-subtle); }
  .header .nav-menu .dropdown-toggle { display:none !important; }
  .header .nav-menu .dropdown-menu { position:static; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px !important; width:100%; min-width:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; opacity:1; visibility:visible; transform:none; }
  .header .nav-menu .dropdown-item { display:flex; align-items:center; min-height:44px; padding:9px 11px; border:1px solid var(--border-subtle); border-radius:11px; color:var(--text-secondary); background:var(--bg-surface); font-size:.88rem; font-weight:700; line-height:1.5; }
  .header .nav-menu .dropdown-item:hover { color:var(--brand-purple-tint); border-color:var(--border-color); background:var(--bg-card-hover); }
}

/* Make the light appearance textured but quiet, across the page and its cards. */
html[data-theme="light"] body { background-image:radial-gradient(ellipse at 8% 8%,rgba(122,34,214,.035),transparent 31%),radial-gradient(ellipse at 92% 42%,rgba(23,54,168,.024),transparent 30%),repeating-linear-gradient(135deg,transparent 0 54px,rgba(122,34,214,.012) 54px 55px); }
html[data-theme="light"] .bg-grid { background-image:linear-gradient(rgba(122,34,214,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(122,34,214,.045) 1px,transparent 1px); background-size:72px 72px; }
html[data-theme="light"] .main-program-card,html[data-theme="light"] .program-card,html[data-theme="light"] .gp-card,html[data-theme="light"] .feedback-card,html[data-theme="light"] .stat-card,html[data-theme="light"] .dp-stat-card,html[data-theme="light"] .exam-library-card,html[data-theme="light"] .about-accordion-card,html[data-theme="light"] .education-card,html[data-theme="light"] .contact-role-card {
  background-image:radial-gradient(ellipse at 100% 0,rgba(122,34,214,.07),transparent 52%),repeating-linear-gradient(135deg,transparent 0 34px,rgba(18,20,34,.026) 34px 35px) !important;
}

/* Match the secondary Growth Partner headers to the commission card's hierarchy. */
.growth-partners-section .gp-card:not(.gp-card-highlight) .gp-header-wrap { grid-template-columns:40px minmax(0,1fr); grid-template-rows:40px minmax(58px,auto) minmax(50px,auto); align-items:center; }
.growth-partners-section .gp-header-wrap .gp-icon-badge { grid-column:1; grid-row:1; justify-self:start; width:40px; height:40px; border:1px solid rgba(160,66,252,.28); border-radius:14px; background:rgba(160,66,252,.13); }
.growth-partners-section .gp-header-wrap .gp-card-title { grid-column:1/-1; grid-row:2; align-self:center; margin:0; color:var(--brand-purple-tint); font-size:clamp(1.25rem,2.1vw,1.6rem); font-weight:900; line-height:1.35; text-align:start; text-wrap:balance; }
.growth-partners-section .gp-header-wrap .gp-card-subtitle { grid-column:1/-1; grid-row:3; align-self:start; margin:0; color:var(--text-secondary); line-height:1.7; text-align:start; }

/* Pair each Growth Partner heading directly with its icon. */
.growth-partners-section .gp-card:not(.gp-card-highlight) .gp-header-wrap { grid-template-columns:40px minmax(0,1fr); grid-template-rows:auto auto; gap:10px 12px; min-height:0; }
.growth-partners-section .gp-header-wrap .gp-icon-badge { grid-column:1; grid-row:1; align-self:start; }
.growth-partners-section .gp-header-wrap .gp-card-title { grid-column:2; grid-row:1; align-self:center; }
.growth-partners-section .gp-header-wrap .gp-card-subtitle { grid-column:1/-1; grid-row:2; }

/* Let featured photos and captions determine card height; remove blank square-card area. */
.gallery-grid .static-featured-card { aspect-ratio:auto !important; height:auto !important; align-self:start; }
.gallery-grid .static-featured-card .gallery-img-container { flex:0 0 auto; width:100%; aspect-ratio:16/10 !important; height:auto !important; }
.gallery-grid .static-featured-card .gallery-card-body { flex:0 0 auto; min-height:0 !important; padding:12px 16px !important; }
.gallery-grid .static-featured-card .gallery-card-caption { min-height:0 !important; margin:0 auto !important; line-height:1.7 !important; }

/* Balanced course header: urgency, certificate and course mark each get a clear place. */
.program-card-header { display:grid !important; grid-template-columns:minmax(0,1fr) 68px !important; grid-template-rows:auto auto; align-items:center !important; gap:9px 12px; padding:14px; margin-bottom:18px; border:1px solid var(--border-color); border-radius:18px; background:linear-gradient(135deg,rgba(160,66,252,.055),var(--bg-card) 72%); }
.program-card-header .program-urgency-badge { grid-column:1; grid-row:1; justify-self:start; display:inline-flex; align-items:center; gap:8px; max-width:100%; margin:0; padding:7px 11px; border:1px solid rgba(49,160,104,.24); border-radius:999px; color:var(--text-primary); background:rgba(49,160,104,.08); font-size:.82rem; font-weight:800; line-height:1.45; white-space:normal; }
.program-card-header .program-badge { grid-column:1; justify-self:start; display:inline-flex; align-items:center; gap:7px; max-width:100%; margin:0; padding:7px 11px !important; border-radius:999px !important; font-size:.82rem !important; line-height:1.45; white-space:normal; }
.program-card-header .program-card-logo { grid-column:2; grid-row:1 / span 2; justify-self:end; align-self:center; display:grid; place-items:center; width:64px; height:64px; padding:7px; border:1px solid var(--border-color); border-radius:15px; background:var(--bg-surface); }
.program-card-header .program-card-logo img { display:block; width:100%; max-width:100%; height:100%; max-height:100%; object-fit:contain; }

/* Keep the back-to-top button fully on-screen and clear of the mobile booking bar. */
.back-to-top { right:22px; left:auto; inset-inline-end:auto; }
@media (max-width:767px) {
  .training-stats-grid .stat-card { grid-template-columns:38px auto minmax(0,1fr); min-height:68px; gap:8px 10px; padding:12px 14px !important; }
  .training-stats-grid .stat-card .stat-icon { width:38px; height:38px; }
  .training-stats-grid .stat-card .stat-icon svg { width:28px; height:28px; }
  .training-stats-grid .stat-card .stat-number { font-size:1.55rem; }
  .training-stats-grid .stat-card .stat-label { font-size:.82rem; }
  .back-to-top { right:14px; left:auto; inset-inline-end:auto; bottom:calc(88px + env(safe-area-inset-bottom)); width:42px; height:42px; }
  .program-card-header { grid-template-columns:minmax(0,1fr) 58px !important; gap:8px; padding:12px; }
  .program-card-header .program-card-logo { width:56px; height:56px; padding:6px; }
}

@media (max-width:1024px) {
  /* The fixed return button must stay out of the expanded compact navigation. */
  body:has(.header .nav-menu.active) .back-to-top { opacity:0 !important; visibility:hidden !important; pointer-events:none !important; }
}

/* High-contrast gallery heading and discovery cue in light mode. */
html[data-theme="light"] #gallery { color:#171523; background-color:#f8f6fc !important; background-image:radial-gradient(ellipse at 12% 8%,rgba(122,34,214,.075),transparent 42%),radial-gradient(ellipse at 88% 72%,rgba(23,54,168,.045),transparent 38%),repeating-linear-gradient(135deg,transparent 0 44px,rgba(87,33,139,.025) 44px 45px) !important; border-color:rgba(57,32,82,.10); }
html[data-theme="light"] #gallery .section-title { color:#171523 !important; opacity:1 !important; text-shadow:none !important; }
html[data-theme="light"] #gallery .static-featured-card .gallery-card-body { color:var(--text-primary) !important; }
html[data-theme="light"] #gallery .static-featured-card .gallery-card-caption { color:var(--text-primary) !important; }
html[data-theme="light"] #gallery .static-featured-card .gallery-mention-link { color:#6b21a8 !important; text-decoration:underline !important; text-underline-offset:2px; }
html[data-theme="light"] #gallery .gallery-collection-cue { color:#394052 !important; font-weight:600; }
html[data-theme="light"] #gallery .gallery-cue-arrow { color:#57218b !important; border-color:rgba(87,33,139,.48) !important; background:#f0e7fa; box-shadow:0 2px 8px rgba(57,32,82,.12); }

/* Keep every light-theme content surface softly textured, without patterning photos. */
html[data-theme="light"] :is(.main-program-card,.program-card,.gp-card,.feedback-card,.stat-card,.dp-stat-card,.exam-library-card,.about-accordion-card,.education-card,.contact-role-card,.contact-card,.book-info,.gallery-card-body,.cert-card,.cert-card-body,.session-pill,.topic-chip,.marquee-ticker-item,.certs-page-status,.feedback-carousel-arrow) {
  background-image:radial-gradient(ellipse at 100% 0,rgba(122,34,214,.06),transparent 55%),repeating-linear-gradient(135deg,transparent 0 38px,rgba(18,20,34,.024) 38px 39px) !important;
}
html[data-theme="light"] #gallery { background-image:radial-gradient(ellipse at 12% 8%,rgba(122,34,214,.055),transparent 42%),radial-gradient(ellipse at 88% 72%,rgba(23,54,168,.032),transparent 38%),repeating-linear-gradient(135deg,transparent 0 48px,rgba(87,33,139,.018) 48px 49px) !important; }

/* Soft mesh gradient texture for light surfaces; replace the former stripe/grid pattern. */
html[data-theme="light"] body { background-image:radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.14),transparent 40%),radial-gradient(ellipse at 88% 18%,rgba(23,54,168,.10),transparent 36%),radial-gradient(ellipse at 72% 82%,rgba(160,66,252,.11),transparent 42%),radial-gradient(ellipse at 8% 78%,rgba(23,54,168,.085),transparent 38%) !important; }
html[data-theme="light"] .bg-grid { background-image:none !important; }
html[data-theme="light"] :is(.main-program-card,.program-card,.gp-card,.feedback-card,.stat-card,.dp-stat-card,.exam-library-card,.about-accordion-card,.education-card,.contact-role-card,.contact-card,.book-info,.gallery-card-body,.cert-card,.cert-card-body,.session-pill,.topic-chip,.marquee-ticker-item,.certs-page-status,.feedback-carousel-arrow,.program-card-header) {
  background-image:radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.16),transparent 46%),radial-gradient(ellipse at 92% 88%,rgba(23,54,168,.11),transparent 49%) !important;
}
html[data-theme="light"] #gallery { background-image:radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.16),transparent 46%),radial-gradient(ellipse at 90% 82%,rgba(23,54,168,.12),transparent 49%),radial-gradient(ellipse at 58% 38%,rgba(160,66,252,.065),transparent 48%) !important; }

/* Blend a fine grain layer into the brand-color mesh for a softer, less digital surface. */
html[data-theme="light"] body {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.14),transparent 40%),radial-gradient(ellipse at 88% 18%,rgba(23,54,168,.10),transparent 36%),radial-gradient(ellipse at 72% 82%,rgba(160,66,252,.11),transparent 42%),radial-gradient(ellipse at 8% 78%,rgba(23,54,168,.085),transparent 38%) !important;
  background-size:180px 180px,auto,auto,auto,auto;
  background-repeat:repeat,no-repeat,no-repeat,no-repeat,no-repeat;
}
html[data-theme="light"] :is(.main-program-card,.program-card,.gp-card,.feedback-card,.stat-card,.dp-stat-card,.exam-library-card,.about-accordion-card,.education-card,.contact-role-card,.contact-card,.book-info,.gallery-card-body,.cert-card,.cert-card-body,.session-pill,.topic-chip,.marquee-ticker-item,.certs-page-status,.feedback-carousel-arrow,.program-card-header) {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"),radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.16),transparent 46%),radial-gradient(ellipse at 92% 88%,rgba(23,54,168,.11),transparent 49%) !important;
  background-size:180px 180px,auto,auto;
  background-repeat:repeat,no-repeat,no-repeat;
}
html[data-theme="light"] #gallery {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E"),radial-gradient(ellipse at 12% 8%,rgba(160,66,252,.16),transparent 46%),radial-gradient(ellipse at 90% 82%,rgba(23,54,168,.12),transparent 49%),radial-gradient(ellipse at 58% 38%,rgba(160,66,252,.065),transparent 48%) !important;
  background-size:180px 180px,auto,auto,auto;
  background-repeat:repeat,no-repeat,no-repeat,no-repeat;
}
.experience-show-more { display:flex; align-items:center; justify-content:center; gap:9px; width:min(100%,320px); min-height:48px; margin:8px auto 38px; padding:10px 18px; border:1px solid rgba(160,66,252,.35); border-radius:999px; color:var(--brand-purple-tint); background:linear-gradient(120deg,rgba(160,66,252,.12),rgba(23,54,168,.07)); font:inherit; font-weight:800; cursor:pointer; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.experience-show-more::after { content:"⌄"; font-size:1.25rem; line-height:1; transition:transform .2s ease; }
.experience-show-more[aria-expanded="true"]::after { transform:rotate(180deg); }
.experience-show-more:hover { transform:translateY(-2px); box-shadow:var(--shadow-sm); background:linear-gradient(120deg,rgba(160,66,252,.18),rgba(23,54,168,.11)); }

/* Keep short program headers snug around their content instead of stretching into blank bars. */
.main-program-card.available .program-card-header { width:fit-content; max-width:100%; align-self:flex-start; grid-template-columns:minmax(0,1fr) 56px !important; gap:7px 9px; padding:9px 10px; }
.main-program-card.available .program-card-header .program-card-logo { width:52px; height:52px; }
.coming-soon-full .program-card-header { display:flex !important; width:max-content; max-width:100%; min-height:0 !important; align-self:flex-start; gap:0; margin:0 0 12px; padding:0; border:0; border-radius:0; background:transparent; }
.coming-soon-full .program-card-header .program-badge-soon { margin:0; }
.program-card-header .program-urgency-badge { color:var(--text-primary); background:rgba(160,66,252,.10) !important; border-color:rgba(160,66,252,.28) !important; }
.program-card-header .program-urgency-badge .urgency-dot,.program-card-header .urgency-dot { background:#A042FC !important; box-shadow:0 0 8px rgba(160,66,252,.72) !important; }

/* Give the book description and reservation action a clear, balanced card. */
.book-info { box-sizing:border-box; width:100%; max-width:500px; align-items:center; gap:16px; padding:clamp(20px,4vw,30px); border:1px solid var(--border-color); border-radius:20px; background-color:var(--bg-card); box-shadow:var(--shadow-sm); text-align:center; }
.book-description { max-width:34ch; margin:0; color:var(--text-primary); font-size:clamp(1.05rem,2.6vw,1.22rem); font-weight:700; line-height:1.8; text-wrap:balance; }
.book-info .btn { align-self:center; min-width:min(100%,210px); min-height:48px; justify-content:center; }
@media (max-width:767px) { .book-layout { width:min(100%,420px); gap:20px; } .book-cover-wrapper { max-width:min(240px,72vw); } .book-info { max-width:none; } }

/* Remove the extra box around the course header and give the training logo more presence. */
.main-program-card.available .program-card-header { display:grid !important; width:max-content; max-width:100%; align-self:flex-start; grid-template-columns:max-content 68px !important; grid-template-rows:auto auto; align-items:center; gap:7px 10px; min-height:0; padding:4px 0; border:0 !important; border-radius:0; background:transparent !important; background-image:none !important; box-shadow:none !important; }
.main-program-card.available .program-card-header .program-card-logo { grid-column:2; grid-row:1 / span 2; justify-self:start; width:64px; height:64px; padding:4px; }
.main-program-card.available .program-card-header .program-urgency-badge,.main-program-card.available .program-card-header .program-badge { grid-column:1; justify-self:start; }
.main-program-card.available .program-card-header .program-card-logo img { width:100%; max-width:100%; height:100%; max-height:100%; object-fit:contain; }
.gallery-partner-logo { display:block; width:26px; height:26px; flex:0 0 26px; object-fit:contain; border-radius:6px; }
.gallery-partner-chip { gap:8px; }
.gallery-collection-cue { flex-direction:column; gap:3px; }
.gallery-cue-arrow { flex:0 0 26px; width:26px; height:26px; }

/* Put tile captions below the photo to eliminate the dark overlay bands. */
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-card-body { position:static !important; inset:auto !important; width:100%; opacity:1 !important; transform:none !important; pointer-events:auto !important; padding:9px 11px !important; border-top:1px solid var(--border-color) !important; background:var(--bg-card) !important; color:var(--text-primary) !important; }
.gallery-grid .gallery-card:not(.static-featured-card) .gallery-title,.gallery-grid .gallery-card:not(.static-featured-card) .gallery-card-title { color:var(--text-primary) !important; text-shadow:none !important; }
.gallery-partner-chip { gap:10px; padding:10px 17px; }
.gallery-partner-logo { width:32px; height:32px; flex-basis:32px; }
.gallery-partner-label { font-size:.94rem; }
.gallery-partner-link { font-size:1.08rem; }
.gallery-collection-cue { align-items:center !important; width:100%; padding-inline:12px; font-size:clamp(.92rem,2.4vw,1rem); line-height:1.8; }
.gallery-collection-cue > span:first-child { display:block; width:min(100%,44ch); text-wrap:balance; }
.gallery-cue-arrow { align-self:center; flex-basis:30px; width:30px; height:30px; margin-top:4px; }
@media (max-width:767px) {
  .gallery-partner-chip { gap:8px; padding:9px 13px; }
  .gallery-partner-logo { width:30px; height:30px; flex-basis:30px; }
  .gallery-partner-link { font-size:1.02rem; }
  .gallery-collection-cue { padding-inline:14px; }
}
/* Close the gap between the partner intro and the gallery discovery cue. */
.gallery-header-wrapper { margin-bottom:14px !important; }
.gallery-partner-intro { margin-bottom:8px !important; }

/* Give Growth Partner details more room and clearer separation. */
.gp-cards-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.growth-partners-section .gp-card { gap:22px; padding:clamp(24px,3vw,34px) !important; }
.growth-partners-section .gp-card-highlight { grid-column:1 / -1; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(260px,.85fr); grid-template-rows:auto auto auto 1fr; align-items:center; gap:12px 28px; }
.gp-card-highlight .gp-comm-badge { grid-column:1; grid-row:1; }
.gp-card-highlight .gp-comm-rate { grid-column:1; grid-row:2; margin:0; }
.gp-card-highlight .gp-comm-subtitle { grid-column:1; grid-row:3; margin:0; }
.gp-card-highlight .gp-comm-desc { grid-column:1; grid-row:4; margin:0; }
.gp-card-highlight .gp-comm-features { grid-column:2; grid-row:1 / span 4; gap:16px; align-self:stretch; justify-content:center; padding:18px; border:1px solid rgba(160,66,252,.18); border-radius:18px; background:rgba(160,66,252,.055); }
.gp-comm-feat-item,.gp-check-item,.gp-skill-item { gap:12px; line-height:1.9; }
.gp-comm-feat-icon { width:26px; flex:0 0 26px; text-align:center; }
.gp-checklist,.gp-skills-list,.gp-comm-features { gap:14px; }
.gp-check-icon { margin-top:.15em; }
@media (max-width:1023px) {
  .growth-partners-section .gp-card-highlight { grid-template-columns:1fr; grid-template-rows:auto; gap:16px; }
  .gp-card-highlight .gp-comm-badge,.gp-card-highlight .gp-comm-rate,.gp-card-highlight .gp-comm-subtitle,.gp-card-highlight .gp-comm-desc,.gp-card-highlight .gp-comm-features { grid-column:1; grid-row:auto; }
  .gp-card-highlight .gp-comm-features { gap:12px; padding:14px; }
}
@media (max-width:767px) {
  .gp-cards-grid { grid-template-columns:minmax(0,1fr) !important; gap:16px; }
  .growth-partners-section .gp-card { grid-column:1 / -1; gap:18px; padding:20px 18px !important; }
  .gp-checklist,.gp-skills-list,.gp-comm-features { gap:12px; }
  .gp-comm-feat-item,.gp-check-item,.gp-skill-item { line-height:1.8; }
}
.gp-details-disclosure { margin:22px 0 0; }
.gp-details-disclosure > summary { display:flex; align-items:center; justify-content:center; gap:10px; width:fit-content; min-height:50px; margin-inline:auto; padding:11px 22px; border:1px solid rgba(160,66,252,.45); border-radius:999px; color:var(--text-primary); background:linear-gradient(120deg,rgba(160,66,252,.16),rgba(23,54,168,.08)); font-weight:850; text-align:center; cursor:pointer; list-style:none; transition:transform .2s ease,box-shadow .2s ease; }
.gp-details-disclosure > summary::-webkit-details-marker { display:none; }
.gp-details-disclosure > summary::after { content:"⌄"; display:grid; flex:0 0 26px; width:26px; height:26px; place-items:center; border:1px solid rgba(160,66,252,.4); border-radius:50%; color:var(--brand-purple-tint); background:rgba(160,66,252,.14); font-size:1.05rem; font-weight:900; line-height:1; transition:transform .2s ease,background-color .2s ease,border-color .2s ease; }
.gp-details-disclosure[open] > summary::after { transform:rotate(180deg); }
.gp-details-disclosure > summary:hover { transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.gp-details-disclosure > summary:hover::after { border-color:var(--brand-purple); background:rgba(160,66,252,.24); }

/* Remove the short accent rule beneath every section heading and prevent orphan words. */
.section-title::after { display:none !important; content:none !important; }
:is(h1,h2,h3,.section-subtitle,.gallery-collection-cue,.book-description) { text-wrap:pretty; }
.about-accordion-card { border:1px solid rgba(160,66,252,.34); border-radius:22px; background:radial-gradient(ellipse at 8% 0,rgba(160,66,252,.14),transparent 46%),linear-gradient(135deg,var(--bg-card),var(--bg-surface)); box-shadow:0 8px 24px rgba(24,14,44,.10); }
.about-accordion-header { display:flex; align-items:center; justify-content:center; gap:12px; min-height:96px; padding:20px 26px; background:transparent; }
.about-title { margin:0; font-size:clamp(1.7rem,3vw,2.15rem); line-height:1.25; text-align:center; }
.about-chevron { width:42px; height:42px; flex:0 0 42px; margin:0; border:1px solid rgba(160,66,252,.28); background:rgba(160,66,252,.14); }
.about-accordion-card:hover { border-color:rgba(160,66,252,.58); box-shadow:0 12px 30px rgba(24,14,44,.15); }
.about-accordion-card.open .about-accordion-header { border-bottom:1px solid var(--border-subtle); }
@media (max-width:640px) {
  #gallery .section-title { width:100%; white-space:nowrap; font-size:clamp(.94rem,4.55vw,1.18rem) !important; letter-spacing:-.035em; }
  #certifications .section-title { width:100%; white-space:nowrap; font-size:clamp(.92rem,4.2vw,1.14rem) !important; letter-spacing:-.035em; }
  .about-accordion-header { position:relative; justify-content:center; gap:12px; min-height:88px; padding:16px 18px; }
  .about-title { width:auto; margin:0; font-size:clamp(1.65rem,7vw,2rem); text-align:center; }
  html[dir="rtl"] .about-title { direction:rtl; unicode-bidi:isolate; }
  .about-chevron { position:static; width:36px; height:36px; flex:0 0 36px; }
}

/* Keep the opened mobile navigation attached to the fixed header. */
@media (max-width:1024px) {
  .header .nav-menu { top:var(--header-height,70px) !important; height:auto !important; max-height:calc(100dvh - var(--header-height,70px)) !important; padding:14px 14px 20px !important; border-top:1px solid var(--border-color) !important; border-radius:0 0 0 18px; }
  html[dir="ltr"] .header .nav-menu { border-radius:0 0 18px 0; }
  .header .nav-menu > ul { gap:8px !important; }
  .header .nav-menu .nav-link { justify-content:flex-start; min-height:48px; padding:11px 14px; line-height:1.4; text-align:start; }
  .header .nav-menu .nav-dropdown { margin-top:4px; padding-top:10px; }
  .header .nav-menu .dropdown-menu { gap:8px !important; }
  .header .nav-menu .dropdown-item { min-height:46px; padding:10px 12px; line-height:1.4; text-align:start; }
  .header .nav-menu :is(.nav-link,.dropdown-item):focus-visible { outline:2px solid var(--brand-purple-tint); outline-offset:2px; }
}
.gp-details-content { padding-top:22px; }
.gp-details-grid { margin-bottom:24px; }
.gp-details-content .gp-cta-banner { margin-top:18px; }
@media (max-width:767px) {
  .gp-details-disclosure > summary { width:min(100%,360px); box-sizing:border-box; }
  .gp-details-content { padding-top:16px; }
}

/* Spread the course logo and badges across the full card header. */
.main-program-card.available .program-card-header { width:100%; max-width:100%; align-self:stretch; grid-template-columns:minmax(0,1fr) 124px !important; grid-template-rows:auto auto; align-content:center; gap:8px 14px; min-height:120px; padding:8px 4px; }
.main-program-card.available .program-card-header .program-card-logo { grid-column:2; grid-row:1 / span 2; justify-self:center; align-self:center; display:grid; place-items:center; width:104px !important; height:104px !important; padding:0 !important; border:0 !important; border-radius:0; background:transparent !important; }
.main-program-card.available .program-card-header .program-card-logo img { display:block; width:104px !important; max-width:104px !important; height:104px !important; max-height:104px !important; object-fit:contain; }
.main-program-card.available .program-card-header .program-urgency-badge,.main-program-card.available .program-card-header .program-badge { grid-column:1; justify-self:start; }

/* Mobile hero inspired by the supplied personal-brand reference. */
@media (max-width:767px) {
  .hero-section { padding:24px 0 38px; }
  .hero-container { display:flex !important; flex-direction:column; gap:18px; width:min(calc(100% - 28px),520px); padding:0; text-align:center; }
  .hero-image-wrapper { order:-1; width:min(100%,320px); margin:0 auto; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
  .hero-img-container { width:100%; max-width:none; height:auto; aspect-ratio:4/5; border:2px solid rgba(160,66,252,.30); border-radius:26px; background:var(--bg-card); box-shadow:0 14px 32px rgba(62,35,103,.16) !important; }
  .hero-img-container img { object-fit:cover !important; object-position:50% 18% !important; }
  .hero-content { width:100%; align-items:center; gap:10px; }
  .hero-title { margin:0 !important; font-size:clamp(2rem,9vw,2.55rem) !important; line-height:1.25 !important; text-wrap:balance; }
  .hero-subtitle { max-width:38ch; margin:0 0 6px !important; font-size:clamp(.96rem,4vw,1.08rem) !important; line-height:1.8 !important; text-wrap:pretty; }
  .hero-btns { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; max-width:440px; margin:4px auto 0; gap:10px !important; }
  .hero-btns .btn { display:flex; align-items:center; justify-content:center; width:100%; min-width:0; min-height:52px; padding:10px 9px; white-space:normal; text-align:center; line-height:1.4; font-size:.9rem; }
  .hero-btns a[href="#contact"] { grid-column:1/-1; min-height:56px; border-radius:16px; background:linear-gradient(110deg,#1736A8,#7533C8,#A042FC) !important; box-shadow:0 8px 22px rgba(95,50,165,.22); }
  .main-program-card.available .program-card-header .program-card-logo { transform:translateY(-16px); }
}

/* Pinned glass navigation that matches the compact mobile reference. */
html[data-theme="light"] .header { background:rgba(250,248,255,.78) !important; }
html[data-theme="dark"] .header { background:rgba(17,15,29,.78) !important; }
.header { backdrop-filter:blur(14px) saturate(145%) !important; -webkit-backdrop-filter:blur(14px) saturate(145%) !important; box-shadow:none; }
.header.scrolled { background-color:rgba(250,248,255,.9) !important; box-shadow:0 8px 24px rgba(32,22,54,.12) !important; }
html[data-theme="dark"] .header.scrolled { background-color:rgba(17,15,29,.9) !important; box-shadow:0 8px 24px rgba(0,0,0,.28) !important; }
@media (max-width:767px) {
  .header { height:64px !important; }
  .header .nav-container { display:flex; width:100%; height:64px; justify-content:space-between !important; gap:10px; padding:7px 14px !important; }
  html[dir="ltr"] .header .nav-container { flex-direction:row-reverse; }
  .header .logo-img { width:clamp(104px,29vw,122px); height:42px; }
  .header .header-controls { position:relative; isolation:isolate; display:flex; direction:rtl; align-items:center; justify-content:flex-start; gap:5px !important; width:140px; height:48px; padding:0; border:0; border-radius:0; background:transparent !important; }
  .header .header-controls::before { content:""; position:absolute; z-index:-1; inset-block:0; inset-inline-end:0; width:91px; border:1px solid var(--border-subtle); border-radius:18px; background:rgba(255,255,255,.68); box-shadow:0 5px 14px rgba(64,44,94,.08); }
  html[data-theme="dark"] .header .header-controls::before { background:rgba(42,36,58,.72); }
  .header .header-controls .btn-icon { flex:0 0 40px; width:40px; min-width:40px; height:40px; min-height:40px; border:0 !important; border-radius:50%; background:transparent !important; }
  .header .header-controls .hamburger { flex:0 0 44px; width:44px; min-width:44px; height:44px; min-height:44px; margin-inline-start:4px; border:1px solid var(--border-subtle) !important; border-radius:16px; background:rgba(255,255,255,.72) !important; box-shadow:0 5px 14px rgba(64,44,94,.08) !important; }
  html[data-theme="dark"] .header .header-controls .hamburger { background:rgba(42,36,58,.78) !important; }
}

/* Make the key list and carousel dots easier to notice at a glance. */
.gp-skill-dot { width:10px; height:10px; flex-basis:10px; background:#A042FC; box-shadow:0 0 0 4px rgba(160,66,252,.16); }
.gp-badge-dot { width:10px; height:10px; }
.program-card-header .urgency-dot { width:10px; height:10px; flex-basis:10px; }
.feedback-dot { width:10px; height:10px; }
.feedback-dot.active { width:24px; height:10px; }

/* Add a clearer brand dot field behind the hero without competing with text. */
.hero-section { background-image:radial-gradient(circle,rgba(160,66,252,.16) 1.2px,transparent 1.6px); background-size:30px 30px; }
html[data-theme="dark"] .hero-section { background-image:radial-gradient(circle,rgba(160,66,252,.13) 1.2px,transparent 1.6px); }

/* Keep the fixed header clear at the page top; turn on glass only over scrolling content. */
.header:not(.scrolled) { background:transparent !important; border-bottom-color:transparent !important; box-shadow:none !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
.header.scrolled { backdrop-filter:blur(14px) saturate(145%) !important; -webkit-backdrop-filter:blur(14px) saturate(145%) !important; }
html[data-theme="light"] .header.scrolled { background:rgba(250,248,255,.82) !important; }
html[data-theme="dark"] .header.scrolled { background:rgba(17,15,29,.82) !important; }

/* Reduce excessive section padding while keeping a clear rhythm between sections. */
/* Keep accent text and WhatsApp actions readable on the light surface. */
html[data-theme="light"] .exp-company,
html[data-theme="light"] .exp-date { color:#7024B8; }
html[data-theme="light"] .btn-whatsapp-card { color:#147A3E; }
html[data-theme="light"] .btn-whatsapp-card:hover { background:#147A3E; border-color:#147A3E; color:#fff; }

section:not(.hero-section) { padding-block:58px; }
@media (max-width:1023px) { section:not(.hero-section) { padding-block:46px; } }
@media (max-width:767px) { section:not(.hero-section) { padding-block:36px !important; } }
@media (max-width:767px) {
  :root { --header-height:64px; }
  .hero-section { display:block; min-height:0 !important; padding:18px 0 40px !important; }
  .hero-container { gap:22px; }
  .hero-content { gap:12px; }
  .hero-subtitle { margin-bottom:8px !important; }
  .hero-btns { gap:12px !important; }
}

@media (max-width:767px) {
  .header .logo-img-link { padding:4px 7px !important; border:1px solid rgba(160,66,252,.24) !important; border-radius:13px !important; background:rgba(255,255,255,.82) !important; box-shadow:0 4px 12px rgba(51,36,77,.09); }
  html[data-theme="dark"] .header .logo-img-link { border-color:rgba(196,139,255,.28) !important; background:rgba(35,30,48,.88) !important; }
  .header .header-controls { width:160px; gap:10px !important; }
  .header .header-controls::before { inset-inline-start:0; inset-inline-end:auto; width:98px; }
  .header .header-controls .btn-icon { flex-basis:44px; width:44px; min-width:44px; height:44px; min-height:44px; }
  .header .header-controls .hamburger { flex-basis:48px; width:48px; min-width:48px; height:48px; min-height:48px; margin-inline-start:0; }
  .header .nav-menu { top:calc(var(--header-height) + 8px); max-height:calc(100dvh - var(--header-height) - 16px); }
}

/* Keep the mobile course scarcity badge compact and prevent a stranded last word. */
@media (max-width:767px) {
  .main-program-card.available .program-card-header .program-urgency-badge {
    gap:5px;
    padding:6px 8px;
    font-size:clamp(.6rem,2.8vw,.7rem) !important;
    line-height:1.35;
    white-space:nowrap;
  }
  .main-program-card.available .program-card-header .program-urgency-badge > span:last-child {
    min-width:0;
    white-space:nowrap;
  }
}

/* Hero biography: natural spacing and balanced wrapping, without stretched word gaps. */
.hero-subtitle { width:100%; text-align:center !important; text-align-last:center; text-justify:auto; text-wrap:pretty; overflow-wrap:normal; }
html[dir="rtl"] .hero-subtitle { direction:rtl; }
html[dir="ltr"] .hero-subtitle { direction:ltr; }

/* Refined experience-expander chevron. */
.experience-show-more::after { content:""; width:8px; height:8px; border-inline-end:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); }
.experience-show-more[aria-expanded="true"]::after { transform:rotate(225deg) translateY(-2px); }
.experience-show-more:hover::after { transform:rotate(45deg) translateY(1px); }
.experience-show-more[aria-expanded="true"]:hover::after { transform:rotate(225deg) translateY(1px); }

/* Replace blank side gutters with a soft image-matched background while keeping the full photo visible. */
.gallery-grid .static-featured-card .gallery-img-container { isolation:isolate; background:var(--bg-surface) !important; }
.gallery-grid .static-featured-card .gallery-photo-backdrop { position:absolute; z-index:0; inset:-18px; background-position:center; background-repeat:no-repeat; background-size:cover; filter:blur(18px); opacity:.48; transform:scale(1.08); pointer-events:none; }
.gallery-grid .static-featured-card .gallery-img-container::after { content:""; position:absolute; z-index:1; inset:0; background:linear-gradient(90deg,rgba(10,12,25,.16),transparent 30%,transparent 70%,rgba(10,12,25,.16)); pointer-events:none; }
.gallery-grid .static-featured-card .gallery-img-container > .gallery-img { position:relative; z-index:2; display:block; width:100% !important; height:100% !important; margin-inline:auto; object-fit:contain !important; object-position:center !important; transform:none !important; }
.gallery-grid .static-featured-card .personal-brand-kicker { z-index:3; }
.gallery-grid .static-featured-card:hover .gallery-img-container > .gallery-img { transform:none !important; }

/* Keep the commission badge fitted to its label and animate a calm rising-market cue. */
.growth-partners-section .gp-card-highlight .gp-comm-badge { justify-self:start; align-self:start; width:fit-content; max-width:100%; min-height:38px; }
.growth-partners-section .gp-card-highlight .gp-comm-rate { display:flex; align-items:center; justify-content:flex-start; gap:.38em; }
.gp-comm-rate > span:first-child { white-space:nowrap; }
.gp-commission-trend { display:inline-grid; flex:0 0 1em; width:1em; height:1em; place-items:center; border-radius:.32em; color:#20bd78; background:rgba(32,189,120,.12); filter:drop-shadow(0 3px 7px rgba(32,189,120,.16)); }
.gp-commission-trend svg { display:block; width:100%; height:100%; overflow:visible; animation:commission-rise 1.9s ease-in-out infinite; }
.gp-commission-trend path { stroke:currentColor; }
.gp-commission-trend .gp-trend-line { stroke-dasharray:42; stroke-dashoffset:0; animation:commission-line 2.8s ease-in-out infinite; }
@keyframes commission-rise { 0%,100% { transform:translateY(2px); } 50% { transform:translateY(-3px); } }
@keyframes commission-line { 0%,18% { stroke-dashoffset:42; opacity:.55; } 65%,100% { stroke-dashoffset:0; opacity:1; } }
@media (prefers-reduced-motion:reduce) { .gp-commission-trend svg,.gp-commission-trend .gp-trend-line { animation:none; } }

/* Angular: side-mounted, low-profile helper with no scroll-driven DOM moves. */
@media (max-width:767px) {
  html,body { width:100%; max-width:100%; overflow-x:clip !important; }
  .hero-section,.hero-container,.hero-content,.hero-btns { min-width:0; max-width:100%; }
  .hero-container { margin-inline:auto !important; inset-inline:auto; }
  #training-programs,.training-stats-wrapper,.main-program-card,.program-card-header { min-width:0; }
}
.feedback-role { color:#ffd43b !important; font-weight:800; letter-spacing:.08em; }
.rating-star-icon { fill:#ffd43b !important; filter:drop-shadow(0 0 3px rgba(255,196,0,.35)); }
.training-stats-title { max-width:30ch; margin-inline:auto; text-wrap:balance; }
.training-country-list { display:inline-flex !important; align-items:center; justify-content:center; width:fit-content; max-width:100%; margin:4px auto 0 !important; padding:7px 12px; border:1px solid rgba(160,66,252,.22); border-radius:999px; color:var(--text-primary) !important; background:rgba(160,66,252,.08); font-size:.82rem !important; font-weight:800 !important; line-height:1.4; text-align:center; text-wrap:balance; }
.main-program-card.available .program-card-header { grid-template-columns:minmax(0,1fr) 68px !important; grid-template-rows:auto auto; align-items:center; gap:6px 10px; }
.main-program-card.available .program-card-header .program-urgency-badge { grid-column:1; grid-row:1; min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; text-align:start; }
.main-program-card.available .program-card-header .program-badge { grid-column:1; grid-row:2; min-width:0; width:fit-content; max-width:100%; white-space:normal; overflow-wrap:anywhere; text-align:start; }
.main-program-card.available .program-card-header .program-card-logo { grid-column:2; grid-row:1 / span 2; }
.mobile-sticky-booking { transform:translate3d(-50%,110px,0); transition:transform .48s cubic-bezier(.22,1,.36,1),opacity .48s ease; will-change:transform,opacity; }
.mobile-sticky-booking.visible { transform:translate3d(-50%,0,0); }
.mobile-sticky-btn-whatsapp { transition:transform .28s ease,box-shadow .28s ease; }
.mobile-sticky-btn-whatsapp:hover,.mobile-sticky-btn-whatsapp:focus-visible { transform:scale(1.06); box-shadow:0 6px 18px rgba(37,211,102,.4); }
@media (max-width:380px) {
  .main-program-card.available .program-card-header { grid-template-columns:minmax(0,1fr) 54px !important; gap:5px 6px; }
  .main-program-card.available .program-card-header .program-card-logo { width:50px; height:50px; }
  .main-program-card.available .program-card-header .program-urgency-badge,.main-program-card.available .program-card-header .program-badge { padding:5px 7px !important; font-size:.64rem !important; }
}
/* Keep the course artwork inside its header on narrow screens, clear of the fixed nav. */
@media (max-width:767px) {
  .main-program-card.available .program-card-header .program-card-logo { width:64px !important; height:64px !important; transform:none !important; }
  .main-program-card.available .program-card-header .program-card-logo img { width:64px !important; max-width:64px !important; height:64px !important; max-height:64px !important; }
}
@media (max-width:380px) {
  .main-program-card.available .program-card-header .program-card-logo { width:50px !important; height:50px !important; }
  .main-program-card.available .program-card-header .program-card-logo img { width:50px !important; max-width:50px !important; height:50px !important; max-height:50px !important; }
}
@media (max-width:767px) {
  html,body { width:100%; max-width:100%; overflow-x:hidden !important; }
  body { position:relative; left:auto; right:auto; }
  .hero-section,.hero-container,.hero-content,.hero-btns { min-width:0; max-width:100%; }
  .hero-container { margin-left:auto !important; margin-right:auto !important; transform:none !important; }
  main,section[id] { min-width:0; }
}

.exam-option-card:not(.is-selected):not(.is-locked) .exam-option-state {
  display: none !important;
}
.exam-option-card.is-selected .exam-option-state {
  display: block !important;
}
.exam-option-copy strong {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}
