/* Réinitialisation et styles globaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #333;
    line-height: 1.6;
}

/* Section Hero */
.heros {
    position: relative;
    background: linear-gradient(109deg, #132F3F, #01ae8f);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.heros-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    z-index: 1;
}

.heros-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.heros-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: #ff6f61;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-buttons:hover {
    background-color: #e55a50;
    transform: translateY(-2px);
    text-decoration: none;
}

#heros-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

/* Formulaire */
.container.my-5 {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#registrationForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
}

.form-section h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a3c6d;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 8px;
    accent-color: #007bff;
}

.form-check-label {
    font-size: 1rem;
    color: #555;
}

.form-check-inline {
    margin-right: 20px;
}

.btn.btn-primary {
    padding: 14px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
    margin-top: 20px;
    text-decoration: none;
}

.btn.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn.btn-primary:active {
    transform: translateY(0);
}

/* Animation pour les champs requis */
.form-control:required:invalid,
.form-select:required:invalid {
    border-color: #ef4444;
}

.form-control:required:valid,
.form-select:required:valid {
    border-color: #10b981;
}

/* Liens dans les cases à cocher */
.form-check-label a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .heros {
        padding: 60px 15px;
    }

    .heros-content h1 {
        font-size: 2rem;
    }

    .heros-content p {
        font-size: 1rem;
    }

    .container.my-5 {
        margin: 20px;
        padding: 15px;
    }

    .form-section h4 {
        font-size: 1.3rem;
    }

    .form-control,
    .form-select {
        font-size: 0.95rem;
    }

    .btn.btn-primary {
        width: 100%;
        padding: 12px;
    }
}