/* ================= Saife Blue — About ================= */

:root {
  --about-surface: #fff;
  --about-muted: #f9fafb;
  --about-border: rgba(0, 0, 0, 0.04);
  --about-dark: #0f172a;
  --about-text: #4b5563;
  --about-accent: #0072ff;
}

/* Base container */
.about-inner-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--about-dark);
}

/* Section wrapper */
.about-section-block {
  background: #fff;
  padding: 3rem 0 3.4rem;
  position: relative;
  z-index: 1;
}

/* ================= Mission / Vision ================= */

.about-split-card {
  background: #fff;
  border: 1px solid var(--about-border);
  border-radius: 1.7rem;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.04);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.1rem;
  padding: 1.8rem;
  align-items: center;
  margin-bottom: 2.4rem;
  min-height: 380px;
}
.about-split-card-alt {
  grid-template-columns: 0.9fr 1.1fr;
}

.about-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.about-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 1.1rem;
  background: rgba(0, 114, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-icon-circle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.about-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: var(--about-dark);
}
.about-card-body {
  color: var(--about-text);
  line-height: 1.55;
}
.about-card-text {
  margin-bottom: 1rem;
  font-size: 0.96rem;
}
.about-pill {
  display: inline-flex;
  background: #e8f0ff;
  color: #365eaa;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}
.about-pill-green {
  background: rgba(0, 199, 140, 0.14);
  color: #0f766e;
}

/* Illustration */
.about-illustration {
  background: #fff;
  border-radius: 1.4rem;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-illustration img {
  width: 90%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.15s ease;
}
.about-illustration:hover img {
  transform: scale(1.01);
}

/* ================= CTA ================= */
.about-cta-wrapper {
  background: #fff;
  padding: 2.5rem 0 4rem;
}
.about-cta-card {
  background: #fff;
  border-radius: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 1.6rem;
  padding: 1.6rem;
  align-items: center;
}
@media (min-width: 992px) {
  .about-cta-card {
    grid-template-columns: 1fr auto;
  }
}
.about-cta-headline {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.about-cta-text {
  color: #64748b;
  margin: 0 0 1.1rem;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, #0072ff 0%, #00c6ff 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.6rem;
  padding: 0.65rem 1rem;
  transition: transform 0.15s ease;
}
.about-cta-btn:hover {
  transform: translateY(-2px);
}
.about-cta-img {
  width: 140px;
  max-width: 140px;
  border-radius: 1rem;
  display: block;
}

/* ================= Process Steps (1–3, 6–5–4) ================= */

/* 3-up grid */
.sb-process-area .cs_features_steps_wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* space before bottom row */
.sb_features_steps_bottom {
  margin-top: 64px;
}

/* Step images — identical size */
.sb-process-area .sb_step_media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}
.sb-process-area .sb_step_media img,
.custom-img {
  /* overrides any inline fixed sizes */
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px;
  display: block;
}

/* Description cards — same height with dashed background */
.sb-process-area .cs_features_steps_wrapper .cs_step_indfo_wrapper {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;

  min-height: 240px;
  max-height: 240px;
  padding: 22px 26px 46px; /* room for the bottom curve */

  background-image: url("../img/border-shape.png"); /* dashed frame */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;

  border-radius: 20px;
  overflow: hidden;
}

/* Hide inline decorative PNG from template so it can’t shift layout */
.sb-process-area .cs_step_indfo_wrapper > img[alt="Border shape"] {
  display: none !important;
}

/* Typography rhythm inside the cards */
.sb-process-area .cs_step_indfo_wrapper h3 {
  margin: 0 0 10px;
  line-height: 1.3;
}
.sb-process-area .cs_step_indfo_wrapper p {
  margin: 0;
}

/* Keep hover subtle and identical for all six */
.cs_feature_step:hover .cs_step_indfo_wrapper {
  background-size: 100% 100%;
  transform: none;
  box-shadow: none;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .about-split-card,
  .about-split-card-alt {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .about-illustration {
    min-height: 220px;
  }
  .about-split-card-alt .about-illustration {
    order: 1;
  }

  .sb-process-area .cs_features_steps_wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sb_features_steps_bottom {
    margin-top: 32px;
  }
}

@media (max-width: 575px) {
  .about-split-card {
    padding: 1.3rem 1.1rem;
    border-radius: 1.2rem;
  }
  .about-card-title {
    font-size: 1.15rem;
  }
  .about-card-text {
    font-size: 0.9rem;
  }
  .about-icon-circle {
    width: 54px;
    height: 54px;
  }
  .about-cta-headline {
    font-size: 1.35rem;
  }
}

/* Hide any inline decorative PNG that some cards inject */
.sb-process-area .cs_step_indfo_wrapper > img {
  display: none !important;
}
