/* ==========================================================================
   B.P.L Associates - Bank Loan Specific Stylesheet
   ========================================================================== */

.details-hero {
    position: relative;
    padding: 160px 0 90px 0;
    background: radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, var(--primary) 0%, #030d1a 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.details-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.breadcrumb-custom a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-custom a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    opacity: 0.4;
}

.compliance-wrapper {
    padding: 6rem 0;
    background-color: #fcfcfd;
}

/* Timeline/Progress Step layout Styles */
.timeline-container {
    position: relative;
    padding-left: 3rem;
    border-left: 2px dashed rgba(212, 175, 55, 0.35);
    margin-top: 1rem;
}

.timeline-step {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: calc(-3rem - 22px);
    top: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--secondary);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-badge {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.3);
}

.timeline-content-card {
    background: #FFFFFF;
    border: 1px solid rgba(8, 26, 51, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(8, 26, 51, 0.015);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-lg);
}

.timeline-step-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.timeline-step-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background-color: rgba(8, 26, 51, 0.03);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-content-card:hover .timeline-step-icon {
    background-color: var(--primary);
    color: var(--secondary);
}

.step-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(8, 26, 51, 0.06);
    padding-top: 1.5rem;
}

.step-subpoint {
    background-color: rgba(8, 26, 51, 0.01);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(8, 26, 51, 0.03);
    transition: all 0.3s ease;
}

.timeline-content-card:hover .step-subpoint {
    background-color: rgba(8, 26, 51, 0.02);
    border-color: rgba(212, 175, 55, 0.1);
}

.step-subpoint h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.step-subpoint p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.detail-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: auto;
}

.detail-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: #556980;
    line-height: 1.6;
}

.detail-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .details-hero {
        padding: 120px 0 60px 0;
    }
    .details-hero h1 {
        font-size: 2.2rem !important;
    }
    .compliance-wrapper {
        padding: 4rem 0;
    }
    .compliance-wrapper h2 {
        font-size: 1.75rem !important;
    }
    .timeline-container {
        padding-left: 2.5rem;
        margin-left: 1rem;
        border-left: 2px dashed rgba(212, 175, 55, 0.35);
    }
    .timeline-badge {
        left: calc(-2.5rem - 20px); /* Centers the 38px badge on the 2px dashed line */
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        top: 10px;
        border-width: 2px;
    }
    .timeline-step {
        margin-bottom: 2.5rem;
    }
    .timeline-content-card {
        padding: 1.75rem;
    }
    .timeline-step-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    .timeline-step-header h4 {
        font-size: 1.25rem !important;
        margin-bottom: 0 !important;
    }
    .timeline-step-icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }
    .detail-list li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }
}
