/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(to right, #5865f2, #4a54f1); /* Gradient background */
    color: #fff;
    text-align: center;
    padding: 3em 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header p {
    margin: 0.5em 0 0;
    font-size: 1.3em;
    color: #e0e0e0;
}

/* Main Content */
main {
    padding: 40px 20px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

h2 {
    color: #5865f2;
    margin-bottom: 20px;
    font-size: 2em;
}

p {
    font-size: 1.1em;
    margin: 10px 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

li {
    font-size: 1.2em;
    margin: 10px 20px;
    padding: 15px 25px;
    background-color: #f7f9fc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background-color: #e0e7fd;
}

.role-button {
    font-size: 1.2em;
    padding: 10px 20px;
    background-color: #5865f2;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.role-button:hover {
    background-color: #4b55d3;
}

/* Apply Text */
.apply-text {
    margin-top: 20px;
    font-size: 1.1em;
    color: #5865f2;
}

/* Footer Styles */
footer {
    width: 100%;
    background-color: #5865f2;
    color: white;
    padding: 20px;
    text-align: center;
    border-top: 4px solid #341c91;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .company-info {
    margin-top: 10px;
}

.company-info p {
    margin: 5px 0;
}

/* Popup Modal Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 70%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popup h2 {
    color: #5865f2;
}

.popup .close {
    font-size: 2em;
    color: #5865f2;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }

    header p {
        font-size: 1.1em;
    }

    main {
        padding: 30px 10px;
    }

    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.7em;
    }

    ul {
        flex-direction: column;
        align-items: center;
    }

    li {
        margin: 15px 0;
        padding: 12px 20px;
        font-size: 1.1em;
    }

    .apply-text {
        font-size: 1em;
    }
}
