/* =========================================================
   08. Agency Performance Support
   ========================================================= */

.agency-performance-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(13, 110, 253, 0.05),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.agency-performance-head {
  max-width: 1180px;
}

.agency-performance-kicker {
  color: #ff5a00;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.agency-process-image img{
  width: 200px !important;
}

.agency-performance-line {
  position: relative;
  width: 44px;
  height: 2px;
  background: #ff5a00;
}

.agency-performance-line::before,
.agency-performance-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5a00;
  transform: translateY(-50%);
}

.agency-performance-line::before {
  left: 0;
}

.agency-performance-line::after {
  right: 0;
}

.agency-performance-head h2 {
  color: #071333;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.agency-performance-head p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.5;
}

.agency-process-card {
  --agency-color: #0865f1;
  --agency-soft: #eaf1ff;

  min-height: 425px;
  padding: 38px 24px 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d6e3f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.06);
}

.agency-process-orange {
  --agency-color: #ff6200;
  --agency-soft: #fff0e3;

  border-color: #ffbf83;
  background:
    radial-gradient(circle at top, rgba(255, 98, 0, 0.06), transparent 35%),
    #ffffff;
}

.agency-process-number {
  position: absolute;
  top: 14px;
  left: 20px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--agency-color);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 7px 16px rgba(17, 40, 80, 0.13);
}

.agency-process-arrow {
  position: absolute;
  top: 112px;
  right: -26px;
  z-index: 4;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: #0c66ed;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
}

.agency-process-icon {
  position: relative;
  width: 160px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--agency-color);
  font-size: 85px;
}

.agency-process-icon-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: var(--agency-color);
  font-size: 23px;
  box-shadow: 0 7px 16px rgba(17, 40, 80, 0.14);
}

.agency-process-success-badge {
  background: #2aaa61;
}

.agency-process-card h3 {
  min-height: 58px;
  color: #07135c;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.agency-process-divider {
  display: block;
  width: 54px;
  height: 3px;
  background: var(--agency-color);
}

.agency-process-card > p {
  color: #26345d;
  font-size: 16px;
  line-height: 1.48;
}

.agency-process-note {
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #cfe0f8;
  border-radius: 10px;
  color: #0756cd;
  background: #f3f8ff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.agency-process-orange .agency-process-note {
  color: #e74e00;
  border-color: #f4d4ba;
  background: #fff7ef;
}

.agency-process-note-success {
  color: #188d43;
  border-color: #cee9d6;
  background: #f1faf4;
}

.agency-process-note i {
  flex-shrink: 0;
  font-size: 28px;
}

.agency-support-features {
  overflow: hidden;
  border: 1px solid #d6e3f5;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(17, 40, 80, 0.05);
}

.agency-support-feature {
  min-height: 140px;
  padding: 20px 12px;
  border-right: 1px solid #d6e1f0;
}

.agency-support-features .col-lg:last-child .agency-support-feature {
  border-right: 0;
}

.agency-support-feature > i {
  margin-bottom: 12px;
  color: #126af1;
  font-size: 42px;
  line-height: 1;
}

.agency-support-feature p {
  color: #071333;
  font-size: 14px;
  line-height: 1.4;
}

.agency-tool-icons {
  min-height: 48px;
  margin-bottom: 8px;
  color: #0756cd;
}

.agency-tool-icons i {
  font-size: 23px;
}

.agency-tool-icons .fa-jira {
  color: #1769d4;
}

.agency-tool-icons .fa-trello {
  color: #0079bf;
}

.agency-tool-icons .fa-slack {
  color: #36c5f0;
}

.agency-tool-icons .fa-github {
  color: #111111;
}

.agency-tool-icons .fa-gitlab {
  color: #fc6d26;
}

.agency-performance-cta {
  padding: 15px 28px;
  border: 1px solid #acd0ff;
  border-radius: 17px;
  background:
    radial-gradient(circle at left, rgba(13, 110, 253, 0.1), transparent 24%),
    linear-gradient(135deg, #f3f8ff, #ffffff);
  box-shadow: 0 12px 32px rgba(13, 40, 88, 0.05);
}

.agency-performance-visual {
  width: 270px;
  height: 160px;
}

.agency-performance-screen {
  position: absolute;
  top: 0;
  left: 30px;
  width: 190px;
  height: 150px;
  overflow: hidden;
  border: 8px solid #27447e;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(13, 72, 173, 0.18);
}

.agency-performance-screen-top {
  height: 20px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #27447e;
}

.agency-performance-screen-top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.agency-performance-meter {
  height: 70px;
  padding-top: 22px;
  text-align: center;
  background:
    radial-gradient(circle at center bottom, #ffffff 48%, transparent 49%),
    conic-gradient(
      from 230deg,
      #18a7b4 0deg 55deg,
      #2bb653 55deg 105deg,
      #ffb000 105deg 145deg,
      #ff6200 145deg 175deg,
      transparent 175deg
    );
}

.agency-performance-meter strong {
  color: #0d9b44;
  font-size: 22px;
}

.agency-performance-meter span {
  color: #26345d;
  font-size: 10px;
}

.agency-performance-chart {
  color: #1c67e5;
  font-size: 42px;
  text-align: center;
}

.agency-performance-drupal {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #2685ff, #075be8);
  font-size: 45px;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.agency-performance-speed-lines {
  position: absolute;
  top: 63px;
  left: 0;
}

.agency-performance-speed-lines span {
  display: block;
  height: 4px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, #8bbcff);
}

.agency-performance-speed-lines span:nth-child(1) {
  width: 70px;
}

.agency-performance-speed-lines span:nth-child(2) {
  width: 52px;
}

.agency-performance-speed-lines span:nth-child(3) {
  width: 38px;
}

.agency-performance-cta-content {
  min-width: 0;
}

.agency-performance-cta-content h3 {
  color: #07135c;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

.agency-performance-cta-content > p {
  color: #26345d;
  font-size: 18px;
  line-height: 1.45;
}

/* CTA feature row */

.agency-performance-cta-features {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
}

.agency-performance-cta-features > span {
  position: relative;
  min-width: 0;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #07135c;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.agency-performance-cta-features > span:first-child {
  padding-left: 0;
}

.agency-performance-cta-features > span:last-child {
  padding-right: 0;
}

.agency-performance-cta-features > span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 28px;
  background: #c7d6eb;
  transform: translateY(-50%);
}

.agency-performance-cta-features > span > i {
  width: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

/* Faster Websites */

.agency-performance-cta-features > span:nth-child(1) > i {
  color: #126af1;
}

/* Better Core Web Vitals */

.agency-performance-cta-features > span:nth-child(2) > i {
  color: #0aa54a;
}

/* Happier Clients */

.agency-performance-cta-features > span:nth-child(3) > i {
  color: #8946e8;
}

/* Stronger Agency Reputation */

.agency-performance-cta-features > span:nth-child(4) > i {
  color: #ffa000;
}

.agency-performance-cta-btn {
  min-height: 60px;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7a00, #ff4d00);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.agency-performance-cta-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(255, 90, 0, 0.3);
}

.agency-performance-trust {
  color: #07135c;
  font-size: 12px;
  font-weight: 700;
}

.agency-performance-trust i {
  color: #126af1;
  font-size: 17px;
}

/* =========================================================
   Agency Performance Support Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .agency-performance-kicker {
    font-size: 14px;
  }

  .agency-performance-head h2 {
    font-size: 32px;
  }

  .agency-performance-head p {
    font-size: 15px;
  }

  .agency-process-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .agency-process-card h3 {
    font-size: 17px;
  }

  .agency-process-card > p {
    font-size: 14px;
  }

  .agency-process-note {
    font-size: 14px;
  }

  .agency-support-feature p {
    font-size: 15px;
  }

  .agency-performance-cta-content h3 {
    font-size: 22px;
  }

  .agency-performance-cta-content > p {
    font-size: 15px;
  }

  .agency-performance-cta-features > span {
    padding: 0 15px;
    gap: 7px;
    font-size: 11px;
  }

  .agency-performance-cta-features > span > i {
    width: 21px;
    min-width: 21px;
    font-size: 21px;
  }

  .agency-performance-cta-features > span:not(:last-child)::after {
    height: 24px;
  }

  .agency-performance-cta-btn {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .agency-process-arrow {
    display: none !important;
  }

  .agency-support-feature {
    border-bottom: 1px solid #d6e1f0;
  }

  .agency-support-features .col-sm-6:nth-child(2n) .agency-support-feature {
    border-right: 0;
  }

  .agency-performance-cta {
    text-align: center;
  }

  .agency-performance-cta-content {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
  }

  .agency-performance-cta-features {
    justify-content: center;
    flex-wrap: nowrap !important;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .agency-performance-cta-features > span {
    padding: 0 10px;
    gap: 6px;
    font-size: 11px;
  }

  .agency-performance-cta-features > span > i {
    width: 19px;
    min-width: 19px;
    font-size: 19px;
  }

  .agency-performance-cta-action {
    text-align: center;
  }

  .agency-performance-trust {
    justify-content: center !important;
  }
  .agency-process-image img {
    width: 240px;
  }
  .agency-performance-visual {
    width: auto;
    height: 160px;
  }
}

@media (max-width: 991px) {
  .agency-process-card {
    min-height: 0;
  }

  .agency-support-features
    .col-sm-6:nth-last-child(-n + 2)
    .agency-support-feature {
    border-bottom: 0;
  }

  .agency-performance-cta-features {
    flex-wrap: wrap !important;
    justify-content: center;
    row-gap: 16px;
  }

  .agency-performance-cta-features > span {
    padding: 0 16px;
    font-size: 13px;
  }

  .agency-performance-cta-features > span > i {
    width: 22px;
    min-width: 22px;
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .agency-performance-kicker {
    gap: 10px !important;
    font-size: 13px;
  }
  .agency-support-feature p {
    font-size: 12px;
  }

  .agency-performance-line {
    width: 34px;
  }

  .agency-performance-head h2 {
    font-size: 22px;
  }

  .agency-performance-head p {
    font-size: 15px;
  }

  .agency-process-card {
    padding: 62px 20px 20px;
  }

  .agency-process-number {
    top: 14px;
    left: 14px;
  }

  .agency-process-icon {
    width: 130px;
    height: 110px;
    font-size: 66px;
  }

  .agency-process-card h3 {
    min-height: 0;
    font-size: 16px;
  }
  .agency-process-description p {
    font-size: 13px !important;
  }

  .agency-process-card > p,
  .agency-process-note {
    font-size: 13px;
  }

  .agency-support-feature {
    min-height: 125px;
  }

  .agency-support-feature p {
    font-size: 14px;
  }

  .agency-performance-cta {
    padding: 20px 16px;
  }

  .agency-performance-visual {
    transform: scale(0.82);
  }

  .agency-performance-cta-content h3 {
    font-size: 18px;
  }

  .agency-performance-cta-content > p {
    font-size: 14px;
  }

  .agency-performance-cta-features {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    gap: 14px;
  }

  .agency-performance-cta-features > span {
    width: 100%;
    padding: 0;
    gap: 10px;
    justify-content: flex-start;
    font-size: 14px;
    white-space: normal;
  }

  .agency-performance-cta-features > span:not(:last-child)::after {
    display: none;
  }

  .agency-performance-cta-features > span > i {
    width: 24px;
    min-width: 24px;
    font-size: 23px;
  }

  .agency-performance-cta-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .agency-performance-trust {
    font-size: 12px;
  }
  .agency-process-image img {
    width: 140px !important;
  }
  .agency-performance-cta-description p {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .agency-performance-kicker .agency-performance-line:last-child {
    display: none;
  }

  .agency-support-features .col-sm-6 {
    width: 100%;
  }

  .agency-support-feature {
    border-right: 0;
    border-bottom: 1px solid #d6e1f0 !important;
  }

  .agency-support-features .col-sm-6:last-child .agency-support-feature {
    border-bottom: 0 !important;
  }

  .agency-performance-visual {
    margin-top: -14px;
    margin-bottom: -14px;
    transform: scale(0.72);
  }
}

/* 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;
  }
}

