/* About Modern Styles - Using brand colors #2e7d71 */

:root {
  --brand: #2e7d71;
  --brand-600: #25655b;
  --brand-light: rgba(46, 125, 113, 0.1);
  --brand-lighter: rgba(46, 125, 113, 0.05);
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-page {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  background-color: #f9fafb;
  min-height: calc(100vh - 200px);
}

.about-page .container {
  max-width: 1200px;
}

/* Typography */
.about-page .section-title {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}

.about-page h5 {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.about-page h6 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.about-page .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-page .text-muted {
  color: var(--text-secondary) !important;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Breadcrumb */
.about-page .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.about-page .breadcrumb-item a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

.about-page .breadcrumb-item a:hover {
  color: var(--brand-600);
  text-decoration: none;
}

.about-page .breadcrumb-item.active {
  color: var(--text-secondary);
}

.about-page .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-muted);
  padding: 0 0.5rem;
}

/* Badge */
.about-page .badge-soft {
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  background: var(--brand-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-block;
}

/* Hero Section */
.about-page .about-hero {
  background: linear-gradient(135deg, #ffffff, rgba(46, 125, 113, 0.05));
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.about-page .about-hero strong {
  color: var(--brand);
  font-weight: 600;
}

.about-page .about-hero img {
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  height: auto;
}

/* Stat Pills */
.about-page .stat-pill {
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: all 0.2s;
}

.about-page .stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.about-page .stat-pill i {
  margin-right: 0.4rem;
  color: var(--brand);
  font-size: 0.875rem;
}

/* Cards */
.about-page .card-soft {
  border-radius: 0.9rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: #ffffff;
  transition: all 0.3s ease;
  min-width: 0;
  overflow: hidden;
}

.about-page .card-soft:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-page .card-body {
  padding: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Icon Circle */
.about-page .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.about-page .icon-circle i {
  display: inline-block;
  line-height: 1;
}

.about-page .card-soft:hover .icon-circle {
  background: var(--brand);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(46, 125, 113, 0.3);
}

/* Timeline */
.about-page .timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-page .timeline-item:last-child {
  margin-bottom: 0;
}

.about-page .timeline-item:last-child .timeline-line {
  display: none;
}

.about-page .timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 4px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--brand-light);
  transition: all 0.2s;
}

.about-page .timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--brand-lighter);
}

.about-page .timeline-line {
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: -16px;
  width: 2px;
  background: var(--brand-light);
}

.about-page .timeline-item h6 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* FAQ */
.about-page .faq-icon-header {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-page .faq-accordion {
  margin-top: 1.5rem;
}

.about-page .faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
}

.about-page .faq-item:last-child {
  border-bottom: none;
}

.about-page .faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-primary);
}

.about-page .faq-question-btn:hover {
  color: var(--brand);
}

.about-page .faq-question-btn:focus {
  outline: none;
  color: var(--brand);
}

.about-page .faq-question-text {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
  padding-right: 1rem;
}

.about-page .faq-icon {
  color: var(--brand);
  font-size: 0.875rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.about-page .faq-question-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.about-page .faq-answer {
  padding: 0 0 1.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-left: 0;
}

.about-page .faq-item .collapse.show {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Band */
.about-page .cta-band {
  border-radius: 1rem;
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.about-page .cta-band h4 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-page .cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.about-page .btn-cta {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  background-color: #ffffff;
  color: var(--brand);
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.about-page .btn-cta:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.about-page .btn-cta i {
  font-size: 0.875rem;
}

/* List Items */
.about-page ul.text-muted li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  padding-left: 0.25rem;
}

.about-page ul.text-muted li:last-child {
  margin-bottom: 0;
}

.about-page ul.text-muted li strong {
  color: var(--brand);
  font-weight: 600;
}

/* Row and column adjustments */
.about-page .row {
  min-width: 0;
}

.about-page .row > [class*="col-"] {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Spacing */
.about-page .mb-5 {
  margin-bottom: 3rem !important;
}

.about-page .mb-4 {
  margin-bottom: 2rem !important;
}

.about-page .mb-3 {
  margin-bottom: 1.5rem !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .about-page .section-title {
    font-size: 2rem;
  }

  .about-page .card-body {
    padding: 1.25rem;
  }

  .about-page .about-hero {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .about-page {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .about-page .section-title {
    font-size: 1.75rem;
  }

  .about-page .lead {
    font-size: 1rem;
  }

  .about-page .stat-pill {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 0.5rem;
  }

  .about-page .btn-cta {
    width: 100%;
    justify-content: center;
  }

  .about-page .text-md-right {
    text-align: left !important;
  }

  .about-page .cta-band {
    padding: 1.5rem !important;
  }
}
