/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#195fbb,#0e454d);
    min-height:100vh;
}

/* Navbar */

.navbar{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    /* background:rgba(255,255,255,0.12); */
    backdrop-filter:blur(10px);
    /* border-bottom:1px solid rgba(255,255,255,0.1); */
}

.navbar h1{
    color:white;
    font-size:32px;
    font-weight:700;
    letter-spacing:1px;
}

/* Language Switcher */

.language-switcher{
    display:flex;
    gap:12px;
    margin-left:auto;
}

.language-switcher button{
    padding:10px 18px;
    border:none;
    border-radius:10px;
    background:white;
    color:#195fbb;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.language-switcher button:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.register{
    width:90%;
    max-width:1100px;
    background:white;
    margin:40px auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:50px;
    border-radius:24px;
    box-shadow:0 25px 60px rgba(0,0,0,0.2);
    overflow:hidden;

    animation:fadeUp 1s ease;
}

/* Left Side */

.register-left{
    width:48%;
    text-align:center;

    animation:slideLeft 1.2s ease;
}

.register-heading h1{
    font-size:42px;
    color:#195fbb;
    margin-bottom:10px;
    font-weight:700;
}

.register-heading p{
    color:#64748b;
    font-size:17px;
    line-height:1.6;
    margin-bottom:30px;
}

.register-image img{
    width:100%;
    max-width:380px;
    border-radius:20px;
    filter:drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    animation:floatImage 4s ease-in-out infinite;
}

/* Right Side */

.register-form{
    width:42%;
    animation:slideRight 1.2s ease;
}

/* Form Fields */

.register-name,
.register-email,
.register-username,
.register-password{
    margin-bottom:20px;
}

.register-form label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#334155;
}

.register-form input{
    width:100%;
    padding:14px 16px;

    border:2px solid #e2e8f0;
    border-radius:12px;

    font-size:15px;

    transition:0.3s;
    background:#fff;
}

.register-form input:hover{
    border-color:#195fbb;
}

.register-form input:focus{
    border-color:#195fbb;
    box-shadow:0 0 0 4px rgba(25,95,187,0.15);
    outline:none;
}

/* Register Button */

.register-submit-button{
    width:100%;
    padding:15px;

    border:none;
    border-radius:12px;

    background:linear-gradient(
        135deg,
        #195fbb,
        #0e454d
    );

    color:white;
    font-size:16px;
    font-weight:600;

    cursor:pointer;
    transition:0.3s;
}

.register-submit-button:hover{
    transform:translateY(-3px);

    box-shadow:
    0 10px 25px rgba(25,95,187,0.3);
}

/* Login Link */

.already-user{
    text-align:center;
    margin-top:25px;
}

.already-user h2{
    font-size:18px;
    color:#334155;
    margin-bottom:8px;
}

.already-user a{
    text-decoration:none;
    color:#195fbb;
    font-weight:600;
    transition:0.3s;
}

.already-user a:hover{
    color:#0e454d;
}

.password-box{
    position:relative;
}

.password-box span{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:20px;
}

/* Mobile */

@media(max-width:900px){

    .register{
        flex-direction:column;
        padding:30px;
    }

    .register-left,
    .register-form{
        width:100%;
    }

    .register-left{
        margin-bottom:30px;
    }

    .register-heading h1{
        font-size:32px;
    }

    .register-image img{
        max-width:280px;
    }
}