﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
/*    min-height: 100vh;
    display: flex;*/
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);*/
    padding: 20px;
}

.container {
    width: 100%;
/*    max-width: 800px;*/
/*    max-width: 100%;*/
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 40px;
}

    .progress-bar::before {
        content: "";
        position: absolute;
        height: 3px;
        width: calc(100% - 80px);
        background: #f0f0f0;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);
        z-index: 0;
    }

.progress-step {
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .progress-step.active {
        border-color: #6366f1;
        background: #6366f1;
        color: white;
    }

    .progress-step.completed {
        border-color: #6366f1;
        background: #6366f1;
        color: white;
    }

.form-step {
    display: none;
    padding: 0 20px;
}

    .form-step.active {
        display: block;
        animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #4b5563;
        font-weight: 500;
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f9fafb;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #6366f1;
            background: white;
        }

.btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #f3f4f6;
    color: #4b5563;
}

.btn-next {
    background: #6366f1;
    color: white;
}

.btn-submit {
    background: #6366f1;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.15);
}

.course-option {
    border: 2px solid #e5e7eb;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

    .course-option:hover {
        border-color: #6366f1;
        background: white;
    }

    .course-option.selected {
        border-color: #6366f1;
        background: #eef2ff;
    }

    .course-option h3 {
        color: #1a1a1a;
        margin-bottom: 1px;
        font-size: 1.2rem;
    }

    .course-option p {
        color: #4b5563;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

    .payment-option:hover {
        border-color: #6366f1;
        background: white;
    }

    .payment-option.selected {
        border-color: #6366f1;
        background: #eef2ff;
    }

    .payment-option label {
        font-weight: 500;
        color: #1a1a1a;
        font-size: 1rem;
    }

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 2px solid #f3f4f6;
}

    .summary-item span:first-child {
        color: #4b5563;
        font-weight: 500;
    }

    .summary-item span:last-child {
        color: #1a1a1a;
        font-weight: 600;
    }

.success-message {
    text-align: center;
    padding: 40px 20px;
}

    .success-message h2 {
        color: #6366f1;
        margin-bottom: 20px;
    }

    .success-message p {
        color: #4b5563;
        font-size: 1.1rem;
        line-height: 1.6;
    }


/*.error-message {
    text-align: center;
    padding: 40px 20px;
}*/

    .error-message h2 {
        color: #f23b00;
        margin-bottom: 20px;
    }

    .error-message p {
        color: #4b5563;
        font-size: 1.1rem;
        line-height: 1.6;
    }


.error-message-box h2 {
    color: #f23b00;
    margin-bottom: 20px;
}

.error-message-box p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.6;
}

/*@media (max-width: 640px) {
    .container {
        padding: 20px;
    }

    .progress-bar {
        padding: 0 20px;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}*/


.course-option-eligibility {
    border: 2px solid #e5e7eb;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #f9fafb;
}



    .course-option-eligibility .selected {
        border-color: #6366f1;
        background: #eef2ff;
    }

    .course-option-eligibility h3 {
        color: #1a1a1a;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .course-option-eligibility p {
        color: #4b5563;
        margin-bottom: 8px;
        font-size: 0.7rem;
    }
.offer-page-header {
    display: flex;
    justify-content: space-around;
}
.offer-page-heading{
    text-align:center;
}
.bkcolor {
    background: #bbc2c92b;
}



.card-container {
    display: flex;
    flex-wrap: wrap;
    /*gap: 20px;*/
    padding: 10px;
    justify-content: center;
}

.bank-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

    .bank-card:hover {
        border-color: #6366f1;
        background: white;
    }

.bank-logo-section,
.bank-info-section,
.bank-action-section {
    flex: 1 1 30%;
    text-align: center;
    margin: 10px 0;
}

.bank-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0px;
}

.label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

.value {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.apply-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

    .apply-btn:hover {
        background-color: #0056b3;
    }

/*@media (max-width: 600px) {
    .bank-card {
        flex-direction: column;
        text-align: center;
    }

    .bank-logo-section,
    .bank-info-section,
    .bank-action-section {
        flex: 1 1 100%;
    }
}*/


footer {
    font-family: Arial, sans-serif;
    border-top: 1px solid #ccc;
/*    background-color: #f4f4f4;*/
    padding: 20px 10px;
    margin-top: 40px;
    color: #333;
}

    footer a {
        color: #d60000;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }






@media (max-width: 768px) {

    .container {
        padding: 20px 15px;
        border-radius: 10px;
        box-shadow: none;
    }

    h2, .form-step h3, .offer-page-heading {
        font-size: 0.75rem;
        text-align: center;
    }

    .progress-bar {
        padding: 0 10px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .course-option,
    .payment-option,
    .course-option-eligibility {
        padding: 15px;
        border-radius: 12px;
    }

        .course-option-eligibility p {
            font-size: 0.7rem;
        }

    .card-container {
        padding: 5px;
        gap: 10px;
    }

    .form-group input, .form-group select {
        font-size: 0.75rem!important;
    }

    /*.bank-card {
        flex-direction: column;
        align-items: center;
        padding: 14px;
    }

    .bank-logo-section,
    .bank-info-section,
    .bank-action-section {
        width: 100%;
        text-align: center;
    }*/

    .bank-logo {
        width: 60px;
    }

    .label {
        font-size: 0.7rem;
    }

    .value {
        font-size: 1rem;
    }

    .apply-btn {
        padding: 9px 6px;
    }

    .bank-card {
        padding: 5px;
    }
        footer {
        font-size: 12px;
        padding: 15px 5px;
        line-height: 1.4;
    }
}







.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

.form-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 9%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

#enrollmentForm {
    position: relative; /* Required to position the overlay */
}

.form-loader-overlay p{
    color: #3F51B5;
}

.dot-loader {
    display: flex;
    gap: 8px;
}

    .dot-loader span {
        width: 10px;
        height: 10px;
        background-color: #3F51B5;
        border-radius: 50%;
        animation: bounce 0.6s infinite ease-in-out alternate;
    }

        .dot-loader span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .dot-loader span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}



@keyframes dots {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}


.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #50a14f;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.error-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #e53935; /* Red background */
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}





.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 320px;
    font-family: sans-serif;
}

.modal-icon.error {
    background-color: #d9534f;
    color: white;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto 15px;
}

.modal-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #d9534f;
}

.modal-box p {
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-box button {
    background-color: #d9534f;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}



.hidden {
    display: none !important;
}

.margntop-25 {
    margin-top: 25px;
}

.required::after {
    content: " *";
    color: red;
}



.error-message {
    color: red;
    font-size: 13px;
    display: none;
}

.error-message-box {
    color: red;
    font-size: 13px;
}


/*.form-group input:invalid {
    border-color: red;
}*/


.text-danger {
    color: red;
    font-size: 0.85rem;
}