/* =========================================
   SERVIZUP — WHY SERVIZUP SECTION
========================================= */

.story-section {
  position: relative;

  overflow: hidden;

  margin-top: 70px;

  padding: 100px 0;

  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(47, 127, 224, 0.14),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(139, 92, 246, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f4f8ff 0%,
      #ffffff 50%,
      #f8f5ff 100%
    );
}


/* =========================================
   DECORATIVE BACKGROUND
========================================= */

.story-section::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  top: -230px;
  right: -150px;

  border-radius: 50%;

  border: 1px solid rgba(47, 127, 224, 0.10);

  pointer-events: none;
}


.story-section::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  bottom: -180px;
  left: -140px;

  border-radius: 50%;

  background: rgba(47, 127, 224, 0.04);

  pointer-events: none;
}


/* =========================================
   CONTAINER
========================================= */

.story-container {
  position: relative;

  z-index: 2;

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 20px;

  display: grid;

  grid-template-columns:
    0.82fr
    1.18fr;

  align-items: center;

  gap: 80px;
}


/* =========================================
   LEFT CONTENT
========================================= */

.story-content {
  max-width: 500px;
}


.story-badge {
  display: inline-flex;

  align-items: center;

  padding: 8px 15px;

  margin-bottom: 20px;

  border-radius: 50px;

  background: rgba(47, 127, 224, 0.09);

  border: 1px solid rgba(47, 127, 224, 0.14);

  color: #2F7FE0;

  font-size: 13px;

  font-weight: 800;
}


/* =========================================
   HEADING
========================================= */

.story-content h2 {
  margin: 0;

  color: #172033;

  font-size: 32px;

  line-height: 1.25;

  font-weight: 850;

  letter-spacing: -0.8px;
}


.story-content h2 span {
  display: block;

  margin-top: 5px;

  color: #2F7FE0;
}


/* =========================================
   DESCRIPTION
========================================= */

.story-copy {
  margin: 22px 0 0;

  color: #667085;

  font-size: 16px;

  line-height: 1.9;
}


/* =========================================
   HIGHLIGHT BOX
========================================= */

.story-highlight {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  margin-top: 28px;

  padding: 18px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.78);

  border: 1px solid rgba(47, 127, 224, 0.12);

  box-shadow:
    0 10px 30px rgba(31, 64, 104, 0.06);
}


.story-highlight-icon {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #2F7FE0;

  color: #ffffff;

  font-size: 17px;

  font-weight: 800;
}


.story-highlight strong {
  display: block;

  margin-bottom: 5px;

  color: #172033;

  font-size: 15px;

  font-weight: 800;
}


.story-highlight p {
  margin: 0;

  color: #7a8495;

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================
   FEATURE GRID
========================================= */

.story-features {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}


/* =========================================
   FEATURE CARD
========================================= */

.story-card {
  position: relative;

  min-height: 235px;

  padding: 25px;

  overflow: hidden;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(255, 255, 255, 0.9);

  box-shadow:
    0 12px 35px rgba(31, 64, 104, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.story-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 45px rgba(31, 64, 104, 0.13);
}


/* =========================================
   CARD TOP ICON
========================================= */

.story-card-icon {
  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 15px;

  color: #ffffff;

  font-size: 20px;

  font-weight: 800;

  margin-bottom: 22px;
}


/* =========================================
   CARD NUMBER
========================================= */

.story-card-number {
  position: absolute;

  top: 20px;
  right: 22px;

  color: #dfe6ef;

  font-size: 14px;

  font-weight: 900;

  letter-spacing: 1px;
}


/* =========================================
   CARD TITLE
========================================= */

.story-card h3 {
  margin: 0 0 10px;

  color: #172033;

  font-size: 19px;

  line-height: 1.3;

  font-weight: 800;
}


/* =========================================
   CARD DESCRIPTION
========================================= */

.story-card p {
  margin: 0;

  color: #717b8c;

  font-size: 14px;

  line-height: 1.75;
}


/* =========================================
   CARD COLORS
========================================= */

.story-card--blue .story-card-icon {
  background:
    linear-gradient(
      135deg,
      #2F7FE0,
      #5a9bea
    );

  box-shadow:
    0 8px 18px rgba(47, 127, 224, 0.22);
}


.story-card--purple .story-card-icon {
  background:
    linear-gradient(
      135deg,
      #8b5cf6,
      #a78bfa
    );

  box-shadow:
    0 8px 18px rgba(139, 92, 246, 0.22);
}


.story-card--orange .story-card-icon {
  background:
    linear-gradient(
      135deg,
      #f59e0b,
      #fbbf24
    );

  box-shadow:
    0 8px 18px rgba(245, 158, 11, 0.22);
}


.story-card--green .story-card-icon {
  background:
    linear-gradient(
      135deg,
      #10b981,
      #34d399
    );

  box-shadow:
    0 8px 18px rgba(16, 185, 129, 0.22);
}


/* =========================================
   CARD DECORATION
========================================= */

.story-card::after {
  content: "";

  position: absolute;

  width: 100px;
  height: 100px;

  right: -45px;
  bottom: -45px;

  border-radius: 50%;

  background: rgba(47, 127, 224, 0.035);

  transition: transform 0.3s ease;
}


.story-card:hover::after {
  transform: scale(1.4);
}


/* =========================================
   LARGE TABLET
========================================= */

@media (max-width: 1050px) {

  .story-container {
    grid-template-columns:
      0.8fr
      1.2fr;

    gap: 45px;
  }

  .story-content h2 {
    font-size: 35px;
  }

  .story-card {
    min-height: 225px;

    padding: 22px;
  }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

  .story-section {
    padding: 80px 0;
  }

  .story-container {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .story-content {
    max-width: 680px;
  }

  .story-content h2 {
    font-size: 38px;
  }

  .story-copy {
    max-width: 650px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .story-section {
    margin-top: 50px;

    padding: 65px 0;
  }

  .story-container {
    padding: 0 18px;

    gap: 35px;
  }

  .story-content h2 {
    font-size: 31px;

    line-height: 1.3;
  }

  .story-copy {
    margin-top: 18px;

    font-size: 14px;

    line-height: 1.8;
  }

  .story-highlight {
    margin-top: 22px;

    padding: 15px;

    border-radius: 14px;
  }

  .story-highlight-icon {
    width: 33px;
    height: 33px;

    font-size: 15px;
  }

  .story-highlight strong {
    font-size: 14px;
  }

  .story-highlight p {
    font-size: 12.5px;
  }


  /* Feature Grid */

  .story-features {
    grid-template-columns: 1fr;

    gap: 13px;
  }

  .story-card {
    min-height: auto;

    padding: 20px;

    border-radius: 18px;
  }

  .story-card-icon {
    width: 43px;
    height: 43px;

    margin-bottom: 17px;

    border-radius: 13px;
  }

  .story-card h3 {
    font-size: 17px;
  }

  .story-card p {
    font-size: 13.5px;

    line-height: 1.7;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

  .story-section {
    padding: 55px 0;
  }

  .story-container {
    padding: 0 15px;
  }

  .story-content h2 {
    font-size: 28px;
  }

  .story-badge {
    font-size: 12px;

    padding: 7px 13px;
  }

}