/*
 Theme Name: Pearl Child
 Template: pearl
 Description: Child theme for Real Hands-on customization on top of Pearl.
 Author: Real Hands-on
 Version: 1.0.0
*/

/* Brand design tokens */
:root {
  --rho-red:      #E05252;
  --rho-red-dark: #C43C3C;
  --rho-charcoal: #1E1E1E;
  --rho-dark:     #141414;
  --rho-mid:      #2A2A2A;
  --rho-grey:     #6B6B6B;
  --rho-light:    #F5F4F2;
  --rho-white:    #FFFFFF;

  /* Program accent colors */
  --ckpi-green:   #00A54B;
  --csbp-blue:    #0099E0;
  --cbsc-purple:  #7869F0;
  --cokr-amber:   #F0A500;
  --cod-teal:     #00A89D;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
}

body {
  font-family: var(--font-body);
  color: var(--rho-charcoal);
}

/* Basic utility & layout classes reused across new components */
.rho-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.rho-section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rho-red);
  margin-bottom: 16px;
}

.rho-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--rho-charcoal);
}

.rho-section-title span {
  color: var(--rho-red);
}

.rho-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.rho-btn-primary {
  background: var(--rho-red);
  color: #fff;
}

.rho-btn-primary:hover {
  background: var(--rho-red-dark);
  transform: translateY(-1px);
}

.rho-btn-outline {
  background: transparent;
  color: var(--rho-charcoal);
  border: 1.5px solid #D0D0D0;
}

.rho-btn-outline:hover {
  border-color: var(--rho-red);
  color: var(--rho-red);
}

/* Sticky WhatsApp base style shared across templates */
.rho-wa-sticky {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.2s;
}

.rho-wa-sticky:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ── Homepage: full-width hero slider (rolling banners) ─────────────────── */
.rho-hero-slider {
  position: relative;
  width: 100%;
  min-height: 92vh;
  margin-top: 0;
  overflow: hidden;
}

.rho-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 92vh;
}

.rho-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  background: var(--rho-dark);
}

.rho-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(224, 82, 82, 0.15) 0%, transparent 55%),
              radial-gradient(ellipse 60% 50% at 20% 80%, var(--rho-slide-accent) 0%, transparent 40%);
  opacity: 0.4;
  pointer-events: none;
}

.rho-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.rho-hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  text-align: center;
}

.rho-hero-slide-content {
  max-width: 720px;
  margin: 0 auto;
}

.rho-hero-slide-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rho-slide-accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.2);
}

.rho-hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
}

.rho-hero-slide-subtitle {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 32px;
}

.rho-btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  background: var(--rho-slide-accent);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rho-btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* Hero navigation */
.rho-hero-nav {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.rho-hero-arrow {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.rho-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.rho-hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rho-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.rho-hero-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

.rho-hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Stats strip directly under hero */
.rho-hero-stats {
  background: var(--rho-charcoal);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rho-hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.rho-hero-stat {
  text-align: center;
}

.rho-hero-stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

.rho-hero-stat-num sup {
  color: var(--rho-red);
  font-size: 0.6em;
  top: -0.4em;
}

.rho-hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: block;
}

/* Stats strip (main stats bar) */
.stats-strip {
  background: var(--rho-charcoal);
  padding: 56px 0;
}

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

.stat-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num span {
  color: var(--rho-red);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* Programs section */
.programs {
  padding: 96px 0;
  background: var(--rho-light);
}

.programs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
  gap: 24px;
  flex-wrap: wrap;
}

/* Programs grid, stats strip, testimonials, schedule, clients, CTA etc.
   Additional detailed styles can be expanded here as needed, based on the prototype. */

/* Program page layout */
.rho-program-hero {
  background: var(--rho-dark);
  color: #fff;
  padding: 80px 0 40px;
}

.rho-program-hero-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.rho-program-badge-wrap {
  margin-bottom: 20px;
}
.rho-program-badge {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.rho-program-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.rho-program-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
}

.rho-program-hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rho-program-panel-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rho-program-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.rho-program-panel-list li {
  font-size: 14px;
  margin-bottom: 6px;
}

.rho-program-panel-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rho-program-body {
  padding: 60px 0 80px;
  background: #fff;
}

.rho-program-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.rho-program-main {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rho-charcoal);
}

.rho-program-aside {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  border: 1px solid #ececec;
}

.rho-program-aside-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rho-program-aside-text {
  font-size: 14px;
  color: var(--rho-grey);
  margin-bottom: 16px;
}

.rho-program-form input,
.rho-program-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.rho-program-form textarea {
  resize: vertical;
}

/* Program page: testimonials + Register Now */
.rho-program-testimonials {
  padding: 72px 0;
  background: var(--rho-light);
}

.rho-program-testimonials .rho-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rho-red);
  margin-bottom: 14px;
  display: block;
}

.rho-program-testimonials .rho-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--rho-charcoal);
  margin-bottom: 36px;
}

.rho-program-testimonials .rho-heading span {
  color: var(--rho-red);
}

.rho-program-test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.rho-program-test-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 24px;
}

.rho-program-test-stars {
  color: #E89000;
  font-size: 14px;
  margin-bottom: 12px;
}

.rho-program-test-quote {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rho-charcoal);
  margin: 0 0 16px;
  font-style: italic;
}

.rho-program-test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

.rho-program-test-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.rho-program-test-author strong {
  display: block;
  font-size: 14px;
  color: var(--rho-charcoal);
}

.rho-program-test-author em {
  display: block;
  font-size: 12px;
  color: var(--rho-grey);
  font-style: normal;
  margin-top: 2px;
}

.rho-program-test-cta {
  text-align: center;
}

.rho-program-test-cta .rho-btn {
  padding: 14px 32px;
  font-size: 15px;
}

/* Service page layout */
.rho-service-hero {
  background: var(--rho-light);
  padding: 80px 0 40px;
}

.rho-service-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.rho-service-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.rho-service-subtitle {
  font-size: 16px;
  color: var(--rho-grey);
  max-width: 520px;
}

.rho-service-metrics {
  display: flex;
  gap: 24px;
}

.rho-service-metric-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--rho-charcoal);
}

.rho-service-metric-num span {
  color: var(--rho-red);
}

.rho-service-metric-label {
  font-size: 13px;
  color: var(--rho-grey);
}

.rho-service-body {
  padding: 60px 0 80px;
  background: #fff;
}

.rho-service-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.rho-service-main {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rho-charcoal);
}

.rho-service-aside {
  background: #fafafa;
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  border: 1px solid #ececec;
}

.rho-service-aside-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rho-service-aside-text {
  font-size: 14px;
  color: var(--rho-grey);
  margin-bottom: 16px;
}

.rho-service-form input,
.rho-service-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.rho-service-form textarea {
  resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .rho-hero-slider,
  .rho-hero-slide {
    min-height: 85vh;
  }

  .rho-hero-slide-inner {
    padding: 80px 20px 70px;
  }

  .rho-hero-slide-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .rho-hero-slide-subtitle {
    font-size: 15px;
  }

  .rho-hero-stats-inner {
    gap: 28px;
  }

  .rho-hero-stat-num {
    font-size: 32px;
  }

  .rho-hero-nav {
    bottom: 20px;
  }

  .rho-hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-num {
    font-size: 40px;
  }

  .rho-program-hero-inner,
  .rho-program-body-grid,
  .rho-service-hero-inner,
  .rho-service-body-grid {
    grid-template-columns: 1fr;
    display: block;
  }

  .rho-program-hero,
  .rho-program-body,
  .rho-service-hero,
  .rho-service-body {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .rho-hero-stats-inner {
    flex-direction: column;
    gap: 16px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}


