body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: linear-gradient(to right, #f8f8f8, #ffffff);
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.hero-image {
    max-width: 40%;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
}

.testimonial {
    background-color: #eef6d5;
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
    color: #333;
}

.cta-button {
    background: linear-gradient(to right, lightblue, gold);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(to left, lightblue, gold);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: #fff;
}

.navbar .logo {
    max-width: 100px;
}

.navbar .logo img {
    /* Maintain aspect ratio */
    max-width: 40px;
    height: auto;
}

.navbar .cta-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #f5a623;
    color: #000000;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
}

/* Responsive styles */
@media (max-width: 1024px) {

    /* Tablet screens */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {

    /* Mobile screens */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .navbar .cta-button {
        margin-top: 1rem;
    }

    
}

@media (max-width: 550px){
    .navbar button{
        display: none;
    }

    
}

.registration-form{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4070f4;
}

.container{
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 6px;
    padding: 30px;
    margin: 0 15px;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0,0 0.1);
}

.container header{
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: #333
}

.container header::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 3px;
    width: 27px;
    border-radius: 8px;
    background-color: #4070f4;
}

.container form{
    position: relative;
    margin-top: 16px;
    min-height: 490px;
    background-color: #fff;
}

.container form .details{
    margin-top: 30px;
}

.container form .title{
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}

.container form .fields{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

form .fields .input-field{
    display: flex;
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    margin: 4px 0;
}

.input-field label {
    font-size: 12px;
    font-weight: 500;
    color: #2e2e2e;
}

.input-field input{
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 42px;
    margin: 8px 0;

}

.input-field input:is(:focus, :valid){
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.container form button{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 5px;
    max-width: 200px;
}

@media ( max-width:750px){

    .container form{
        overflow-y: scroll;
    }
    .container form::-webkit-scrollbar{
        display: none;
        }
    form .fields .input-field {
            width: calc(100% / 2 - 15px);
            
        }
}

@media (max-width: 550px) {


    form .fields .input-field {
        width: 100%;

    }
}

/* Ensure all inputs and selects match */
.input-field select,
.input-field input {
    outline: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 0 15px;
    height: 42px;
    /* Same height for uniformity */
    margin: 8px 0;
    background: white;
    appearance: none;
    /* Remove default browser styles */
    box-sizing: border-box;
    /* Ensure proper sizing */
}

/* Add dropdown arrow to select */
.input-field select {
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpath d="M0 0l5 6 5-6z" fill="%23333"/%3E%3C/svg%3E') no-repeat right 10px center;
    background-color: white;
    background-size: 12px;
    cursor: pointer;
}

/* Ensure flex alignment for three-by-three layout */
.container form .fields {
    display: flex;
    align-items: flex-start;
    /* Align items properly */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    /* Consistent spacing between fields */
}

form .fields .input-field {
    width: calc(33.33% - 10px);
    /* Maintain three columns */
    display: flex;
    flex-direction: column;
}

.container form .fields {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    /* Adds spacing between fields */
}

form .fields .input-field {
    width: calc(33.33% - 10px);
    /* Each input field takes up 1/3 width with spacing */
    display: flex;
    flex-direction: column;
}

/* Ensure responsive design adjusts appropriately */
@media (max-width: 750px) {
    form .fields .input-field {
        width: calc(50% - 10px);
        /* Two columns on smaller screens */
    }
}

@media (max-width: 550px) {
    form .fields .input-field {
        width: 100%;
        /* Single column on small screens */
    }
}