body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa; /* Couleur de fond claire */
    color: #333; /* Couleur de texte sombre */
    margin: 0;
    padding: 0;
}


/***** STYLE DU HEADER *****/
header.bg-dark {
    background-color: #212529 !important; /* Couleur foncée Bootstrap */
}

header .nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

header .nav-pills .nav-link:hover,
header .nav-pills .nav-link:focus {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

header .nav-pills .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

header .dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

header .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.5rem;
}

header .dropdown-item:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/***** STYLE DE LA PAGE DE LOGIN *****/
.login-page {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-page .login-container {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-page h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.login-page .form-group {
    margin-bottom: 1.5rem;
}

.login-page .form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding-left: 15px;
    transition: all 0.3s;
}

.login-page .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.login-page label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.login-page .btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
}

/***** STYLE DE LA PAGE D'INSCRIPTION *****/
.register-page {
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.register-page .register-container {
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.register-page h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.register-page .form-group {
    margin-bottom: 1.5rem;
}

.register-page .form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding-left: 15px;
    transition: all 0.3s;
}

.register-page .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.register-page label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.register-page .btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
}

.register-page .btn-primary:hover {
    background-color: #2980b9;
}

.register-page .form-errors {
    color: #dc3545;
    background-color: #f8d7da;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border: 1px solid #f5c6cb;
}

/* Form Styles */
.solution-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.solution-form .form-group {
    margin-bottom: 1.5rem;
}

.solution-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.solution-form input, 
.solution-form textarea, 
.solution-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.solution-form input:focus, 
.solution-form textarea:focus {
    border-color: #6e48aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 72, 170, 0.1);
}

.form-actions {
    text-align: right;
    margin-top: 1.5rem;
}

/* Solutions Grid */
.solutions-grid {
    width: 60%;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    justify-content: center;
}

/* Solution Card */
.solution-card {
    background: white;
    border-radius: 12px; /* Augmenter le rayon des bordures */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Ombres plus douces */
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent; /* Bordure initialement transparente */
    margin-bottom: 10px;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px; /* Augmenter la largeur de la bordure colorée */
    height: 100%;
    background: linear-gradient(to bottom, #6e48aa, #9d50bb);
    transition: width 0.3s ease; /* Animation au survol */
}

.solution-card:hover {
    transform: translateY(-8px); /* Déplacement plus prononcé */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Ombres plus marquées */
    border-color: #6e48aa; /* Ajouter une bordure colorée au survol */
}

.solution-card:hover::before {
    width: 12px; /* Élargir la bordure colorée au survol */
}

.solution-card h2 {
    color: #6e48aa;
    margin-top: 0;
    font-size: 1.6rem; /* Légèrement plus grand */
    margin-bottom: 1rem;
    font-weight: 700; /* Texte plus audacieux */
    text-transform: uppercase; /* Mettre le titre en majuscules */
}

.solution-card p {
    color: #555;
    margin-bottom: 1.5rem;
    min-height: 60px;
    font-size: 1rem; /* Taille de texte légèrement augmentée */
    line-height: 1.8; /* Meilleure lisibilité */
}

.solution-card .card-footer {
    display: flex;
    justify-content: space-between; /* Espacement entre les éléments */
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.solution-card .btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.solution-card .btn-primary {
    background-color: #6e48aa;
    color: white;
}

.solution-card .btn-primary:hover {
    background-color: #5d3a99;
    transform: translateY(-2px); /* Légère élévation au survol */
}

.solution-card .btn-secondary {
    background-color: #ddd;
    color: #333;
}

.solution-card .btn-secondary:hover {
    background-color: #bbb;
    transform: translateY(-2px);
}

