/* Shared stylesheet. Approved theme colors are centralized below; layout and override order are preserved.
   Responsive rules that participate in section overrides stay with their section. */

/* =========================================================
   CSS VARIABLES / ROOT
   ========================================================= */

:root {
  --primary-blue: #0056D2;
  /* Derived from the primary blue for depth, active states, and existing gradients. */
  --dark-blue: #0047AD;
  --orange: #FF6B0A;
  --light-orange: #FFF1E8;
  --white: #FFFFFF;
  --light-blue: #F4F8FF;
  --very-light-blue: #E6F0FF;
  --black: #111111;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --border-gray: #D7E5FA;

  /* Compatibility aliases keep existing component selectors unchanged. */
  --navy: var(--dark-blue);
  --blue: var(--primary-blue);
  --ink: var(--dark-gray);
  --muted: var(--medium-gray);
  --line: var(--border-gray);
  --bg: var(--light-blue);
  --radius: 18px;
  --shadow: 0 15px 40px rgba(0,86,210,.09);
  --font-heading: "Times New Roman",Times,serif;
  --font-subheading: "Montserrat",sans-serif;
  --font-body: "Open Sans",sans-serif;
}

/* =========================================================
   RESET / BASE STYLES
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
}

/* Clips the transient off-screen position of left/right scroll-reveal
   elements (see [data-reveal-fade] below) so they never create a
   horizontal scrollbar before they animate into place. The site header
   and floating action buttons are siblings of <main>, not descendants,
   so this does not affect their fixed/sticky positioning.
   Uses `clip`, not `hidden`: setting overflow-x to `hidden` alone forces
   the browser to promote overflow-y to `auto` (the CSS overflow-axis
   pairing rule), which turned <main> into its own internal scroll
   container with a second, nested scrollbar. `clip` never creates a
   scroll container on either axis, so the document itself remains the
   only vertical scroller. */
main {
  overflow-x: clip;
  overflow-y: visible;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -50px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 9px;
  z-index: 50;
}

.skip-link:focus {
  top: 10px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--black);
}

h1 {
  font-size: clamp(2.5rem,5vw,4rem);
}

h2 {
  font-size: clamp(2rem,3vw,2.75rem);
}

h3,h4 {
  font-family: var(--font-subheading);
  line-height: 1.25;
  margin: 0;
  color: var(--black);
}

p {
  margin: 0;
  color: var(--dark-gray);
}

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

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

/* =========================================================
   COMMON CONTAINER & LAYOUT
   ========================================================= */

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.section {
  padding: 82px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 38px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}

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

.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--white) 94.1176%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 5px 18px #0056D212;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg,var(--orange) 0 26%,var(--blue) 26%);
  font: 700 .8rem var(--font-subheading);
  border-radius: 8px;
}

.brand-text {
  font: 700 1rem var(--font-subheading);
  color: var(--navy);
  line-height: 1.05;
}

.brand-text small {
  display: block;
  color: var(--orange);
  font: 600 .54rem var(--font-body);
  letter-spacing: .12em;
  margin-top: 3px;
}

.brand img.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: transparent;
  padding: 2px;
}

/* =========================================================
   NAVIGATION / MENU
   ========================================================= */

.nav {
  width: min(1180px,100%);
  padding: 0 24px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .86rem;
  font-weight: 600;
}

.nav-links>a,.dropdown>button {
  position: relative;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  padding: 9px 0;
}

.nav-links>a:hover,.nav-links>a.active,.dropdown>button:hover {
  color: var(--blue);
}

.nav-links>a.active:after {
  content: "";
  height: 2px;
  background: var(--orange);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
}

/* =========================================================
   MEGA MENU / DROPDOWNS
   ========================================================= */

.dropdown {
  position: relative;
}

.mega {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: -90px;
  top: 37px;
  width: 540px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: .17s;
}

.dropdown:hover .mega,.dropdown:focus-within .mega {
  visibility: visible;
  opacity: 1;
}

.mega h4 {
  font-size: .76rem;
  color: var(--blue);
  margin: 0 0 7px;
}

.mega a {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  padding: 3px 0;
}

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

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 9px;
  padding: 12px 19px;
  font: 700 .9rem var(--font-body);
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 18px #0056D22E;
}

.btn.orange {
  background: var(--orange);
  border-color: var(--orange);
}

.btn.orange:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn.ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.btn.small {
  padding: 8px 12px;
  font-size: .8rem;
}

/* Consistent left-to-right sweep on hover, reusing the same technique already
   used for the course-page final CTA buttons (see .course-html-css .cta-final-section .btn). */
.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% 0;
  width: 45%;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(110deg,transparent,color-mix(in srgb, var(--white) 22%, transparent),transparent);
  transform: translateX(-140%) skewX(-18deg);
}

.btn.ghost::before {
  background: linear-gradient(110deg,transparent,color-mix(in srgb, var(--primary-blue) 14%, transparent),transparent);
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .btn:hover::before {
    animation: btn-sweep .65s ease-out;
  }
}

@keyframes btn-sweep {
  to {
    transform: translateX(340%) skewX(-18deg);
  }
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.floating-actions {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-actions .whatsapp {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  padding: 0;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  border-radius: 999px;
  background: #20ce64;
  color: var(--white);
  box-shadow: 0 8px 26px rgba(32,206,100,.22);
  transition: box-shadow .3s ease;
}

.floating-actions .whatsapp-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
}

.floating-actions .whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(6px, -50%);
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.floating-actions .whatsapp:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .floating-actions .whatsapp:is(:hover,:focus-visible) {
    box-shadow: 0 8px 30px rgba(32,206,100,.32);
  }
  .floating-actions .whatsapp:is(:hover,:focus-visible) .whatsapp-label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
    transition-delay: .08s;
  }
}

@media (max-width: 760px), (hover: none), (pointer: coarse) {
  .floating-actions .whatsapp {
    width: 56px;
    height: 56px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-actions .whatsapp,
  .floating-actions .whatsapp-label {
     transition: none;
  }
}

/* =========================================================
   SCROLL TO TOP
   ========================================================= */

.floating-actions .scroll-to-top {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--white) 30%, transparent);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,86,210,.2);
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.floating-actions .scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-actions .scroll-to-top:hover {
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(0,86,210,.3);
}

.floating-actions .scroll-to-top:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .floating-actions .scroll-to-top {
     transition: none;
  }
}

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

.site-footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  border-radius: 9px;
  padding: 2px;
}

.footer-brand em {
  color: var(--orange);
  font-style: normal;
}

.site-footer h3 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 12px;
}

.site-footer p,.site-footer a {
  color: var(--white);
  font-size: .83rem;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 17px;
  border-top: 1px solid color-mix(in srgb, var(--white) 16.0784%, transparent);
  font-size: .76rem;
}

/* =========================================================
   COMMON COMPONENTS
   ========================================================= */

.hero {
  padding: 76px 0;
  background: linear-gradient(120deg,var(--light-blue),var(--white) 57%,var(--light-blue));
  overflow: hidden;
}

.hero-grid,.split,.contact-grid,.detail-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin: 13px 0 18px;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy {
  font-size: 1.03rem;
  max-width: 630px;
}

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

.hero-art {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.laptop {
  width: min(430px,100%);
  height: 285px;
  border: 9px solid var(--dark-blue);
  border-radius: 18px 18px 4px 4px;
  background: linear-gradient(135deg,var(--dark-blue),var(--primary-blue));
  padding: 22px;
  box-shadow: 20px 25px 0 -15px #8AB4F8,0 22px 40px #0056D230;
}

.code-top {
  display: flex;
  gap: 6px;
}

.code-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--light-orange);
}

.code-line {
  height: 10px;
  margin-top: 16px;
  border-radius: 5px;
  background: var(--primary-blue);
  width: 68%;
}

.code-line:nth-child(3) {
  width: 43%;
  background: var(--orange);
}

.code-line:nth-child(4) {
  width: 82%;
  background: var(--very-light-blue);
}

.code-line:nth-child(5) {
  width: 57%;
  margin-left: 28px;
  background: var(--very-light-blue);
}

.code-line:nth-child(6) {
  width: 72%;
  background: var(--primary-blue);
}

.floating-card {
  position: absolute;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 700;
}

.floating-card.one {
  left: 0;
  bottom: 25px;
}

.floating-card.two {
  right: 0;
  top: 35px;
  color: var(--orange);
}

.page-hero {
  background: var(--bg);
  padding: 58px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 9px auto;
}

.page-hero p {
  max-width: 680px;
  margin: auto;
}

/* Courses page banner: same training-banner design as html-css.html / course
   detail pages, scoped so nothing else on the site is affected. */
.courses-page .training-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 40px 0;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.62) 55%,rgba(0,86,210,.32)),url('../images/small-banner.webp') center/cover no-repeat;
}

.courses-page .training-banner-content {
  max-width: 620px;
}

.courses-page .training-banner span.eyebrow {
  color: var(--white);
}

.courses-page .training-banner span.eyebrow:before {
  background: var(--orange);
}

.courses-page .training-banner h1 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(2rem,3.6vw,2.9rem);
  line-height: 1.1;
}

.courses-page .training-banner p {
  margin-top: 12px;
  color: color-mix(in srgb, var(--white) 86%, transparent);
  font-size: 1rem;
  line-height: 1.6;
}

.courses-page .training-banner .breadcrumb {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

.courses-page .training-banner .breadcrumb a {
  color: var(--white);
}

.courses-page .training-banner .breadcrumb a:hover {
  color: var(--orange);
}

.courses-page .training-banner .breadcrumb span {
  color: color-mix(in srgb, var(--white) 50%, transparent);
}

@media (max-width: 1000px) {
  .courses-page .training-banner {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .courses-page .training-banner {
    min-height: 250px;
    padding: 28px 0;
    background: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.72) 65%,rgba(0,86,210,.45)),url('../images/small-banner.webp') center/cover no-repeat;
  }
  .courses-page .training-banner h1 {
    font-size: clamp(1.7rem,7vw,2.3rem);
  }
  .courses-page .training-banner p {
    font-size: .9rem;
  }
}

.course-detail-hero {
  text-align: left;
}

.course-detail-hero h1,.course-detail-hero p {
  margin-left: 0;
}

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

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

.breadcrumb span {
  margin: 0 7px;
}

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

.category-card,.course-card,.tech-card,.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: .22s;
}

.category-card {
  min-height: 185px;
  padding: 19px;
  display: flex;
  flex-direction: column;
}

.category-card:hover,.course-card:hover,.feature:hover,.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-gray);
}

.icon-wrap,.tech-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--very-light-blue);
  color: var(--blue);
  border-radius: 12px;
  font: 700 .78rem var(--font-subheading);
  margin-bottom: 13px;
}

.category-card:nth-child(3n) .icon-wrap,.tech-card:nth-child(4n) .tech-logo {
  background: var(--very-light-blue);
  color: var(--orange);
}

.category-card h3 {
  font-size: .96rem;
}

.category-card p,.course-card p {
  font-size: .84rem;
  margin: 7px 0;
}

.text-link {
  margin-top: auto;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
}

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

.feature {
  padding: 23px;
}

.feature .number {
  font: 700 .82rem var(--font-subheading);
  color: var(--orange);
}

.feature h3 {
  margin: 12px 0 7px;
}

.feature p {
  font-size: .88rem;
}

.stats {
  background: var(--navy);
  color: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}

.stat {
  padding: 20px;
  border-right: 1px solid color-mix(in srgb, var(--white) 18.0392%, transparent);
}

.stat:last-child {
  border: 0;
}

.stat b {
  display: block;
  font: 700 clamp(2rem,4vw,3.1rem) var(--font-heading);
}

.stat span {
  color: var(--white);
  font-size: .85rem;
}

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

.course-card {
  padding: 21px;
  display: flex;
  flex-direction: column;
  min-height: 370px;
}

.course-card[hidden] {
  display: none;
}

.course-card header {
  display: flex;
  justify-content: space-between;
}

.level {
  font-size: .7rem;
  background: var(--light-blue);
  color: var(--blue);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.course-card h3 {
  margin-top: 10px;
}

.topic-list {
  font-size: .79rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 11px 0;
}

.topic-list li {
  margin: 3px 0;
}

.topic-list li:before {
  content: "\2713";
  color: var(--orange);
  font-weight: 700;
  margin-right: 7px;
}

.course-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.course-actions .btn {
  flex: 1;
}

.filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font: 600 .83rem var(--font-body);
  cursor: pointer;
}

.filter.active,.filter:hover {
  background: var(--navy);
  color: var(--white);
}

/* Modern course-card treatment, scoped to the Courses page grid only
   (courses.html) so the Blog page's shared .course-card markup is unaffected.
   Reuses the same dark card/icon-chip/text-link values already established
   for the Home page's Popular Courses cards (see the .popular-course-icon
   and .text-link rules below), adapted to keep this page's checklist. */
.courses-list-grid.course-grid {
  gap: 16px;
}

.courses-list-grid .course-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 325px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: #031f48;
  box-shadow: 0 13px 28px rgba(3,31,72,.18);
  color: var(--white);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.courses-list-grid .course-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: transform .45s ease;
}

.courses-list-grid .course-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(108deg, rgba(2,24,55,.84) 0%, rgba(2,35,75,.66) 52%, rgba(2,35,75,.38) 100%), linear-gradient(0deg, rgba(2,24,55,.22), transparent 58%);
}

.courses-list-grid .course-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.courses-list-grid .course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 22px 42px rgba(3,31,72,.3);
}

.courses-list-grid .course-card:hover .course-card-bg {
  transform: scale(1.05);
}

.courses-list-grid .icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(4,91,201,.74);
  backdrop-filter: blur(9px);
  color: var(--white);
  box-shadow: 0 8px 17px rgba(0,18,47,.3);
  transition: background .35s ease, box-shadow .35s ease;
}

.courses-list-grid .course-card:hover .icon-wrap {
  background: rgba(4,91,201,.9);
  box-shadow: 0 10px 22px rgba(0,18,47,.42);
}

.courses-list-grid .course-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--white);
}

.courses-list-grid .course-card-content > p {
  max-width: 30ch;
  margin: 7px 0;
  color: color-mix(in srgb, var(--white) 80%, transparent);
  line-height: 1.58;
}

.courses-list-grid .topic-list {
  flex: 1;
  color: color-mix(in srgb, var(--white) 80%, transparent);
}

.courses-list-grid .topic-list li:before {
  color: var(--white);
}

.courses-list-grid .course-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--white);
  font: 700 .82rem var(--font-subheading);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.courses-list-grid .course-card .text-link:after {
  content: "→";
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .2s ease;
}

.courses-list-grid .course-card .text-link:hover:after {
  transform: translateX(4px);
}

@media (max-width: 1000px) {
  .courses-list-grid.course-grid {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .courses-list-grid.course-grid {
    gap: 16px;
  }

  .courses-list-grid .course-card {
    min-height: 305px;
    padding: 25px;
    border-radius: 20px;
  }
}

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

.tech-card {
  text-align: center;
  padding: 22px 10px;
}

.tech-logo {
  /* Preserve the existing technology wordmark color. */
  color: #0056D2;
  margin: 0 auto 10px;
}

.tech-card h3 {
  font-size: .87rem;
}

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

.career-card {
  padding: 17px;
  background: var(--bg);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  font: 700 .88rem var(--font-subheading);
}

.process {
  display: grid;
  grid-template-columns: repeat(6,1fr);
}

.process-step {
  padding: 0 15px;
  border-left: 1px dashed var(--border-gray);
}

.process-step b {
  color: var(--orange);
  font: 700 1.3rem var(--font-heading);
}

.process-step h3 {
  font-size: .95rem;
  margin: 9px 0;
}

.process-step p {
  font-size: .8rem;
}

/* =========================================================
   HOME PAGE
   ========================================================= */

.home-page .category-grid {
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.home-page .category-card {
  min-height: 250px;
}

.home-page .tech-list {
  font-size: .78rem;
  color: var(--muted);
  margin: 4px 0 13px;
}

@media(max-width:1000px) {
  .home-page .category-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:760px) {
  .home-page .category-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {
  .home-page .category-card {
    min-height: 0;
  }
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .home-page main :is(.btn,.text-link,.technologies-cta):hover {
    transform: translateY(-2px);
  }
  .home-page main :is(.btn,.text-link,.technologies-cta):hover::before {
    animation: home-button-sweep .65s ease-out;
  }
}

@keyframes home-button-sweep {
  to {
     transform: translateX(-150%) skewX(-18deg);
  }
}

.home-page [data-home-reveal] {
   --home-x: 0;
   --home-y: 16px;
   --home-scale: 1;
}

.home-page [data-home-reveal="left"] {
   --home-x: 16px;
   --home-y: 0;
}

.home-page [data-home-reveal="right"] {
   --home-x: -16px;
   --home-y: 0;
}

.home-page [data-home-reveal="down"] {
   --home-y: -16px;
}

.home-page [data-home-reveal="zoom"] {
   --home-y: 16px;
   --home-scale: .995;
}

.home-page [data-home-reveal="card"] {
   --home-y: 18px;
   --home-scale: .995;
}

@media(prefers-reduced-motion:no-preference) {
  .home-page .home-in-view {
    animation: home-enter .45s cubic-bezier(.2,.65,.3,1) var(--home-reveal-delay,0ms) backwards;
  }
}

@keyframes home-enter {
  from {
     opacity: 0;
     translate: var(--home-x) var(--home-y);
     scale: var(--home-scale);
  }
  to {
     translate: 0 0;
     scale: 1;
  }
}

@media(prefers-reduced-motion:reduce) {
  html:has(.home-page) {
     scroll-behavior: auto;
  }
  .home-page main :is(.btn,.text-link,.technologies-cta),
  .home-page main :is(.btn,.text-link,.technologies-cta) :is(span),
  .home-page main .text-link::after {
     transition: none;
     transform: none;
  }
  .home-page .future-cta-section::before {
     position: absolute;
  }
}

/* =========================================================
   HOME - HERO / SLIDER BANNER
   ========================================================= */

.home-page .hero-slider {
  position: relative;
  overflow: hidden;
  height: 88vh;
  min-height: 640px;
  max-height: 800px;
  background: var(--dark-blue);
}

.home-page .hero-slide {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}

.home-page .hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease;
}

.home-page .hero-slide-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
}

.home-page .hero-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(prefers-reduced-motion:no-preference) {
  .home-page .hero-slide.is-active .hero-slide-media img {
    animation: hero-slide-zoom 8s ease-out forwards;
  }
}

@keyframes hero-slide-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.home-page .hero-slide-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(100deg,rgba(0,86,210,.95) 0%,rgba(0,86,210,.82) 24%,rgba(0,86,210,.5) 46%,rgba(0,86,210,.18) 66%,transparent 84%);
}

.home-page .hero-slide-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 500px;
  margin: 0;
  padding: 0 20px 60px clamp(24px,5.5vw,84px);
}

.home-page .hero-slide-eyebrow {
  color: var(--white);
}

.home-page .hero-slide-heading {
  max-width: 460px;
  margin: 12px 0 18px;
  font-size: clamp(1.9rem,2.7vw,3.05rem);
  letter-spacing: -.015em;
  color: var(--white);
}

.home-page .hero-slide-heading em {
  font-style: normal;
  color: var(--orange);
}

.home-page .hero-slide-description {
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--white) 88%, transparent);
}

.home-page .hero-slide-actions {
  margin-top: 28px;
}

.home-page .hero-slide-eyebrow,
.home-page .hero-slide-heading,
.home-page .hero-slide-description,
.home-page .hero-slide-actions {
  opacity: 0;
  transform: translateY(18px);
}

@media(prefers-reduced-motion:no-preference) {
  .home-page .hero-slide.is-active .hero-slide-eyebrow {
    animation: hero-text-in .7s cubic-bezier(.22,.68,0,1) .15s forwards;
  }
  .home-page .hero-slide.is-active .hero-slide-heading {
    animation: hero-text-in .8s cubic-bezier(.22,.68,0,1) .35s forwards;
  }
  .home-page .hero-slide.is-active .hero-slide-description {
    animation: hero-text-in .8s cubic-bezier(.22,.68,0,1) .6s forwards;
  }
  .home-page .hero-slide.is-active .hero-slide-actions {
    animation: hero-text-in .8s cubic-bezier(.22,.68,0,1) .85s forwards;
  }
}

@media(prefers-reduced-motion:reduce) {
  .home-page .hero-slide-eyebrow,
  .home-page .hero-slide-heading,
  .home-page .hero-slide-description,
  .home-page .hero-slide-actions {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-text-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page .hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--white) 35%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--dark-blue) 45%, transparent);
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-page .hero-arrow-prev {
  left: 22px;
}

.home-page .hero-arrow-next {
  right: 22px;
}

.home-page .hero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .home-page .hero-arrow:hover {
    transform: translateY(-50%) scale(1.07);
  }
}

.home-page .hero-arrow:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.home-page .hero-slider-nav {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 30px;
}

.home-page .hero-slider-nav-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.home-page .hero-slider-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-page .hero-slider-counter {
  font: 700 .95rem var(--font-subheading);
  color: var(--white);
  letter-spacing: .04em;
  white-space: nowrap;
}

.home-page .hero-slider-counter span {
  font-size: 1.3rem;
}

.home-page .hero-slider-progress {
  position: relative;
  width: 140px;
  height: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--white) 28%, transparent);
  overflow: hidden;
}

.home-page .hero-slider-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--orange);
  transition: width .5s cubic-bezier(.22,.68,0,1);
}

.home-page .hero-slider-thumbs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.home-page .hero-thumb {
  width: 78px;
  height: 52px;
  padding: 0;
  border: 2px solid color-mix(in srgb, var(--white) 45%, transparent);
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .7;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}

.home-page .hero-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hero-thumb:hover {
  opacity: .92;
}

.home-page .hero-thumb.is-active {
  opacity: 1;
  border-color: var(--orange);
  transform: translateY(-3px);
}

.home-page .hero-thumb:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media(max-width:1000px) {
  .home-page .hero-slider {
    height: 82vh;
    min-height: 560px;
  }
  .home-page .hero-slide-content {
    max-width: 460px;
    padding-left: clamp(24px,4.5vw,60px);
  }
  .home-page .hero-slide-heading {
    max-width: 420px;
    font-size: clamp(1.8rem,3.6vw,2.5rem);
  }
}

@media(max-width:760px) {
  .home-page .hero-slider {
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
    max-height: none;
  }
  .home-page .hero-slide-content {
    max-width: 100%;
    padding: 0 16px 60px 20px;
  }
  .home-page .hero-slide-overlay {
    background: linear-gradient(100deg,rgba(0,86,210,.92) 0%,rgba(0,86,210,.78) 34%,rgba(0,86,210,.5) 60%,rgba(0,86,210,.32) 100%),linear-gradient(180deg,rgba(0,86,210,.2) 0%,transparent 30%,transparent 65%,rgba(0,86,210,.35) 100%);
  }
  .home-page .hero-slide-heading {
    max-width: 100%;
    font-size: clamp(1.7rem,7vw,2.3rem);
    margin: 12px 0 16px;
  }
  .home-page .hero-slide-description {
    max-width: 100%;
    font-size: .95rem;
  }
  .home-page .hero-slide-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }
  .home-page .hero-slide-actions .btn {
    flex: 1;
    text-align: center;
  }
  .home-page .hero-arrow {
    width: 40px;
    height: 40px;
  }
  .home-page .hero-arrow-prev {
    left: 12px;
  }
  .home-page .hero-arrow-next {
    right: 12px;
  }
  .home-page .hero-arrow svg {
    width: 17px;
    height: 17px;
  }
  .home-page .hero-slider-nav {
    bottom: 16px;
  }
  .home-page .hero-slider-nav-row {
    gap: 12px;
  }
  .home-page .hero-slider-progress {
    width: 80px;
  }
  .home-page .hero-thumb {
    width: 56px;
    height: 38px;
    border-radius: 8px;
  }
}

@media(max-width:560px) {
  .home-page .hero-slider-thumbs {
    display: none;
  }
}

/* =========================================================
   HOME - WELCOME SECTION
   ========================================================= */

.home-page .welcome-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background: var(--very-light-blue);
}

.home-page .welcome-grid {
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  gap: 38px;
  align-items: center;
}

.home-page .welcome-content {
  position: relative;
  z-index: 2;
}

.home-page .welcome-content h2 {
  margin: 13px 0 27px;
  font-size: clamp(2.55rem,3.75vw,4.25rem);
  letter-spacing: -.02em;
}

.home-page .welcome-content h2 span,.home-page .welcome-content h2 em {
  display: block;
}

.home-page .welcome-content h2 em {
  color: var(--orange);
  font-style: normal;
}

.home-page .welcome-content p {
  max-width: 615px;
  font-size: 1rem;
  line-height: 1.62;
}

.home-page .welcome-content p+p {
  margin-top: 15px;
}

.home-page .welcome-button {
  margin-top: 26px;
}

.home-page .welcome-button .button-arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}

.home-page .welcome-dots {
  position: absolute;
  width: 112px;
  height: 92px;
  left: -72px;
  bottom: -71px;
  background-image: radial-gradient(var(--very-light-blue) 2px,transparent 2.8px);
  background-size: 18px 18px;
  opacity: .8;
}

.home-page .welcome-visual {
  position: relative;
  min-height: 470px;
  isolation: isolate;
}

.home-page .welcome-visual:before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 88%;
  height: 89%;
  right: -9%;
  top: 4%;
  border-radius: 50%;
  background: var(--light-blue);
}

.home-page .welcome-visual:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 73%;
  height: 75%;
  left: 4%;
  bottom: -3%;
  border-radius: 50%;
  background: var(--light-blue);
}

.home-page .welcome-arc {
  position: absolute;
  z-index: 1;
  left: 5%;
  top: 18%;
  width: 33%;
  height: 57%;
  border-left: 9px solid var(--orange);
  border-radius: 50%;
  filter: drop-shadow(0 3px 2px rgba(255,107,23,.15));
}

.home-page .welcome-image {
  position: relative;
  z-index: 0;
  display: block;
  width: 111%;
  max-width: none;
  margin: 1% -8% 0 -3%;
  filter: drop-shadow(0 18px 24px rgba(0,86,210,.08));
}

.home-page .welcome-icon-card {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0,86,210,.13);
  color: var(--primary-blue);
}

.home-page .welcome-icon-card svg {
  width: 39px;
  height: 39px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .welcome-icon-card.education {
  top: 16%;
  left: 0;
  background: var(--very-light-blue);
  color: var(--orange);
}

.home-page .welcome-icon-card.code {
  bottom: 13%;
  left: 4%;
  background: var(--very-light-blue);
}

.home-page .welcome-icon-card.analytics {
  right: -2%;
  top: 48%;
}

.home-page .welcome-section .welcome-grid {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(42px,6vw,88px);
  align-items: center;
}

.home-page .welcome-section .welcome-visual {
  order: -1;
  min-height: 0;
}

.home-page .welcome-section .welcome-visual:before,.home-page .welcome-section .welcome-visual:after,.home-page .welcome-section .welcome-arc,.home-page .welcome-section .welcome-icon-card {
  display: none;
}

.home-page .welcome-section .welcome-image {
  width: 100%;
  height: clamp(380px,35vw,510px);
  margin: 0;
  max-width: 100%;
  object-fit: cover;
  border-radius: clamp(42px,5vw,72px);
  filter: drop-shadow(0 13px 16px rgba(0,86,210,.2));
}

.home-page .welcome-section .welcome-content {
  max-width: 650px;
}

.home-page .welcome-section .welcome-content h2 {
  margin: 13px 0 25px;
  font-size: clamp(2.45rem,3.7vw,3.85rem);
  line-height: 1.12;
}

.home-page .welcome-section .welcome-content h2 em {
  color: var(--black);
}

.home-page .welcome-section .welcome-content p {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--dark-gray);
}

.home-page .welcome-section .welcome-button {
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.home-page .welcome-section .welcome-button:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,86,210,.14);
}

.home-page .welcome-section .welcome-button .button-arrow {
  width: 24px;
  height: 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
}

.home-page .welcome-section .welcome-button:hover .button-arrow {
  background: var(--white);
  color: var(--navy);
}

.home-page .welcome-section .welcome-dots {
  display: none;
}

@media(max-width:760px) {
  .home-page .welcome-section .welcome-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-page .welcome-section .welcome-visual {
    order: -1;
    min-height: 0;
    margin: 0;
  }
  .home-page .welcome-section .welcome-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
    object-fit: cover;
    margin: 0;
    border-radius: 38px;
  }
  .home-page .welcome-section .welcome-content h2 {
    font-size: clamp(2.25rem,10.5vw,3.1rem);
  }
  .home-page .welcome-section .welcome-content p {
    font-size: .96rem;
    line-height: 1.65;
  }
}

@media(max-width:1000px) {
  .home-page .welcome-section {
    padding: 76px 0;
  }
}

@media(max-width:1000px) {
  .home-page .welcome-grid {
    gap: 20px;
  }
}

@media(max-width:1000px) {
  .home-page .welcome-content h2 {
    font-size: clamp(2.35rem,4.1vw,3.45rem);
  }
}

@media(max-width:1000px) {
  .home-page .welcome-visual {
    min-height: 375px;
  }
}

@media(max-width:1000px) {
  .home-page .welcome-icon-card {
    width: 64px;
    height: 64px;
    font-size: 1.55rem;
  }
}

@media(max-width:1000px) {
  .home-page .welcome-icon-card.analytics span {
    font-size: 1.35rem;
  }
}

@media(max-width:760px) {
  .home-page .welcome-section {
    padding: 62px 0 42px;
  }
}

@media(max-width:760px) {
  .home-page .welcome-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media(max-width:760px) {
  .home-page .welcome-content h2 {
    font-size: clamp(2.35rem,11vw,3.2rem);
    margin-bottom: 20px;
  }
}

@media(max-width:760px) {
  .home-page .welcome-content p {
    font-size: .96rem;
  }
}

@media(max-width:760px) {
  .home-page .welcome-dots {
    left: auto;
    right: 0;
    bottom: -33px;
  }
}

@media(max-width:760px) {
  .home-page .welcome-visual {
    min-height: 300px;
    margin: 0 -12px;
  }
}

@media(max-width:760px) {
  .home-page .welcome-image {
    width: 110%;
    margin-left: -5%;
  }
}

@media(max-width:760px) {
  .home-page .welcome-icon-card {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 1.35rem;
  }
}

@media(max-width:760px) {
  .home-page .welcome-icon-card.education {
    top: 9%;
    left: 2%;
  }
}

@media(max-width:760px) {
  .home-page .welcome-icon-card.code {
    bottom: 6%;
    left: 8%;
  }
}

@media(max-width:760px) {
  .home-page .welcome-icon-card.analytics {
    right: 2%;
    top: 45%;
  }
}

@media(max-width:760px) {
  .home-page .welcome-icon-card.analytics span {
    font-size: 1.2rem;
  }
}

/* =========================================================
   HOME - WHAT WE OFFER
   ========================================================= */

.home-page .what-we-offer {
  padding: 86px 0 94px;
  background: linear-gradient(145deg,var(--light-blue) 0%,var(--white) 48%,var(--light-blue) 100%);
}

.home-page .offer-heading {
  max-width: 1080px;
  margin: 0 auto 33px;
  text-align: center;
}

.home-page .offer-heading .eyebrow {
  justify-content: center;
  gap: 10px;
}

.home-page .offer-heading .eyebrow:before,.home-page .offer-heading .eyebrow:after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--blue);
}

.home-page .offer-heading h2 {
  margin: 12px 0 9px;
  font-size: clamp(2.5rem,4.2vw,4rem);
}

.home-page .offer-heading p {
  max-width: 900px;
  margin: 0 auto;
}

.home-page .what-we-offer .what-we-offer-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
  align-items: stretch;
}

.home-page .what-we-offer .offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  border-top: 4px solid var(--primary-blue);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0,86,210,.08);
  transition: transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}

.home-page .what-we-offer .offer-card:nth-child(3n) {
  border-top-color: var(--orange);
}

.home-page .what-we-offer .offer-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 38px rgba(0,86,210,.18);
}

.home-page .what-we-offer .offer-card:nth-child(3n):hover {
  border-color: var(--orange);
}

.home-page .what-we-offer .offer-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.home-page .what-we-offer .offer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.home-page .what-we-offer .offer-card:hover .offer-image {
  transform: scale(1.07);
}

.home-page .what-we-offer .offer-image-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,86,210,0) 60%,rgba(0,86,210,.24) 100%);
  pointer-events: none;
}

.home-page .what-we-offer .offer-card-content {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px 24px;
}

.home-page .what-we-offer .offer-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.home-page .what-we-offer .offer-icon {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--very-light-blue);
  color: var(--primary-blue);
  transition: background-color .25s ease,color .25s ease;
}

.home-page .what-we-offer .offer-card:hover .offer-icon {
  background: var(--primary-blue);
  color: var(--white);
}

.home-page .what-we-offer .offer-card:nth-child(3n):hover .offer-icon {
  background: var(--orange);
}

.home-page .what-we-offer .offer-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .what-we-offer .offer-number {
  margin-left: auto;
  color: color-mix(in srgb, var(--dark-blue) 16%, transparent);
  font: 700 1.7rem var(--font-heading);
  line-height: 1;
  transition: color .3s ease;
}

.home-page .what-we-offer .offer-card:hover .offer-number {
  color: color-mix(in srgb, var(--primary-blue) 35%, transparent);
}

.home-page .what-we-offer .offer-card h3 {
  margin: 0 0 8px;
  color: var(--black);
  font-size: 1.18rem;
}

.home-page .what-we-offer .offer-card p {
  margin: 0;
  color: var(--dark-gray);
  font-size: .87rem;
  line-height: 1.55;
}

.home-page .what-we-offer .offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
}

.home-page .what-we-offer .offer-tags span {
  max-width: 100%;
  padding: 4px 11px;
  overflow-wrap: anywhere;
  border-radius: 999px;
  background: var(--very-light-blue);
  color: var(--primary-blue);
  font: 600 .7rem/1.2 var(--font-body);
}

.home-page .what-we-offer .offer-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gray);
  color: var(--primary-blue);
  font: 700 .84rem var(--font-subheading);
  transition: color .25s ease;
}

.home-page .what-we-offer .offer-card:hover .offer-explore {
  color: var(--dark-blue);
}

.home-page .what-we-offer .offer-explore-arrow {
  transition: transform .25s ease;
}

.home-page .what-we-offer .offer-card:hover .offer-explore-arrow {
  transform: translateX(5px);
}

.home-page .what-we-offer .offer-dots {
  display: none;
}

@media(max-width:1000px) {
  .home-page .what-we-offer .what-we-offer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px) {
  .home-page .what-we-offer {
    padding: 64px 0;
  }
  .home-page .what-we-offer .what-we-offer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .home-page .offer-heading {
    margin-bottom: 28px;
  }
  .home-page .offer-heading h2 {
    font-size: clamp(2.15rem,9vw,3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .what-we-offer .offer-card,
  .home-page .what-we-offer .offer-image,
  .home-page .what-we-offer .offer-icon,
  .home-page .what-we-offer .offer-number,
  .home-page .what-we-offer .offer-explore,
  .home-page .what-we-offer .offer-explore-arrow {
    transition: none;
  }
  .home-page .what-we-offer .offer-card:hover .offer-image {
    transform: none;
  }
}

/* =========================================================
   HOME - TECHNOLOGIES
   ========================================================= */

.home-page .technologies-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 84px 0 56px;
  background: linear-gradient(180deg,#f6f8fd 0%,#eef3fb 55%,var(--very-light-blue) 100%);
}

.home-page .technologies-section:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--primary-blue) 26%, transparent) 1px,transparent 1.6px);
  background-size: 26px 26px;
  opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse 68% 58% at 50% 18%,#000 0%,transparent 78%);
  mask-image: radial-gradient(ellipse 68% 58% at 50% 18%,#000 0%,transparent 78%);
}

.home-page .technologies-section:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -240px;
  border-radius: 50%;
  background: radial-gradient(circle,color-mix(in srgb, var(--primary-blue) 14%, transparent),transparent 70%);
}

.home-page .technologies-container {
  position: relative;
}

.home-page .technologies-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .5;
}

.home-page .orb-one {
  width: 220px;
  height: 220px;
  left: -70px;
  top: 30px;
  background: radial-gradient(circle,color-mix(in srgb, var(--primary-blue) 55%, transparent),transparent 72%);
}

.home-page .orb-two {
  width: 240px;
  height: 240px;
  right: -80px;
  top: 220px;
  background: radial-gradient(circle,color-mix(in srgb, var(--orange) 45%, transparent),transparent 72%);
}

.home-page .technologies-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.home-page .technologies-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--navy);
  font: 700 .78rem var(--font-subheading);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.home-page .technologies-label:before,.home-page .technologies-label:after {
  content: "";
  width: 45px;
  height: 2px;
  background: var(--orange);
}

.home-page .technologies-heading h2 {
  margin: 14px 0 15px;
  font-size: clamp(2.15rem,3.6vw,3.4rem);
  line-height: 1.08;
}

.home-page .technologies-heading h2 em {
  position: relative;
  color: var(--primary-blue);
  font-style: normal;
  white-space: nowrap;
}

.home-page .technologies-heading h2 em:after {
  content: "";
  position: absolute;
  left: 7%;
  right: 1%;
  bottom: -8px;
  height: 5px;
  border-top: 3px solid var(--primary-blue);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.home-page .technologies-heading p {
  max-width: 760px;
  margin: auto;
  font-size: 1rem;
  line-height: 1.45;
}

.home-page .technologies-showcase {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-page .technologies-featured,
.home-page .technologies-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.home-page .technology-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 112px;
  padding: 24px 22px;
  border: 1px solid var(--border-gray);
  border-radius: 21px;
  background: linear-gradient(155deg,color-mix(in srgb, var(--white) 96%, transparent),var(--very-light-blue));
  box-shadow: 0 12px 26px rgba(0,86,210,.09);
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.home-page .technology-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--primary-blue) 48%, var(--border-gray));
  box-shadow: 0 18px 34px rgba(0,86,210,.18);
}

.home-page .technology-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--very-light-blue);
  color: #0056D2;
  font: 800 1rem var(--font-subheading);
  letter-spacing: -.06em;
  box-shadow: inset 0 1px #fff;
  transition: transform .25s ease;
}

.home-page .technology-card:hover .technology-icon {
  transform: scale(1.08);
}

.home-page .technology-card h3 {
  min-width: 0;
  flex: 1;
  color: var(--black);
  font-size: 1.12rem;
  line-height: 1.25;
}

.home-page .technology-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.home-page .technology-tag {
  color: var(--medium-gray);
  font: 600 .68rem var(--font-body);
  letter-spacing: .01em;
}





.home-page .technology-icon.java {
  color: #df4428;
  background: var(--very-light-blue);
}

.home-page .technology-icon.c,.home-page .technology-icon.cpp {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.html {
  color: #e34e20;
  background: var(--very-light-blue);
}

.home-page .technology-icon.css {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.javascript {
  color: #151515;
  background: var(--very-light-blue);
}

.home-page .technology-icon.bootstrap {
  color: #7728d4;
  background: var(--very-light-blue);
  font-size: 1.7rem;
}

.home-page .technology-icon.jquery {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.react {
  color: #00a8dd;
  background: var(--very-light-blue);
}

.home-page .technology-icon.php {
  color: #0056D2;
  background: var(--very-light-blue);
  font-style: italic;
}

.home-page .technology-icon.dotnet {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.oracle {
  color: #dd2a1b;
  background: var(--very-light-blue);
}

.home-page .technology-icon.sql {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.ads {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.office {
  color: #e44920;
  background: var(--very-light-blue);
}

.home-page .technology-icon.tally {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.wordpress {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technology-icon.ux {
  color: #8c35d4;
  background: var(--very-light-blue);
}

.home-page .technology-icon.analytics {
  color: #0056D2;
  background: var(--very-light-blue);
}

.home-page .technologies-action {
  text-align: center;
  margin-top: 43px;
}

.home-page .technologies-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 12px 17px 12px 26px;
  border-radius: 15px;
  background: linear-gradient(120deg,var(--dark-blue),var(--primary-blue));
  box-shadow: 0 11px 19px rgba(0,86,210,.2);
  color: var(--white);
  font: 700 1rem var(--font-body);
  transition: transform .2s ease,box-shadow .2s ease;
}

.home-page .technologies-cta span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--primary-blue);
  font-size: 1.2rem;
}

.home-page .technologies-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 23px rgba(0,86,210,.3);
}

.home-page .technologies-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  color: var(--medium-gray);
  font: 700 .7rem var(--font-subheading);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.home-page .technologies-footer p {
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  line-height: 1.7;
}

.home-page .technologies-footer i {
  width: 1px;
  height: 15px;
  background: var(--primary-blue);
}

.home-page .technologies-footer p:last-child {
  gap: 13px;
  color: var(--navy);
  text-align: left;
}

.home-page .technologies-footer p:last-child b {
  width: 42px;
  height: 2px;
  background: var(--orange);
}

@media(max-width:1000px) {
  .home-page .technologies-featured,
  .home-page .technologies-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}


@media(max-width:760px) {
  .home-page .technologies-section {
    padding: 58px 0 32px;
  }
}

@media(max-width:760px) {
  .home-page .technologies-heading h2 br {
    display: none;
  }
}

@media(max-width:760px) {
  .home-page .technologies-heading h2 {
    font-size: clamp(2.1rem,9vw,2.9rem);
  }
}

@media(max-width:760px) {
  .home-page .technologies-heading p {
    font-size: .93rem;
  }
}

@media(max-width:760px) {
  .home-page .technologies-showcase {
    gap: 14px;
  }
}





@media(max-width:600px) {
  .home-page .technologies-featured,
  .home-page .technologies-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:600px) {
  .home-page .technology-card {
    min-height: 90px;
    padding: 18px 18px;
  }
}

@media(max-width:600px) {
  .home-page .technology-card .technology-icon {
    width: 52px;
    height: 52px;
  }
}

@media(max-width:760px) {
  .home-page .technologies-footer {
    margin-top: 38px;
    gap: 22px;
    align-items: flex-end;
  }
}

@media(max-width:760px) {
  .home-page .technologies-footer p {
    font-size: .57rem;
    letter-spacing: .15em;
    gap: 8px;
  }
}

@media(max-width:760px) {
  .home-page .technologies-footer p:first-child {
    flex-wrap: wrap;
    max-width: 110px;
  }
}

@media(max-width:760px) {
  .home-page .technologies-footer p:last-child {
    gap: 8px;
  }
}

@media(max-width:760px) {
  .home-page .technologies-footer p:last-child b {
    width: 25px;
  }
}


@media(max-width:390px) {
  .home-page .technologies-label {
    gap: 10px;
    letter-spacing: .18em;
    font-size: .67rem;
  }
}

@media(max-width:390px) {
  .home-page .technologies-label:before,.home-page .technologies-label:after {
    width: 26px;
  }
}

@media(max-width:390px) {
  .home-page .technologies-footer {
    display: block;
  }
}

@media(max-width:390px) {
  .home-page .technologies-footer p:last-child {
    margin-top: 16px;
  }
}

.home-page .technology-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}



.home-page main :is(.btn,.text-link,.technologies-cta) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.home-page main :is(.btn,.text-link,.technologies-cta)::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% 0;
  width: 45%;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(110deg,transparent,color-mix(in srgb, var(--white) 22%, transparent),transparent);
  transform: translateX(340%) skewX(-18deg);
}

/* =========================================================
   HOME - POPULAR COURSES
   ========================================================= */

.home-page .course-card {
  min-height: 275px;
}

.home-page .course-card .icon-wrap {
  margin-bottom: 5px;
}

.home-page .course-card .text-link {
  margin-top: auto;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) {
  position: relative;
  overflow: hidden;
  background: var(--very-light-blue);
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .section-heading {
  max-width: 760px;
  margin: 0 0 38px;
  text-align: left;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .section-heading h2 {
  margin: 10px 0 12px;
  color: var(--black);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem,4.2vw,4rem);
  line-height: 1;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .section-heading p {
  max-width: 690px;
  margin: 0;
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.5;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 23px;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--border-gray) 34%, transparent);
  border-radius: 23px;
  background: linear-gradient(145deg,var(--dark-blue),var(--dark-blue));
  box-shadow: 0 13px 25px rgba(0,86,210,.18);
  color: var(--white);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gray);
  box-shadow: 0 19px 32px rgba(0,86,210,.29);
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .popular-course-icon {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin-bottom: 25px;
  border-radius: 19px;
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 17px rgba(0,86,210,.24);
  transition: background-color .22s ease,box-shadow .22s ease;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card:hover .popular-course-icon {
  background: var(--primary-blue);
  box-shadow: 0 10px 22px rgba(0,86,210,.38);
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .popular-course-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card h3 {
  margin: 0 0 13px;
  color: var(--white);
  font: 700 1.08rem/1.25 var(--font-subheading);
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 80%, transparent);
  font-size: .88rem;
  line-height: 1.58;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card .text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--white);
  font: 700 .82rem var(--font-subheading);
  letter-spacing: .04em;
  text-transform: uppercase;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card .text-link:after {
  content: "→";
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .2s ease;
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card .text-link:hover {
  color: var(--white);
}

:is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card .text-link:hover:after {
  transform: translateX(4px);
}

@media(max-width:1000px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .section-heading {
    margin-bottom: 30px;
  }
}

@media(max-width:760px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media(max-width:760px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .course-card {
    min-height: 285px;
    padding: 25px;
  }
}

@media(max-width:760px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .popular-course-icon {
    width: 61px;
    height: 61px;
    margin-bottom: 21px;
    border-radius: 17px;
  }
}

@media(max-width:760px) {
  :is(.home-page .popular-courses-section, .academy-page .career-opportunities) .section-heading h2 {
    font-size: clamp(2.3rem,10vw,3.1rem);
  }
}

/* =========================================================
   HOME - WHY CHOOSE US
   ========================================================= */

.home-page .why-academy-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg,var(--light-blue) 0%,var(--white) 52%,var(--light-blue) 100%);
}

.home-page .why-academy-section .container {
  max-width: none;
  padding-right: clamp(24px,4vw,76px);
  padding-left: clamp(24px,4vw,76px);
}

.home-page .why-academy-section .section-heading {
  max-width: 850px;
  margin: 0 auto 46px;
  text-align: center;
}

.home-page .why-academy-section .eyebrow {
  padding: 7px 17px;
  border-radius: 999px;
  background: var(--light-blue);
  color: var(--primary-blue);
  letter-spacing: .16em;
}

.home-page .why-academy-section .eyebrow:before {
  display: none;
}

.home-page .why-academy-section .section-heading h2 {
  max-width: 850px;
  margin: 15px auto 0;
  color: var(--black);
  font-size: 60px;
  line-height: 1.03;
}

.home-page .why-academy-section .why-academy-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 16px;
}

.home-page .why-academy-section .academy-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 315px;
  padding: 26px;
  border: 1px solid color-mix(in srgb, var(--border-gray) 30%, transparent);
  border-radius: 24px;
  background: linear-gradient(145deg,var(--dark-blue),var(--dark-blue));
  box-shadow: 0 14px 28px rgba(0,86,210,.16);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.home-page .why-academy-section .academy-feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-gray);
  box-shadow: 0 20px 34px rgba(0,86,210,.28);
}

.home-page .why-academy-section .academy-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.home-page .why-academy-section .academy-feature-icon {
  display: grid;
  flex: 0 0 62px;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0,86,210,.28);
  transition: background-color .22s ease,box-shadow .22s ease;
}

.home-page .why-academy-section .academy-feature:hover .academy-feature-icon {
  background: var(--primary-blue);
  box-shadow: 0 10px 22px rgba(0,86,210,.42);
}

.home-page .why-academy-section .academy-feature-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .why-academy-section .academy-feature .number {
  margin: 0;
  color: var(--white);
  font: 700 clamp(2rem,2.5vw,2.9rem)/.9 var(--font-subheading);
  letter-spacing: -.06em;
}

.home-page .why-academy-section .academy-feature h3 {
  margin: 0 0 13px;
  color: var(--white);
  font: 700 1.1rem/1.27 var(--font-subheading);
}

.home-page .why-academy-section .academy-feature p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 76%, transparent);
  font-size: .88rem;
  line-height: 1.55;
}

@media(max-width:1250px) {
  .home-page .why-academy-section .why-academy-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media(max-width:1250px) {
  .home-page .why-academy-section .academy-feature {
    min-height: 280px;
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .section-heading {
    margin-bottom: 32px;
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .section-heading h2 {
    font-size: clamp(2.3rem,10vw,3.25rem);
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .why-academy-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .academy-feature {
    min-height: 0;
    padding: 24px;
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .academy-feature-top {
    margin-bottom: 20px;
  }
}

@media(max-width:760px) {
  .home-page .why-academy-section .academy-feature-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
  }
}

/* =========================================================
   HOME - LEARNING PROCESS
   ========================================================= */

.home-page .learning-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 82px;
  background: var(--dark-blue) url('../images/Learn.webp') center/cover no-repeat;
  color: var(--white);
}

.home-page .learning-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(0,86,210,.94),rgba(0,86,210,.82) 48%,rgba(0,86,210,.9)),linear-gradient(180deg,rgba(0,86,210,.32),rgba(0,8,18,.68));
}

.home-page .learning-container {
  position: relative;
}

.home-page .learning-heading {
  max-width: 770px;
  margin: 0 auto 30px;
  text-align: center;
}

.home-page .learning-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: var(--white);
  font: 700 .76rem var(--font-subheading);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.home-page .learning-eyebrow:before,.home-page .learning-eyebrow:after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.home-page .learning-heading h2 {
  margin: 13px 0 15px;
  color: var(--white);
  font-size: clamp(2.4rem,4vw,3.45rem);
  line-height: 1.06;
}

.home-page .learning-heading h2 em {
  color: var(--orange);
  font-style: normal;
}

.home-page .learning-heading p {
  max-width: 660px;
  margin: auto;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.home-page .learning-timeline {
  position: relative;
  max-width: 930px;
  margin: auto;
}

.home-page .learning-timeline:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--primary-blue),var(--primary-blue),var(--primary-blue));
  box-shadow: 0 0 10px #0056D28C;
}

.home-page .learning-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 80px minmax(0,1fr);
  align-items: center;
  min-height: 145px;
  opacity: .62;
  transition: opacity .35s ease;
}

.home-page .learning-step.active {
  opacity: 1;
}

.home-page .learning-number {
  position: relative;
  z-index: 2;
  grid-column: 2;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 1px solid var(--primary-blue);
  border-radius: 50%;
  background: var(--dark-blue);
  color: var(--white);
  box-shadow: 0 0 0 4px #0056D2,0 0 20px #0056D2;
  font: 700 1rem var(--font-subheading);
  transition: background .35s ease,border-color .35s ease,box-shadow .35s ease,transform .35s ease;
}

.home-page .learning-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 18px 20px;
  border: 1px solid var(--primary-blue);
  border-radius: 17px;
  background: linear-gradient(130deg,color-mix(in srgb, var(--dark-blue) 88%, transparent),color-mix(in srgb, var(--dark-blue) 82%, transparent));
  box-shadow: 0 8px 21px rgba(0,0,0,.18);
  transition: background .35s ease,border-color .35s ease,box-shadow .35s ease,transform .35s ease;
}

.home-page .side-right .learning-card {
  grid-column: 3;
  margin-left: 0;
}

.home-page .side-left .learning-card {
  grid-column: 1;
  grid-row: 1;
  margin-right: 0;
}

.home-page .side-left .learning-number {
  grid-column: 2;
  grid-row: 1;
}

.home-page .learning-card:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--primary-blue);
  box-shadow: 0 0 8px #0056D2;
  transition: background .35s ease,box-shadow .35s ease;
}

.home-page .side-right .learning-card:after {
  right: 100%;
}

.home-page .side-left .learning-card:after {
  left: 100%;
}

.home-page .learning-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--primary-blue);
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary-blue) 60%, transparent);
  color: var(--white);
  transition: background .35s ease,border-color .35s ease,color .35s ease,box-shadow .35s ease;
}

.home-page .learning-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .learning-card h3 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 1.03rem;
}

.home-page .learning-card p {
  color: var(--white);
  font-size: .84rem;
  line-height: 1.48;
}

.home-page .side-left .learning-card {
  border-color: var(--orange);
  background: linear-gradient(130deg,color-mix(in srgb, var(--dark-blue) 82%, transparent),color-mix(in srgb, var(--dark-blue) 84%, transparent));
}

.home-page .side-left .learning-card:after {
  background: var(--orange);
  box-shadow: 0 0 8px #ff8c20;
}

.home-page .side-left .learning-icon {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--dark-blue) 52%, transparent);
  color: var(--orange);
}

.home-page .side-left .learning-number {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px #44250d,0 0 20px #ff8610;
}

.home-page .side-right.active .learning-card {
  border-color: var(--border-gray);
  background: linear-gradient(130deg,color-mix(in srgb, var(--dark-blue) 96%, transparent),color-mix(in srgb, var(--dark-blue) 94%, transparent));
  box-shadow: 0 0 23px rgba(0,86,210,.42);
}

.home-page .side-right.active .learning-icon {
  color: var(--white);
  border-color: var(--border-gray);
  background: var(--primary-blue);
  box-shadow: 0 0 17px #0056D275;
}

.home-page .side-right.active .learning-number {
  transform: scale(1.08);
  border-color: var(--border-gray);
  box-shadow: 0 0 0 4px #0056D2,0 0 26px #0056D2;
}

.home-page .side-left.active .learning-card {
  border-color: var(--border-gray);
  background: linear-gradient(130deg,color-mix(in srgb, var(--dark-blue) 92%, transparent),color-mix(in srgb, var(--dark-blue) 94%, transparent));
  box-shadow: 0 0 23px rgba(244,128,31,.35);
}

.home-page .side-left.active .learning-icon {
  color: var(--orange);
  border-color: var(--border-gray);
  background: var(--dark-blue);
  box-shadow: 0 0 17px #f3872275;
}

.home-page .side-left.active .learning-number {
  transform: scale(1.08);
  border-color: var(--border-gray);
  box-shadow: 0 0 0 4px #65370f,0 0 26px #ff8a10;
}

.home-page .side-right.active .learning-card:after {
  background: var(--primary-blue);
  box-shadow: 0 0 12px #0056D2;
}

.home-page .side-left.active .learning-card:after {
  background: var(--orange);
  box-shadow: 0 0 12px #ff8a10;
}

@media(max-width:760px) {
  .home-page .learning-section {
    padding: 58px 0 64px;
    background-position: 58% center;
  }
  .home-page .learning-heading h2 {
    font-size: clamp(2.15rem,10vw,3rem);
  }
  .home-page .learning-heading h2 br {
    display: none;
  }
  .home-page .learning-heading p {
    font-size: .92rem;
  }
  .home-page .learning-timeline {
    padding-left: 53px;
  }
  .home-page .learning-timeline:before {
    left: 26px;
  }
  .home-page .learning-step {
    display: block;
    min-height: 0;
    padding: 0 0 20px;
  }
  .home-page .learning-number {
    position: absolute;
    top: 33px;
    left: -52px;
    width: 49px;
    height: 49px;
    transform: none!important;
  }
  .home-page .learning-card,.home-page .side-right .learning-card,.home-page .side-left .learning-card {
    display: flex;
    margin: 0;
    min-height: 0;
  }
  .home-page .learning-card:after,.home-page .side-right .learning-card:after,.home-page .side-left .learning-card:after {
    right: auto;
    left: -27px;
    width: 27px;
  }
  .home-page .learning-icon {
    width: 60px;
    height: 60px;
  }
  .home-page .learning-icon svg {
    width: 30px;
    height: 30px;
  }
  .home-page .learning-card h3 {
    font-size: .94rem;
  }
  .home-page .learning-card p {
    font-size: .8rem;
  }
  .home-page .side-left .learning-number {
    grid-column: auto;
  }
}

.home-page .learning-overlay {
  background: linear-gradient(90deg,rgba(0,86,210,.72),rgba(0,86,210,.58) 48%,rgba(0,86,210,.68)),linear-gradient(180deg,rgba(0,86,210,.14),rgba(0,8,18,.45));
}

/* =========================================================
   HOME - WHO CAN JOIN
   ========================================================= */

.home-page .join-card {
  text-align: center;
  padding: 24px 18px;
}

.home-page .join-card .icon-wrap {
  margin: 0 auto 14px;
}

/* =========================================================
   HOME - CAREER CTA
   ========================================================= */

.home-page .career-copy {
  max-width: 680px;
}

.home-page .career-copy p+p {
  margin-top: 13px;
}

/* =========================================================
   HOME - FINAL CTA
   ========================================================= */

.home-page .future-cta-section {
  padding: 76px 0;
  background: var(--bg);
}

.home-page .future-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 480px;
  padding: 68px 9.5%;
  overflow: hidden;
  border-radius: 22px;
  background-image: linear-gradient(90deg,rgba(0,86,210,.96) 0%,rgba(0,86,210,.9) 38%,rgba(0,86,210,.52) 59%,rgba(0,86,210,.08) 100%),url('../images/enquire.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  box-shadow: 0 18px 45px rgba(0,86,210,.13);
}

.home-page .future-cta-content {
  max-width: 650px;
}

.home-page .future-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--white);
  font: 600 .9rem var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-page .future-cta-eyebrow:before {
  content: "";
  width: 41px;
  height: 3px;
  background: var(--orange);
}

.home-page .future-cta h2 {
  margin: 0 0 17px;
  color: var(--white);
  font-size: clamp(2.6rem,4.25vw,4.4rem);
  line-height: 1.03;
  letter-spacing: -.02em;
}

.home-page .future-cta h2 em {
  color: var(--orange);
  font-style: normal;
}

.home-page .future-cta h2 span {
  color: var(--white);
}

.home-page .future-cta p {
  max-width: 640px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-page .future-cta-action {
  flex: 0 0 auto;
}

.home-page .future-cta-action .btn {
  min-width: 265px;
  padding: 20px 30px;
  border-radius: 16px;
  font-size: 1.02rem;
  box-shadow: 0 11px 22px rgba(0,0,0,.18);
}

.home-page .future-cta-action .btn span {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: .7;
}

.home-page .future-cta-action .btn:hover {
  background: var(--dark-blue);
}

@media(max-width:1000px) {
  .home-page .future-cta {
    min-height: 410px;
    padding: 54px 7%;
    gap: 32px;
  }
}

@media(max-width:1000px) {
  .home-page .future-cta h2 {
    font-size: clamp(2.45rem,5vw,3.5rem);
  }
}

@media(max-width:1000px) {
  .home-page .future-cta p {
    font-size: 1rem;
  }
}

@media(max-width:1000px) {
  .home-page .future-cta-action .btn {
    min-width: 220px;
    padding: 17px 21px;
  }
}

@media(max-width:760px) {
  .home-page .future-cta-section {
    padding: 58px 0;
  }
}

@media(max-width:760px) {
  .home-page .future-cta {
    display: block;
    min-height: 0;
    padding: 48px 28px;
    border-radius: 18px;
    background-image: linear-gradient(90deg,rgba(0,86,210,.94) 0%,rgba(0,86,210,.82) 60%,rgba(0,86,210,.42) 100%),url('../images/enquire.webp');
  }
}

@media(max-width:760px) {
  .home-page .future-cta-eyebrow {
    margin-bottom: 14px;
    font-size: .72rem;
  }
}

@media(max-width:760px) {
  .home-page .future-cta-eyebrow:before {
    width: 28px;
  }
}

@media(max-width:760px) {
  .home-page .future-cta h2 {
    font-size: clamp(2.35rem,11.5vw,3.25rem);
    margin-bottom: 14px;
  }
}

@media(max-width:760px) {
  .home-page .future-cta p {
    font-size: .94rem;
    line-height: 1.6;
  }
}

@media(max-width:760px) {
  .home-page .future-cta-action {
    margin-top: 28px;
  }
}

@media(max-width:760px) {
  .home-page .future-cta-action .btn {
    min-width: 0;
    width: 100%;
    padding: 17px 23px;
  }
}

.home-page .future-cta-section {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  padding: 0;
  background: var(--navy);
}

.home-page .future-cta-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.72) 40%,rgba(0,86,210,.35) 70%,rgba(0,86,210,.14)),url('../images/enquire.webp') center / cover no-repeat;
}

.home-page .future-cta {
  padding: 80px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

@media(max-width:1000px) {
  .home-page .future-cta {
     padding: 64px 0;
  }
}

@media(max-width:1000px) {
  .home-page .future-cta-content {
     min-width: 0;
  }
}

@media(max-width:760px) {
  .home-page .future-cta {
     padding: 56px 0;
  }
}

@media(max-width:760px) {
  .home-page .future-cta-section::before {
    background-image: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.7) 65%,rgba(0,86,210,.5)),url('../images/enquire.webp');
  }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* Uses the common components above; no separate rules. */

/* =========================================================
   COURSES PAGE
   ========================================================= */

/* Uses the common components above; no separate rules. */

/* =========================================================
   TECHNOLOGIES PAGE
   ========================================================= */

/* Uses the common components above; no separate rules. */

/* =========================================================
   CAREER PAGE
   ========================================================= */

/* Uses the common components above; no separate rules. */

/* =========================================================
   FAQ PAGE
   ========================================================= */

.faq {
  max-width: 840px;
  margin: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 19px 0;
  border: 0;
  background: none;
  display: flex;
  justify-content: space-between;
  text-align: left;
  color: var(--navy);
  font: 700 .97rem var(--font-subheading);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 30px 19px 0;
}

.faq-item.open .faq-answer {
  display: block;
}

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

.contact-points {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.contact-point {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  gap: 12px;
}

.contact-point i {
  color: var(--orange);
  font-style: normal;
}

.contact-point small {
  display: block;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .8rem;
  font-weight: 700;
}

input,select,textarea {
  font: inherit;
  padding: 10px;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
}

textarea {
  min-height: 105px;
}

.form-message {
  color: var(--blue);
  margin-top: 10px;
  font-size: .85rem;
}

.form-message-error {
  color: #c0392b;
}

/* =========================================================
   COURSE DETAIL PAGES
   ========================================================= */

.detail-panel,.form {
  background: var(--bg);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.detail-panel h3 {
  margin-bottom: 12px;
}

.detail-panel ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: .9rem;
}

.practical-strip {
  margin-top: 20px;
  padding: 24px;
  border-radius: 13px;
  border-left: 4px solid var(--orange);
  background: var(--light-blue);
}

.detail-cta,.cta {
  background: linear-gradient(105deg,var(--navy),var(--primary-blue));
  color: var(--white);
  border-radius: 18px;
  padding: 28px;
  margin-top: 20px;
}

.detail-cta h3,.detail-cta p,.cta h2,.cta p {
  color: var(--white);
}

.detail-cta p,.cta p {
  opacity: .8;
  margin: 7px 0 18px;
}

.cta {
  margin: 0;
  padding: 45px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}

/* =========================================================
   BLOG PAGE / BLOG COMPONENTS
   ========================================================= */

/* Uses the common components above; no separate rules. */

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

@media(max-width:1000px) {
  .nav-links {
    gap: 12px;
  }
  .category-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .course-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(4,1fr);
  }
  .career-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .process {
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
  }
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

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

@media(max-width:760px) {
  .site-header {
    height: 67px;
  }
  .nav {
    padding: 0 17px;
  }
  .nav>.btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links>a,.dropdown>button {
    padding: 9px 0;
    text-align: left;
  }
  .nav-links>a.active:after {
    display: none;
  }
  .mega {
    display: none;
    position: static;
    visibility: visible;
    opacity: 1;
    width: auto;
    box-shadow: none;
    border: 0;
    padding: 6px 0 6px 13px;
    grid-template-columns: repeat(2,1fr);
  }
  .dropdown.open .mega {
    display: grid;
  }
  .section {
    padding: 60px 0;
  }
  .hero {
    padding: 54px 0;
  }
  .hero-grid,.split,.contact-grid,.detail-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-art {
    min-height: 290px;
    order: -1;
  }
  .laptop {
    width: 330px;
    height: 220px;
  }
  .floating-card.one {
    bottom: 0;
  }
  .floating-card.two {
    top: 0;
  }
  .category-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 11px;
  }
  .feature-grid,.course-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .stat:nth-child(2) {
    border: 0;
  }
  .tech-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .career-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .process {
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
  }
  .process-step:nth-child(odd) {
    border-left: 0;
  }
  .cta {
    padding: 32px 24px;
    display: block;
  }
  .cta .hero-actions {
    margin-top: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:390px) {
  .category-grid,.tech-grid,.footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
}

/* =========================================================
   COURSE DETAIL PAGES - SHARED INTRO HEADING TREATMENT
   Applies to the Course Introduction heading on every course
   detail page (html-css.html and all .course-detail-page pages
   share the same .intro-grid structure).
   ========================================================= */

.intro-grid h2 {
  margin: 14px 0;
}

.course-highlight {
  color: var(--primary-blue);
}

/* =========================================================
   COURSE PAGE - HTML & CSS
   Scoped to body.course-html-css only. Reuses shared tokens,
   .btn, .hero-actions, .hero-grid, .hero-art/.laptop, .detail-grid,
   .detail-panel, .feature/.feature-grid, .career-grid/.career-card,
   .faq and .cta from the common component library above; adds only
   the small pieces those components do not already provide.
   ========================================================= */

.course-html-css .section.course-alt-bg {
  background: var(--very-light-blue);
}

.course-html-css .section.course-faint-bg {
  background: var(--very-light-blue);
}

.course-html-css .section p+p {
  margin-top: 14px;
}

/* Course Introduction: left image card + right content. */
.course-html-css .intro-media {
  padding: 10px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.course-html-css .intro-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.course-html-css .intro-details {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px 24px;
  margin-top: 26px;
}

.course-html-css .intro-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.course-html-css .intro-detail .icon-circle {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  color: var(--primary-blue);
}

.course-html-css .intro-detail .icon-circle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-html-css .intro-detail h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.course-html-css .intro-detail p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

.course-html-css .why-grid .feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Dark, professional card treatment for the "Why E-World Academy" cards. */
.course-html-css .why-grid .feature {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--border-gray) 30%, transparent);
  border-radius: 23px;
  background: linear-gradient(145deg,var(--dark-blue),var(--primary-blue));
  box-shadow: 0 14px 28px rgba(0,86,210,.18);
  color: var(--white);
}

.course-html-css .why-grid .feature:hover {
  border-color: color-mix(in srgb, var(--border-gray) 30%, transparent);
  box-shadow: 0 20px 34px rgba(0,86,210,.3);
}

.course-html-css .why-grid .feature h3 {
  margin: 0 0 9px;
  color: var(--white);
  font-size: 1.12rem;
}

.course-html-css .why-grid .feature p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 82%, transparent);
  font-size: .9rem;
  line-height: 1.58;
}

.course-html-css .why-grid .feature .number {
  color: var(--orange);
  font: 700 1.15rem var(--font-subheading);
}

.course-html-css .why-grid .feature .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0,86,210,.28);
}

.course-html-css .why-grid .feature .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.course-html-css .icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-html-css .why-grid,.course-html-css .career-grid {
  align-items: stretch;
}

.course-html-css .career-grid .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.course-html-css .career-grid .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.course-html-css .career-card h3 {
  margin-top: 4px;
  font-size: 1.05rem;
}

.course-html-css .career-card p {
  margin-top: 6px;
  font: 400 .84rem/1.5 var(--font-body);
}

/* Career Opportunities: clean white section, light-blue cards, subtle blue decoration only. */
.course-html-css .career-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.course-html-css .career-section::before,
.course-html-css .career-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,var(--very-light-blue),transparent 72%);
}

.course-html-css .career-section::before {
  width: 380px;
  height: 380px;
  top: -180px;
  right: -130px;
}

.course-html-css .career-section::after {
  width: 280px;
  height: 280px;
  bottom: -150px;
  left: -100px;
}

.course-html-css .career-section .section-heading h2 {
  color: var(--dark-blue);
}

.course-html-css .career-section .career-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.course-html-css .career-section .career-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,86,210,.08);
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.course-html-css .career-section .career-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 16px 30px rgba(0,86,210,.16);
}

.course-html-css .career-section .career-card h3 {
  color: var(--dark-blue);
}

.course-html-css .career-section .career-card .icon-wrap {
  transition: background-color .25s ease,color .25s ease;
}

.course-html-css .career-section .career-card:hover .icon-wrap {
  background: var(--primary-blue);
  color: var(--white);
}

.course-html-css .career-section [data-reveal="left"] {
  transform: translateX(-20px);
}

.course-html-css .career-section [data-reveal] {
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1);
}

@media(max-width:1000px) {
  .course-html-css .career-section .career-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:760px) {
  .course-html-css .career-section .career-grid {
    grid-template-columns: 1fr;
  }
  .course-html-css .career-section::before {
    width: 220px;
    height: 220px;
    top: -110px;
    right: -90px;
  }
  .course-html-css .career-section::after {
    width: 180px;
    height: 180px;
    bottom: -100px;
    left: -70px;
  }
}

.course-html-css .cta .eyebrow {
  color: var(--white);
}

.course-html-css .cta .eyebrow:before {
  background: var(--orange);
}

.course-html-css .cta-tagline {
  display: block;
  margin-top: 14px;
  color: var(--white);
  opacity: .75;
  font: 700 .74rem var(--font-subheading);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Final CTA: full-bleed background image + overlay, matching the Home Page CTA treatment. */
.course-html-css .cta-final-section {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  padding: 0;
  background: var(--navy);
}

.course-html-css .cta-final-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.72) 40%,rgba(0,86,210,.35) 70%,rgba(0,86,210,.14)),url('../images/enquire.webp') center/cover no-repeat;
}

.course-html-css .cta-final-section .cta {
  padding: 80px 0;
  margin: 0;
  gap: 32px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.course-html-css .cta-final-section .cta-content {
  flex: 1 1 auto;
  max-width: 800px;
}

.course-html-css .cta-final-section .eyebrow {
  gap: 13px;
  margin-bottom: 4px;
  font-size: .9rem;
  letter-spacing: .08em;
}

.course-html-css .cta-final-section .eyebrow:before {
  width: 41px;
  height: 3px;
}

.course-html-css .cta-final-section h2 {
  font-size: clamp(2.5rem,4.25vw,4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.course-html-css .cta-final-section h2 em {
  color: var(--orange);
  font-style: normal;
}

.course-html-css .cta-final-section p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.course-html-css .cta-final-section .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.course-html-css .cta-final-section .hero-actions .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 26px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 11px 22px rgba(0,0,0,.18);
}

.course-html-css .cta-final-section .hero-actions .btn.orange:hover {
  background: var(--dark-blue);
}

.course-html-css .cta-final-section .hero-actions .btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% 0;
  width: 45%;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(110deg,transparent,color-mix(in srgb, var(--white) 22%, transparent),transparent);
  transform: translateX(-140%) skewX(-18deg);
}

.course-html-css .cta-final-section .hero-actions .btn:hover::before {
  animation: course-html-css-cta-sweep .65s ease-out;
}

@keyframes course-html-css-cta-sweep {
  to {
    transform: translateX(340%) skewX(-18deg);
  }
}

@media(max-width:1000px) {
  .course-html-css .cta-final-section .cta {
    padding: 64px 0;
  }
}

@media(max-width:760px) {
  .course-html-css .cta-final-section .cta {
    padding: 56px 0;
  }
  .course-html-css .cta-final-section::before {
    background-image: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.76) 55%,rgba(0,86,210,.55)),url('../images/enquire.webp');
  }
  .course-html-css .cta-final-section h2 {
    font-size: clamp(2.2rem,10vw,3rem);
  }
  .course-html-css .cta-final-section .hero-actions .btn {
    width: 100%;
  }
}

.course-html-css .faq {
  max-width: 100%;
}

.course-html-css .faq-item {
  padding: 4px 22px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color .2s ease,box-shadow .2s ease;
}

.course-html-css .faq-item.open {
  border-color: var(--border-gray);
  box-shadow: var(--shadow);
}

.course-html-css .faq-question {
  align-items: center;
  gap: 20px;
  color: var(--black);
}

.course-html-css .faq-question .faq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--primary-blue);
  transition: transform .25s ease;
}

.course-html-css .faq-question .faq-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-html-css .faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
}

.course-html-css .faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 30px 0 0;
  opacity: 0;
  transition: max-height .32s ease,opacity .28s ease;
}

.course-html-css .faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 30px 19px 0;
  opacity: 1;
}

/* Scroll-in reveal animation: replays every time an element crosses the viewport. */
.course-html-css [data-reveal] {
  opacity: 0;
  transition: opacity .6s ease,transform .6s ease;
}

.course-html-css [data-reveal="up"] {
  transform: translateY(26px);
}

.course-html-css [data-reveal="left"] {
  transform: translateX(-30px);
}

.course-html-css [data-reveal="right"] {
  transform: translateX(30px);
}

.course-html-css [data-reveal="zoom"] {
  transform: scale(.96);
}

.course-html-css [data-reveal].in-view {
  opacity: 1;
  transform: translate(0,0) scale(1);
}

.course-html-css .why-grid>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-html-css .why-grid>[data-reveal]:nth-child(2) { transition-delay: 70ms; }
.course-html-css .why-grid>[data-reveal]:nth-child(3) { transition-delay: 140ms; }
.course-html-css .why-grid>[data-reveal]:nth-child(4) { transition-delay: 210ms; }
.course-html-css .why-grid>[data-reveal]:nth-child(5) { transition-delay: 280ms; }
.course-html-css .why-grid>[data-reveal]:nth-child(6) { transition-delay: 350ms; }

.course-html-css .career-grid>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-html-css .career-grid>[data-reveal]:nth-child(2) { transition-delay: 70ms; }
.course-html-css .career-grid>[data-reveal]:nth-child(3) { transition-delay: 140ms; }
.course-html-css .career-grid>[data-reveal]:nth-child(4) { transition-delay: 210ms; }
.course-html-css .career-grid>[data-reveal]:nth-child(5) { transition-delay: 280ms; }
.course-html-css .career-grid>[data-reveal]:nth-child(6) { transition-delay: 350ms; }

.course-html-css .intro-details>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-html-css .intro-details>[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.course-html-css .intro-details>[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.course-html-css .intro-details>[data-reveal]:nth-child(4) { transition-delay: 240ms; }

/* Compact image banner (uses the existing small-banner.webp asset). */
.course-html-css .training-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 40px 0;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.62) 55%,rgba(0,86,210,.32)),url('../images/small-banner.webp') center/cover no-repeat;
}

.course-html-css .training-banner-content {
  max-width: 620px;
}

.course-html-css .training-banner span.eyebrow {
  color: var(--white);
}

.course-html-css .training-banner span.eyebrow:before {
  background: var(--orange);
}

.course-html-css .training-banner h1,.course-html-css .training-banner h2 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(2rem,3.6vw,2.9rem);
  line-height: 1.1;
}

.course-html-css .training-banner p {
  margin-top: 12px;
  color: color-mix(in srgb, var(--white) 86%, transparent);
  font-size: 1rem;
  line-height: 1.6;
}

.course-html-css .training-banner .breadcrumb {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

.course-html-css .training-banner .breadcrumb a {
  color: var(--white);
}

.course-html-css .training-banner .breadcrumb a:hover {
  color: var(--orange);
}

.course-html-css .training-banner .breadcrumb span {
  color: color-mix(in srgb, var(--white) 50%, transparent);
}

@media(prefers-reduced-motion:reduce) {
  .course-html-css [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .course-html-css .faq-answer {
    transition: none;
  }
  .course-html-css .faq-question .faq-icon {
    transition: none;
  }
  .course-html-css .career-section [data-reveal] {
    transform: none;
    transition: none;
  }
  .course-html-css .cta-final-section .hero-actions .btn:hover::before {
    animation: none;
  }
}

@media(max-width:1000px) {
  .course-html-css .why-grid,.course-html-css .feature-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .course-html-css .training-banner {
    min-height: 280px;
  }
}

@media(max-width:760px) {
  .course-html-css .why-grid,.course-html-css .feature-grid {
    grid-template-columns: 1fr;
  }
  .course-html-css .faq-item {
    padding: 2px 16px;
  }
  .course-html-css .faq-answer {
    max-height: 320px;
  }
  .course-html-css .training-banner {
    min-height: 250px;
    padding: 28px 0;
    background: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.72) 65%,rgba(0,86,210,.45)),url('../images/small-banner.webp') center/cover no-repeat;
  }
  .course-html-css .training-banner h1,.course-html-css .training-banner h2 {
    font-size: clamp(1.7rem,7vw,2.3rem);
  }
  .course-html-css .training-banner p {
    font-size: .9rem;
  }
  .course-html-css .intro-media img {
    aspect-ratio: 4/3;
  }
}

@media(max-width:480px) {
  .course-html-css .intro-details {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SHARED COURSE DETAIL PAGE DESIGN SYSTEM
   Scoped to body.course-detail-page. This is the SAME design
   system used by the html-css.html master template (scoped there
   under body.course-html-css, which is left untouched) — reused
   here, unmodified in substance, so every other course detail
   page shares one definition instead of duplicating it per page.
   ========================================================= */

.course-detail-page .section.course-alt-bg {
  background: var(--very-light-blue);
}

.course-detail-page .section.course-faint-bg {
  background: var(--very-light-blue);
}

.course-detail-page .section p+p {
  margin-top: 14px;
}

/* Course Introduction: left image card + right content. */
.course-detail-page .intro-media {
  padding: 10px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.course-detail-page .intro-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.course-detail-page .intro-details {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px 24px;
  margin-top: 26px;
}

.course-detail-page .intro-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.course-detail-page .intro-detail .icon-circle {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  color: var(--primary-blue);
}

.course-detail-page .intro-detail .icon-circle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-detail-page .intro-detail h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.course-detail-page .intro-detail p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

.course-detail-page .why-grid .feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Dark, professional card treatment for the "Why E-World Academy" cards. */
.course-detail-page .why-grid .feature {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--border-gray) 30%, transparent);
  border-radius: 23px;
  background: linear-gradient(145deg,var(--dark-blue),var(--primary-blue));
  box-shadow: 0 14px 28px rgba(0,86,210,.18);
  color: var(--white);
}

.course-detail-page .why-grid .feature:hover {
  border-color: color-mix(in srgb, var(--border-gray) 30%, transparent);
  box-shadow: 0 20px 34px rgba(0,86,210,.3);
}

.course-detail-page .why-grid .feature h3 {
  margin: 0 0 9px;
  color: var(--white);
  font-size: 1.12rem;
}

.course-detail-page .why-grid .feature p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 82%, transparent);
  font-size: .9rem;
  line-height: 1.58;
}

.course-detail-page .why-grid .feature .number {
  color: var(--orange);
  font: 700 1.15rem var(--font-subheading);
}

.course-detail-page .why-grid .feature .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0,86,210,.28);
}

.course-detail-page .why-grid .feature .icon-wrap svg {
  width: 28px;
  height: 28px;
}

.course-detail-page .icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-detail-page .why-grid,.course-detail-page .career-grid {
  align-items: stretch;
}

.course-detail-page .career-grid .icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.course-detail-page .career-grid .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.course-detail-page .career-card h3 {
  margin-top: 4px;
  font-size: 1.05rem;
}

.course-detail-page .career-card p {
  margin-top: 6px;
  font: 400 .84rem/1.5 var(--font-body);
}

/* Career Opportunities: clean white section, light-blue cards, subtle blue decoration only. */
.course-detail-page .career-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.course-detail-page .career-section::before,
.course-detail-page .career-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle,var(--very-light-blue),transparent 72%);
}

.course-detail-page .career-section::before {
  width: 380px;
  height: 380px;
  top: -180px;
  right: -130px;
}

.course-detail-page .career-section::after {
  width: 280px;
  height: 280px;
  bottom: -150px;
  left: -100px;
}

.course-detail-page .career-section .section-heading h2 {
  color: var(--dark-blue);
}

.course-detail-page .career-section .career-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.course-detail-page .career-section .career-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(0,86,210,.08);
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.course-detail-page .career-section .career-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 16px 30px rgba(0,86,210,.16);
}

.course-detail-page .career-section .career-card h3 {
  color: var(--dark-blue);
}

.course-detail-page .career-section .career-card .icon-wrap {
  transition: background-color .25s ease,color .25s ease;
}

.course-detail-page .career-section .career-card:hover .icon-wrap {
  background: var(--primary-blue);
  color: var(--white);
}

.course-detail-page .career-section [data-reveal="left"] {
  transform: translateX(-20px);
}

.course-detail-page .career-section [data-reveal] {
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1);
}

@media(max-width:1000px) {
  .course-detail-page .career-section .career-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:760px) {
  .course-detail-page .career-section .career-grid {
    grid-template-columns: 1fr;
  }
  .course-detail-page .career-section::before {
    width: 220px;
    height: 220px;
    top: -110px;
    right: -90px;
  }
  .course-detail-page .career-section::after {
    width: 180px;
    height: 180px;
    bottom: -100px;
    left: -70px;
  }
}

.course-detail-page .cta .eyebrow {
  color: var(--white);
}

.course-detail-page .cta .eyebrow:before {
  background: var(--orange);
}

.course-detail-page .cta-tagline {
  display: block;
  margin-top: 14px;
  color: var(--white);
  opacity: .75;
  font: 700 .74rem var(--font-subheading);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Final CTA: full-bleed background image + overlay, matching the Home Page CTA treatment. */
.course-detail-page .cta-final-section {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  padding: 0;
  background: var(--navy);
}

.course-detail-page .cta-final-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.72) 40%,rgba(0,86,210,.35) 70%,rgba(0,86,210,.14)),url('../images/enquire.webp') center/cover no-repeat;
}

.course-detail-page .cta-final-section .cta {
  padding: 80px 0;
  margin: 0;
  gap: 32px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.course-detail-page .cta-final-section .cta-content {
  flex: 1 1 auto;
  max-width: 800px;
}

.course-detail-page .cta-final-section .eyebrow {
  gap: 13px;
  margin-bottom: 4px;
  font-size: .9rem;
  letter-spacing: .08em;
}

.course-detail-page .cta-final-section .eyebrow:before {
  width: 41px;
  height: 3px;
}

.course-detail-page .cta-final-section h2 {
  font-size: clamp(2.5rem,4.25vw,4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.course-detail-page .cta-final-section h2 em {
  color: var(--orange);
  font-style: normal;
}

.course-detail-page .cta-final-section p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.course-detail-page .cta-final-section .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.course-detail-page .cta-final-section .hero-actions .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 26px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 11px 22px rgba(0,0,0,.18);
}

.course-detail-page .cta-final-section .hero-actions .btn.orange:hover {
  background: var(--dark-blue);
}

.course-detail-page .cta-final-section .hero-actions .btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% 0;
  width: 45%;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(110deg,transparent,color-mix(in srgb, var(--white) 22%, transparent),transparent);
  transform: translateX(-140%) skewX(-18deg);
}

.course-detail-page .cta-final-section .hero-actions .btn:hover::before {
  animation: course-detail-page-cta-sweep .65s ease-out;
}

@keyframes course-detail-page-cta-sweep {
  to {
    transform: translateX(340%) skewX(-18deg);
  }
}

@media(max-width:1000px) {
  .course-detail-page .cta-final-section .cta {
    padding: 64px 0;
  }
}

@media(max-width:760px) {
  .course-detail-page .cta-final-section .cta {
    padding: 56px 0;
  }
  .course-detail-page .cta-final-section::before {
    background-image: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.76) 55%,rgba(0,86,210,.55)),url('../images/enquire.webp');
  }
  .course-detail-page .cta-final-section h2 {
    font-size: clamp(2.2rem,10vw,3rem);
  }
  .course-detail-page .cta-final-section .hero-actions .btn {
    width: 100%;
  }
}

.course-detail-page .faq {
  max-width: 100%;
}

.course-detail-page .faq-item {
  padding: 4px 22px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color .2s ease,box-shadow .2s ease;
}

.course-detail-page .faq-item.open {
  border-color: var(--border-gray);
  box-shadow: var(--shadow);
}

.course-detail-page .faq-question {
  align-items: center;
  gap: 20px;
  color: var(--black);
}

.course-detail-page .faq-question .faq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--primary-blue);
  transition: transform .25s ease;
}

.course-detail-page .faq-question .faq-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.course-detail-page .faq-item.open .faq-question .faq-icon {
  transform: rotate(180deg);
}

.course-detail-page .faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 30px 0 0;
  opacity: 0;
  transition: max-height .32s ease,opacity .28s ease;
}

.course-detail-page .faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 30px 19px 0;
  opacity: 1;
}

/* Scroll-in reveal animation: replays every time an element crosses the viewport. */
.course-detail-page [data-reveal] {
  opacity: 0;
  transition: opacity .6s ease,transform .6s ease;
}

.course-detail-page [data-reveal="up"] {
  transform: translateY(26px);
}

.course-detail-page [data-reveal="left"] {
  transform: translateX(-30px);
}

.course-detail-page [data-reveal="right"] {
  transform: translateX(30px);
}

.course-detail-page [data-reveal="zoom"] {
  transform: scale(.96);
}

.course-detail-page [data-reveal].in-view {
  opacity: 1;
  transform: translate(0,0) scale(1);
}

.course-detail-page .why-grid>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-detail-page .why-grid>[data-reveal]:nth-child(2) { transition-delay: 70ms; }
.course-detail-page .why-grid>[data-reveal]:nth-child(3) { transition-delay: 140ms; }
.course-detail-page .why-grid>[data-reveal]:nth-child(4) { transition-delay: 210ms; }
.course-detail-page .why-grid>[data-reveal]:nth-child(5) { transition-delay: 280ms; }
.course-detail-page .why-grid>[data-reveal]:nth-child(6) { transition-delay: 350ms; }

.course-detail-page .career-grid>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-detail-page .career-grid>[data-reveal]:nth-child(2) { transition-delay: 70ms; }
.course-detail-page .career-grid>[data-reveal]:nth-child(3) { transition-delay: 140ms; }
.course-detail-page .career-grid>[data-reveal]:nth-child(4) { transition-delay: 210ms; }
.course-detail-page .career-grid>[data-reveal]:nth-child(5) { transition-delay: 280ms; }
.course-detail-page .career-grid>[data-reveal]:nth-child(6) { transition-delay: 350ms; }

.course-detail-page .intro-details>[data-reveal]:nth-child(1) { transition-delay: 0ms; }
.course-detail-page .intro-details>[data-reveal]:nth-child(2) { transition-delay: 80ms; }
.course-detail-page .intro-details>[data-reveal]:nth-child(3) { transition-delay: 160ms; }
.course-detail-page .intro-details>[data-reveal]:nth-child(4) { transition-delay: 240ms; }

/* Compact image banner (uses the existing small-banner.webp asset). */
.course-detail-page .training-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 40px 0;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.62) 55%,rgba(0,86,210,.32)),url('../images/small-banner.webp') center/cover no-repeat;
}

.course-detail-page .training-banner-content {
  max-width: 620px;
}

.course-detail-page .training-banner span.eyebrow {
  color: var(--white);
}

.course-detail-page .training-banner span.eyebrow:before {
  background: var(--orange);
}

.course-detail-page .training-banner h1,.course-detail-page .training-banner h2 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(2rem,3.6vw,2.9rem);
  line-height: 1.1;
}

.course-detail-page .training-banner p {
  margin-top: 12px;
  color: color-mix(in srgb, var(--white) 86%, transparent);
  font-size: 1rem;
  line-height: 1.6;
}

.course-detail-page .training-banner .breadcrumb {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

.course-detail-page .training-banner .breadcrumb a {
  color: var(--white);
}

.course-detail-page .training-banner .breadcrumb a:hover {
  color: var(--orange);
}

.course-detail-page .training-banner .breadcrumb span {
  color: color-mix(in srgb, var(--white) 50%, transparent);
}

@media(prefers-reduced-motion:reduce) {
  .course-detail-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .course-detail-page .faq-answer {
    transition: none;
  }
  .course-detail-page .faq-question .faq-icon {
    transition: none;
  }
  .course-detail-page .career-section [data-reveal] {
    transform: none;
    transition: none;
  }
  .course-detail-page .cta-final-section .hero-actions .btn:hover::before {
    animation: none;
  }
}

@media(max-width:1000px) {
  .course-detail-page .why-grid,.course-detail-page .feature-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .course-detail-page .training-banner {
    min-height: 280px;
  }
}

@media(max-width:760px) {
  .course-detail-page .why-grid,.course-detail-page .feature-grid {
    grid-template-columns: 1fr;
  }
  .course-detail-page .faq-item {
    padding: 2px 16px;
  }
  .course-detail-page .faq-answer {
    max-height: 320px;
  }
  .course-detail-page .training-banner {
    min-height: 250px;
    padding: 28px 0;
    background: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.72) 65%,rgba(0,86,210,.45)),url('../images/small-banner.webp') center/cover no-repeat;
  }
  .course-detail-page .training-banner h1,.course-detail-page .training-banner h2 {
    font-size: clamp(1.7rem,7vw,2.3rem);
  }
  .course-detail-page .training-banner p {
    font-size: .9rem;
  }
  .course-detail-page .intro-media img {
    aspect-ratio: 4/3;
  }
}

@media(max-width:480px) {
  .course-detail-page .intro-details {
    grid-template-columns: 1fr;
  }
}

/* Shared header and footer redesign. All rules are confined to these components. */
.site-header {
  height: 104px;
  background: var(--dark-blue);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
}
.site-header.scrolled {
  border-color: color-mix(in srgb, var(--white) 16%, transparent);
  box-shadow: 0 8px 24px rgba(0,86,210,.16);
}
.site-header .nav {
  width: min(1360px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  padding: 0 40px;
}
.site-header .brand {
  justify-self: start;
}
.site-header .brand img.brand-mark {
  width: 160px;
  height: 100px;
  padding: 0px;
  border-radius: 12px;
  
}
.site-header .nav-links {
  gap: clamp(18px, 1.7vw, 28px);
  font-size: .9rem;
}
.site-header .nav-links > a,
.site-header .dropdown > button {
  color: var(--very-light-blue);
  padding: 12px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.site-header .nav-links > a:hover,
.site-header .nav-links > a.active,
.site-header .dropdown > button:hover,
.site-header .dropdown > button.active {
  color: var(--white);
}
.site-header .nav-links > a::after,
.site-header .dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-header .nav-links > a:is(:hover, .active)::after,
.site-header .dropdown > button:is(:hover, .active)::after {
  transform: scaleX(1);
}
.site-header .header-cta {
  justify-self: end;
  padding: 14px 24px;
  border: 1px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: .88rem;
  white-space: nowrap;
}
.site-header .header-cta:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}
.site-header .mega {
  top: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-35%);
  width: 600px;
  padding: 26px;
  gap: 24px;
  border-top: 3px solid var(--orange);
}
.site-header .dropdown.open .mega {
  visibility: visible;
  opacity: 1;
}
.site-header .mega a {
  padding: 6px 0;
}
.site-header .mega a:hover {
  color: var(--primary-blue);
}
.site-header .mega h4:not(:first-child) {
  margin-top: 18px;
}
.site-header :is(a, button):focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
.site-footer {
  padding: 80px 0 0;
  background: var(--dark-blue);
}
.site-footer > .container {
  max-width: 1360px;
  padding: 0 40px;
}
.site-footer .footer-grid {
  grid-template-columns: 1.55fr 1fr 1.2fr 1fr;
  gap: 0;
}
.site-footer .footer-grid > div {
  min-width: 0;
  padding: 0 30px;
}
.site-footer .footer-grid > div:first-child {
  padding-left: 0;
  padding-right: 44px;
}
.site-footer .footer-grid > div:last-child {
  padding-right: 0;
}
.site-footer .footer-grid > div + div {
  border-left: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
}
.site-footer .footer-brand {
  margin-bottom: 22px;
}
.site-footer .footer-brand img {
  width: 100px;
  height: 75px;
  padding: 0px;
  border-radius: 14px;
}
.site-footer .footer-brand + p {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer p,
.site-footer a {
  color: var(--very-light-blue);
  font-size: .9rem;
  line-height: 1.75;
}
.site-footer h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  margin: 4px 0 24px;
}
.site-footer h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--orange);
  margin-top: 16px;
}
.site-footer .footer-links {
  gap: 12px;
}
.site-footer .footer-links a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: color .2s ease;
}
.site-footer .footer-links a::before {
  content: "›";
  color: var(--orange);
  flex: none;
}
.site-footer .footer-links a:hover {
  color: var(--orange);
}
.site-footer .footer-links a[href^="tel:"] {
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.site-footer .footer-links a[href^="tel:"]::before {
  content: none;
}
.site-footer .footer-phone-icon {
  width: 42px;
  height: 42px;
  flex: none;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
  border-radius: 50%;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer .footer-bottom {
  margin-top: 60px;
  padding: 26px 0;
  text-align: center;
  color: var(--very-light-blue);
  font-size: .85rem;
}
@media (max-width: 1100px) and (min-width: 1001px) {
  .site-header .nav {
    padding: 0 24px;
    gap: 20px;
  }
  .site-header .nav-links {
    gap: 16px;
    font-size: .84rem;
  }
}
@media (max-width: 1000px) {
  .site-header {
    height: 88px;
  }
  .site-header .nav {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    padding: 0 24px;
  }
  .site-header .brand img.brand-mark {
    width: 66px;
    height: 66px;
  }
  .site-header .menu-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
    color: var(--white);
    padding: 8px;
    cursor: pointer;
  }
  .site-header .header-cta {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 28px;
    background: var(--dark-blue);
    border-bottom: 1px solid var(--primary-blue);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }
  .site-header .nav-links.open {
    display: flex;
  }
  .site-header .nav-links > a,
  .site-header .dropdown > button {
    text-align: left;
    padding: 12px 0;
  }
  .site-header .nav-links > a.active::after {
    display: block;
  }
  .site-header .mega {
    display: none;
    position: static;
    transform: none;
    width: auto;
    visibility: visible;
    opacity: 1;
    padding: 22px;
    margin: 8px 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-header .dropdown.open .mega {
    display: grid;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 0;
  }
  .site-footer .footer-grid > div {
    padding: 0 28px;
  }
  .site-footer .footer-grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 80px;
  }
  .site-header .nav {
    padding: 0 18px;
    gap: 10px;
  }
  .site-header .brand img.brand-mark {
    width: 100px;
    height: 60px;
  }
  .site-header .header-cta {
    padding: 11px 16px;
    font-size: .78rem;
  }
  .site-header .nav-links {
    max-height: calc(100dvh - 80px);
  }
  .site-header .mega {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding-top: 48px;
  }
  .site-footer > .container {
    padding: 0 24px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer .footer-grid > div,
  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child {
    padding: 0;
    border-left: 0;
  }
  .site-footer .footer-grid > div + div {
    padding-top: 30px;
    border-top: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  }
  .site-footer .footer-grid > div:first-child p {
    max-width: 360px;
  }
  .site-footer .footer-bottom {
    margin-top: 38px;
    padding: 22px 0;
  }
}

/* Requested dropdown refinements and footer social/contact details. */
.site-header .courses-chevron {
  width: .65em;
  height: .65em;
  vertical-align: .02em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-header .mega h4 {
  font-size: .84rem;
}
.site-header .mega a {
  transition: color .2s ease, font-weight .2s ease;
}
.site-header .mega a:hover {
  font-weight: 700;
}
.site-footer .footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.site-footer .footer-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--white) 24%, transparent);
  border-radius: 50%;
  color: var(--orange);
  transition: color .2s ease, border-color .2s ease;
}
.site-footer .footer-socials a:hover {
  color: var(--white);
  border-color: var(--orange);
}
.site-footer .footer-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer .footer-contact-links .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--very-light-blue);
  font-size: .9rem;
  line-height: 1.75;
}
.site-footer .footer-contact-links .footer-contact-item::before {
  content: none;
}
.site-footer .footer-contact-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.site-footer .footer-contact-links a:hover {
  color: var(--orange);
}
.site-footer .footer-whatsapp-icon {
  color: var(--orange);
  stroke: none;
}

/* Mobile-only corrections; approved desktop/tablet styling stays intact. */
@media (max-width: 600px) {
  .site-header .header-cta {
    display: none;
  }
  .site-header .nav {
    grid-template-columns: 1fr auto;
  }
  .site-header .menu-toggle {
    grid-column: 2;
    width: 48px;
    height: 48px;
    padding: 6px;
    font-size: 30px;
    line-height: 1;
  }
  .site-footer .footer-grid > div + div {
    border-top: 0;
    border-left: 0;
  }
}
@media (max-width: 760px) {
  .site-header .nav-links > a,
  .site-header .dropdown > button {
    width: fit-content;
    max-width: 100%;
  }
  .home-page #hero-slider {
    height: calc(100svh - 88px);
    min-height: 560px;
  }
  .home-page #hero-slider .hero-slide-content {
    padding: 24px 24px 148px;
  }
  .home-page #hero-slider .hero-slide-heading {
    font-size: clamp(28px, 7.2vw, 40px);
    margin: 12px 0 16px;
  }
  .home-page #hero-slider .hero-slide-eyebrow {
    font-size: 11px;
    letter-spacing: .06em;
  }
  .home-page #hero-slider .hero-slide-description {
    font-size: 15px;
    line-height: 1.6;
  }
  .home-page #hero-slider .hero-slide-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
  }
  .home-page #hero-slider .hero-slide-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
  }
  .home-page #hero-slider .hero-arrow {
    top: auto;
    bottom: 88px;
    width: 44px;
    height: 44px;
    transform: none;
  }
  .home-page #hero-slider .hero-arrow-prev {
    left: 24px;
  }
  .home-page #hero-slider .hero-arrow-next {
    left: 80px;
    right: auto;
  }
  .home-page #hero-slider .hero-slider-nav {
    bottom: 22px;
    right: 120px;
  }
  .home-page #hero-slider .hero-slider-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 24px;
  }
  .home-page #hero-slider .hero-slider-thumbs {
    display: flex;
    gap: 8px;
  }
  .home-page #hero-slider .hero-thumb {
    width: 40px;
    height: 28px;
  }
  .home-page #hero-slider .hero-slider-counter,
  .home-page #hero-slider .hero-slider-counter span {
    font-size: 13px;
  }
  .floating-actions {
    position: fixed;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .home-page .floating-actions .whatsapp,
  .home-page .floating-actions .scroll-to-top {
    width: 55px;
    height: 55px;
    min-width: 44px;
  }
}
@media (max-width: 600px) {
  .home-page #hero-slider {
    height: calc(100svh - 80px);
  }
}
/* Compact spacing keeps controls visible on short mobile viewports. */
@media (max-width: 760px) and (max-height: 650px) {
  .home-page #hero-slider {
    min-height: 0;
  }
  .home-page #hero-slider .hero-slide-content {
    padding: 14px 24px 132px;
  }
  .home-page #hero-slider .hero-slide-heading {
    font-size: 26px;
    margin: 10px 0 12px;
  }
  .home-page #hero-slider .hero-slide-description {
    font-size: 14px;
    line-height: 1.5;
  }
  .home-page #hero-slider .hero-slide-actions {
    margin-top: 16px;
  }
  .home-page #hero-slider .hero-slide-actions .btn {
    padding: 10px 8px;
  }
}

/* =========================================================
   GENERIC SCROLL-REVEAL (pages/sections with no existing animation)
   Used by app.js. Visible by default so content never depends on JS
   to be seen; the hidden/animated state only applies once JS confirms
   it is active via .js-reveal-ready on <html>.

   Direction is read from the attribute's value:
     data-reveal-fade            -> fade + up (default)
     data-reveal-fade="left"     -> enters from the left
     data-reveal-fade="right"    -> enters from the right
     data-reveal-fade="up"       -> enters from below (same as default)
     data-reveal-fade="down"     -> enters from above
     data-reveal-fade="zoom"     -> scales in from slightly smaller
   Add data-reveal-stagger (boolean) to a repeated element (card, list
   item) to have app.js assign it an increasing --reveal-delay based on
   its position among its siblings.
   ========================================================= */
[data-reveal-fade] {
  opacity: 1;
}

.js-reveal-ready [data-reveal-fade] {
  --reveal-x: 0px;
  --reveal-y: 30px;
  --reveal-scale: 1;
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal-ready [data-reveal-fade="left"] { --reveal-x: -36px; --reveal-y: 0px; }
.js-reveal-ready [data-reveal-fade="right"] { --reveal-x: 36px; --reveal-y: 0px; }
.js-reveal-ready [data-reveal-fade="down"] { --reveal-y: -26px; }
.js-reveal-ready [data-reveal-fade="zoom"] { --reveal-y: 0px; --reveal-scale: .94; }

/* Only the not-yet-revealed state sets transform, so it never wins over an
   element's own hover transform (e.g. .course-card:hover) once revealed. */
.js-reveal-ready [data-reveal-fade]:not(.reveal-in) {
  transform: translate(var(--reveal-x), var(--reveal-y)) scale(var(--reveal-scale));
}

.js-reveal-ready [data-reveal-fade].reveal-in {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready [data-reveal-fade] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   BLOG PAGE — final CTA
   Same full-bleed image + overlay treatment already used for the
   course-page final CTA (see .course-html-css .cta-final-section).
   ========================================================= */
.blog-page .cta .eyebrow {
  color: var(--white);
}
.blog-page .cta .eyebrow:before {
  background: var(--orange);
}
.blog-page .cta-tagline {
  display: block;
  margin-top: 14px;
  color: var(--white);
  opacity: .75;
  font: 700 .74rem var(--font-subheading);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.blog-page .cta-final-section {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  padding: 0;
  background: var(--dark-blue);
}
.blog-page .cta-final-section:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.72) 40%,rgba(0,86,210,.35) 70%,rgba(0,86,210,.14)),url('../images/enquire.webp') center/cover no-repeat;
}
.blog-page .cta-final-section .cta {
  padding: 80px 0;
  margin: 0;
  gap: 32px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.blog-page .cta-final-section .cta-content {
  flex: 1 1 auto;
  max-width: 800px;
}
.blog-page .cta-final-section .eyebrow {
  gap: 13px;
  margin-bottom: 4px;
  font-size: .9rem;
  letter-spacing: .08em;
}
.blog-page .cta-final-section .eyebrow:before {
  width: 41px;
  height: 3px;
}
.blog-page .cta-final-section h2 {
  font-size: clamp(2.5rem,4.25vw,4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.blog-page .cta-final-section h2 em {
  color: var(--orange);
  font-style: normal;
}
.blog-page .cta-final-section p {
  font-size: 1.05rem;
  line-height: 1.65;
}
.blog-page .cta-final-section .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}
.blog-page .cta-final-section .hero-actions .btn {
  padding: 18px 26px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 11px 22px rgba(0,0,0,.18);
}
.blog-page .cta-final-section .hero-actions .btn.orange:hover {
  background: var(--dark-blue);
}
.blog-page .cta-final-section .hero-actions .btn.ghost {
  background: color-mix(in srgb, var(--white) 12%, transparent);
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 40%, transparent);
}
.blog-page .cta-final-section .hero-actions .btn.ghost:hover {
  background: color-mix(in srgb, var(--white) 20%, transparent);
}
@media (max-width: 1000px) {
  .blog-page .cta-final-section .cta {
    padding: 64px 0;
  }
}
@media (max-width: 760px) {
  .blog-page .cta-final-section .cta {
    padding: 56px 0;
  }
  .blog-page .cta-final-section:before {
    background-image: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.76) 55%,rgba(0,86,210,.55)),url('../images/enquire.webp');
  }
  .blog-page .cta-final-section h2 {
    font-size: clamp(2.2rem,10vw,3rem);
  }
  .blog-page .cta-final-section .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .blog-page .cta-final-section .hero-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   SHARED FINAL CTA SECTION (fallback for pages with no page-specific
   .cta-final-section styling, e.g. home, about, courses). Identical
   treatment to .academy-page .cta-final-section above; a page-specific
   selector still wins where one already exists, so this only fills the
   gap on pages that have none. */

.cta-final-section {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  padding: 0;
  background: var(--dark-blue);
}

.cta-final-section:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,rgba(0,86,210,.88),rgba(0,86,210,.72) 40%,rgba(0,86,210,.35) 70%,rgba(0,86,210,.14)),url('../images/enquire.webp') center/cover no-repeat;
}

.cta-final-section .cta {
  padding: 80px 0;
  margin: 0;
  gap: 32px;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.cta-final-section .cta-content {
  flex: 1 1 auto;
  max-width: 800px;
}

.cta-final-section .eyebrow {
  gap: 13px;
  margin-bottom: 4px;
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .08em;
}

.cta-final-section .eyebrow:before {
  width: 41px;
  height: 3px;
  background: var(--orange);
}

.cta-final-section h2 {
  font-size: clamp(2.5rem, 4.25vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
}

.cta-final-section h2 em {
  color: var(--orange);
  font-style: normal;
}

.cta-final-section p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white);
}

.cta-final-section .cta-tagline {
  display: block;
  margin-top: 14px;
  color: var(--white);
  opacity: .75;
  font: 700 .74rem var(--font-subheading);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cta-final-section .hero-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.cta-final-section .hero-actions .btn {
  padding: 18px 26px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: 0 11px 22px rgba(0, 0, 0, .18);
}

.cta-final-section .hero-actions .btn.orange:hover {
  background: var(--dark-blue);
}

@media (max-width: 1000px) {
  .cta-final-section .cta {
    padding: 64px 0;
  }
}

@media (max-width: 760px) {
  .cta-final-section .cta {
    padding: 56px 0;
  }
  .cta-final-section:before {
    background-image: linear-gradient(90deg,rgba(0,86,210,.9),rgba(0,86,210,.76) 55%,rgba(0,86,210,.55)),url('../images/enquire.webp');
  }
  .cta-final-section h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .cta-final-section .hero-actions .btn {
    width: 100%;
  }
}

/* =========================================================
   SHARED CONTACT ENQUIRY + MAP SECTION (every page)
   ========================================================= */

.site-enquiry-section {
  background: linear-gradient(180deg, var(--light-blue), var(--white) 60%);
}

.site-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(38px, 4vw, 64px);
}

.site-enquiry-visual {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 28px;
}

.site-enquiry-visual-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 650px;
  height: clamp(470px, 38vw, 520px);
  padding: 0;
}

.site-enquiry-image-main {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 86%;
  height: clamp(400px, 31vw, 470px);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 35px 35px 35px 0;
  box-shadow: 0 24px 48px rgba(0,86,210,.16);
}

.site-enquiry-image-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 60%;
  height: clamp(270px, 23vw, 300px);
  object-fit: cover;
  object-position: center;
  border: 5px solid var(--white);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,86,210,.22);
}

/* Supporting SEO copy is intentionally styled as a quiet continuation of
   the existing course content rather than a detached card under the image. */
.course-detail-page .intro-grid > div:not(.intro-media) > [data-seo-content],
.course-html-css .intro-grid > div:not(.intro-media) > [data-seo-content] {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--text);
  line-height: 1.7;
}

.course-detail-page .intro-grid > div:not(.intro-media) > p[data-seo-related],
.course-html-css .intro-grid > div:not(.intro-media) > p[data-seo-related] {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gray);
  color: var(--muted);
  font-size: .94rem;
}

.course-detail-page [data-seo-content] a,
.course-html-css [data-seo-content] a {
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: none;
}

.course-detail-page [data-seo-content] a:hover,
.course-html-css [data-seo-content] a:hover {
  text-decoration: underline;
}

.home-page #hero-slider [data-seo-content] {
  max-width: 560px;
  margin: 14px 0 0;
  color: #fff;
  font-size: .94rem;
  line-height: 1.55;
}

.home-page #hero-slider [data-seo-content] a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: rgba(255,255,255,.65);
}

.site-enquiry-whatsapp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--dark-blue), var(--primary-blue));
  box-shadow: 0 16px 32px rgba(0,86,210,.2);
  transition: transform .25s ease, box-shadow .25s ease;
}

.site-enquiry-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,86,210,.28);
}

.site-enquiry-whatsapp-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
}

.site-enquiry-whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

.site-enquiry-whatsapp-label {
  display: block;
  margin-bottom: 3px;
  color: color-mix(in srgb, var(--white) 72%, transparent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-enquiry-whatsapp-value {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.site-enquiry-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  padding: 46px 48px 40px;
  border: 1px solid var(--border-gray);
  border-radius: 28px;
  background: linear-gradient(155deg, var(--white), var(--very-light-blue) 145%);
  box-shadow: 0 22px 48px rgba(0,86,210,.10);
}

.site-enquiry-form h2 {
  text-align: center;
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  margin: 4px 0 32px;
}

.site-enquiry-form h2 em {
  color: var(--primary-blue);
  font-style: normal;
}

.site-enquiry-form [hidden] {
  display: none;
}

.site-enquiry-form label {
  display: grid;
  gap: 8px;
}

.site-enquiry-form .form-grid {
  gap: 20px 16px;
}

.site-enquiry-form .field {
  margin-bottom: 0;
}

.site-enquiry-form :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--white);
}

.site-enquiry-form select {
  padding-right: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23031f48' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.site-enquiry-form textarea {
  height: 130px;
  min-height: 130px;
  resize: vertical;
}

.site-enquiry-form .btn {
  margin-top: 16px;
  padding: 14px 24px;
  border-radius: 10px;
}

.site-enquiry-form :is(a, input, select, textarea, button):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-map-section {
  padding: 64px 0;
}

.site-map-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border-gray);
  box-shadow: 0 20px 44px rgba(0,86,210,.14);
}

.site-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .site-enquiry-visual-frame {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .site-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-enquiry-visual {
    width: min(100%, 650px);
  }
  .site-enquiry-visual-frame {
    height: 500px;
  }
  .site-enquiry-form {
    justify-self: start;
  }
  .site-map-embed {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .site-enquiry-form {
    max-width: none;
    padding: 28px 20px;
  }
  .site-enquiry-image-main {
    position: absolute;
    width: 82%;
    height: clamp(250px, 70vw, 300px);
    border-radius: 28px 28px 28px 0;
  }
  .site-enquiry-visual-frame {
    display: block;
    width: 100%;
    height: clamp(320px, 88vw, 390px);
    padding: 0;
  }
  .site-enquiry-image-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 57%;
    height: clamp(165px, 45vw, 210px);
    border-width: 4px;
    border-radius: 22px;
  }
  .site-enquiry-whatsapp {
    padding: 14px 18px;
  }
  .site-enquiry-form .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-enquiry-form .field.full {
    grid-column: auto;
  }
  .site-enquiry-form :is(input, select) {
    height: 54px;
  }
  .site-enquiry-form textarea {
    height: 130px;
  }
  .site-map-section {
    padding: 48px 0;
  }
  .site-map-wrap {
    padding: 0 16px;
  }
  .site-map-embed {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .site-enquiry-whatsapp {
    flex-wrap: wrap;
  }
}

/* =========================================================
   STUDENT REVIEWS
   Shared across every page (originally the Home Page only);
   kept unscoped so it works wherever the section markup is used.
   ========================================================= */

.reviews-section {
  padding: 82px 0;
  background: var(--dark-blue);
}
.reviews-section .section-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.reviews-section .eyebrow {
  justify-content: center;
  color: var(--very-light-blue);
}
.reviews-section h2 {
  color: var(--white);
}
.reviews-section .section-heading p {
  color: var(--very-light-blue);
}
.review-slider {
  --review-visible: 3;
  position: relative;
  max-width: 1260px;
  margin: 44px auto 0;
  padding-inline: 64px;
}
.review-viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.review-track {
  display: flex;
  transition: transform .5s ease;
}
.review-slide {
  flex: 0 0 calc(100% / var(--review-visible));
  min-width: 0;
  padding: 8px 12px 18px;
}
.review-card {
  height: 100%;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,86,210,.16);
}
.review-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0 26%, var(--primary-blue) 26%);
  color: var(--white);
  font: 700 .8rem var(--font-subheading);
}
.review-name {
  margin: 0;
  color: var(--dark-blue);
  font-size: 1.05rem;
}
.review-course {
  display: block;
  margin-top: 2px;
  color: var(--primary-blue);
  font: 600 .78rem var(--font-body);
}
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
  stroke: none;
}
.review-text {
  margin: 0;
  color: var(--dark-gray);
  font-size: .92rem;
  line-height: 1.7;
}
.review-arrow {
  position: absolute;
  top: calc(50% - 20px);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--white) 30%, transparent);
  border-radius: 50%;
  background: var(--white);
  color: var(--dark-blue);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.review-arrow-prev { left: 0; }
.review-arrow-next { right: 0; }
.review-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.review-dots {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.review-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--white) 40%, transparent) 4px, transparent 5px);
  cursor: pointer;
}
.review-dot.is-active {
  background: radial-gradient(circle, var(--orange) 4px, transparent 5px);
}
.review-slider button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
@media (hover: hover) {
  .review-arrow:hover {
    background: var(--orange);
    color: var(--white);
  }
}
@media (max-width: 1000px) {
  .review-slider { --review-visible: 2; }
}
@media (max-width: 760px) {
  .review-slider {
    --review-visible: 1;
    padding-inline: 0;
    padding-bottom: 54px;
  }
  .review-arrow {
    top: auto;
    bottom: 0;
  }
  .review-arrow-prev { left: calc(50% - 50px); }
  .review-arrow-next { right: calc(50% - 50px); }
}

/* =========================================================
   COURSE DETAIL INTRODUCTION VIEWPORT LAYOUT
   The shared intro-grid is used by every full course page. Its media
   column is deliberately sized independently of long course copy, while
   the copy column receives the native scroll area on larger screens.
   ========================================================= */
:is(.course-html-css, .course-detail-page) .intro-grid {
  --intro-header-height: 104px;
  --intro-viewport-height: calc(100dvh - var(--intro-header-height) - 28px);
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  min-height: var(--intro-viewport-height);
}

:is(.course-html-css, .course-detail-page) .intro-grid > .intro-media {
  position: sticky;
  top: calc(var(--intro-header-height) + 14px);
  align-self: start;
  box-sizing: border-box;
  height: min(620px, var(--intro-viewport-height));
  overflow: hidden;
}

:is(.course-html-css, .course-detail-page) .intro-grid > .intro-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

:is(.course-html-css, .course-detail-page) .intro-grid > div:not(.intro-media) {
  max-height: var(--intro-viewport-height);
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-color: rgba(0, 70, 160, .42) transparent;
  scrollbar-width: thin;
}

:is(.course-html-css, .course-detail-page) .intro-grid > div:not(.intro-media)::-webkit-scrollbar {
  width: 6px;
}

:is(.course-html-css, .course-detail-page) .intro-grid > div:not(.intro-media)::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 70, 160, .35);
}

@media (max-width: 760px) {
  :is(.course-html-css, .course-detail-page) .intro-grid {
    --intro-header-height: 67px;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  :is(.course-html-css, .course-detail-page) .intro-grid > .intro-media {
    position: static;
    height: auto;
    overflow: visible;
  }

  :is(.course-html-css, .course-detail-page) .intro-grid > .intro-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  :is(.course-html-css, .course-detail-page) .intro-grid > div:not(.intro-media) {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-track { transition: none; }
}
