/**
 * RS Cricket Institute - What We Do Page Stylesheet (what-we-do.css)
 * Loaded exclusively on page-what-we-do.php (What We Do Page)
 */

.what-we-do-page-wrapper {
  background-color: var(--color-white, #FFFFFF);
  color: var(--color-text-main, #1A1109);
  overflow-x: clip;
}

/* Gold Dash Accent Line */
.gold-dash-line {
  width: 28px;
  height: 2px;
  background-color: var(--color-primary, #C8991E);
  display: inline-block;
  vertical-align: middle;
}

/* ========================================================
   1. HERO SECTION (BANNER WITH STATS)
   ======================================================== */
.what-we-do-page-wrapper .page-hero-dark {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 6.5rem 0 5.5rem;
  position: relative;
}

.what-we-do-page-wrapper .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(26, 17, 9, 0.88) 0%,
    rgba(26, 17, 9, 0.72) 50%,
    rgba(26, 17, 9, 0.45) 100%
  );
  opacity: var(--hero-overlay-opacity, 1);
  z-index: 1;
  pointer-events: none;
}

.wwd-badge-text {
  color: var(--color-primary, #C8991E);
  font-size: var(--fs-xs, 0.8rem);
  letter-spacing: 2px;
}

.wwd-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.wwd-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  max-width: 540px;
  line-height: 1.7;
}

/* Stat Cards (Floating Glassmorphism) */
.wwd-stat-card {
  background: rgba(26, 17, 9, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  min-width: 130px;
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.wwd-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 153, 30, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.wwd-stat-number {
  color: var(--color-primary, #C8991E);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.wwd-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.38;
}

/* ========================================================
   2. WHO WE ARE: HOW WE GOT STARTED (WHITE)
   ======================================================== */
#wwd-story,
.wwd-story-section {
  background-color: #FFFFFF !important;
  padding: 5.5rem 0;
}

.wwd-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wwd-story-badge span:last-child {
  color: var(--color-primary, #C8991E);
  font-size: var(--fs-xs, 0.8rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wwd-story-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark-base, #1A1109);
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.wwd-story-text {
  font-family: var(--font-body);
  color: var(--navbar-nav-color, #7A6A4A);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

/* Feature Callout Cards */
.wwd-story-card {
  background-color: #FAF6EF;
  border-radius: 12px;
  border: 1px solid rgba(26, 17, 9, 0.04);
  border-left: 3.5px solid var(--color-primary, #C8991E);
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.wwd-story-card:hover {
  transform: translateX(4px);
  background-color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(200, 153, 30, 0.12);
}

.wwd-story-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background-color: rgba(200, 153, 30, 0.12);
  color: var(--color-primary, #C8991E);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(200, 153, 30, 0.18);
  --icon-image-size: 20px;
}

.wwd-story-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-base, #1A1109);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.wwd-story-card-desc {
  font-family: var(--font-body);
  color: var(--navbar-nav-color, #7A6A4A);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 3-Image Collage */
.wwd-story-img-top img {
  border-radius: 14px;
  max-height: 290px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(26, 17, 9, 0.06);
  display: block;
  transition: transform 0.4s ease;
}

.wwd-story-img-bottom img {
  border-radius: 14px;
  height: 190px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(26, 17, 9, 0.06);
  display: block;
  transition: transform 0.4s ease;
}

.wwd-story-img-top:hover img,
.wwd-story-img-bottom:hover img {
  transform: scale(1.02);
}

/* ========================================================
   3. MEET OUR FOUNDER (WARM CREAM)
   ======================================================== */
#wwd-founder,
.wwd-founder-section {
  background-color: #FAF6EF !important;
  padding: 5.5rem 0;
}

.wwd-founder-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-primary, #C8991E);
  box-shadow: 0 16px 36px rgba(26, 17, 9, 0.08);
  position: relative;
}

.wwd-founder-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.wwd-founder-badge {
  background-color: var(--color-dark-base, #1A1109);
  color: var(--color-primary, #C8991E);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.45rem 0.95rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(200, 153, 30, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wwd-founder-tag {
  color: var(--color-primary, #C8991E);
  font-size: var(--fs-xs, 0.8rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wwd-founder-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark-base, #1A1109);
  line-height: 1.15;
}

.wwd-founder-role {
  color: var(--color-primary, #C8991E);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.wwd-founder-bio {
  font-family: var(--font-body);
  color: var(--navbar-nav-color, #7A6A4A);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.wwd-founder-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
  color: var(--color-dark-base, #1A1109);
  line-height: 1.5;
}

.wwd-bullet-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background-color: var(--color-primary, #C8991E);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ========================================================
   4. WHAT DRIVES US: WHAT YOU CAN EXPECT (DARK FULL WIDTH)
   ======================================================== */
#wwd-drives,
.wwd-drives-section {
  background-color: var(--color-dark-base, #1A1109) !important;
  color: #FFFFFF;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wwd-drives-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wwd-drives-badge span:last-child {
  color: var(--color-primary, #C8991E);
  font-size: var(--fs-xs, 0.8rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wwd-drives-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
}

.wwd-drives-subtext {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 620px;
}

.btn-vm-gold {
  background-color: var(--navbar-btn-bg, #C8991E) !important;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.72rem 1.65rem;
  border-radius: 8px;
  border: 1px solid var(--navbar-btn-bg, #C8991E);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-vm-gold:hover {
  background-color: var(--navbar-btn-hover-bg, #1A1109) !important;
  color: #FFFFFF !important;
  border-color: var(--navbar-btn-hover-bg, #1A1109) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 153, 30, 0.35);
}

/* 6 Dark Expectation Cards */
.wwd-drive-card {
  background: #24180F;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.2rem 1.85rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wwd-drive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  border-color: rgba(200, 153, 30, 0.35);
}

.wwd-drive-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(200, 153, 30, 0.12);
  color: var(--color-primary, #C8991E);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(200, 153, 30, 0.2);
  --icon-image-size: 20px;
}

.wwd-drive-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary, #C8991E);
  line-height: 1;
  letter-spacing: -0.5px;
}

.wwd-drive-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.wwd-drive-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ========================================================
   5. HOW WE SEE IT: DEVELOPING CRICKETERS (WHITE)
   ======================================================== */
#wwd-vision,
.wwd-vision-section {
  background-color: #FFFFFF !important;
  padding: 5.5rem 0;
}

.wwd-vision-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 17, 9, 0.08);
}

.wwd-vision-frame img {
  width: 100%;
  height: auto;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.wwd-vision-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 17, 9, 0.95) 0%,
    rgba(26, 17, 9, 0.8) 70%,
    transparent 100%
  );
  padding: 2.2rem 1.8rem 1.8rem;
}

.wwd-vision-tag {
  color: var(--color-primary, #C8991E);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
}

.wwd-vision-loc-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.wwd-vision-loc-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
}

.wwd-vision-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wwd-vision-badge span:last-child {
  color: var(--color-primary, #C8991E);
  font-size: var(--fs-xs, 0.8rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.wwd-vision-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark-base, #1A1109);
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.wwd-vision-desc {
  font-family: var(--font-body);
  color: var(--navbar-nav-color, #7A6A4A);
  font-size: 0.98rem;
  line-height: 1.75;
}

.wwd-vision-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--color-dark-base, #1A1109);
  line-height: 1.6;
}

.wwd-vision-bullet-item strong {
  font-weight: 700;
  color: var(--color-dark-base, #1A1109);
}

/* ========================================================
   RESPONSIVE & WINDOW HEIGHT RULE (> 750px)
   ======================================================== */
@media (min-height: 751px) {
  html,
  body {
    scroll-snap-type: none !important;
  }
  .what-we-do-page-wrapper .snap-section,
  .what-we-do-page-wrapper section.snap-section {
    min-height: auto !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

html.window-height-gt-750,
html.window-height-gt-750 body {
  scroll-snap-type: none !important;
}

html.window-height-gt-750 .what-we-do-page-wrapper .snap-section,
html.window-height-gt-750 .what-we-do-page-wrapper section.snap-section {
  min-height: auto !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

@media (max-width: 991.98px) {
  #wwd-story,
  .wwd-story-section,
  #wwd-founder,
  .wwd-founder-section,
  #wwd-drives,
  .wwd-drives-section,
  #wwd-vision,
  .wwd-vision-section {
    padding: 3.5rem 0;
  }
}

