/* --- HEADER --- */
.process-header {
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.process-header h1 { font-size: 3rem; margin-bottom: 10px; }
.breadcrumb { color: #ccc; }

/* --- TIMELINE SECTION --- */
.process-timeline-section {
    padding: 0 0 80px 0;
    position: relative;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Central Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #eee;
    transform: translateX(-50%);
    z-index: 0;
}

/* Process Card (Common) */
.process-card {
    width: 45%; /* Half width */
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    opacity: 0; /* JS se fade-in hoga */
    transform: translateY(30px);
    transition: 0.5s all ease;
}

/* Left Card Default */
.process-card {
    margin-left: 0;
    margin-right: auto;
    text-align: right; /* Content towards center */
    padding-right: 40px;
}

/* Right Card */
.process-card.right-card {
    margin-left: auto;
    margin-right: 0;
    text-align: left; /* Content towards center */
    padding-left: 40px;
}

/* Number Badge (Center Circle) */
.step-badge {
    position: absolute;
    top: 20px;
    width: 50px; height: 50px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    box-shadow: 0 0 0 5px #fff; /* White border effect */
}

/* Badge Positioning */
.process-card .step-badge { right: -65px; } /* Left card ka badge right par */
.right-card .step-badge { left: -65px; } /* Right card ka badge left par */

/* Card Content Styling */
.step-content {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: 0.3s;
}

.process-card:hover .step-content {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.icon-box {
    font-size: 2.5rem; color: var(--primary); margin-bottom: 15px;
}
.step-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--primary); }
.step-content p { color: #666; line-height: 1.6; }

/* Visible State (JS) */
.process-card.visible { opacity: 1; transform: translateY(0); }


/* --- DOCUMENTS CHECKLIST --- */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doc-item {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.doc-item:hover { border-color: var(--secondary); transform: translateY(-5px); }
.doc-item i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }
.doc-item h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
.doc-item p { color: #777; font-size: 0.9rem; }


/* --- RESPONSIVE TIMELINE FIX --- */
@media (max-width: 768px) {
    /* Line ko Left par shift karein */
    .timeline-line { left: 30px; }
    
    /* Cards ko Full width aur Left Align karein */
    .process-card, .process-card.right-card {
        width: 100%;
        margin-left: 0;
        text-align: left;
        padding-left: 70px; /* Line ke liye jagah */
        padding-right: 0;
        margin-bottom: 40px;
    }

    /* Badges ko Left Line par set karein */
    .process-card .step-badge, .right-card .step-badge {
        left: 6px; /* 30px line center - 25px half badge ~ 5px adjust */
        right: auto;
    }
}