/* ============================================================
   WorkJoy Static Site — Main Stylesheet v2.0
   Brand: Poppins font, #F57A20 orange, #58585A gray
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Laila:wght@400;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --color-primary:    #F57A20;
  --color-primary-dk: #E1650A;
  --color-text:       #58585A;
  --color-text-light: #888;
  --color-bg:         #FFFFFF;
  --color-bg-light:   #F8F7F5;
  --color-bg-gray:    #EDEDF2;
  --color-white:      #FFFFFF;
  --color-dark:       #2C2C2E;

  --font-primary: 'Poppins', sans-serif;
  --font-display: 'Laila', serif;

  --max-width: 1110px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --transition: 0.28s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dk); }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-orange { color: var(--color-primary); }
.text-center { text-align: center; }
.text-white  { color: var(--color-white); }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section       { padding: 5rem 0; }
.section-sm    { padding: 3rem 0; }
.section-lg    { padding: 7rem 0; }

.section-bg-light  { background: var(--color-bg-light); }
.section-bg-gray   { background: var(--color-bg-gray); }
.section-bg-dark   { background: var(--color-dark); }
.section-bg-orange { background: var(--color-primary); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { max-width: 680px; margin: 0 auto; color: var(--color-text-light); font-size: 1.05rem; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 1rem auto 0;
}
.divider-left { margin-left: 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  border-color: var(--color-primary-dk);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,122,32,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;                  /* #9 — taller navbar to accommodate bigger logo */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* #9 — Logo increased ~65% from 52px → 86px */
.nav-logo img { height: 86px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); background: rgba(245,122,32,0.07); }

.nav-cta { margin-left: 0.75rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}
.nav-dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;                         /* flush to nav item — no gap to break hover */
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  border: 1px solid rgba(0,0,0,0.06);
  margin-top: 0;                     /* visual spacing handled by padding-top below */
}
/* Invisible bridge above the dropdown panel keeps hover active as cursor moves down */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0; right: 0;
  height: 8px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text);
  border-radius: 0;
}
.dropdown-menu a:hover { color: var(--color-primary); background: rgba(245,122,32,0.05); }

/* Two-tier dropdown: coaching group */
.dropdown-group-header {
  display: block;
  padding: 0.55rem 1.25rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.dropdown-sub-item a {
  padding-left: 2rem !important;
  font-size: 0.84rem !important;
}
.dropdown-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0.3rem 1.25rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  border-top: 1px solid var(--color-bg-gray);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-bg-gray);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--color-primary); }
.nav-mobile .mobile-submenu { padding-left: 1rem; }
.nav-mobile .mobile-submenu a { font-weight: 400; font-size: 0.9rem; }

/* ── Hero Slider (#1, #2) ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
}

/* Slider track — 3 slots: slide1 | slide2 | clone-of-slide1 for infinite left loop */
.hero-slides {
  position: absolute;
  inset: 0;
  display: flex;
  width: 300%;          /* 3 slots */
  transition: transform 1.2s cubic-bezier(0.77,0,0.175,1);
}

.hero-slide {
  width: 33.3333%;      /* each slot = 100vw */
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* No overlay — images display in full natural color */
.hero-slide-1 { background-image: url('../images/hero-slide-1.webp'); }
.hero-slide-2 { background-image: url('../images/hero-bg-2.webp'); }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--color-primary);
  transform: scale(1.25);
}

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 1.2rem;
}
.hero-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 10;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  width: 100%;
}

/* Light frosted backdrop for text legibility without a full overlay */
.hero-content-inner {
  display: block;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
  padding: 2.25rem 2.75rem 2.25rem 2.25rem;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(245,122,32,0.15);
  border: 1px solid rgba(245,122,32,0.4);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 680px;
}
.hero-content h1 span { color: var(--color-primary); }

.hero-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  font-weight: 400;
}
.hero-checklist li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Brand Strip (#4) ─────────────────────────────────────── */
.brand-strip {
  background: var(--color-dark);
  padding: 0;
}

.brand-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Each of the 3 columns */
.brand-def {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
}

/* Vertical dividers between columns */
.brand-def + .brand-def::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.brand-def-term {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
}

.brand-def-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}

/* Operator symbols between columns (#4) */
.brand-operator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 48px;
}

/* ── Services Grid with Grouping (#5) ─────────────────────── */
/* "What We Do" overview cards on homepage */
.services-grouped {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.services-group-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 1.5rem;
  background: var(--color-bg-gray);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}
.services-group-label .text-orange { font-weight: 600; }

.services-group-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.service-card {
  flex: 1;
  min-width: 160px;
  background: var(--color-white);
  border: 1.5px solid var(--color-bg-gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card-icon {
  width: 52px; height: 52px;
  margin: 0 auto 1rem;
  /* Make SVG icons orange */
  filter: invert(52%) sepia(80%) saturate(700%) hue-rotate(345deg) brightness(100%) contrast(95%);
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

/* ── Why Cards ────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.why-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  border-top: 4px solid var(--color-primary);
  transition: box-shadow var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-card .why-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
}
.why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.why-card p  { font-size: 0.9rem; color: var(--color-text-light); }

/* ── Clients Carousel (#6) ────────────────────────────────── */
.logos-carousel-wrap {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}
/* Fade edges */
.logos-carousel-wrap::before,
.logos-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logos-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-light), transparent);
}
.logos-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-light), transparent);
}

.logos-carousel-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: logoScroll 40s linear infinite;
}
.logos-carousel-track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logos-carousel-track img {
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter var(--transition), opacity var(--transition);
  flex-shrink: 0;
}
.logos-carousel-track img:hover { filter: grayscale(0%); opacity: 1; }

/* ── WorkJoy Live (#8) ────────────────────────────────────── */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.live-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.live-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.live-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}
.live-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── About / Team ─────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top center;
}
.team-card-body { padding: 1.75rem; }
.team-card-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-card-body .role {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.team-card-body p { font-size: 0.875rem; color: var(--color-text-light); }
.team-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.team-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.team-social a:hover { background: var(--color-primary); color: var(--color-white); }

/* ── Credentials List ─────────────────────────────────────── */
.credentials-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-bg-gray);
}
.credentials-list li:last-child { border-bottom: none; }
.credentials-list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── About Carousels (#7) ─────────────────────────────────── */
/* Reuse logos-carousel-wrap but with white bg variant */
.logos-carousel-wrap.on-white::before {
  background: linear-gradient(to right, var(--color-bg), transparent);
}
.logos-carousel-wrap.on-white::after {
  background: linear-gradient(to left, var(--color-bg), transparent);
}

/* ── Services Detail Page ─────────────────────────────────── */
.service-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--color-bg-gray);
}
.service-section:last-of-type { border-bottom: none; }
.service-section:nth-child(even) { background: var(--color-bg-light); }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  filter: invert(52%) sepia(80%) saturate(700%) hue-rotate(345deg) brightness(100%) contrast(95%);
}
.service-detail h2 { margin-bottom: 0.5rem; }
.service-detail .service-tagline {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.service-detail p { margin-bottom: 1rem; font-size: 0.95rem; }

.service-sidebar {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--color-primary);
}
.service-sidebar h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: var(--color-dark); }
.service-sidebar ul { padding: 0; }
.service-sidebar ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.service-sidebar ul li:last-child { border-bottom: none; }
.service-sidebar ul li::before {
  content: '→';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}
/* ── Video Testimonials ───────────────────────────────────────── */
.video-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.video-testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 9:16 aspect ratio container */
.video-testimonial-wrap {
  position: relative;
  width: 100%;
  padding-top: 177.78%;   /* 16/9 * 100 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}
.video-testimonial-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-testimonial-caption {
  margin-top: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.video-testimonial-caption strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
}
.video-testimonial-caption span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ── Book Section ─────────────────────────────────────────── */
.book-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}
.book-cover-wrap {
  position: sticky;
  top: 100px;
}
.book-cover-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.book-content h2 { margin-bottom: 0.5rem; }
.book-content .book-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.book-content p { font-size: 0.95rem; }
.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.book-meta-item {
  background: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}
.book-meta-item span { color: var(--color-primary); }

/* ── Contact Section ──────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p  { font-size: 0.95rem; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.contact-detail .icon {
  width: 36px; height: 36px;
  background: rgba(245,122,32,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #DDD;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245,122,32,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dk) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../brand/workjoy-w-transparent.svg') center/400px no-repeat;
  opacity: 0.06;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-banner p  { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }/* ── Page Banner (#10) ──────────────────────────────────────────── */
/* Taller, no dark overlay — bright and vibrant */
.page-banner {
  padding: 0;
  padding-top: 84px;             /* offset for fixed navbar so image top is not hidden */
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
}

.page-banner-bg {
  position: absolute;
  top: 84px;                         /* start below fixed navbar so image top is visible */
  left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center top;   /* anchor to top so heads are never cropped */
  background-repeat: no-repeat;
  /* NO dark overlay; subtle bottom gradient for text contrast only */
}

/* Subtle gradient at bottom only for text legibility */
.page-banner-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 1.5rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-banner h1 { color: var(--color-white); margin-bottom: 0.75rem; }
.page-banner p { color: rgba(255,255,255,0.88); max-width: 600px; font-size: 1.05rem; }

/* ── Subpage hero template variant (light background, no dark overlay) ── */
.page-banner--template .page-banner-bg::after { display: none; }
.page-banner--template .page-banner-bg { background-size: cover; background-position: center center; }
.page-banner--template .page-banner h1,
.page-banner--template h1 { color: var(--color-dark) !important; }
.page-banner--template .page-banner-content p,
.page-banner--template p { color: var(--color-text) !important; }

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 60px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-tagline { font-size: 0.95rem !important; font-weight: 600; color: var(--color-primary) !important; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 0.5rem !important; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-primary); color: var(--color-white); }

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-primary); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--color-primary); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--color-primary); }

/* ── Scroll Animations ────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible { opacity: 1; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .video-testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro img { max-width: 500px; margin: 0 auto; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail.reverse { direction: ltr; }
  .book-layout { grid-template-columns: 240px 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .live-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .video-testimonials-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .section-lg { padding: 4.5rem 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 7rem 1.5rem 4rem; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-arrow { display: none; }

  .brand-strip-inner { flex-direction: column; }
  .brand-def { padding: 1.5rem 1.25rem; }
  .brand-def + .brand-def::before { display: none; }
  .brand-operator { padding: 0.5rem 0; min-width: auto; font-size: 1.5rem; }

  .services-group-row { gap: 0.75rem; }
  .service-card { min-width: 140px; padding: 1.25rem 0.75rem 1rem; }

  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .book-layout { grid-template-columns: 1fr; }
  .book-cover-wrap { position: static; max-width: 260px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .live-grid { grid-template-columns: 1fr; }
  .page-banner { min-height: 300px; }
}

@media (max-width: 480px) {
  .services-group-row { flex-direction: column; }
  .service-card { min-width: unset; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-checklist { flex-direction: column; gap: 0.4rem; }
  .logos-carousel-track img { height: 34px; }
  /* Hero banner: let the banner height be driven by the image aspect ratio
     on mobile so landscape images are not over-cropped in portrait viewports.
     Images are ~1.5:1 landscape, so height = 66.7vw keeps the full image visible. */
  .page-banner { min-height: unset; height: 66.7vw; max-height: 340px; }
  .page-banner-bg { background-size: cover; background-position: top center !important; }
}


/* -- FAQ Section (AEO) ---------------------------------------- */
.homepage-faq {
  padding: 5rem 0;
  background: var(--color-bg-light);
}
.homepage-faq.faq-alt-bg {
  background: #EDEDF2;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 2.5rem;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-item:nth-child(odd) {
  border-right: 1px solid rgba(0,0,0,0.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.5;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question[aria-expanded="true"] { color: var(--color-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.65rem;
  transition: transform 0.3s ease, background var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--color-dark);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.75;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--color-primary); text-decoration: underline; }
.faq-footer {
  margin-top: 3rem;
  text-align: center;
}
.faq-footer p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.section-subtitle {
  max-width: 680px;
  margin: 0.75rem auto 0;
  color: var(--color-text-light);
  font-size: 1.05rem;
}
.section-divider {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}
.btn-outline-dark {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-dark);
  border-radius: 50px;
  color: var(--color-dark);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-outline-dark:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item:nth-child(odd) { border-right: none; }
  .faq-question { padding: 1rem; font-size: 0.9rem; }
  .faq-answer { padding: 0 1rem 1rem; }
}


/* ── Book Page: Review Pull Quotes ──────────────────────────── */
.book-pull-quote {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 280px;
  flex: 1 1 220px;
  position: relative;
}
.book-pull-quote p {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}
.book-pull-icon {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-primary);
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

/* ── Book Page: Sample Chapter Layout ───────────────────────── */
.book-sample-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.book-sample-image {
  text-align: center;
}
.book-author-quote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(245,122,32,0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .book-sample-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .book-sample-image {
    order: -1;
  }
  .book-pull-quote {
    max-width: 100%;
  }
}


/* ── Book Review Two-Column Grid ─────────────────────────────── */
.book-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.book-review-image {
  display: flex;
  align-items: center;
}

.book-review-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.book-review-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .book-review-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .book-review-image img {
    max-width: 100%;
  }
}

/* ── Responsive fixes for new sections (480px) ───────────────── */
@media (max-width: 480px) {
  /* Book sample chapter: constrain image on very small screens */
  .book-sample-layout {
    gap: 1.5rem;
  }
  .book-sample-image img {
    max-width: 100%;
    width: 100%;
  }

  /* Book review grid: ensure image does not overflow */
  .book-review-grid {
    gap: 1.5rem;
  }
  .book-review-image img {
    max-width: 100%;
    width: 100%;
  }

  /* Book review note: tighten text sizing */
  .book-review-note h2 {
    font-size: 1.4rem;
  }
  .book-review-note p {
    font-size: 0.9rem;
  }

  /* FAQ section: prevent heading overflow */
  .homepage-faq .section-title,
  .services-faq .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  /* Snapshot CTA: stack feature cards cleanly */
  .snapshot-features {
    gap: 1rem;
  }
}

/* ── Testimonials Carousel ─────────────────────────────────────── */
.testimonials-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
}

.tc-track {
  position: relative;
  min-height: 260px;
}

.tc-slide {
  display: none;
  animation: tcFadeIn 0.5s ease;
}

.tc-slide.active {
  display: block;
}

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

.tc-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 3rem;
  text-align: center;
  border-top: 4px solid var(--color-primary);
}

.tc-quote-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.tc-card blockquote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-text);
  font-style: italic;
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: none;
}

.tc-card cite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-style: normal;
}

.tc-card cite strong {
  font-size: 0.95rem;
  color: var(--color-dark);
  font-weight: 700;
}

.tc-card cite span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.tc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.tc-arrow:hover {
  background: var(--color-primary-dk);
  transform: translateY(-60%) scale(1.08);
}

.tc-arrow-prev { left: -56px; }
.tc-arrow-next { right: -56px; }

.tc-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.tc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.tc-dot.active,
.tc-dot:hover {
  background: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .tc-arrow-prev { left: 0; }
  .tc-arrow-next { right: 0; }
  .tc-card { padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .tc-card { padding: 1.5rem 1rem; }
  .tc-card blockquote { font-size: 1rem; }
  .tc-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
}
