/* =========================================================
   06.Figma to Drupal Theme Development
   ========================================================= */

.figma-theme-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 97, 255, 0.06),
      transparent 22%
    ),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  color: #071333;
}

.figma-theme-section::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 10px;
  width: 160px;
  height: 90px;
  background-image: radial-gradient(#c9dcff 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.9;
  pointer-events: none;
}

.figma-theme-head {
  max-width: 1120px;
  position: relative;
  z-index: 2;
}

.figma-theme-kicker {
  color: #ff5a00;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.figma-theme-kicker span {
  width: 54px;
  height: 2px;
  display: block;
  background: currentColor;
}

.figma-theme-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-theme-head p {
  max-width: 980px;
  color: #394b7a;
  font-size: 18px;
  line-height: 1.45;
}

.figma-theme-top-shapes {
  position: relative;
  z-index: 1;
}

.figma-left-icon,
.figma-right-icon {
  position: absolute;
  top: -8px;
}

.figma-left-icon {
  left: 48px;
}

.figma-right-icon {
  right: 42px;
}

.shape-card,
.shape-drop {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(13, 110, 253, 0.05);
}

.shape-card i {
  color: #7c4dff;
  font-size: 52px;
}

.shape-drop i {
  color: #1473ff;
  font-size: 76px;
}

.figma-flow-box {
  position: relative;
  z-index: 2;
  border: 1px solid #dce7fb;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(17, 40, 80, 0.06);
}

.figma-flow-row > [class*="col-"] {
  position: relative;
}

.figma-step {
  padding-top: 4px;
}

.step-no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #0d6efd, #0053d6);
  font-size: 18px;
  font-weight: 900;
}

.figma-step h3 {
  margin-bottom: 10px;
  color: #071333;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.figma-step p {
  max-width: 250px;
  margin: 0 auto 18px;
  color: #22345e;
  font-size: 16px;
  line-height: 1.45;
}

.figma-step-shot {
  min-height: 258px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dbe7fb;
  background: #fdfefe;
}

.figma-step-brand {
  margin-top: 12px;
}

.figma-step-brand span {
  color: #22345e;
  font-size: 15px;
  font-weight: 800;
}

.figma-step-brand i {
  margin-right: 4px;
}

.step-arrow {
  position: absolute;
  top: 34px;
  right: -20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1f76ff;
  font-size: 28px;
  z-index: 3;
}

.figma-theme-cta {
  border: 1px solid #dbe7fb;
  background: linear-gradient(180deg, #f9fcff 0%, #f3f8ff 100%);
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.05);
}

.figma-theme-cta-img {
  max-width: 270px;
  margin: 0 auto;
}

.figma-theme-cta h3 {
  margin-bottom: 10px;
  color: #071333;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.figma-theme-cta p {
  color: #22345e;
  font-size: 18px;
  line-height: 1.45;
}

.figma-theme-btn {
  min-height: 58px;
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff8a00, #ff5a00);
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(255, 90, 0, 0.25);
}

.figma-theme-btn:hover {
  color: #ffffff;
}

.figma-theme-points {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #dbe7fb;
}

.figma-theme-point {
  min-height: 54px;
  color: #22345e;
  border-right: 1px solid #dbe7fb;
  font-size: 16px;
  font-weight: 800;
}

.figma-theme-point i {
  color: #2a73ff;
  font-size: 20px;
}

/* =========================================================
   Figma to Drupal Theme Development Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .figma-theme-kicker {
    font-size: 14px;
  }

  .figma-theme-head h2 {
    font-size: 32px;
  }

  .figma-theme-head p {
    font-size: 15px;
  }

  .figma-step h3 {
    font-size: 17px;
  }

  .figma-step p,
  .figma-theme-btn,
  .figma-theme-point {
    font-size: 14px;
  }

  .step-no {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .figma-step-brand span {
    font-size: 13px;
  }

  .figma-step-shot {
    min-height: 230px;
  }

  .figma-theme-cta h3 {
    font-size: 22px;
  }

  .figma-theme-cta p {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .figma-left-icon,
  .figma-right-icon {
    display: none;
  }

  .figma-flow-row .col-xl {
    flex: 0 0 auto;
    width: 50%;
  }

  .figma-theme-points {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .figma-theme-point {
    border-right: 0;
  }
}

@media (max-width: 991px) {
  .figma-theme-head h2 {
    font-size: 30px;
  }

  .figma-theme-head p {
    font-size: 16px;
  }

  .figma-theme-cta {
    text-align: center;
  }

  .figma-theme-cta p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .figma-theme-kicker {
    font-size: 13px;
  }

  .figma-theme-kicker span {
    width: 34px;
  }

  .figma-theme-head h2 {
    font-size: 22px;
  }

  .figma-theme-head p {
    font-size: 16px;
  }

  .figma-flow-row .col-xl,
  .figma-flow-row .col-md-6 {
    width: 100%;
  }

  .figma-step h3 {
    font-size: 16px;
  }

  .figma-step p,
  .figma-theme-cta p,
  .figma-theme-btn,
  .figma-theme-point {
    font-size: 14px;
  }

  .figma-step-shot {
    min-height: auto;
  }

  .figma-theme-cta h3 {
    font-size: 18px;
  }

  .figma-theme-btn {
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
  }
  .figma-theme-description{
    font-size: 15px;
  }
  .figma-step-description,.figma-theme-point {
    font-size: 13px;
  }
  .figma-theme-cta-description{
    font-size: 14px;
  }
}

/* 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;
  }
}

