/*==========================================
    GOOGLE FONT
==========================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==========================================
    RESET
==========================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #eef7ff, #f8fbff, #ffffff);
    color: #222;
    overflow-x: hidden;
}

/*==========================================
    BACKGROUND
==========================================*/

.bg-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
}

.circle1 {
    width: 320px;
    height: 320px;
    background: #0d6efd55;
    top: -100px;
    left: -100px;
}

.circle2 {
    width: 320px;
    height: 320px;
    background: #20c99755;
    bottom: -100px;
    right: -100px;
}

/*==========================================
    SECTION
==========================================*/

.register-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

/*==========================================
    CARD
==========================================*/

.register-card {

    display: grid;
    grid-template-columns: 420px 1fr;

    background: #fff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .08);

}

/*==========================================
    LEFT PANEL
==========================================*/

.left-side {

    background: linear-gradient(160deg, #0b5ed7, #20c997);

    color: #fff;

    padding: 60px 45px;

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.left-side::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    top: -80px;

    right: -80px;

}

.left-side::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);

    bottom: -60px;

    left: -60px;

}

.logo {

    width: 180px;

    margin-bottom: 30px;

}

.badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: max-content;

    padding: 10px 18px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(10px);

    font-size: 14px;

    margin-bottom: 25px;

}

.left-side h1 {

    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 20px;

    font-weight: 700;

}

.left-side p {

    line-height: 1.8;

    opacity: .95;

    margin-bottom: 40px;

}

/*==========================================
    COURSE BOXES
==========================================*/

.course-list {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.course-box {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px 20px;

    border-radius: 16px;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(12px);

    transition: .35s;

}

.course-box:hover {

    transform: translateX(10px);

    background: rgba(255, 255, 255, .18);

}

.course-box i {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    background: #fff;

    color: #0b5ed7;

    font-size: 20px;

}

.course-box span {

    font-size: 17px;

    font-weight: 600;

}

/*==========================================
    RIGHT SIDE
==========================================*/

.right-side {

    padding: 55px;

    background: #fff;

}

.form-head {

    margin-bottom: 35px;

}

.form-head h2 {

    font-size: 34px;

    font-weight: 700;

    color: #0b5ed7;

    margin-bottom: 8px;

}

.form-head p {

    color: #777;

    font-size: 15px;

}

/*==========================================
    FORM GRID
==========================================*/

.form-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

}

.full-width {

    margin-top: 22px;

}

/*==========================================
    INPUT GROUP
==========================================*/

.input-group {

    display: flex;

    flex-direction: column;

}

.input-group label {

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 10px;

    color: #444;

}

.input-box {

    display: flex;

    align-items: center;

    background: #f6f9fc;

    border: 2px solid transparent;

    border-radius: 14px;

    overflow: hidden;

    transition: .3s;

}

.input-box i {

    width: 60px;

    text-align: center;

    color: #0b5ed7;

    font-size: 18px;

}

/*==========================================
    INPUTS
==========================================*/

.input-box input,
.input-box select {
    width: 100%;
    height: 58px;
    border: none;
    outline: none;
    background: transparent;
    padding-right: 18px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.input-box input::placeholder {
    color: #999;
}

.input-box:focus-within {
    border-color: #0b5ed7;
    background: #fff;
    box-shadow: 0 10px 25px rgba(13, 110, 253, .15);
}

textarea {
    width: 100%;
    min-height: 120px;
    resize: none;
    border: none;
    outline: none;
    border-radius: 16px;
    background: #f6f9fc;
    padding: 18px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    border: 2px solid transparent;
    transition: .3s;
}

textarea:focus {
    background: #fff;
    border-color: #0b5ed7;
    box-shadow: 0 10px 25px rgba(13, 110, 253, .15);
}

/*==========================================
    FILE UPLOAD
==========================================*/

input[type=file] {
    width: 100%;
    background: #f6f9fc;
    border: 2px dashed #b8d5ff;
    border-radius: 15px;
    padding: 18px;
    cursor: pointer;
    transition: .3s;
}

input[type=file]:hover {
    border-color: #0b5ed7;
    background: #eef6ff;
}

/*==========================================
    CHECKBOX
==========================================*/

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0;
}

.checkbox input {
    margin-top: 5px;
    transform: scale(1.2);
    accent-color: #0b5ed7;
}

.checkbox span {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/*==========================================
    BUTTON
==========================================*/

.submit-btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #0b5ed7, #20c997);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .35s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(13, 110, 253, .30);
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(13, 110, 253, .35);
}

.submit-btn:active {
    transform: scale(.98);
}

/*==========================================
    SCROLLBAR
==========================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #0b5ed7;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
}

/*==========================================
    ANIMATION
==========================================*/

.register-card {
    animation: fadeUp .8s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.logo {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }

}

/*==========================================
    TABLET
==========================================*/

@media(max-width:992px) {

    .register-card {
        grid-template-columns: 1fr;
    }

    .left-side {
        text-align: center;
        align-items: center;
        padding: 50px 35px;
    }

    .course-list {
        width: 100%;
        margin-top: 15px;
    }

    .right-side {
        padding: 40px 30px;
    }

}

/*==========================================
    MOBILE
==========================================*/

@media(max-width:768px) {

    .register-section {
        padding: 25px 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .right-side {
        padding: 30px 20px;
    }

    .left-side {
        padding: 40px 20px;
    }

    .left-side h1 {
        font-size: 30px;
    }

    .logo {
        width: 150px;
    }

    .course-box {
        padding: 15px;
    }

    .course-box span {
        font-size: 15px;
    }

    .form-head h2 {
        font-size: 28px;
    }

    .submit-btn {
        height: 56px;
        font-size: 16px;
    }

}

@media(max-width:480px) {

    .badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .input-box i {
        width: 52px;
        font-size: 16px;
    }

    .input-box input,
    .input-box select {
        height: 54px;
        font-size: 14px;
    }

    textarea {
        font-size: 14px;
    }

}

/*==========================================
 SUCCESS POPUP
==========================================*/


.success-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    backdrop-filter: blur(8px);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 9999;

}


.success-overlay.active {

    display: flex;

}


.success-box {

    width: 420px;

    background: #fff;

    padding: 40px 30px;

    border-radius: 25px;

    text-align: center;

    animation: popup .4s ease;

}


@keyframes popup {

    from {

        opacity: 0;

        transform: scale(.8);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}


.success-icon {

    width: 80px;

    height: 80px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #0b5ed7,
            #20c997);

    color: #fff;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: auto;

    font-size: 35px;

}


.success-box h2 {

    margin-top: 25px;

    color: #0b5ed7;

}


.success-box p {

    color: #777;

    margin: 15px 0;

}



.reg-id {

    background: #f1f8ff;

    padding: 15px;

    border-radius: 15px;

    margin: 20px 0;

    color: #555;

}


.reg-id strong {

    display: block;

    margin-top: 8px;

    font-size: 22px;

    color: #20c997;

}



#closePopup {

    width: 100%;

    height: 50px;

    border: none;

    border-radius: 12px;

    background: #0b5ed7;

    color: #fff;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

}