/**
 * ClipPathPro 3.0 - About Us Page Styles
 * Standard: SSP-ELITE MASTER 3.0
 * Pixel-Perfect match to approved design mockup (Image 2)
 */

/* 1. Global Page Scope & Theme Tokens */
.about-portal-page {
  --teal: #008F83;
  --teal-dark: #00786E;
  --teal-light: #E6F5F3;
  --teal-accent: #00B4A4;
  --teal-glow: rgba(0, 180, 164, 0.18);
  --navy-dark: #090E17;
  --navy-deep: #0D1624;
  --navy-brand: #102538;
  --slate-dark: #1E293B;
  --slate-sub: #64748B;
  --slate-border: #E2E8F0;
  --slate-bg: #F8FAFC;
  font-family: var(--font-family-sans, 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif);
  color: var(--slate-dark);
}

.cpp-text-teal {
  color: #00B4A4 !important;
}

/* 2. Hero Section */
.about-hero {
  background: radial-gradient(circle at 80% 25%, rgba(0, 180, 164, 0.16) 0%, rgba(9, 14, 23, 0) 55%),
              radial-gradient(circle at 20% 0%, rgba(16, 37, 56, 0.45) 0%, rgba(9, 14, 23, 0) 45%),
              #090E17;
  color: #ffffff;
  padding: 56px 0 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.about-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.95fr);
    gap: 48px;
  }
}

/* Hero Left Column */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 143, 131, 0.12);
  border: 1px solid rgba(0, 180, 164, 0.35);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #38BDF8;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.about-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00B4A4;
}

.about-hero-title {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
}

.about-hero-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 540px;
  margin: 0 0 28px;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00B4A4;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 180, 164, 0.3);
  border: 1px solid transparent;
}

.about-btn-primary:hover {
  background: #009688;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 180, 164, 0.4);
  color: #ffffff;
}

.about-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 37, 56, 0.6);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.about-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* 3 Hero Stats Row */
.about-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-stat-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0, 180, 164, 0.15);
  color: #00B4A4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-stat-icon-wrap svg {
  width: 16px;
  height: 16px;
}

.about-stat-label-wrap {
  display: flex;
  flex-direction: column;
}

.about-stat-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.about-stat-title {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.2;
}

/* Hero Right Column: Founder Showcase Card */
.about-hero-card-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-hero-founder-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 440px;
  width: 100%;
  background: #0d1624;
}

.about-hero-founder-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3. Founder Narrative Section */
.about-founder-section {
  background: #ffffff;
  padding: 72px 0 84px;
  position: relative;
}

.about-founder-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-founder-grid {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 64px;
  }
}

/* Founder Portrait with Offset Teal Backdrop */
.founder-portrait-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.founder-portrait-box {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1 / 1;
}

.founder-backdrop-teal {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  background: #00B4A4;
  border-radius: 24px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.founder-portrait-box:hover .founder-backdrop-teal {
  transform: translate(-3px, -3px);
}

.founder-portrait-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 16px 36px rgba(16, 37, 56, 0.14);
  display: block;
  background: #E2E8F0;
}

/* Founder Copy */
.founder-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.founder-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--teal);
  vertical-align: middle;
}

.founder-name {
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  font-weight: 800;
  color: var(--navy-brand);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1.2;
}

.founder-role {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-sub);
  margin: 0 0 18px;
}

.founder-lead-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 24px;
}

/* Founder Quote Box */
.founder-quote-card {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.founder-quote-mark {
  font-size: 3.5rem;
  line-height: 0.8;
  font-family: Georgia, serif;
  color: #99DDD6;
  font-weight: 700;
  flex-shrink: 0;
  user-select: none;
}

.founder-quote-text {
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

.founder-signature-wrap {
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
}

.founder-signature-img {
  height: 48px;
  width: auto;
  display: block;
}

/* 4. Core Services Section */
.about-services-section {
  background: var(--slate-bg);
  padding: 68px 0 80px;
  border-top: 1px solid var(--slate-border);
  border-bottom: 1px solid var(--slate-border);
}

.about-services-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.about-services-title-wrap {
  display: flex;
  flex-direction: column;
}

.about-services-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--navy-brand);
  letter-spacing: -0.02em;
  margin: 0;
}

.about-services-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.about-services-link:hover {
  color: var(--teal-dark);
  transform: translateX(2px);
}

/* 3-Column Service Cards */
.about-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 36px;
}

@media (min-width: 860px) {
  .about-svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-svc-card {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(16, 37, 56, 0.04);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: all 0.25s ease;
}

.about-svc-card:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1;
  box-shadow: 0 10px 28px rgba(16, 37, 56, 0.08);
}

.about-svc-card-media {
  width: 105px;
  flex-shrink: 0;
  background: #F1F5F9;
  position: relative;
  overflow: hidden;
}

.about-svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-svc-card-body {
  padding: 18px 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.about-svc-icon-box {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.about-svc-icon-box svg {
  width: 14px;
  height: 14px;
}

.about-svc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-brand);
  margin: 0 0 6px;
  line-height: 1.3;
}

.about-svc-desc {
  font-size: 0.75rem;
  color: var(--slate-sub);
  line-height: 1.45;
  margin: 0 0 14px;
  flex: 1;
}

.about-svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-brand);
  text-decoration: none;
  transition: color 0.15s;
}

.about-svc-btn:hover {
  color: var(--teal);
}

.about-svc-arrow-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00B4A4;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  transition: transform 0.2s;
}

.about-svc-btn:hover .about-svc-arrow-circle {
  transform: translateX(3px);
}

/* 5. Value Strip (4-Item Trust Row) */
.about-value-strip {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 14px rgba(16, 37, 56, 0.03);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .about-value-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .about-value-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-value-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-value-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 17px;
  height: 17px;
}

.about-value-content {
  display: flex;
  flex-direction: column;
}

.about-value-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-brand);
  line-height: 1.25;
}

.about-value-sub {
  font-size: 0.75rem;
  color: var(--slate-sub);
  line-height: 1.25;
}

/* 6. Ready to get started / Consultation Section */
.about-cta-section {
  background: radial-gradient(circle at 75% 20%, rgba(0, 180, 164, 0.12) 0%, rgba(9, 14, 23, 0) 50%),
              #090E17;
  color: #ffffff;
  padding: 68px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-cta-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
    gap: 48px;
  }
}

/* CTA Left */
.about-cta-eyebrow {
  font-size: 0.8125rem;
  color: #94A3B8;
  margin-bottom: 8px;
  font-weight: 500;
}

.about-cta-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px;
}

.about-cta-sub {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 480px;
  margin: 0 0 28px;
}

.about-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* CTA Right: Appointment Booking Card */
.about-cal-wrapper {
  position: relative;
}

.about-cal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  color: var(--slate-dark);
}

.about-cal-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.about-cal-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-cal-icon-badge svg {
  width: 17px;
  height: 17px;
}

.about-cal-title-wrap {
  display: flex;
  flex-direction: column;
}

.about-cal-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-brand);
  margin: 0;
  line-height: 1.25;
}

.about-cal-card-sub {
  font-size: 0.75rem;
  color: var(--slate-sub);
  margin: 0;
}

/* 2-Column Calendar Body inside Card */
.about-cal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--slate-border);
  border-bottom: 1px solid var(--slate-border);
  margin-bottom: 18px;
}

@media (min-width: 580px) {
  .about-cal-body {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Calendar month navigation */
.about-cal-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.about-cal-month-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-brand);
}

.about-cal-nav-btn {
  background: none;
  border: 1px solid var(--slate-border);
  border-radius: 4px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  transition: all 0.15s;
}

.about-cal-nav-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.about-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}

.about-cal-day-header {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94A3B8;
  padding-bottom: 4px;
}

.about-cal-cell {
  height: 26px;
  width: 26px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--slate-dark);
  cursor: pointer;
  transition: all 0.15s;
}

.about-cal-cell:hover:not(.is-muted) {
  background: var(--teal-light);
  color: var(--teal);
}

.about-cal-cell.is-selected {
  background: var(--teal) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.about-cal-cell.is-muted {
  color: #CBD5E1;
  pointer-events: none;
}

/* Time Slots Column */
.about-cal-time-col {
  display: flex;
  flex-direction: column;
}

.about-time-slot-btn {
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-dark);
  cursor: pointer;
  text-align: center;
  margin-bottom: 6px;
  transition: all 0.15s;
}

.about-time-slot-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.about-time-slot-btn.is-active {
  background: #00B4A4 !important;
  border-color: #00B4A4 !important;
  color: #ffffff !important;
}

/* Confirm Appointment Button */
.about-confirm-appt-btn {
  width: 100%;
  height: 44px;
  background: #00B4A4;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(0, 180, 164, 0.25);
}

.about-confirm-appt-btn:hover {
  background: #009688;
}

/* Script annotation with curved arrow beside widget */
.about-cal-annotation {
  position: absolute;
  top: 40px;
  right: -130px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .about-cal-annotation {
    display: flex;
  }
}

.about-cal-annotation-text {
  font-family: 'Caveat', 'Playfair Display', cursive, sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
  transform: rotate(-8deg);
}

.about-cal-annotation-arrow {
  width: 32px;
  height: 32px;
  color: #94A3B8;
  margin-left: 10px;
}

/* 7. Modal Overlay */
.about-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 14, 23, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
}

.about-modal-overlay.is-active {
  display: flex;
}

.about-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: aboutModalPop 0.25s ease-out;
}

@keyframes aboutModalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.about-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.about-modal-close:hover {
  color: var(--slate-dark);
}
