/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
}

/* Header */
.header {
    background: linear-gradient(to right, #e3e5e6, #0f68a9);
    padding: 10px 0;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Conteneur des logos */
.logo-container {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

/* Ajustement des logos */
.logo {
    height: 50px;
    margin-right: 10px;
}

/* Texte du header */
.text-header {
    flex-grow: 1;
    text-align: center;
    padding-right: 350px; /* Décalage pour ne pas chevaucher les logos */
}

.text-header h1 {
    font-size: 28px;
    margin: 0;
    font-weight: bold;
}

.text-header p {
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
}

/* Liens d'inscription et de connexion */
.auth-links {
    font-size: 14px;
    padding-right: 1px;
}

.auth-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Barre de navigation */
.navbar {
    background: #1a5d9b;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px 15px;
}

/* Sous-menu déroulant */
.navbar-nav .nav-item.dropdown .dropdown-menu {
    background: #1a5d9b;
    border-radius: 5px;
    min-width: 200px;
}

.navbar-nav .nav-item.dropdown .dropdown-item {
    color: white !important;
    font-size: 14px;
    text-transform: capitalize;
}

.navbar-nav .nav-item.dropdown .dropdown-item:hover {
    background: #114a7d;
}

/* Contenu principal */
main {
    padding: 50px 0;
}

/* Pied de page */
.footer {
  
    color: white;
    text-align: center;
    padding: 15px;
    background: #114a7d;

}

/* Styles pour l'image entre header et footer */
.image-container {
    margin: 0; /* Enlève la marge autour de l'image */
    padding: 0; /* Enlève le padding autour de l'image */
    text-align: center; /* Centrer l'image */
}

.image-container img {
    width: 100%; /* L'image prend toute la largeur disponible */
    height: auto; /* La hauteur est ajustée automatiquement pour garder les proportions */
    max-height: 900px; /* Limite la hauteur maximale de l'image */
    object-fit: cover; /* L'image couvre l'espace tout en gardant ses proportions */
    border-radius: 8px; /* Arrondi des coins si tu veux */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

/* Responsivité : Réduire les tailles des éléments et ajuster les éléments sur petits écrans */
@media (max-width: 768px) {
    /* Ajuster le texte du header */
    .text-header h1 {
        font-size: 24px;
    }

    .text-header p {
        font-size: 12px;
    }

    /* Ajuster la barre de navigation */
    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }

    /* Réduire la taille des logos dans le header */
    .logo {
        height: 40px;
    }

    /* Adapter le contenu de l'iframe */
    iframe {
        width: 100% !important; /* Assurer que l'iframe occupe toute la largeur */
        height: auto;
    }

    /* Recentrer les éléments de la navigation sur petits écrans */
    .navbar-nav {
        flex-direction: column;
    }
}

/* Responsivité supplémentaire pour les très petits écrans (mobiles) */
@media (max-width: 480px) {
    .header {
        flex-direction: column; /* Mettre les éléments du header en colonne */
        text-align: center;
    }

    .logo-container {
        position: relative;
        margin-bottom: 10px;
    }

    .text-header {
        padding-right: 0; /* Enlever le décalage du texte */
    }

    .auth-links {
        font-size: 12px;
        text-align: center;
    }

    /* Ajuster la taille des logos et textes */
    .logo {
        height: 30px;
    }

    .text-header h1 {
        font-size: 20px;
    }

    .text-header p {
        font-size: 10px;
    }

    .footer {
        padding: 10px;
    }
}



 @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
         /* Variables CSS pour une meilleure maintenance */
        :root {
            --primary-color: #2980b9;
            --primary-dark: #1c598a;
            --secondary-color: #3498db;
            --light-gray: #f8f9fa;
            --medium-gray: #ecf0f1;
            --dark-gray: #2c3e50;
            --text-secondary: #34495e;
            --white: #ffffff;
            --shadow-light: 0 2px 10px rgba(41, 128, 185, 0.08);
            --shadow-medium: 0 4px 20px rgba(41, 128, 185, 0.12);
            --shadow-strong: 0 8px 30px rgba(41, 128, 185, 0.18);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }


         main {
            margin: 0; 
            padding: 0; 
            box-sizing: border-box;
            font-family: 'Inter', 'Open Sans', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: var(--dark-gray);
        }
footer.footer {
    background-color: #1a5d9b;/* couleur bleue utilisée sur tes onglets actifs */
    color: white;
}

header.header {
    background-color: #2980b9; /* même couleur que le footer */
    color: white;
}

body, main, header, nav, footer {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f7fa; /* très clair */
  color: #2c3e50; /* gris foncé pour texte */
}
 /* Amélioration du main */
        main {
            max-width: 1400px;
            margin: 40px auto;
            padding: 40px 50px;
            background: var(--white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-strong);
            position: relative;
            overflow: hidden;
        }

        main::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
        }

        /* Titre principal amélioré */
        main > div:first-child h2 {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: clamp(2rem, 4vw, 3.2rem);
            margin-bottom: 35px;
            color: var(--primary-color);
            letter-spacing: -0.02em;
            text-align: center;
            position: relative;
            padding-bottom: 20px;
        }

        main > div:first-child h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }

