/* =========================================================
   SwiftCheck AI — About Page Dedicated Styles
   High-precision maritime aesthetics, glassmorphic cards,
   and responsive typography.
========================================================= */

/* Hero Stats Section */
.about-stats-ribbon {
  position: relative;
  margin-top: -2.5rem;
  z-index: 10;
}

.about-stat-card {
  background: rgba(10, 36, 32, 0.85);
  border: 1px solid rgba(36, 210, 158, 0.2);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 210, 158, 0.55);
  box-shadow: 0 16px 36px -12px rgba(36, 210, 158, 0.2);
}

.about-stat-num {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(2.25rem, 3.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #24d29e;
  background: linear-gradient(135deg, #4ef2c2 0%, #24d29e 60%, #159b72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.about-stat-title {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.about-stat-desc {
  font-size: 0.825rem;
  color: rgba(220, 235, 245, 0.72);
  line-height: 1.5;
  margin: 0;
}

/* Section Common Typography */
.about-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(36, 210, 158, 0.12);
  border: 1px solid rgba(36, 210, 158, 0.3);
  color: #24d29e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-heading {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #082a25;
}

.about-heading-light {
  color: #ffffff;
}

.about-subtext {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #526c67;
}

.about-subtext-light {
  color: rgba(220, 235, 245, 0.82);
}

/* Story Visual Card */
.about-story-visual-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(8, 42, 37, 0.3);
  border: 1px solid rgba(36, 210, 158, 0.2);
}

.about-story-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-story-visual-wrap:hover .about-story-img {
  transform: scale(1.03);
}

.about-story-overlay-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(8, 42, 37, 0.88);
  border: 1px solid rgba(36, 210, 158, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.85rem;
  padding: 1.15rem 1.35rem;
  color: #ffffff;
}

/* Mission & Vision Cards */
.about-mv-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  border: 1px solid #e1ebe7;
  box-shadow: 0 4px 20px rgba(8, 42, 37, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.about-mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -10px rgba(8, 42, 37, 0.12);
  border-color: #24d29e;
}

.about-mv-icon {
  width: 58px;
  height: 58px;
  border-radius: 1rem;
  background: rgba(36, 210, 158, 0.15);
  border: 1px solid rgba(36, 210, 158, 0.35);
  color: #0f8263;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-mv-card:hover .about-mv-icon {
  transform: scale(1.08);
  background: #24d29e;
  color: #082a25;
}

/* Comparison Section (Old vs New) */
.about-comparison-box {
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  height: 100%;
}

.about-box-traditional {
  background: #fbf5f5;
  border: 1px solid #f0d5d5;
}

.about-box-swiftcheck {
  background: linear-gradient(170deg, #09332c 0%, #031c18 100%);
  border: 1px solid rgba(36, 210, 158, 0.35);
  color: #ffffff;
  box-shadow: 0 12px 30px -10px rgba(8, 42, 37, 0.4);
}

.about-comparison-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-comparison-icon-red {
  color: #dc3545;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-comparison-icon-green {
  color: #24d29e;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Core Pillars / Values Grid */
.about-pillar-card {
  background: #ffffff;
  border: 1px solid #e2ece8;
  border-radius: 1.15rem;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #24d29e;
  box-shadow: 0 12px 28px -8px rgba(8, 42, 37, 0.1);
}

.about-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: #edf8f4;
  border: 1px solid #c7e8dc;
  color: #0f8263;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.about-pillar-card:hover .about-pillar-icon {
  background: #24d29e;
  color: #082a25;
  border-color: #24d29e;
}

/* Who We Serve Cards */
.about-client-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.15rem;
  padding: 2rem 1.75rem;
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  height: 100%;
}

.about-client-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(36, 210, 158, 0.45);
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.3);
}

.about-client-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(36, 210, 158, 0.18);
  color: #24d29e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Workflow Step Cards */
.about-step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2ece8;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.about-step-card:hover {
  border-color: #24d29e;
  box-shadow: 0 10px 24px -8px rgba(8, 42, 37, 0.08);
}

.about-step-badge {
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f8263;
  background: #edf8f4;
  border: 1px solid #c7e8dc;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* Webotix Parent Company Banner */
.about-parent-banner {
  background: linear-gradient(145deg, #052622 0%, #011410 100%);
  border: 1px solid rgba(36, 210, 158, 0.25);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-parent-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(36, 210, 158, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA Card */
.about-cta-section {
  background: linear-gradient(165deg, #024d48 0%, #001712 75%);
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  color: #ffffff;
  border: 1px solid rgba(36, 210, 158, 0.25);
}

.about-cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(36, 210, 158, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .about-stats-ribbon {
    margin-top: 1.5rem;
  }
  .about-parent-banner {
    padding: 2rem 1.5rem;
  }
  .about-cta-section {
    padding: 3rem 1.5rem;
  }
}

/* =========================================================
   FAQ Accordion — About Page
========================================================= */
.about-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-faq-item {
  border: 1px solid rgba(8, 42, 37, 0.12);
  border-radius: 0.875rem !important;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #ffffff;
}

.about-faq-item:hover {
  border-color: rgba(36, 210, 158, 0.4);
  box-shadow: 0 4px 20px -4px rgba(36, 210, 158, 0.12);
}

.about-faq-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #082a25;
  background: #ffffff;
  border: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-faq-btn:not(.collapsed) {
  color: #0a7a5a;
  background: linear-gradient(135deg, rgba(36, 210, 158, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
  border-bottom: 1px solid rgba(36, 210, 158, 0.18);
}

.about-faq-btn::after {
  /* Bootstrap default chevron — override color */
  filter: brightness(0) saturate(100%) invert(37%) sepia(72%) saturate(501%) hue-rotate(120deg) brightness(95%) contrast(96%);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.about-faq-btn.collapsed::after {
  filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(600%) hue-rotate(120deg);
}

.about-faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(36, 210, 158, 0.1);
  border-radius: 0.5rem;
  color: #18a075;
  transition: background 0.25s ease, color 0.25s ease;
}

.about-faq-btn:not(.collapsed) .about-faq-icon {
  background: rgba(36, 210, 158, 0.18);
  color: #0a7a5a;
}

.about-faq-body {
  padding: 1.25rem 1.5rem 1.25rem calc(1.5rem + 2.25rem + 0.875rem);
  color: #3a5551;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-faq-body p,
.about-faq-body ul {
  margin-bottom: 0;
}

.about-faq-body ul {
  padding-left: 1.25rem;
}

.about-faq-body ul li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.about-faq-body strong {
  color: #082a25;
  font-weight: 600;
}

.about-faq-body a.text-accent {
  color: #18a075;
  text-decoration: none;
  transition: color 0.2s;
}

.about-faq-body a.text-accent:hover {
  color: #24d29e;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .about-faq-btn {
    font-size: 0.92rem;
    padding: 1rem 1.125rem;
    gap: 0.65rem;
  }
  .about-faq-icon {
    width: 1.875rem;
    height: 1.875rem;
  }
  .about-faq-body {
    padding: 1rem 1.125rem 1rem calc(1.125rem + 1.875rem + 0.65rem);
    font-size: 0.92rem;
  }
}
