/* =========================================================
   SUCCESS STORY SECTION
   ========================================================= */

.success-story-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 78% 20%,
      rgba(13, 110, 253, 0.12),
      transparent 28%
    ),
    radial-gradient(circle at 20% 75%, rgba(0, 77, 185, 0.1), transparent 30%),
    linear-gradient(135deg, #010a1e 0%, #031b39 55%, #020c20 100%);
}

.success-story-section::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: 180px;
  width: 760px;
  height: 260px;
  opacity: 0.1;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 12px,
    #176ee0 13px 14px,
    transparent 15px 21px
  );
}

/* =========================================================
   Main
   ========================================================= */

.success-story-main {
  position: relative;
  z-index: 3;
}

/* =========================================================
   Left Content
   ========================================================= */

.success-story-content {
  max-width: 690px;
}

.success-story-kicker,
.success-story-cta-kicker {
  color: #ff5a00;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  text-transform: uppercase;
}

.success-story-kicker-line {
  position: relative;
  width: 34px;
  height: 2px;
  flex-shrink: 0;
  background: #ff5a00;
}

.success-story-kicker-line::before,
.success-story-kicker-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.success-story-kicker-line::before {
  left: 0;
}

.success-story-kicker-line::after {
  right: 0;
}

.success-story-content h2 {
  color: #ffffff;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.success-story-content h2 span {
  color: #ff5a00;
}

.success-story-description {
  max-width: 600px;
  color: #d2d9e6 !important;
  font-size: 18px;
  line-height: 1.6;
}

/* =========================================================
   Highlights
   ========================================================= */

.success-story-highlights {
  margin-top: 35px;
}

.success-story-highlight {
  min-height: 170px;
  padding: 10px 18px;
  border-right: 1px solid rgba(184, 201, 227, 0.25);
}

.success-story-highlights .col-lg-3:last-child .success-story-highlight {
  border-right: 0;
}

.success-story-highlight-icon {
  width: 58px;
  min-width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5a00;
  font-size: 37px;
}

.success-story-highlight p {
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1.3;
}

.success-story-highlight strong {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}

.success-story-highlight span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================================================
   Right Visual
   ========================================================= */

.success-story-visual {
  min-height: 510px;
  overflow: visible;
  border-radius: 18px;
}

.success-story-image {
  width: 100%;
  min-height: 475px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

/* =========================================================
   Quote
   ========================================================= */

.success-story-quote {
  position: absolute;
  top: 35px;
  left: 35px;
  z-index: 5;
  width: 230px;
  color: #ffffff;
}

.success-story-quote > i {
  margin-bottom: 10px;
  color: #ff5a00;
  font-size: 34px;
}

.success-story-quote p {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1.5;
  font-style: italic;
}

.success-story-quote-line {
  width: 45px;
  height: 1px;
  margin: 14px 0;
  display: block;
  background: rgba(255, 255, 255, 0.4);
}

.success-story-quote strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

/* =========================================================
   Metrics Overlay
   ========================================================= */

.success-story-metrics {
  position: absolute;
  right: 15px;
  bottom: -45px;
  left: 15px;
  z-index: 6;
  overflow: hidden;
  border: 1px solid rgba(185, 203, 232, 0.35);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(3, 17, 39, 0.97),
    rgba(5, 29, 61, 0.97)
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.success-story-metric {
  min-height: 165px;
  padding: 28px 25px;
  border-right: 1px solid rgba(180, 201, 230, 0.22);
}

.success-story-metrics .col-md-3:last-child .success-story-metric {
  border-right: 0;
}

.success-story-metric-icon {
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 19px;
}

.success-story-metric-icon i {
  line-height: 1;
}

.success-metric-purple {
  background: rgba(109, 56, 199, 0.33);
  color: #d0b7ff;
}

.success-metric-green {
  background: rgba(22, 132, 73, 0.32);
  color: #7de6a9;
}

.success-metric-orange {
  background: rgba(189, 71, 0, 0.34);
  color: #ff6a00;
}

.success-metric-blue {
  background: rgba(36, 96, 193, 0.34);
  color: #bcd5ff;
}

.success-story-metric strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
}

.success-story-metric > span:last-child {
  display: block;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
}

/* =========================================================
   Project CTA
   ========================================================= */

.success-story-cta {
  position: relative;
  z-index: 5;
  margin-top: 75px !important;
  padding: 38px 52px;
  overflow: hidden;
  border: 1px solid rgba(136, 169, 219, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at right, rgba(13, 110, 253, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(3, 20, 47, 0.95), rgba(5, 31, 68, 0.95));
}

.success-story-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 11px,
    #1c79ea 12px 13px,
    transparent 14px 20px
  );
}

.success-story-cta-content,
.success-story-cta-actions {
  position: relative;
  z-index: 2;
}

.success-story-cta-content h3 {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
}

.success-story-cta-content p {
  max-width: 500px;
  color: #d8dfeb !important;
  font-size: 17px;
  line-height: 1.6;
}

/* =========================================================
   CTA Buttons
   ========================================================= */

.success-story-btn {
  min-height: 70px;
  padding: 17px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
}

.success-story-btn-orange {
  min-width: 305px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7200, #ff4d00);
  box-shadow: 0 13px 28px rgba(255, 89, 0, 0.25);
}

.success-story-btn-orange:hover {
  color: #ffffff;
}

.success-story-btn-outline {
  min-width: 300px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: transparent;
}

.success-story-btn-outline:hover {
  color: #ffffff;
}

.success-story-btn i {
  flex-shrink: 0;
  font-size: 23px;
}

/* =========================================================
   CTA Trust Row
   ========================================================= */

.success-story-trust-row {
  row-gap: 12px;
}

.success-story-trust-row span {
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(190, 207, 233, 0.25);
  color: #d5deeb;
  font-size: 13px;
}

.success-story-trust-row span:first-child {
  padding-left: 0;
}

.success-story-trust-row span:last-child {
  border-right: 0;
}

.success-story-trust-row i {
  color: #ffffff;
  font-size: 20px;
}

/* =========================================================
   Brands
   ========================================================= */

.success-story-brands {
  position: relative;
  z-index: 5;
}

.success-story-brand-heading p {
  color: #8793aa !important;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.success-story-brand-heading > span {
  width: 200px;
  height: 1px;
  background: rgba(162, 182, 211, 0.2);
}

.success-story-brand-list {
  padding: 0 25px;
  opacity: 0.68;
}

.success-story-brand {
  color: #d8dde6;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.success-story-image {
  height: 100% !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .success-story-kicker,
  .success-story-cta-kicker {
    font-size: 14px;
  }

  .success-story-content h2 {
    font-size: 32px;
  }

  .success-story-description {
    font-size: 15px;
  }

  .success-story-highlight strong {
    font-size: 18px;
  }

  .success-story-highlight span,
  .success-story-highlight p {
    font-size: 12px;
  }

  .success-story-visual {
    min-height: 470px;
  }

  .success-story-image {
    min-height: 435px;
  }

  .success-story-metric {
    min-height: 150px;
    padding: 23px 18px;
  }

  .success-story-metric strong {
    font-size: 23px;
  }

  .success-story-cta-content h3 {
    font-size: 24px;
  }

  .success-story-cta-content p {
    font-size: 15px;
  }

  .success-story-btn {
    min-height: 62px;
    font-size: 14px;
  }

  .success-story-btn-orange,
  .success-story-btn-outline {
    min-width: 250px;
  }

  .success-story-brand {
    font-size: 18px;
  }
}

@media (max-width: 1199px) {
  .success-story-content {
    max-width: 100%;
  }

  .success-story-highlights {
    max-width: 800px;
  }

  .success-story-visual {
    max-width: 900px;
    margin: 25px auto 0;
  }

  .success-story-cta {
    margin-top: 90px !important;
  }

  .success-story-cta-actions {
    margin-top: 10px;
  }

  .success-story-brand-list {
    justify-content: center !important;
  }
}

@media (max-width: 991px) {
  .success-story-highlight {
    border-bottom: 1px solid rgba(184, 201, 227, 0.18);
  }

  .success-story-highlights .col-sm-6:nth-child(2n) .success-story-highlight {
    border-right: 0;
  }

  .success-story-highlights
    .col-sm-6:nth-last-child(-n + 2)
    .success-story-highlight {
    border-bottom: 0;
  }

  .success-story-quote {
    width: 210px;
  }

  .success-story-metric {
    padding: 20px 15px;
  }

  .success-story-cta {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .success-story-content h2 {
    font-size: 22px;
  }

  .success-story-description {
    font-size: 15px;
  }

  .success-story-highlight {
    min-height: 150px;
  }

  .success-story-visual {
    min-height: 680px;
  }

  .success-story-image {
    min-height: 420px;
  }

  .success-story-quote {
    top: 25px;
    left: 25px;
  }

  .success-story-metrics {
    bottom: -205px;
  }

  .success-story-metric {
    min-height: 150px;
    border-bottom: 1px solid rgba(180, 201, 230, 0.22);
  }

  .success-story-metrics .col-6:nth-child(2n) .success-story-metric {
    border-right: 0;
  }

  .success-story-metrics .col-6:nth-last-child(-n + 2) .success-story-metric {
    border-bottom: 0;
  }

  .success-story-cta {
    margin-top: 70px !important;
    padding: 25px 20px;
  }

  .success-story-cta-content h3 {
    font-size: 20px;
  }

  .success-story-cta-actions > .d-flex {
    flex-direction: column;
  }

  .success-story-btn {
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
  }

  .success-story-trust-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .success-story-trust-row span {
    padding: 0;
    border-right: 0;
  }

  .success-story-brand-heading > span {
    width: 60px;
  }

  .success-story-metrics {
    position: unset;
  }
  .success-story-metric strong {
    font-size: 18px;
  }
  .success-story-metric-content span {
    font-size: 14px;
  }
      .success-story-cta-content p {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
  .success-story-highlight {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(184, 201, 227, 0.18) !important;
  }

  .success-story-highlights .col-sm-6:last-child .success-story-highlight {
    border-bottom: 0 !important;
  }

  .success-story-quote {
    width: 180px;
  }

  .success-story-quote p {
    font-size: 13px;
  }

  .success-story-metrics {
    right: 8px;
    left: 8px;
  }

  .success-story-brand-list {
    flex-direction: column;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}
