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

html,
body {
    height: 100%;
    font-family: 'Inter';
    background-color: #F2F6FF;
}

/* Sticky navbar styles */
.navbar {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    gap: 35px;
    width: 100%;
    z-index: 10;
    position: sticky;
    /* Make the navbar sticky */
    top: 0;
    padding: 17px;
}

.back-button-1 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button {
    font-size: 20px;
    /* Adjust size as needed */
    color: black;
    /* Arrow color */
    background-color: white;
    /* Background color */
    width: 48px;
    /* Adjust width as needed */
    height: 40px;
    /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* Removes underline */
    border-radius: 25%;
    /* Makes it circular */
    cursor: pointer;
    z-index: 3;
}

.role-heading-container {
    display: flex;
    /* Use flexbox to align items in a row */
    align-items: center;
    /* Vertically align the items (both back button and h1) */
    justify-content: space-between;
    /* Create space between items, putting the h1 in the center */
    width: 100%;
    /* Ensure the container takes full width */
    padding-left: 5px;
}


h1 {
    text-align: center;
    /* Center the text of the h1 */
    flex-grow: 1;
    /* Allow h1 to grow and take remaining space */
    margin: 0;
    /* Remove default margin around h1 */
    font-weight: 600;
}

/* Role selection container */
.role-selection-container {
    max-width: 60%;
    margin: 50px auto;
    /* Centering the container */
}

/* Flex column for role boxes */
.role-boxes {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap to the next line */
    justify-content: space-between;
    /* Distribute space evenly between items */
    gap: 20px;
}

h1 {
    text-align: center;
}

/* Role item styles */
.role-item {
    margin: 15px;
    /* Add margin for gap between items */
    display: flex;
    flex-direction: column;
    /* Each role box stacks vertically */
    align-items: center;
    /* Center items horizontally */
    text-align: center;
}

/* Role icon styling */
.role-icon {
    cursor: pointer;
    width: 195px;
    /* Fixed width */
    height: 227px;
    /* Fixed height */
    border-radius: 50%;
    /* Make it circular */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Light shadow */
    object-fit: cover;
    /* Ensures the image covers the circle */
    margin-bottom: 10px;
    /* Space between icon and name */
}

/* Role name styling */
.role-name {
    margin-top: 10px;
}

/* Navbar styling */
.logo {
    max-width: 120px;
    max-height: 70px;
    width: auto;
    height: auto;
    margin-left: 10px;
}

/* Media query for mobile devices (up to 767px) */
@media (max-width: 768px) {
    .role-heading-container {
        font-size: 13px;
    }

    .role-boxes {
        justify-content: center;
        /* Center items on smaller screens */
        margin-top: -30px;
        gap: 0px;
    }

    .role-item {
        flex: 1 1 calc(100% - 30px);
        /* Full width on smaller screens */
        margin: 5px;
    }

    .role-icon {
        width: 200px;
        /* Adjust icon size for mobile */
        height: 200px;
        /* Adjust icon size for mobile */
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 8px;

    }

    .navbar {
        padding: 10px;
    }

    h1 {
        text-align: center;
        font-size: 20px;
        margin-left: -55px;
    }


    .back-button {
        width: 40px;
        height: 36px;
        margin-right: 8px;
        margin-left: 16px;
    }

    .role-heading-container {
        padding-top: 20px;
    }

}


/* Media query for tablets (768px to 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .role-boxes {
        justify-content: center;
        /* Center items on tablets */
        margin-top: -30px;
        gap: 10px;
    }

    h1 {
        margin-left: -75px;
        font-size: 30px;
    }

    .role-item {
        flex: 1 1 calc(30% - 30px);
        /* Adjust role item width for tablets */
    }

    .role-icon {
        width: 175px;
        /* Adjust icon size for tablets */
        height: 175px;
        /* Adjust icon size for tablets */
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 20px;
    }

    .back-button {
        width: 40px;
        height: 40px;
        margin-left: 20px;
    }

    .role-heading-container {
        padding-top: 25px;
    }
}

/* Media query for laptops (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1921px) {
    .role-boxes {
        justify-content: center;
        /* Distribute space evenly for desktops */
    }

    .role-icon {
        width: 200px;
        /* Larger icon for desktops */
        height: 200px;
        /* Larger icon for desktops */
    }

    .logo {
        width: 80%;
        height: 40px;
        margin-left: 20px;
    }

    .back-button {
        width: 55px;
        height: 55px;
        margin-left: 30px;
        font-size: 20px;
    }

    h1 {
        margin-left: -85px
    }

    .role-heading-container {
        padding-top: 30px;
    }
}

/* Media query for desktops (1440px and above) */
@media (min-width: 1921px) {
    .role-boxes {
        justify-content: center;
        /* Distribute space evenly for desktops */
    }

    .role-icon {
        width: 400px;
        /* Larger icon for desktops */
        height: 400px;
        /* Larger icon for desktops */
    }

    .logo {
        max-width: 300px;
        max-height: 500px;
        /* Increase logo size */
        max-height: 700px;
        /* Increase logo size */
        padding: 75px;
        padding-left: 0px;
    }

    .navbar {
        padding: 30px 50px;
        /* Increase navbar padding */
        height: 160px;
    }


    .role-heading-container {
        font-size: 30px;
        margin-top: 20px;
        padding-top: 20px;
    }

    p.role-name {
        font-size: 26px;
    }


    .back-button {
        width: 75px;
        height: 75px;
        margin-left: 30px;
        font-size: 24px;
    }
}