body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
    background-color: #fff; /* White background */
    padding: 5px 0; /* Smaller padding */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Ensure nav takes full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

nav .logo img {
    max-height: 85px; /* Adjust the height as needed */
    width: auto;
    display: block; /* Ensure the image is displayed as a block element */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px; /* Smaller gap */
    padding: 0;
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #ff6600; /* Orange text */
    font-weight: bold;
}

main {
    padding: 20px;
    text-align: center;
    flex: 1; /* Ensure main content takes up remaining space */
    box-sizing: border-box; /* Include padding in width calculation */
}

.inscription h1 {
    color: #ff6600; /* Orange color */
    font-size: 36px;
}

.inscription h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* 🔹 Updated Button Layout */
.choix-compte {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
    gap: 15px; /* Space between buttons */
}

.choix-compte a {
    background-color: #ff6600; /* Orange color */
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    width: 250px; /* Consistent button width */
    font-weight: bold;
    transition: 0.3s;
}

.choix-compte a:hover {
    background-color: darkorange;
}

/* 🔹 Footer */
footer {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Push footer to the bottom */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

footer .social-media {
    display: flex;
    gap: 10px;
}

footer .social-media a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

footer .made-with-love {
    font-size: 14px;
}

/* 🔹 Stage Item */
.stage-item {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    text-align: left;
}

.stage-item h2 {
    color: #ff6600; /* Orange color */
}

.stage-details {
    margin-top: 10px;
}

/* 🔹 Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 🔹 Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

form button:hover {
    background-color: #e65c00;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .choix-compte {
        width: 100%;
        align-items: center;
    }

    .choix-compte a {
        width: 80%; /* Adapt buttons to screen width */
    }
}

@media (max-width: 480px) {
    nav .logo {
        font-size: 18px;
    }

    .inscription h1 {
        font-size: 28px;
    }

    .inscription h2 {
        font-size: 20px;
    }

    .choix-compte a {
        font-size: 16px;
        width: 100%; /* Full width on small screens */
    }
}
