/* About page custom styles - modern, vibrant, theme-aligned with enhanced animations */
:root {
  --brand-dark: #0d1128;
  --brand-accent: #007bff; /* primary blue from theme */
  --brand-light: #f8f9fa;
  --muted: #6c757d;
  --card-bg: #ffffff;
  --shadow-soft: 0 14px 40px rgba(13,17,40,0.06);
  --shadow-hover: 0 22px 50px rgba(13,17,40,0.12);
}

.about-hero { padding: 5rem 0; background: var(--brand-light); }

.section-intro { text-align: center; margin-bottom: 2.5rem; }
.section-intro h2 { color: var(--brand-dark); font-size: 2.25rem; font-weight: 700; letter-spacing: 0.1px; position: relative; }
.section-intro h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, var(--brand-accent), var(--brand-dark)); margin: 0.75rem auto 0; border-radius: 2px; }
.section-intro p { color: var(--muted); font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: start; /* prevent grid items stretching to equal height */
}

.about-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-left: 5px solid var(--brand-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-self: start; /* ensure individual card fits its content height */
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.about-card h3 { margin-top: 0; color: var(--brand-dark); font-size: 1.3rem; margin-bottom: 0.75rem; }
.about-card p { color: #495057; line-height: 1.7; margin: 0; font-size: 1rem; }

.core-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.value {
  background: rgba(0,123,255,0.02);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value:hover { transform: scale(1.05); box-shadow: var(--shadow-hover); }
.value i { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--brand-accent), var(--brand-dark)); }
.value h4 { margin: 0 0 0.5rem; color: var(--brand-dark); font-size: 1.1rem; }
.value p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.services-list { background: var(--card-bg); padding: 2rem; border-radius: 16px; box-shadow: var(--shadow-soft); }
.services-list h3 { color: var(--brand-dark); margin-bottom: 1rem; }
.services-list ol { padding-left: 1.5rem; list-style-type: decimal; }
.services-list li { margin-bottom: 1rem; color: #495057; font-size: 1rem; line-height: 1.6; }

.why-choose { background: var(--card-bg); padding: 2rem; border-radius: 16px; box-shadow: var(--shadow-soft); transition: transform 0.3s ease; }
.why-choose:hover { transform: translateY(-8px); }
.why-choose h3 { color: var(--brand-dark); margin-bottom: 1.25rem; font-size: 1.5rem; }
.why-choose ol { padding-left: 1.5rem; list-style-type: decimal; }
.why-choose li { margin-bottom: 1rem; color: #495057; font-size: 1rem; line-height: 1.6; font-weight: 500; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .core-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .about-cards { grid-template-columns: 1fr; }
  .core-values { grid-template-columns: 1fr; }
  .section-intro h2 { font-size: 1.75rem; }
}

/* AOS integration already handled in HTML; this CSS supports smooth transitions */