:root {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    --primary-color: #141313;
    --second-color: #323693;
    --third-color: #EE712E;
    --fourth-color: #2F2F2F;
    --fith-color: #0018C8;
    --sixth-color: #464646;
    --seventh-color: #BCBBBB;
    --eighth-color: #707070;
    --ninth-color: #F2F2F2;
    --tenth-color: #3236939F;
}
header,
main,
footer {
    max-width: 100%;
    overflow-x: hidden;
}
header {
    display: flex;
    width: 100%;
    overflow-x: hidden;
}
.menu {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
}
.logo {
    width: 146px;
    margin-left: auto;
    margin-right: auto;
}
/* General Body and Font Styles */

/* Main container for centering the form */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    min-height: 100vh;
    box-sizing: border-box;
}
/* Form wrapper/card */
.form-wrapper {
    width: 100%;
    max-width: 42rem;
    /* max-w-2xl */
    border-radius: 0.5rem;
    /* rounded-lg */
    background-color: white;
    padding: 2.5rem;
    /* p-10 */
    box-shadow: 0 10px 15px -3px var(--seventh-color),
        0 4px 6px -4px var(--seventh-color);
    box-sizing: border-box;
}
/* Top image styling */
.form-image {
    margin-bottom: 3rem;
    /* mb-12 */
    width: 100%;
    border-radius: 0.5rem;
}

/* Header section for title and description */
.form-header {
    margin-bottom: 2rem;
    /* mb-8 */
    text-align: center;
}

.form-title {
    font-size: 1.875rem;
    /* text-2xl */
    font-weight: 600;
    /* font-semibold */
    color: var(--fith-color);
    /* text-gray-800 */
}

.form-description {
    margin-top: 0.5rem;
    /* mt-2 */
    font-size: 1.3rem;
    /* text-sm */
    color: var(--second-color);
    /* text-gray-600 */
    line-height: 1.5;
}

/* Container for each form field group */
.form-group {
    margin-bottom: 1.5rem;
    /* mb-6 */
}

/* Form labels */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    /* mb-2 */
    font-size: 1rem;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    color: #4b5563;
    /* text-gray-600 */
}

/* Common styles for input, select, and textarea */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 0.375rem;
    /* rounded-md */
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    padding: 0.75rem;
    /* p-3 */
    font-size: 0.875rem;
    /* text-sm */
    color: #1f2937;
    /* text-gray-800 */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #6366f1;
    /* focus:border-indigo-500 */
    box-shadow: 0 0 0 1px #6366f1;
    /* focus:ring-1 focus:ring-indigo-500 */
    outline: none;
}

/* Consent Checkbox Group */
.consent-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-checkbox {
    height: 1rem;
    width: 1rem;
    color: #4f46e5;
}

.consent-label {
    margin-left: 0.5rem;
    font-size: 1rem;
    color: #4b5563;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    font-size: 1rem;
    border-radius: 0.375rem;
    background-color: var(--fith-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    background-color: #4338ca;
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
}

/* Mobile Responsive Styles */
@media (max-width: 640px) {
    .main-container {
        padding: 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }
    .form-description{
        font-size: 1rem;
    }
    .form-label{
        font-size: 0.875rem;
    }
    .consent-label{
        font-size: 1rem;
    }
    .submit-btn{
        font-size: 1rem;
    }
}

/*footer*/
    .line-footer-1 {
    margin-top: 50px;
    }

    footer {
    padding: 44px 72px;
    }

    .line-footer-1 p {
        margin-top: 50px;
        text-align: center;
        color: var(--sixth-color);
    }

@media screen and (min-width: 0px) and (max-width: 599px) {
    .line-footer-1 {
        margin-top: 0;
    }

    .line-footer-1 hr p {
        margin-top: 0;
        text-align: center;
        color: var(--sixth-color);
        font-size: 0.9em;
        max-width: 300px;
    }

    .menu {
        height: 140px;
        padding: 24px;
    }
}

@media screen and (min-width: 600px) and (max-width: 847px) {
    .line-footer-1 {
        margin-top: 0;
    }

    .line-footer-1 hr p {
        margin-top: 0;
        text-align: center;
        color: var(--sixth-color);
        font-size: 1em;
        max-width: 100%;
    }

    .menu {
        height: 160px;
        margin: auto;
    }
}

@media only screen and (max-width: 768px) {
    .submit-btn {
        width: 100%;
        float: none;
        text-align: center;
    }
}

@media screen and (min-width: 760px) and (max-width: 847px) {
    .line-footer-1 {
        margin-top: 0;
    }

    .line-footer-1 p {
        margin-top: 0;
        text-align: center;
        color: var(--sixth-color);
        font-size: 1em;
        max-width: 100%;
    }
}

@media screen and (min-width: 960px) and (max-width: 1279px) {
    .line-footer-1 {
        margin-top: 0;
    }

    .line-footer-1 p {
        margin-top: 0;
        text-align: center;
        color: var(--sixth-color);
        font-size: 1em;
        max-width: 100%;
    }

    .menu {
        height: 160px;
        margin: auto;
    }
}