/* ==========================================================================
   Aspire Forensics - How to Apply Page Custom CSS (Bullet-Proof Version)
   ========================================================================== */

.how-to-apply-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.apply-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

/* Right-hand side steps box */
.apply-steps-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #0B1784;
}

/* Custom Step Items (Completely bypasses theme list styling bugs) */
.custom-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.custom-step-item:last-child {
    margin-bottom: 0;
}

.custom-step-item .step-num {
    position: static;
    color: #0B1784;
    font-weight: 700;
    font-size: 15px;
}

.custom-step-item .step-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin: 0;
}

.custom-step-item .step-text a {
    color: #0B1784;
    text-decoration: underline;
    word-break: break-all;
}

.custom-step-item .step-text a:hover {
    color: #d61c1c;
}

/* CTA Banners Row */
.cta-banners-row {
    margin-top: 40px;
}

.cta-banner-card {
    padding: 40px 25px 30px 25px;
    text-align: center;
    border-radius: 8px;
    color: #ffffff;
    height: 100%;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cta-banner-card:hover {
    transform: translateY(-5px);
}

/* Left & Right Cards Background (Blue) */
.cta-banner-card.blue-bg {
    background: linear-gradient(135deg, #0B1784 0%, #1a33c4 100%);
}

/* Center Card Background (Red) */
.cta-banner-card.red-bg {
    background: linear-gradient(135deg, #d61c1c 0%, #ff4500 100%);
}

.cta-banner-card h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.cta-banner-card h3 span {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

.cta-card-btn {
    margin-top: auto;
}

/* Highlighted Solid Buttons */
.custom-apply-btn {
    display: inline-block !important;
    background: #ffffff !important;
    color: #0B1784 !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2) !important;
    border: none !important;
}

/* Red text for button inside the red center card */
.custom-apply-btn.red-btn-text {
    color: #d61c1c !important;
}

.custom-apply-btn:hover {
    background: #111111 !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .cta-banner-card {
        margin-bottom: 20px;
    }
}