/* --- General Styling --- */

.seaction_bg_gp{
     
             padding-top: 100px;
    padding-bottom: 100px;
}

.form-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
   
}

/* Decorative Top Circle */
.form-container::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #0B1C26;
    border-radius: 50%;
    top: 40px;
    right: -40px;
    opacity: 0.1;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: #0B1C26;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.form-header p {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* --- Stepper (Progress Bar) --- */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    padding: 0 20px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #eee;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 33.33%;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #eee;
}

.step-item.active .step-circle {
    background: #FF3B3B;
    color: #fff;
    box-shadow: 0 0 0 2px #FF3B3B;
}

.step-item.completed .step-circle {
    background: #0B1C26;
    color: #fff;
    box-shadow: 0 0 0 2px #0B1C26;
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.step-item.active .step-label {
    color: #FF3B3B;
}

/* --- Form Steps --- */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0B1C26;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-label {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s;
    background-color: #fcfcfc;
}

.form-control:focus,
.form-select:focus {
    border-color: #FF3B3B;
    box-shadow: 0 0 0 0.25rem rgba(255, 59, 59, 0.1);
    background-color: #fff;
}

/* --- Document Upload Section --- */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    overflow: hidden;
}

.upload-box:hover {
    border-color: #FF3B3B;
    background: #fff5f5;
}

.upload-box input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 24px;
    color: #FF3B3B;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

/* Image Preview */
.img-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    border-radius: 10px;
}

.upload-box.has-file {
    border-style: solid;
    border-color: #0B1C26;
    padding: 0;
}

.upload-box.has-file .img-preview {
    display: block;
}

.upload-box.has-file .upload-icon,
.upload-box.has-file .upload-text {
    display: none;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #FF3B3B;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.upload-box.has-file .remove-btn {
    display: flex;
}

/* --- Buttons --- */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-nav {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: none;
}

.btn-prev {
    background: #f0f0f0;
    color: #555;
}

.btn-prev:hover {
    background: #e0e0e0;
}

.btn-next,
.btn-submit {
    background: #0B1C26;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-next:hover,
.btn-submit:hover {
    background: #FF3B3B;
    color: #fff;
}

.btn-submit {
    display: none;
    /* Hidden by default, shown on last step */
}

/* Checkbox Styling */
.form-check-input:checked {
    background-color: #FF3B3B;
    border-color: #FF3B3B;
}

.form-check-label {
    font-size: 13px;
    color: #555;
}