/* =========================================================
   05. Trial Task Process
   ========================================================= */

.trial-process-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left,
            rgba(13, 110, 253, 0.045),
            transparent 24%),
        linear-gradient(180deg,
            #ffffff 0%,
            #fbfdff 100%);
}

.trial-process-section::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 28px;
    width: 105px;
    height: 90px;
    opacity: 0.28;
    pointer-events: none;
    background-image:
        radial-gradient(circle,
            #176ee0 2px,
            transparent 2.5px);
    background-size: 17px 17px;
}

.trial-process-section::after {
    content: "";
    position: absolute;
    top: -105px;
    right: -80px;
    width: 330px;
    height: 300px;
    opacity: 0.08;
    border: 2px solid #176ee0;
    border-radius: 45% 0 45% 60%;
    transform: rotate(28deg);
    pointer-events: none;
}

/* =========================================================
   Section Heading
   ========================================================= */

.trial-process-head {
    position: relative;
    z-index: 2;
    max-width: 1050px;
}

.trial-process-kicker {
    color: #ff5a00;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trial-process-line {
    width: 38px;
    height: 1px;
    flex-shrink: 0;
    background: #ff5a00;
}

.trial-process-dot {
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ff5a00;
}

.trial-process-head h2 {
    color: #071333;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.trial-process-head h2 span {
    color: #176ee0;
}

.trial-process-head-description {
    color: #34405c;
    font-size: 18px;
    line-height: 1.5;
}

.trial-process-head-description p {
    margin-bottom: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* =========================================================
   Process Steps
   ========================================================= */

.trial-process-steps {
    position: relative;
    z-index: 3;
}

.trial-process-steps .row {
    align-items: flex-start;
}

.trial-process-step {
    --process-color: #176ee0;
    --process-soft: #edf4ff;

    position: relative;
    min-width: 0;
    padding: 0 18px;

    /* Important: prevents colored full-card backgrounds */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Scoped process colors */

.trial-process-step.trial-process-blue {
    --process-color: #176ee0;
    --process-soft: #edf4ff;
    background: transparent !important;
}

.trial-process-step.trial-process-green {
    --process-color: #1da852;
    --process-soft: #eaf8ef;
    background: transparent !important;
}

.trial-process-step.trial-process-purple {
    --process-color: #7934df;
    --process-soft: #f4edff;
    background: transparent !important;
}

.trial-process-step.trial-process-orange {
    --process-color: #ff6500;
    --process-soft: #fff0e8;
    background: transparent !important;
}

.trial-process-step.trial-process-teal {
    --process-color: #14a9bb;
    --process-soft: #e9f9fb;
    background: transparent !important;
}

/* =========================================================
   Process Icons
   ========================================================= */

.trial-process-icon {
    position: relative;
    width: 165px;
    min-width: 165px;
    height: 165px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--process-color);
    background: var(--process-soft);
    box-shadow: none;
}

.trial-process-icon-circle {
    border-radius: 50%;
}

.trial-process-icon-square {
    border-radius: 28px;
    transform: rotate(-5deg);
}

.trial-process-icon-square .trial-process-icon-inner {
    transform: rotate(5deg);
}

.trial-process-icon-hexagon {
    clip-path:
        polygon(25% 6%,
            75% 6%,
            100% 30%,
            100% 70%,
            75% 94%,
            25% 94%,
            0 70%,
            0 30%);
}

.trial-process-icon-triangle {
    clip-path:
        polygon(50% 0,
            100% 88%,
            92% 100%,
            8% 100%,
            0 88%);
}

.trial-process-icon-diamond {
    border-radius: 35px;
    transform: rotate(45deg);
}

.trial-process-icon-diamond .trial-process-icon-inner {
    transform: rotate(-45deg);
}

.trial-process-icon-inner {
    position: relative;
    width: 105px;
    min-width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34%;
    color: var(--process-color);
    background: #ffffff;
    font-size: 46px;
    box-shadow:
        0 10px 25px rgba(17, 40, 80, 0.09),
        inset 0 0 12px rgba(255, 255, 255, 0.8);
}

.trial-process-icon-inner>i {
    color: var(--process-color);
    line-height: 1;
}

.trial-process-icon-circle .trial-process-icon-inner {
    border-radius: 50%;
}

.trial-process-icon-overlay {
    position: absolute;
    right: 13px;
    bottom: 14px;
    padding: 4px;
    border-radius: 50%;
    color: var(--process-color);
    background: #ffffff;
    font-size: 24px;
}

.trial-process-check {
    position: absolute;
    right: 10px;
    bottom: 11px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--process-color);
    background: #ffffff;
    font-size: 20px;
}

.trial-process-check i {
    color: var(--process-color);
    line-height: 1;
}

/* =========================================================
   Step Number
   ========================================================= */

.trial-process-number {
    position: relative;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: -10px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: var(--process-color);
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(17, 40, 80, 0.12);
}

/* =========================================================
   Step Content
   ========================================================= */

.trial-process-step h3 {
    min-height: 54px;
    margin-bottom: 8px !important;
    color: #071333 !important;
    background: transparent !important;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: break-word;
}

.trial-process-divider {
    width: 32px;
    height: 3px;
    margin: 0 auto 18px;
    display: block;
    border-radius: 10px;
    background: var(--process-color);
}

/* Your Twig outputs a DIV, not a direct paragraph */
.trial-process-step-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 215px;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto;
    color: #34405c !important;
    background: transparent !important;
    font-size: 16px;
    line-height: 1.65;
    overflow: visible !important;
    overflow-wrap: break-word;
    word-break: normal;
}

.trial-process-step-description p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0;
    color: inherit !important;
    background: transparent !important;
    font-size: inherit;
    line-height: inherit;
    overflow: visible !important;
}

/* =========================================================
   Process Connector Arrows
   ========================================================= */

.trial-process-arrow {
    position: absolute;
    top: 75px;
    right: -30px;
    z-index: 8;
    width: 60px;
    height: 25px;
    align-items: center;
    justify-content: flex-end;
    color: #6176a3;
    font-size: 17px;
}

.trial-process-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 55px;
    border-top: 1px dashed #6580be;
    transform: translateY(-50%);
}

.trial-process-arrow i {
    position: relative;
    z-index: 2;
    padding-left: 5px;
    color: #6176a3;
    background: #ffffff;
}

/* =========================================================
   Bottom Section
   ========================================================= */

.trial-process-bottom {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border: 1px solid #d8e4f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 40, 80, 0.055);
}

/* =========================================================
   Statistics
   ========================================================= */

.trial-process-stats {
    min-height: 290px;
    background: #ffffff;
}

.trial-process-stats .row {
    align-items: stretch;
}

.trial-process-stat {
    --process-color: #176ee0;

    position: relative;
    width: 100%;
    height: 100%;
    padding: 28px 22px 24px;
    background: #ffffff !important;
    border-right: 1px solid #d7e1ef;
    box-shadow: none !important;
}

/* Individual stat colors */

.trial-process-stat.trial-process-blue {
    --process-color: #176ee0;
    background: #ffffff !important;
}

.trial-process-stat.trial-process-green {
    --process-color: #1da852;
    background: #ffffff !important;
}

.trial-process-stat.trial-process-purple {
    --process-color: #7934df;
    background: #ffffff !important;
}

.trial-process-stat.trial-process-orange {
    --process-color: #ff5a00;
    background: #ffffff !important;
}

.trial-process-stats .col-lg-3:last-child .trial-process-stat {
    border-right: 0;
}

/* Statistic Icon */

.trial-process-stat-icon {
    width: 68px;
    min-width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff !important;
    background: var(--process-color) !important;
    font-size: 29px;
    box-shadow: 0 9px 20px rgba(17, 40, 80, 0.12);
}

.trial-process-stat-icon i {
    color: #ffffff !important;
    line-height: 1;
}

/* Statistic Number */

.trial-process-stat strong {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 6px;
    color: var(--process-color) !important;
    background: transparent !important;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

/* Statistic Heading */

.trial-process-stat h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 11px;
    color: #071333 !important;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 900;
}

/* Actual Drupal statistic description */
.trial-process-stat-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 165px;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto;
    color: #34405c !important;
    background: transparent !important;
    font-size: 12px;
    line-height: 1.6;
    overflow: visible !important;
    overflow-wrap: break-word;
    word-break: normal;
}

.trial-process-stat-description p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0;
    color: inherit !important;
    background: transparent !important;
    font-size: inherit;
    line-height: inherit;
    overflow: visible !important;
}

/* =========================================================
   CTA Panel
   ========================================================= */

.trial-process-cta {
    position: relative;
    min-height: 290px;
    height: 100%;
    padding: 38px 44px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at top right,
            rgba(0, 112, 255, 0.26),
            transparent 30%),
        radial-gradient(circle at bottom left,
            rgba(0, 91, 255, 0.16),
            transparent 28%),
        linear-gradient(135deg,
            #020b25 0%,
            #062653 55%,
            #031b3d 100%);
}

.trial-process-cta::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 290px;
    height: 190px;
    opacity: 0.13;
    pointer-events: none;
    background:
        repeating-radial-gradient(ellipse at center,
            transparent 0 10px,
            #1980ff 11px 12px,
            transparent 13px 19px);
}

.trial-process-cta-content {
    position: relative;
    z-index: 3;
    min-width: 0;
}

.trial-process-cta h3 {
    margin-bottom: 8px !important;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 900;
}

.trial-process-cta h3 span {
    color: #ff5a00 !important;
}

/* Actual Drupal CTA description DIV */

.trial-process-cta-description {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.55;
}

.trial-process-cta-description p {
    margin-bottom: 0;
    color: #ffffff !important;
    font-size: inherit;
    line-height: inherit;
}

/* =========================================================
   CTA Buttons
   ========================================================= */

.trial-process-cta-actions {
    position: relative;
    z-index: 4;
}

.trial-process-btn {
    min-height: 52px;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-radius: 7px;
    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;
}

.trial-process-btn-orange {
    border: 1px solid #ff5a00;
    background:
        linear-gradient(135deg,
            #ff7200,
            #ff4d00);
    box-shadow: 0 10px 24px rgba(255, 90, 0, 0.22);
}

.trial-process-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: transparent;
}

.trial-process-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.trial-process-btn-orange:hover {
    box-shadow: 0 14px 28px rgba(255, 90, 0, 0.28);
}

.trial-process-btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* =========================================================
   CTA Trust Items
   ========================================================= */

.trial-process-trust {
    position: relative;
    z-index: 4;
    row-gap: 10px;
}

.trial-process-trust span {
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-right: 1px solid rgba(195, 215, 243, 0.35);
    color: #ffffff;
    font-size: 11px;
    line-height: 1.35;
}

.trial-process-trust span:first-child {
    padding-left: 0;
}

.trial-process-trust span:last-child {
    border-right: 0;
}

.trial-process-trust i {
    flex-shrink: 0;
    color: #ff5a00;
    font-size: 17px;
}

.trial-process-cta-arrow {
    position: absolute;
    top: 55px;
    right: 60px;
    z-index: 2;
    color: #ffffff;
    font-size: 45px;
    opacity: 0.8;
    transform: rotate(10deg);
}

/* =========================================================
   Trial Task Process Responsive
   ========================================================= */

@media (max-width: 1399px) {
    .trial-process-kicker {
        font-size: 14px;
    }

    .trial-process-head h2 {
        font-size: 32px;
    }

    .trial-process-head-description {
        font-size: 15px;
    }

    .trial-process-step {
        padding-right: 10px;
        padding-left: 10px;
    }

    .trial-process-icon {
        width: 135px;
        min-width: 135px;
        height: 135px;
    }

    .trial-process-icon-inner {
        width: 88px;
        min-width: 88px;
        height: 88px;
        font-size: 38px;
    }

    .trial-process-icon-overlay {
        right: 10px;
        bottom: 12px;
        font-size: 20px;
    }

    .trial-process-number {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .trial-process-step h3 {
        min-height: 44px;
        font-size: 17px;
    }

    .trial-process-step-description {
        max-width: 190px;
        font-size: 14px;
    }

    .trial-process-arrow {
        top: 61px;
    }

    .trial-process-stat {
        padding: 25px 14px 22px;
    }

    .trial-process-stat-icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .trial-process-stat strong {
        font-size: 25px;
    }

    .trial-process-stat h3 {
        font-size: 12px;
    }

    .trial-process-stat-description {
        max-width: 145px;
        font-size: 11px;
    }

    .trial-process-cta {
        padding: 32px 30px;
    }

    .trial-process-cta h3 {
        font-size: 22px;
    }

    .trial-process-cta-description {
        font-size: 14px;
    }

    .trial-process-btn {
        padding-right: 18px;
        padding-left: 18px;
        font-size: 14px;
    }
}

@media (max-width: 1199px) {
    .trial-process-step {
        padding-bottom: 20px;
    }

    .trial-process-step h3 {
        min-height: 0;
    }

    .trial-process-step-description {
        max-width: 270px;
    }

    .trial-process-bottom {
        overflow: hidden;
    }

    .trial-process-cta {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    .trial-process-stat {
        border-bottom: 1px solid #d7e1ef;
    }

    .trial-process-stats .col-sm-6:nth-child(2n) .trial-process-stat {
        border-right: 0;
    }

    .trial-process-stats .col-sm-6:nth-last-child(-n + 2) .trial-process-stat {
        border-bottom: 0;
    }

    .trial-process-cta {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767px) {
    .trial-process-kicker {
        gap: 8px !important;
        font-size: 12px;
    }

    .trial-process-line {
        width: 30px;
    }

    .trial-process-head h2 {
        font-size: 22px;
    }

    .trial-process-head-description {
        font-size: 16px;
    }

    .trial-process-step {
        padding: 10px 15px 25px;
    }

    .trial-process-icon {
        width: 120px;
        min-width: 120px;
        height: 120px;
    }

    .trial-process-icon-inner {
        width: 78px;
        min-width: 78px;
        height: 78px;
        font-size: 34px;
    }

    .trial-process-number {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
        font-size: 14px;
    }

    .trial-process-step h3 {
        min-height: 0;
        font-size: 18px;
    }

    .trial-process-step-description {
        max-width: 300px;
        font-size: 14px;
        line-height: 1.55;
    }

    .trial-process-bottom {
        margin-top: 30px !important;
    }

    .trial-process-stat {
        min-height: 230px;
        padding: 24px 16px;
    }

    .trial-process-stat strong {
        font-size: 24px;
    }

    .trial-process-stat h3 {
        font-size: 14px;
    }

    .trial-process-stat-description {
        max-width: 190px;
        font-size: 12px;
    }

    .trial-process-cta {
        padding: 25px 20px;
    }

    .trial-process-cta h3 {
        font-size: 18px;
    }

    .trial-process-cta-description {
        font-size: 14px;
    }

    .trial-process-cta-actions {
        flex-direction: column;
    }

    .trial-process-btn {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .trial-process-trust {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .trial-process-trust span {
        padding: 0;
        border-right: 0;
        font-size: 12px;
    }

    .trial-process-cta-arrow {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .trial-process-section::before {
        width: 70px;
        height: 70px;
        background-size: 13px 13px;
    }

    .trial-process-section::after {
        width: 180px;
        height: 180px;
    }

    .trial-process-stat {
        min-height: 0;
        border-right: 0 !important;
        border-bottom: 1px solid #d7e1ef !important;
    }

    .trial-process-stats .col-sm-6:last-child .trial-process-stat {
        border-bottom: 0 !important;
    }

    .trial-process-stat-description {
        max-width: 260px;
    }
}

/* 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;
  }
}
