/**
 * Jaezah Homepage / Chrome UI Redesign
 * Modern professional layout aligned with brand greens.
 */

/* ========== Shared ========== */
.jz-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--jz-accent-soft);
}

.jz-section {
  padding: 96px 0;
}

.jz-section__head {
  max-width: 640px;
  margin: 0 auto 56px;
}

.jz-section__head h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--jz-ink);
  line-height: 1.35;
}

.jz-section__head p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--jz-muted);
}

.jz-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--jz-forest) !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.jz-link:hover {
  color: var(--jz-accent-bright) !important;
  transform: translateX(-3px);
}

.jz-link--muted {
  color: #9aa8a4 !important;
  pointer-events: none;
}

/* ========== Buttons ========== */
.jz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--jz-font) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.jz-btn--primary {
  background: var(--jz-gradient) !important;
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(0, 220, 128, 0.28);
}

.jz-btn--primary:hover {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 220, 128, 0.36);
}

.jz-btn--ghost {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.jz-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

.jz-btn--outline {
  background: transparent !important;
  color: var(--jz-forest) !important;
  border-color: rgba(0, 102, 78, 0.25) !important;
}

.jz-btn--outline:hover {
  background: var(--jz-gradient) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 102, 78, 0.2);
}

.jz-btn--nav {
  margin-right: 8px;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--jz-gradient) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 220, 128, 0.25);
}

.jz-btn--nav.jz-btn--ghost {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: none;
}

.header_area.navbar_fixed .jz-btn--nav.jz-btn--ghost,
.jz-nav:not(.jz-nav--light) .jz-btn--nav,
.header_area.navbar_fixed .jz-btn--nav {
  background: var(--jz-gradient) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.jz-btn--footer {
  margin-top: 22px;
  background: var(--jz-gradient) !important;
  color: #fff !important;
}

.jz-btn--disabled {
  background: #e6ece9 !important;
  color: #8a9893 !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Override legacy button classes used elsewhere */
.btn_get,
.event_btn,
.slider_btn,
.btn-primary,
.custom-btn,
.e_features_btn {
  border-radius: 999px !important;
}

/* ========== Header ========== */
.jz-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

/* Inner pages without hero: solid header */
.jz-header .jz-nav:not(.jz-nav--light) {
  position: relative;
  background: #fff;
  box-shadow: 0 8px 28px rgba(9, 28, 26, 0.06);
}

.jz-header:has(.jz-nav:not(.jz-nav--light)) {
  position: relative;
}

.jz-header .jz-nav {
  padding: 14px 0;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.jz-header.navbar_fixed .jz-nav,
.header_area.navbar_fixed .jz-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(9, 28, 26, 0.08);
  padding: 8px 0;
}

.jz-logo img,
.jz-logo .jz-logo__dark-bg,
.jz-logo .jz-logo__light-bg {
  max-height: 48px !important;
  width: auto !important;
  height: auto !important;
}

.jz-menu > .nav-item > .nav-link {
  font-family: var(--jz-font) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  transition: color 0.2s ease;
}

.jz-nav:not(.jz-nav--light) .jz-menu > .nav-item > .nav-link {
  color: var(--jz-ink) !important;
}

.jz-nav:not(.jz-nav--light) .jz-toggler .hamburger span,
.jz-nav:not(.jz-nav--light) .jz-toggler .hamburger-cross span {
  background: var(--jz-ink);
}

.header_area.navbar_fixed .jz-menu > .nav-item > .nav-link,
.header_area.navbar_fixed .w_menu .nav-item .nav-link {
  color: var(--jz-ink) !important;
}

.jz-menu > .nav-item > .nav-link:hover,
.header_area.navbar_fixed .jz-menu > .nav-item > .nav-link:hover {
  color: var(--jz-accent-soft) !important;
}

.jz-dropdown {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 50px rgba(9, 28, 26, 0.14) !important;
  padding: 10px !important;
  margin-top: 8px !important;
  min-width: 220px;
}

.jz-dropdown .nav-link {
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: var(--jz-ink) !important;
  font-weight: 500 !important;
}

.jz-dropdown .nav-link:hover {
  background: var(--jz-surface) !important;
  color: var(--jz-accent-soft) !important;
}

.jz-toggler .hamburger span,
.jz-toggler .hamburger-cross span {
  background: #fff;
}

.header_area.navbar_fixed .jz-toggler .hamburger span,
.header_area.navbar_fixed .jz-toggler .hamburger-cross span {
  background: var(--jz-ink);
}

/* ========== Hero ========== */
.jz-hero,
.jz-hero.saas_banner_area_three {
  margin: 0 !important;
}

.jz-hero__slide,
.jz-hero .slider_item {
  min-height: 100vh;
  min-height: 100svh;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.jz-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(9, 28, 26, 0.82) 0%, rgba(9, 28, 26, 0.55) 42%, rgba(0, 102, 78, 0.18) 72%, rgba(9, 28, 26, 0.35) 100%),
    linear-gradient(to top, rgba(9, 28, 26, 0.55), transparent 45%);
}

.jz-hero__content {
  max-width: 680px;
  padding: 120px 0 80px;
  text-align: right;
  animation: jzHeroIn 0.9s ease both;
}

.jz-hero__title {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  max-width: 16ch;
}

.jz-hero__text {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
  max-width: 42ch;
}

.jz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jz-hero .owl-dots {
  bottom: 28px !important;
}

.jz-hero .owl-dots button span {
  background: rgba(255, 255, 255, 0.35) !important;
}

.jz-hero .owl-dots button.active span {
  background: var(--jz-accent) !important;
}

@keyframes jzHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Countdown ========== */
.jz-countdown {
  background: var(--jz-surface);
  padding: 36px 0;
  border-radius: 0 0 32px 32px;
}

.jz-countdown__title {
  margin: 0;
  color: var(--jz-ink);
  font-size: 24px;
  font-weight: 800;
}

/* ========== Fields ========== */
.jz-fields {
  background: #fff;
}

.jz-field {
  padding: 88px 0;
  position: relative;
}

.jz-field:nth-child(even) {
  background: var(--jz-surface);
}

.jz-field__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(9, 28, 26, 0.12);
}

.jz-field__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(9, 28, 26, 0.25), transparent);
  pointer-events: none;
}

.jz-field__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.jz-field:hover .jz-field__media img {
  transform: scale(1.03);
}

.jz-field__content {
  padding: 20px 8px;
}

.jz-field__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--jz-ink);
  line-height: 1.4;
}

.jz-field__text {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--jz-muted);
}

.jz-field__branches {
  display: grid;
  gap: 16px;
}

.jz-branch {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 102, 78, 0.08);
}

.jz-branch img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.jz-branch h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--jz-ink);
}

.jz-branch p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--jz-muted);
}

/* ========== Guides ========== */
.jz-guides {
  background: var(--jz-surface);
}

.jz-guides__grid > [class*="col-"] {
  margin-bottom: 24px;
}

.jz-guide {
  height: 100%;
  padding: 32px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0, 102, 78, 0.06);
  box-shadow: 0 14px 40px rgba(9, 28, 26, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jz-guide:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(9, 28, 26, 0.12);
}

.jz-guide__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--jz-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jz-guide__icon img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.jz-guide h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--jz-ink);
  line-height: 1.45;
}

.jz-guide p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--jz-muted);
  min-height: 3.6em;
}

/* ========== Courses ========== */
.jz-courses {
  background: #fff;
}

.jz-course {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0, 102, 78, 0.07);
  box-shadow: 0 14px 40px rgba(9, 28, 26, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jz-course:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(9, 28, 26, 0.12);
}

.jz-course__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--jz-surface);
}

.jz-course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jz-course:hover .jz-course__media img {
  transform: scale(1.04);
}

.jz-course__body {
  padding: 24px;
}

.jz-course__body h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.jz-course__body h3 a {
  color: var(--jz-ink) !important;
}

.jz-course__body h3 a:hover {
  color: var(--jz-accent-soft) !important;
}

.jz-course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--jz-forest);
}

.jz-course__meta i {
  margin-left: 4px;
}

/* ========== Timeline ========== */
.jz-timeline {
  background: var(--jz-surface);
}

.jz-timeline__list {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.jz-timeline__list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--jz-accent), rgba(0, 102, 78, 0.15));
}

.jz-timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  margin-bottom: 18px;
  position: relative;
}

.jz-timeline__marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--jz-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(0, 220, 128, 0.12);
}

.jz-timeline__marker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jz-timeline__marker span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--jz-accent);
}

.jz-timeline__body {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 102, 78, 0.06);
  box-shadow: 0 10px 30px rgba(9, 28, 26, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jz-timeline__item:hover .jz-timeline__body {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(9, 28, 26, 0.1);
}

.jz-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--jz-forest);
}

.jz-timeline__body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--jz-ink);
}

.jz-timeline__body p {
  margin: 0;
  color: var(--jz-muted);
  line-height: 1.8;
}

/* ========== Partners ========== */
.jz-partners {
  background: #fff;
}

.jz-partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 40px;
}

.jz-partners__item {
  width: 140px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--jz-surface);
  border: 1px solid rgba(0, 102, 78, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jz-partners__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(9, 28, 26, 0.08);
}

.jz-partners__item img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.25s ease;
}

.jz-partners__item:hover img {
  filter: none;
}

/* ========== Footer ========== */
.jz-footer {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(0, 220, 128, 0.12), transparent 60%),
    linear-gradient(180deg, #0b221e 0%, var(--jz-dark) 100%);
  color: rgba(255, 255, 255, 0.72);
}

.jz-footer__top {
  padding: 88px 0 56px;
}

.jz-footer__logo img {
  max-height: 64px;
  width: auto;
  margin-bottom: 18px;
  filter: none;
}

.jz-footer__tagline {
  margin: 0 0 24px;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.jz-footer__initiative {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jz-footer__initiative span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.jz-footer__initiative img {
  max-height: 42px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.jz-footer__title {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.jz-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jz-footer__links li {
  margin-bottom: 12px;
}

.jz-footer__links a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 15px;
  transition: color 0.2s ease, padding-right 0.2s ease;
}

.jz-footer__links a:hover {
  color: var(--jz-accent) !important;
  padding-right: 4px;
}

.jz-footer__social-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.jz-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jz-footer__social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 220, 128, 0.22);
  color: var(--jz-accent) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jz-footer__social a:hover {
  background: var(--jz-gradient) !important;
  color: #fff !important;
  border-color: transparent;
  transform: translateY(-2px);
}

.jz-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 26px;
}

.jz-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.jz-footer__bottom a {
  color: var(--jz-accent) !important;
}

/* Hide legacy footer markup if any leftover templates still emit it */
body > .footer_area_two,
#wrapper > .footer_area_two {
  display: none;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .jz-section {
    padding: 72px 0;
  }

  .jz-field {
    padding: 56px 0;
  }

  .jz-field__media {
    margin-bottom: 28px;
  }

  .jz-field__media img {
    min-height: 240px;
  }

  .jz-hero__content {
    padding: 110px 0 70px;
  }

  .jz-btn--nav {
    margin: 12px 14px 8px;
  }

  .jz-menu {
    padding: 12px 0 8px;
  }

  .jz-nav--light .navbar-collapse,
  .header_area.navbar_fixed .jz-nav--light .navbar-collapse {
    background: #fff;
    border-radius: 16px;
    margin-top: 12px;
    padding: 8px 0 16px;
  }

  .jz-footer__grid > [class*="col-"] {
    margin-bottom: 36px;
  }

  .jz-timeline__list::before {
    right: 21px;
  }
}

@media (max-width: 575px) {
  .jz-hero__slide,
  .jz-hero .slider_item {
    min-height: 86vh;
  }

  .jz-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .jz-btn {
    width: 100%;
  }

  .jz-btn--nav {
    width: calc(100% - 28px);
  }

  .jz-branch {
    grid-template-columns: 1fr;
  }

  .jz-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-hero__content,
  .jz-guide,
  .jz-course,
  .jz-field__media img,
  .jz-btn {
    animation: none !important;
    transition: none !important;
  }
}
