* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins';
}
body {
    height: 100vh;
    width: 100%;
    display: flex;
}
.picture-roll {
    width: 50%;
    height: 100%;
}
.form-box {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
/*** creating image slider ***/
.picture-roll .slider {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: animate 16s ease-in-out infinite;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
@keyframes animate {
    0%,
    100% {
        background-image: url(../images/Banner-1.png);
    }
    25% {
        background-image: url(../images/Banner-6.png);
    }
    50% {
        background-image: url(../images/Banner-3.png);
    }
    75% {
        background-image: url(../images/Banner-4.png);
    }
}

/** styling Form boxes **/
.input-group {
    width: 60%;
    height: 60%;
    transition: 0.5s;
    margin: auto;
    margin-top: 20%;
}

#intro {
    font-size: 2rem;
    border-left: 5px solid #033c42;
    padding-left: 9px;
    font-weight: 800;
    margin-top: 10%;
    color: #033c42;
}

label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

/** styling the input boxes **/
.company-name,
.company-email,
.company-phone,
.primary-email,
.pincode {
    margin-top: 20px;
    position: relative;
}

.company-name input,
.company-email input,
.company-phone input,
.primary-email input,
.pincode input {
    width: 70%;
    height: 50px;
    margin-left: 15%;
    border: 1px solid #2f2f2f;
    color: #2f2f2f;
    border-radius: 10px;
    background-color: transparent;
    outline: none;
    font-size: 1rem;
    text-indent: 15px;
    transition: 0.5s;
}
.company-name label,
.company-email label,
.company-phone label,
.primary-email label,
.pincode label {
    position: absolute;
    top: 35%;
    left: 18%;
    font-size: 1rem;
    color: #2f2f2f;
    pointer-events: none;
    transition: 0.5s;
}
.company-name input:focus ~ label,
.company-name input:valid ~ label,
.company-email input:focus ~ label,
.company-email input:valid ~ label,
.company-phone input:focus ~ label,
.company-phone input:valid ~ label,
.primary-email input:focus ~ label,
.primary-email input:valid ~ label,
.pincode input:focus ~ label,
.pincode input:valid ~ label {
    top: -20%;
    left: 18%;
    color: #2f2f2f;
    background-color: #033c42;
    padding: 0.5%;
    border-radius: 5px;
    color: white;
    font-size: 0.8rem;
    transition: 0.5s;
}
.company-name input:focus,
.company-name input:valid,
.company-email input:focus,
.company-email input:valid,
.company-phone input:focus,
.company-phone input:valid,
.primary-email input:focus,
.primary-email input:valid,
.pincode input:focus,
.pincode input:valid {
    border: 1px solid #033c42;
    color: #2f2f2f;
    transition: 0.5s;
}

.submit {
    width: 70%;
    height: 50px;
    margin-top: 5%;
    color: white;
    background: #033c42;
    border: none;
    font-size: 1.3rem;
    font-family: sans-serif;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 15%;
    transition: 0.5s ease; /* Updated for smoother transition */
}

/* Improved hover effect */
.submit:hover {
    background: #069a9a;
    color: #ffffff;
    border: 1px solid #069a9a;
}

/* Styling for Terms and Conditions checkbox */
.terms-checkbox {
    margin-top: 20px;
    display: flex;
    align-items: center;
    margin-left: 15%;
}

.terms-checkbox input[type='checkbox'] {
    margin-right: 10px;
    transform: scale(1.2);
}

.terms-checkbox label {
    font-size: 1rem;
    color: #2f2f2f;
}

.terms-checkbox a {
    color: #033c42;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Styling for the Login link */
.login-link {
    margin-top: 20px;
    text-align: center;
}

.login-link a {
    color: #033c42;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.forgot-password {
    margin-top: 10px;
    text-align: left;
    margin-left: 15%;
}

.forgot-password a {
    font-size: 1rem;
    color: #033c42;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #069a9a;
    text-decoration: underline;
}
