/* ===========================================================================
   Eduzedie theme layer.
   theme.css ships the ExoticSkills landing kit; everything below repaints it
   in Eduzedie's palette and adds the sections that only exist on this site
   (dark photo hero, testimonial carousel, package grid, counter band,
   three-step tabs, course gallery, closing CTA).
   Colours sampled from the saved eduzedie.com page — see reference/.
   =========================================================================== */

html {
  scroll-behavior: smooth;
}

html.lenis {
  scroll-behavior: auto;
}

#packages,
#courses,
#reviews,
#steps,
#impact {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  --ez-primary: #18c1f0;
  --ez-primary-dark: #0370cb;
  --ez-gold: #ecd06f;
  --ez-title: #202121;
  --ez-body: #666666;
  --ez-border: #e7e7e7;
  --ez-dark: #101a24;

  --background-accent-primary: #18c1f0;
  --background-accent-primary-dark: #0370cb;
  --background-accent-primary-light: #e8f8fd;
  --background-accent-primary-light-faded: #cdeffa;
  --background-color-banner-secondary: #e8f8fd;
  --background-color-banner-tertiary: #e8f8fd;
  --background-color-banner-tertiary-dark: #0370cb;
  --text-primary-dark: #202121;
  --text-accent-primary: #18c1f0;
  --text-accent-secondary: #ecd06f;
  --border-accent: #18c1f0;
  --link-color: #18c1f0;
  --btn-primary-bg: #18c1f0;
  --btn-primary-bg-hover: #0370cb;
  --btn-secondary-border: #18c1f0;
  --btn-secondary-border-hover: #0370cb;
  --btn-secondary-color: #18c1f0;
  --icon-color-accent: #18c1f0;
  --icon-color-dark: #202121;
  --btn-up-bg: #e8f8fd;
  --btn-up-color: #18c1f0;
  --btn-up-hover-color: #cdeffa;
}

body {
  font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ez-body);
}

/* overflow:hidden on body/main creates a scroll container that disables
   position:sticky. overflow-x:clip hides horizontal overflow without that
   side effect. */
body,
main {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.main-section-title {
  color: var(--ez-title);
}

.subtitle {
  color: var(--ez-primary);
}

/* --- Header ---------------------------------------------------------------
   The logo is a white lockup, so the bar stays dark in both states: fully
   transparent over the hero photo, then a solid dark band once scrolled. */
.header {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: var(--ez-dark);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

/* theme.css colours the nav for a light bar; this one sits on the hero photo. */
.header .header-menuWrapper .header-menu a,
.header .header-mobileMenu .header-menu a {
  color: #ffffff !important;
  text-transform: uppercase;
}

.header .header-menuWrapper .header-menu a:hover,
.header .header-mobileMenu .header-menu a:hover,
.header .header-menuWrapper .header-menu a.is-active,
.header .header-mobileMenu .header-menu a.is-active {
  color: var(--ez-primary) !important;
}

.header-logo img,
.header-mobile-logo img {
  height: 80px;
  width: auto;
}

/* --- Hero ----------------------------------------------------------------- */
.ez-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 886px;
  padding: 180px 0 80px;
  background-image: url('/assets/img/site/hero-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ez-hero-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0.34;
}

.ez-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.ez-hero-title {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

.ez-hero-description {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.65;
}

.ez-hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.ez-hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 180px;
}

.ez-hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ez-hero-feature-icon svg {
  width: 38px;
  height: 38px;
}

.ez-hero-feature:hover .ez-hero-feature-icon {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

.ez-hero-feature-title {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.ez-hero-arrow {
  display: inline-flex;
  margin-top: 56px;
  color: #ffffff;
  animation: ezBounce 1.5s infinite;
}

.ez-hero-arrow svg {
  width: 30px;
  height: 30px;
}

@keyframes ezBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .ez-hero-arrow { animation: none; }
}

/* theme.css pins .subtitle to text-align:start, so centre it explicitly. */
.ez-reviews .section-heading,
.ez-packages .section-heading,
.ez-courses .section-heading,
.ez-reviews .subtitle,
.ez-packages .subtitle,
.ez-courses .subtitle {
  text-align: center;
}

/* --- Testimonials --------------------------------------------------------- */
.ez-reviews {
  background: #ffffff;
}

.ez-reviews-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ez-reviews-viewport {
  flex: 1;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ez-review {
  margin: 0;
  text-align: center;
}

.ez-review-text {
  max-width: 880px;
  margin: 0 auto;
  color: var(--ez-title);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
}

.ez-review-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.ez-review-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.ez-review-cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
  text-align: left;
}

.ez-review-name {
  color: var(--ez-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ez-review-role {
  color: var(--ez-body);
  font-size: 14px;
}

.ez-reviews-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ez-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ez-title);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ez-reviews-arrow:hover {
  border-color: var(--ez-primary);
  background: var(--ez-primary);
  color: #ffffff;
}

.ez-reviews-arrow svg {
  width: 20px;
  height: 20px;
}

.ez-reviews-bullets {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ez-reviews-bullet {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d9dc;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ez-reviews-bullet.current {
  background: var(--ez-primary);
  transform: scale(1.25);
}

/* --- Packages ------------------------------------------------------------- */
.ez-packages {
  background: #f7fbfd;
}

.ez-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ez-package {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ez-border);
  border-radius: 12px;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ez-package:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(24, 193, 240, 0.16);
}

.ez-package-image img {
  display: block;
  width: 100%;
  height: auto;
}

.ez-package-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 32px;
  text-align: center;
}

.ez-package-name {
  margin: 0;
  color: var(--ez-title);
  font-size: 22px;
  font-weight: 500;
}

.ez-package-price {
  margin: 0;
  color: var(--ez-primary);
  font-size: 28px;
  font-weight: 700;
}

.ez-package-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--ez-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.ez-package-button:hover {
  background: var(--ez-primary-dark);
}

/* --- Counter band --------------------------------------------------------- */
.ez-stats {
  padding: 72px 0;
  background-color: #1a1512;
  background-image: url('/assets/img/site/stats-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ez-stats-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ez-stats-art {
  flex: 0 0 40%;
}

.ez-stats-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.ez-stats-list {
  display: flex;
  flex: 1;
  gap: 32px;
}

.ez-stat {
  flex: 1;
  text-align: center;
}

.ez-stat-number {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.ez-stat-suffix {
  font-size: 0.7em;
}

.ez-stat-label {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 400;
}

/* --- Three steps ---------------------------------------------------------- */
.ez-steps {
  background: #ffffff;
}

.ez-steps-title {
  margin: 0 0 40px;
  color: var(--ez-title);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
}

.ez-steps-tabs {
  display: flex;
  gap: 24px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.ez-steps-tab {
  flex: 1;
  padding-top: 18px;
  border-top: 3px solid var(--ez-border);
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.ez-steps-tab.current {
  border-top-color: var(--ez-primary);
}

.ez-steps-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ez-border);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.25s ease;
}

.ez-steps-number span {
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ez-steps-tab.current .ez-steps-number {
  color: var(--ez-primary);
}

.ez-steps-tab-title {
  margin: 10px 0 0;
  color: var(--ez-title);
  font-size: 17px;
  font-weight: 500;
}

.ez-steps-body {
  display: flex;
  align-items: center;
  gap: 48px;
}

.ez-steps-media {
  flex: 1 1 50%;
}

.ez-steps-media img {
  display: block;
  width: 100%;
  height: auto;
}

.ez-steps-content {
  flex: 1 1 50%;
}

.ez-steps-content-title {
  margin: 0 0 16px;
  color: var(--ez-title);
  font-size: 24px;
  font-weight: 500;
}

.ez-steps-content-desc {
  margin: 0;
  color: var(--ez-body);
  font-size: 16px;
  line-height: 1.65;
}

/* --- Course gallery ------------------------------------------------------- */
.ez-courses {
  background: #f7fbfd;
}

.ez-courses-desc {
  max-width: 860px;
  margin: 16px auto 0;
  color: var(--ez-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

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

.ez-course {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(32, 33, 33, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ez-course:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(24, 193, 240, 0.18);
}

.ez-course-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.ez-course-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ez-course:hover .ez-course-image img {
  transform: scale(1.05);
}

.ez-course-caption {
  padding: 18px 20px 22px;
  color: var(--ez-title);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* --- Closing CTA ---------------------------------------------------------- */
.ez-cta {
  background: linear-gradient(135deg, #0370cb 0%, #18c1f0 100%);
  text-align: center;
}

.ez-cta-eyebrow {
  margin: 0;
  color: var(--ez-gold);
  font-size: 18px;
  font-weight: 700;
}

.ez-cta-title {
  max-width: 900px;
  margin: 18px auto 36px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.ez-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 30px;
  background: #ffffff;
  color: var(--ez-primary-dark);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.ez-cta-button:hover {
  background: var(--ez-gold);
  color: var(--ez-title);
}

/* --- Footer --------------------------------------------------------------- */
.ez-footer {
  padding: 64px 0 32px;
  background: var(--ez-dark);
  color: rgba(255, 255, 255, 0.72);
}

.ez-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.ez-footer-logo img {
  height: 96px;
  width: auto;
}

.ez-footer-partners {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.ez-footer-partners img {
  height: 28px;
  width: auto;
}

.ez-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 48px;
}

.ez-footer-column-title {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
}

.ez-footer-column-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--ez-primary);
}

.ez-footer-menu {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 220px;
}

.ez-footer-menu a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  transition: color 0.25s ease;
}

.ez-footer-menu a:hover {
  color: var(--ez-primary);
}

.ez-footer-disclaimer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ez-footer-disclaimer-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.ez-footer-disclaimer p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.ez-footer-copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

/* --- Scroll-reveal entrance ----------------------------------------------- */
.ez-hero-feature,
.ez-package,
.ez-course,
.ez-stat,
.section-heading {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ez-hero-feature[data-reveal="visible"],
.ez-package[data-reveal="visible"],
.ez-course[data-reveal="visible"],
.ez-stat[data-reveal="visible"],
.section-heading[data-reveal="visible"] {
  opacity: 1;
  transform: none;
}

.ez-package:nth-child(2),
.ez-stat:nth-child(2) { transition-delay: 0.12s; }
.ez-package:nth-child(3),
.ez-stat:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .ez-hero-feature,
  .ez-package,
  .ez-course,
  .ez-stat,
  .section-heading {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Policy / heading banner ---------------------------------------------- */
.basic-heading {
  margin-top: 40px;
  overflow: hidden;
  background-color: var(--ez-primary-dark);
  background-image:
    radial-gradient(60% 120% at 88% -20%, rgba(255, 255, 255, 0.22), transparent 55%),
    radial-gradient(70% 130% at 12% 130%, rgba(0, 0, 0, 0.14), transparent 55%);
}

.basic-heading__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .ez-stats-inner,
  .ez-steps-body {
    flex-direction: column;
  }

  .ez-stats-art {
    flex: 1 1 auto;
    width: 100%;
  }

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

@media (max-width: 767px) {
  .ez-hero {
    min-height: 0;
    padding: 140px 0 64px;
  }

  .ez-hero-title {
    font-size: 34px;
  }

  .ez-hero-features {
    gap: 20px;
  }

  .ez-hero-feature {
    width: 132px;
  }

  .ez-review-text {
    font-size: 18px;
  }

  .ez-stats-list,
  .ez-steps-tabs {
    flex-direction: column;
  }

  .ez-stat-number {
    font-size: 46px;
  }

  .ez-package-grid,
  .ez-course-grid {
    grid-template-columns: 1fr;
  }

  .ez-steps-title,
  .ez-cta-title {
    font-size: 26px;
  }

  .ez-footer-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Inner pages (contact, FAQ, policies, dashboard) render on a white body, so
   the header cannot stay transparent the way it does over the hero photo. */
.site-layout .header {
  background: var(--ez-dark);
}
