

/* =========================================================
   10. Drupal Performance Improvement
   ========================================================= */

.drupal-performance-improvement-section {
    background: #ffffff;
}

.drupal-performance-improvement-wrap {
    padding: 58px 60px 28px;
    border: 1px solid #7888ad;
    border-radius: 20px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 18%,
            rgba(0, 104, 255, 0.21),
            transparent 25%),
        radial-gradient(circle at 10% 90%,
            rgba(0, 62, 194, 0.16),
            transparent 30%),
        linear-gradient(135deg, #020721 0%, #061336 50%, #020821 100%);
    box-shadow: 0 22px 55px rgba(2, 12, 40, 0.2);
}

.drupal-performance-improvement-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}

.drupal-performance-improvement-glow-one {
    top: -180px;
    right: 18%;
    width: 460px;
    height: 460px;
    background: rgba(0, 93, 255, 0.11);
}

.drupal-performance-improvement-glow-two {
    bottom: -200px;
    left: 10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 63, 190, 0.08);
}

.drupal-performance-improvement-content {
    max-width: 820px;
    min-width: 0;
}

.drupal-performance-improvement-kicker {
    color: #ff6700;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.drupal-performance-improvement-kicker>i {
    font-size: 22px;
}

.drupal-performance-improvement-kicker-line {
    position: relative;
    width: 28px;
    height: 2px;
    flex-shrink: 0;
    background: #ff6700;
}

.drupal-performance-improvement-kicker-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff6700;
    transform: translateY(-50%);
}

.drupal-performance-improvement-content h2 {
    color: #ffffff;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.drupal-performance-improvement-title-line {
    display: block;
    width: 72px;
    height: 5px;
    border-radius: 10px;
    background: #ff6700;
}

.drupal-performance-improvement-description {
    max-width: 780px;
}

.drupal-performance-improvement-description p {
    margin-bottom: 0;
    color: #f1f4fb;
    font-size: 18px;
    line-height: 1.75;
}

.drupal-performance-improvement-primary-btn,
.drupal-performance-improvement-secondary-btn {
    min-height: 70px;
    padding: 16px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 2px solid transparent;
    border-radius: 9px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.drupal-performance-improvement-primary-btn {
    background: linear-gradient(135deg, #ff7a00, #ff4d00);
    box-shadow: 0 12px 28px rgba(255, 90, 0, 0.25);
}

.drupal-performance-improvement-secondary-btn {
    border-color: #ffffff;
    background: rgba(5, 15, 45, 0.78);
}

.drupal-performance-improvement-primary-btn:hover,
.drupal-performance-improvement-secondary-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.drupal-performance-improvement-secondary-btn:hover {
    border-color: #1687ff;
}

/* =========================================================
   Benefit Row
   ========================================================= */

.drupal-performance-improvement-benefits {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    row-gap: 12px;
}

.drupal-performance-improvement-benefits>span {
    position: relative;
    min-width: 0;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.drupal-performance-improvement-benefits>span:first-child {
    padding-left: 0;
}

.drupal-performance-improvement-benefits>span:last-child {
    padding-right: 0;
}

.drupal-performance-improvement-benefits>span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 24px;
    background: rgba(118, 147, 200, 0.42);
    transform: translateY(-50%);
}

.drupal-performance-improvement-benefits>span>i {
    width: 19px;
    min-width: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7200;
    font-size: 19px;
    line-height: 1;
    flex-shrink: 0;
}

/* =========================================================
   Dashboard Image
   ========================================================= */

.drupal-performance-dashboard {
    max-width: 650px;
    margin-left: auto;
}

.drupal-performance-improvement-image {
    width: 100%;
}

.drupal-performance-improvement-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   Performance Secure Note
   ========================================================= */

.drupal-performance-secure-note {
    width: fit-content;
    max-width: 100%;
    min-height: 74px;
    margin-left: auto;
    padding: 13px 18px;
    border: 1px solid rgba(118, 147, 200, 0.55);
    border-radius: 14px;
    background:
        linear-gradient(145deg,
            rgba(6, 22, 55, 0.95),
            rgba(3, 13, 38, 0.95));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.drupal-performance-secure-note>i {
    color: #23cd51;
    font-size: 34px;
    line-height: 1;
    flex-shrink: 0;
}

.drupal-performance-secure-content {
    min-width: 0;
    color: #ffffff;
    text-align: left;
}

.drupal-performance-secure-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
}

.drupal-performance-secure-title strong {
    color: #ffffff;
    font-weight: 700;
}

.drupal-performance-secure-separator {
    color: #ffffff;
    opacity: 0.85;
}

.drupal-performance-secure-description {
    margin-top: 2px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
}

/* Remove old paragraph spacing if old markup is cached. */
.drupal-performance-secure-note p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
}

/* =========================================================
   Services
   ========================================================= */

.drupal-performance-services {
    overflow: hidden;
    border: 1px solid rgba(50, 88, 157, 0.25);
    border-radius: 14px;
    background:
        linear-gradient(90deg,
            rgba(4, 17, 48, 0.88),
            rgba(3, 12, 36, 0.88));
}

.drupal-performance-service-item {
    padding: 25px 25px 28px;
    border-right: 1px solid rgba(71, 111, 180, 0.35);
}

.drupal-performance-services .col-xl-2:last-child .drupal-performance-service-item {
    border-right: 0;
}

.drupal-performance-service-item>i {
    min-height: 70px;
    margin-bottom: 16px;
    color: #1575f4;
    font-size: 62px;
}

.drupal-performance-service-item h3 {
    min-height: 55px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 900;
}

.drupal-performance-service-description p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   Status Bar
   ========================================================= */

.drupal-performance-status-bar {
    row-gap: 15px;
}

.drupal-performance-status-bar>span {
    position: relative;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.drupal-performance-status-bar>span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 30px;
    background: rgba(112, 143, 198, 0.45);
    transform: translateY(-50%);
}

.drupal-performance-status-bar i {
    font-size: 25px;
}

.drupal-performance-status-orange i {
    color: #ff7800;
}

.drupal-performance-status-yellow i {
    color: #e7d82c;
}

.drupal-performance-status-green i {
    color: #49dc72;
}

.drupal-performance-status-teal i {
    color: #14c8bc;
}

/* =========================================================
   Drupal Performance Improvement Responsive
   ========================================================= */

@media (max-width: 1600px) {
    .drupal-performance-improvement-wrap {
        padding: 45px 40px 25px;
    }

    .drupal-performance-improvement-kicker {
        font-size: 14px;
    }

    .drupal-performance-improvement-content h2 {
        font-size: 32px;
    }

    .drupal-performance-improvement-description p {
        font-size: 15px;
    }

    .drupal-performance-improvement-primary-btn,
    .drupal-performance-improvement-secondary-btn {
        min-height: 58px;
        padding: 13px 18px;
        font-size: 14px;
    }

    .drupal-performance-improvement-benefits {
        justify-content: flex-start;
        flex-wrap: nowrap !important;
    }

    .drupal-performance-improvement-benefits>span {
        padding: 0 9px;
        gap: 5px;
        font-size: 10px;
    }

    .drupal-performance-improvement-benefits>span>i {
        width: 16px;
        min-width: 16px;
        font-size: 16px;
    }

    .drupal-performance-improvement-benefits>span:not(:last-child)::after {
        height: 20px;
    }

    .drupal-performance-service-item {
        padding-right: 16px;
        padding-left: 16px;
    }

    .drupal-performance-service-item h3 {
        font-size: 17px;
    }

    .drupal-performance-service-description p {
        font-size: 14px;
    }

    .drupal-performance-status-bar>span {
        padding: 0 22px;
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .drupal-performance-improvement-content {
        max-width: 100%;
        text-align: center;
    }

    .drupal-performance-improvement-kicker,
    .drupal-performance-improvement-actions {
        justify-content: center;
    }

    .drupal-performance-improvement-title-line {
        margin-right: auto;
        margin-left: auto;
    }

    .drupal-performance-improvement-description {
        margin-right: auto;
        margin-left: auto;
    }

    .drupal-performance-improvement-benefits {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        justify-content: center;
        flex-wrap: nowrap !important;
    }

    .drupal-performance-improvement-benefits>span {
        padding: 0 12px;
        gap: 6px;
        font-size: 12px;
    }

    .drupal-performance-improvement-benefits>span>i {
        width: 17px;
        min-width: 17px;
        font-size: 17px;
    }

    .drupal-performance-dashboard {
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
    }

    .drupal-performance-service-item {
        border-right: 1px solid rgba(71, 111, 180, 0.35);
        border-bottom: 1px solid rgba(71, 111, 180, 0.35);
    }

    .drupal-performance-services .col-md-6:nth-child(2n) .drupal-performance-service-item {
        border-right: 0;
    }

    .drupal-performance-services .col-md-6:nth-last-child(-n + 2) .drupal-performance-service-item {
        border-bottom: 0;
    }
}

@media (max-width: 991px) {
    .drupal-performance-improvement-wrap {
        padding: 38px 28px 24px;
    }

    .drupal-performance-improvement-benefits {
        justify-content: center;
        flex-wrap: wrap !important;
        row-gap: 16px;
    }

    .drupal-performance-improvement-benefits>span {
        padding: 0 15px;
        font-size: 13px;
    }

    .drupal-performance-improvement-benefits>span>i {
        width: 19px;
        min-width: 19px;
        font-size: 19px;
    }

    .drupal-performance-secure-note {
        width: fit-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .drupal-performance-improvement-wrap {
        padding: 32px 18px 22px;
        border-radius: 15px;
    }

    .drupal-performance-improvement-kicker {
        justify-content: flex-start;
        gap: 9px !important;
        font-size: 13px;
        text-align: left;
    }

    .drupal-performance-improvement-kicker-line:last-child {
        display: none;
    }

    .drupal-performance-improvement-content h2 {
        font-size: 22px;
    }

    .drupal-performance-improvement-content h2 br {
        display: none;
    }

    .drupal-performance-improvement-description p {
        font-size: 15px;
    }

    .drupal-performance-improvement-actions {
        flex-direction: column;
    }

    .drupal-performance-improvement-primary-btn,
    .drupal-performance-improvement-secondary-btn {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .drupal-performance-improvement-benefits {
        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: 13px;
    }

    .drupal-performance-improvement-benefits>span {
        width: 100%;
        padding: 0;
        gap: 9px;
        justify-content: flex-start;
        font-size: 14px;
        white-space: normal;
    }

    .drupal-performance-improvement-benefits>span:not(:last-child)::after {
        display: none;
    }

    .drupal-performance-improvement-benefits>span>i {
        width: 19px;
        min-width: 19px;
        font-size: 18px;
    }

    .drupal-performance-service-item {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(71, 111, 180, 0.35) !important;
    }

    .drupal-performance-services .col-md-6:last-child .drupal-performance-service-item {
        border-bottom: 0 !important;
    }

    .drupal-performance-service-item h3 {
        min-height: 0;
        font-size: 16px;
    }

    .drupal-performance-service-description p {
        font-size: 13px;
    }

    .drupal-performance-status-bar {
        width: max-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 14px;
    }

    .drupal-performance-status-bar>span {
        padding: 0;
        font-size: 12px;
    }

    .drupal-performance-status-bar>span:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .drupal-performance-improvement-wrap {
        padding-right: 14px;
        padding-left: 14px;
    }

    .drupal-performance-improvement-kicker-line {
        width: 22px;
    }

    .drupal-performance-secure-note {
        width: 100%;
        min-height: 68px;
        padding: 13px 14px;
        align-items: center !important;
    }

    .drupal-performance-secure-note>i {
        font-size: 30px;
    }

    .drupal-performance-secure-title,
    .drupal-performance-secure-description {
        font-size: 12px;
    }
}
/* 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;
  }
}
