/* =========================================================
   About Page
   يعتمد على variables.css
   ========================================================= */

/* =========================================================
   1) Section Layout
   ========================================================= */
.about-page-mission-vision,
.about-page-what-we-do,
.about-page-how-we-work,
.about-page-team,
.final-cta {
  padding: 60px 0;
}

.about-page-mission-vision,
.about-page-how-we-work {
  background: var(--card);
}

.about-page-what-we-do,
.about-page-team {
  background: #f8fafb;
}

/* =========================================================
   2) Section Titles
   ========================================================= */
.sec-title-two h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.sec-title-two h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: 2px;
}

.sec-title-two .text {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   3) Mission & Vision
   ========================================================= */
.about-mission-card,
.about-vision-card {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-mission-card .inner-box,
.about-vision-card .inner-box {
  background: linear-gradient(135deg, var(--card) 0%, #f8fafb 100%);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  height: 100%;
  transition: all 0.3s ease;
}

.about-mission-card:hover .inner-box,
.about-vision-card:hover .inner-box {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 32px rgba(1, 146, 220, 0.18);
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--card) 0%, #f0f8ff 100%);
}

.about-mission-card h3,
.about-vision-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-mission-card h3 i,
.about-vision-card h3 i {
  font-size: 1.75rem;
  color: var(--brand-blue);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8ff;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.about-mission-card:hover h3 i,
.about-vision-card:hover h3 i {
  background: var(--brand-blue);
  color: #fff;
  transform: scale(1.1);
}

.about-mission-card .text,
.about-vision-card .text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

/* =========================================================
   4) Services
   ========================================================= */
.about-service-card {
  height: 100%;
  transition: all 0.3s ease;
}

.about-service-card .inner-box {
  background: var(--card);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.about-service-card:hover .inner-box {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 32px rgba(1, 146, 220, 0.18);
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--card) 0%, #f0f8ff 100%);
}

.about-service-card:focus-within .inner-box {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

.about-service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-service-card h3 i {
  font-size: 1.5rem;
  color: var(--brand-blue);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f8ff;
  border-radius: 10px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.about-service-card:hover h3 i {
  background: var(--brand-blue);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.about-service-card .text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   5) Process Steps
   ========================================================= */
.about-process-steps .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.about-process-step {
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--card) 0%, #f8fafb 100%);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  margin: 0 8px;
}

.about-process-step:nth-child(even) {
  transform: rotate(2deg);
}

.about-process-step::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.about-process-step:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 32px rgba(1, 146, 220, 0.18);
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--card) 0%, #f0f8ff 100%);
  z-index: 10;
}

.about-process-step:hover::before {
  opacity: 1;
  width: 6px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(1, 146, 220, 0.3);
  transition: all 0.3s ease;
}

.about-process-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 24px rgba(1, 146, 220, 0.4);
}

.about-process-step h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   6) Team
   ========================================================= */
.about-team-group {
  margin-top: 60px;
}

.about-team-group-title {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 16px;
  position: relative;
}

.about-team-group-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  border-radius: 2px;
}

.about-team-group-title i {
  color: var(--brand-blue);
  font-size: 1.5rem;
}

.about-shelter-member-card {
  padding: 24px 20px;
  background: var(--card);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-shelter-member-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 32px rgba(1, 146, 220, 0.18);
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--card) 0%, #f0f8ff 100%);
}

.shelter-member-photo {
  margin-bottom: 16px;
  position: relative;
}

.shelter-member-photo .member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-blue);
  transition: all 0.3s ease;
  display: block;
  background: #f0f8ff;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(1, 146, 220, 0.2);
}

.about-shelter-member-card:hover .member-img {
  border-color: var(--brand-blue-dark);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(1, 146, 220, 0.3);
}

.shelter-member-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.about-shelter-member-card:hover .shelter-member-name {
  color: var(--brand-blue);
}

.shelter-member-role {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

/* =========================================================
   7) Volunteers Fallback Block
   ========================================================= */
.about-volunteers-block {
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--card) 0%, #f8fafb 100%);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.about-volunteers-block:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 32px rgba(1, 146, 220, 0.15);
  background: linear-gradient(135deg, var(--card) 0%, #f0f8ff 100%);
}

.avatar-circle-small {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
  border: 3px solid var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--brand-blue);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(1, 146, 220, 0.15);
}

.volunteer-icon-placeholder:hover .avatar-circle-small {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 6px 20px rgba(1, 146, 220, 0.35);
  border-color: var(--brand-blue-dark);
}

/* =========================================================
   8) Final CTA
   ========================================================= */
.final-cta .theme-btn {
  transition: all 0.3s ease;
}

.final-cta .theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.final-cta .theme-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* =========================================================
   9) Responsive
   ========================================================= */
@media (max-width: 991px) {
  .about-page-mission-vision,
  .about-page-what-we-do,
  .about-page-how-we-work,
  .about-page-team,
  .final-cta {
    padding: 48px 0;
  }

  .sec-title-two h2 {
    font-size: 2rem;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .about-mission-card .inner-box,
  .about-vision-card .inner-box {
    padding: 32px 28px;
  }
}

@media (max-width: 767px) {
  .about-page-mission-vision,
  .about-page-what-we-do,
  .about-page-how-we-work,
  .about-page-team,
  .final-cta {
    padding: 40px 0;
  }

  .sec-title-two h2 {
    font-size: 1.75rem;
    padding-bottom: 12px;
  }

  .sec-title-two h2::after {
    width: 50px;
    height: 3px;
  }

  .about-process-step {
    padding: 24px 20px;
    transform: rotate(-1deg);
    margin: 0 4px 20px;
  }

  .about-process-step:nth-child(even) {
    transform: rotate(1deg);
  }

  .about-process-step:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.02);
  }

  .step-number {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
    margin-bottom: 16px;
  }

  .shelter-member-photo .member-img {
    width: 100px;
    height: 100px;
  }

  .about-volunteers-block {
    padding: 36px 28px;
  }

  .avatar-circle-small {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .about-team-group-title {
    font-size: 1.375rem;
    flex-direction: column;
    gap: 8px;
  }

  .about-mission-card h3,
  .about-vision-card h3 {
    font-size: 1.375rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .about-service-card h3 {
    font-size: 1.125rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}


    /* تنسيق البطاقة الرئيسي */
    .impact-card-v2 {
            background: #f8fafb;
        padding: 50px 20px;
        border-radius: 20px;
        border: 1px solid #f2f5f7; /* حدود خفيفة جداً */
        transition: all 0.3s ease;
    }

    /* الدائرة الملونة للأيقونة */
    .impact-card-v2__icon-circle {
        width: 85px;
        height: 85px;
        line-height: 85px;
        border-radius: 50%;
        margin: 0 auto 30px;
        font-size: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* الألوان المستوحاة من الصورة الثانية */
    .bg-pink   { background-color: #fce4ec; color: #e91e63; } /* حالات التبني */
    .bg-green  { background-color: #e8f5e9; color: #4caf50; } /* الفريق */
    .bg-orange { background-color: #fff3e0; color: #ff9800; } /* الرعاية */
    .bg-blue   { background-color: #e1f5fe; color: #0192dc; } /* الإنقاذ */

    /* الأرقام الضخمة */
    .impact-card-v2__number {
        font-size: 3.5rem;
        font-weight: 900;
        color: #2d3436;
        margin-bottom: 10px;
        line-height: 1;
    }

    /* التسميات التوضيحية */
    .impact-card-v2__label {
        font-size: 1.1rem;
        color: #636e72;
        font-weight: 500;
        margin-bottom: 0;
    }

    /* تأثير بسيط عند الوقوف بالماوس */
    .impact-card-v2:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,0.04);
        transform: translateY(-5px);
    }
