/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — Single consolidated stylesheet
   All classes prefixed with "about-" to avoid collisions.
   Fonts: Montserrat (section headings, 900 uppercase)
          DM Sans (body, h1)
          DM Serif Display (em / italic accents, team names)
   Buttons: pill-shaped matching index btn-pill-outline & btn-pill-gradient
   Labels:  green pill with index-matching box-shadow
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════
   PAGE WRAPPER — scoped variables
═══════════════════════════════ */
.about-page {
  --about-green:        #1FBC51;
  --about-green-dark:   #17a044;
  --about-green-light:  #E9F8EF;
  --about-ink:          #0f0f0f;
  --about-mid:          #444;
  --about-muted:        #888;
  --about-faint:        #666;
  --about-nav-h:        66px;

  font-family: 'DM Sans', sans-serif;
  color: var(--about-ink);
  background: #fff;
  overflow-x: hidden;
  --font-heading:   'Montserrat', sans-serif;
}


/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.about_abt_section{
  position: relative;
  /* min-height: 110vh; */
  overflow: hidden;
}
.about-hero {
  position: relative;
  min-height: 80vh;
  padding-top: var(--about-nav-h, 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #fff url(/images/abt-hero-bg.png) center / cover no-repeat;
}

.about-hero-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* H1 — DM Sans 700, matching index h1 */
.about-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.03;
  color: #0f0f0f;
  margin: 0 0 24px;
}

/* em — DM Serif Display italic, matching index h1 em */
.about-hero-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -2px;
}

.about-hero-desc {
  font-size: 17px;
  color: #666;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 36px;
}

.about-hero-cta {
  display: flex;
  gap: 12px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Pill outline — matches index .btn-pill-outline ── */
.about-btn-outline {
  background: #fff;
  border: 1.5px solid #d1d5db;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  text-decoration: none;
  display: inline-block;
}

.about-btn-outline:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}

/* ── Pill gradient — matches index .btn-pill-gradient ── */
.about-btn-gradient {
  background: linear-gradient(135deg, #060e22 0%, #0b2a15 35%, #179740 65%, #1FBC51 100%);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  box-shadow:
    0 4px 20px rgba(31,188,81,0.35),
    0 1px 6px rgba(6,14,34,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.about-btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: translateX(-100%);
  animation: about-shimmer 2.5s infinite 1s;
}

@keyframes about-shimmer {
  to { transform: translateX(100%); }
}

.about-btn-gradient:hover {
  box-shadow: 0 6px 28px rgba(31,188,81,0.55), 0 2px 8px rgba(6,14,34,0.4);
  transform: translateY(-1px);
}


/* ═══════════════════════════════
   STATS / MISSION
═══════════════════════════════ */
.about-stats-section {
  padding: 80px 40px 100px;
  background: #fff;
}

.about-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 20px;
  align-items: stretch;
}

.about-mission-card {
  background:  linear-gradient(150deg, rgb(13, 158, 62) 0%, rgb(11, 122, 50) 55%, rgb(7, 77, 32) 100%);
  border-radius: 24px;
  padding: 36px 32px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 420px;
}

.about-mission-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.about-mission-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-mission-photo {
  flex: 1;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  margin-top: auto;
}

.about-mission-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  min-height: 200px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: #f0faf4;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s, transform 0.2s;
}

.about-stat-card:hover {
  box-shadow: 0 8px 32px rgba(31,188,81,0.15);
  transform: translateY(-3px);
}

.about-stat-card:last-child { background: #e9f8ef; }

.about-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 900;
  color: #0f0f0f;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 15px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 20px;
}

.about-stat-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

.about-stat-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}


/* ═══════════════════════════════
   SHARED SECTION HEADER ATOMS
═══════════════════════════════ */

/* Pill eyebrow label — matches index .features-label / .hiw-label */
.about-section-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #1FBC51;
  border: 1.5px solid #f4f3fa;
  border-radius: 20px;
  padding: 10px 20px;
  margin-bottom: 20px;
  letter-spacing: 0.1px;
  box-shadow:
    rgba(42,40,46,0.06) 0px 10px 10px -3.75px,
    rgba(42,40,46,0.16) 0px 2.289px 2.289px -2.5px,
    rgba(42,40,46,0.18) 0px 0.602px 0.602px -1.25px;
}

/* Section h2 — Montserrat 900 uppercase, matching index .features-title */
.about-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #0f0f0f;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Green word inside title — matches index .heading-accent */
.about-accent {
  color: #17a044;
}

.about-section-subtitle {
  font-size: 16px;
  color: #888;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}


/* ═══════════════════════════════
   VALUES MARQUEE SECTION
═══════════════════════════════ */
.about-values-section {
  padding: 80px 0 100px;
  background: #f9f9fb;
  overflow: hidden;
}

.about-values-header {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 40px;
}

.about-values-track-wrap {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.about-values-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.about-value-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 28px 24px 32px;
  width: 300px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.22s, transform 0.22s;
}

.about-value-card:hover {
  box-shadow: 0 8px 32px rgba(31,188,81,0.12);
  transform: translateY(-3px);
}

.about-value-icon {
 width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border-radius: var(--r-md);
    background: var(--white);
    border: 1.5px solid var(--green-border);
    transition: 0.28s;
    color: var(--green);
    margin-bottom: 56px;
}

.about-value-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0f0f0f;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-value-desc {
  font-size: 13.5px;
  color: #888;
  line-height: 1.65;
}


/* ═══════════════════════════════
   TEAM CAROUSEL SECTION
═══════════════════════════════ */
.about-team-section {
  width: 100%;
  padding: 100px 40px 110px;
  background: #fff;
  text-align: center;
}

.about-team-header {
  max-width: 1100px;
  margin: 0 auto 48px;
}

/* Carousel */
.about-carousel-outer {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.about-carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* Card */
.about-team-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 220px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}

.about-team-card:hover {
  box-shadow: 0 8px 32px rgba(31,188,81,0.13);
  transform: translateY(-3px);
}

.about-team-card-top {
  padding: 22px 20px 12px;
}

.about-team-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1.2;
  margin-bottom: 4px;
}

.about-team-card-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1FBC51;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Photo */
.about-team-card-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #e8e6e0;
}

.about-team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.about-team-card:hover .about-team-card-photo img {
  transform: scale(1.04);
}

/* Social icons inside photo */
.about-team-card-socials {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.about-team-card-social-btn {
  /* width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12); */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(221, 221, 221, 0.616);
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 6px;
}

.about-team-card-social-btn:hover {
  background: #fff;
  transform: translateY(-2px);
}

.about-team-card-social-btn svg {
  width: 14px;
  height: 14px;
  fill: #222;
}

/* No-photo fallback */
.about-team-card-photo.about-no-photo {
  background: linear-gradient(135deg, #e2e0db 0%, #ccc9c1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-no-photo-initials {
  font-family: 'DM Serif Display', serif;
  font-size: 48px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}

/* Nav: prev/next + dots */
.about-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.about-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.about-carousel-btn:hover {
  background: #1FBC51;
  border-color: #1FBC51;
  transform: scale(1.06);
}

.about-carousel-btn:hover svg { stroke: #fff; }

.about-carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.about-carousel-btn:disabled:hover {
  background: #fff;
  border-color: #ddd;
}

.about-carousel-btn:disabled:hover svg { stroke: #333; }

.about-carousel-btn svg {
  width: 16px;
  height: 16px;
  stroke: #333;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.about-carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.about-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}

.about-carousel-dot.active {
  background: #1FBC51;
  width: 20px;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   All rules scoped to about-* classes only
═══════════════════════════════════════════════════════ */

/* ── ≤ 1024px: tighten stats grid ── */
@media (max-width: 1024px) {
  .about-stats-inner {
    grid-template-columns: 340px 1fr;
  }
}

/* ── ≤ 960px: stack stats, 2-up team cards ── */
@media (max-width: 960px) {
  .about-stats-section     { padding: 60px 24px 80px; }
  .about-stats-inner       { grid-template-columns: 1fr; }
  .about-mission-card      { min-height: 300px; }
  .about-stat-grid         { grid-template-columns: 1fr 1fr; }
  .about-team-section      { padding: 80px 24px 90px; }
  .about-team-card         { flex: 0 0 calc(50% - 8px); min-width: 180px; }
}

/* ── ≤ 768px: mobile hero, stack buttons, tighten values ── */
@media (max-width: 768px) {
  .about-hero-text     { padding: 28px 20px 44px; }
  .about-hero-title    { font-size: clamp(34px, 9vw, 58px); letter-spacing: -2px; }
  .about-hero-desc     { font-size: 15px; }
  .about-hero-cta      { flex-direction: row; align-items: stretch; gap: 10px; }
  .about-btn-outline,
  .about-btn-gradient  {  text-align: center; justify-content: center; }

  .about-values-section  { padding: 60px 0 80px; }
  .about-values-header   { padding: 0 20px; margin-bottom: 40px; }
  .about-section-title   { font-size: clamp(22px, 6vw, 36px); letter-spacing: -1px; }
  .about-section-subtitle { font-size: 14px; }
  .about-value-card      { width: 250px; padding: 22px 18px 26px; }
  .about-value-icon      { margin-bottom: 36px; }

  .about-team-section    { padding: 60px 20px 70px; }
}

/* ── ≤ 640px: single-column stats, full-width team cards ── */
@media (max-width: 640px) {
  .about-stats-section   { padding: 44px 16px 60px; }
  .about-stat-grid       { grid-template-columns: 1fr; gap: 12px; }
  .about-stat-card       { padding: 22px 18px; }
  .about-stat-number     { font-size: clamp(32px, 8vw, 48px); }
  .about-mission-card    { padding: 26px 18px 0; }
  .about-team-card       { flex: 0 0 100%; min-width: 0; }
  .about-team-section    { padding: 48px 16px 60px; }
}

/* ── ≤ 480px: smallest phones ── */
@media (max-width: 480px) {
  .about-hero-title      { font-size: clamp(28px, 10vw, 42px); letter-spacing: -1.5px; }
  .about-hero-desc       { font-size: 14px; }
  .about-section-label   { font-size: 13px; padding: 8px 14px; }
  .about-section-title   { font-size: clamp(20px, 7vw, 30px); }
  .about-value-card      { width: 220px; }
  .about-team-card-name  { font-size: 20px; }
}

/* ── ≤ 380px: very small phones ── */
@media (max-width: 380px) {
  .about-hero-title      { font-size: clamp(24px, 10vw, 34px); letter-spacing: -1px; }
  .about-btn-outline,
  .about-btn-gradient    { padding: 12px 20px; font-size: 13px; }
  .about-stat-number     { font-size: clamp(26px, 9vw, 38px); }
  .about-carousel-btn    { width: 36px; height: 36px; }
}