/* ═══════════════════════════════════════════════════════════════
   About Page — Custom overrides & additions
   Uses Econest base classes from main.css, only adds what's needed
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb image side ──────────────────────────────────── */
.about-breadcrumb-thumb {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.about-breadcrumb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .about-breadcrumb-thumb {
    min-height: 260px;
    clip-path: none;
  }
}

/* ── Why-us services check list ─────────────────────────────── */
.about-services {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 30px;
}

.about-services .service-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-services .service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--title-color, #15161C);
}

.about-services .service-item i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--theme-color-2, #85BF18);
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .about-services {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ── Tab content overrides for about history ─────────────────── */
.about-tab-year {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(0, 69, 64, 0.08);
  color: var(--theme-color-3, #004540);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.about-tab-reward {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title-color, #15161C);
  margin-bottom: 12px;
  line-height: 1.4;
}

.about-tab-text {
  color: var(--body-color, #868681);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── Team section custom layout ──────────────────────────────── */
.about-team-section {
  background-color: #f8f7f0;
}

.about-team-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
}

@media (max-width: 767px) {
  .about-team-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }
}

/* volunteer-card-4 placeholder for missing photo */
.volunteer-card-4 .thumb-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-cream, #f8f7f0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.volunteer-card-4 .thumb-placeholder i {
  font-size: 4rem;
  color: var(--theme-color-2, #85BF18);
  opacity: 0.4;
}

/* ── Testimonial section left-column layout ──────────────────── */
.about-testimonial-reviews {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.about-testimonial-reviews h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--theme-color-2, #85BF18);
  margin: 0;
  line-height: 1;
}

.about-testimonial-reviews h5 {
  font-size: 1rem;
  color: var(--title-color, #15161C);
  margin: 0;
}

/* Testimonial card style override for the Econest layout */
.about-testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(12, 28, 39, 0.06);
  border: 1px solid rgba(0, 69, 64, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-testimonial-card .rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.about-testimonial-card .rating i {
  color: #FFB400;
  font-size: 0.85rem;
}

.about-testimonial-card .rating span {
  font-weight: 700;
  color: var(--title-color, #15161C);
  margin-left: 4px;
}

.about-testimonial-card .review {
  flex: 1;
  margin-bottom: 20px;
}

.about-testimonial-card .review p {
  color: var(--body-color, #868681);
  line-height: 1.75;
  margin: 0;
}

.about-testimonial-card .author-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-testimonial-card .author-details .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-testimonial-card .author-details .author-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--theme-color-2, #85BF18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-testimonial-card .author-details .author-placeholder i {
  color: #fff;
  font-size: 1rem;
}

.about-testimonial-card .author-details h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--title-color, #15161C);
}

.about-testimonial-card .author-details h6 {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--body-color, #868681);
  margin: 0;
}

/* ── Achievement bar for "Pourquoi Nous" section ─────────────── */
.about-why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-why-stat {
  text-align: center;
  padding: 24px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-why-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--theme-color-2, #85BF18);
  margin-bottom: 6px;
}

.about-why-stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

@media (max-width: 991px) {
  .about-why-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .about-why-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-why-stat {
    padding: 18px 12px;
  }

  .about-why-stat h3 {
    font-size: 1.5rem;
  }
}

/* ── "Pourquoi Nous" grid section (light bg) ─────────────────── */
.about-reasons-section {
  background:
    radial-gradient(circle at left top, rgba(133, 191, 24, 0.06), transparent 24%),
    linear-gradient(180deg, #f8faf6 0%, #ffffff 100%);
}

.about-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-reason-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 69, 64, 0.06);
  box-shadow: 0 12px 32px rgba(12, 28, 39, 0.05);
  transition: transform 0.3s var(--ease-out-expo, ease), box-shadow 0.3s ease;
}

.about-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(12, 28, 39, 0.1);
}

.about-reason-card .icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(133, 191, 24, 0.12);
  color: var(--theme-color-3, #004540);
  font-size: 1.2rem;
}

.about-reason-card h3 {
  font-size: 1.05rem;
  color: var(--title-color, #15161C);
  margin-bottom: 10px;
}

.about-reason-card p {
  margin: 0;
  color: var(--body-color, #868681);
  line-height: 1.7;
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .about-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .about-reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About CTA footer bar ────────────────────────────────────── */
.about-cta-bar {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 69, 64, 0.06);
  box-shadow: 0 14px 32px rgba(12, 28, 39, 0.05);
}

.about-cta-bar p {
  margin: 0;
  color: var(--body-color, #868681);
  line-height: 1.7;
  max-width: 600px;
}

/* ── Contact info section at bottom ──────────────────────────── */
.about-contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.about-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--theme-color-3, #004540);
  color: #fff;
  transition: background 0.3s ease;
  text-decoration: none;
}

.about-contact-item:hover {
  background: var(--theme-color-2, #85BF18);
  color: #fff;
}

.about-contact-item .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.about-contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #fff;
}

.about-contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.about-contact-item.active {
  background: var(--theme-color-2, #85BF18);
}

@media (max-width: 767px) {
  .about-contact-bar {
    grid-template-columns: 1fr;
  }
}
