/* Reset de base */
* {
    /* margin: 0;
    padding: 0; */
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth; /* DÃ©filement fluide */
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f8ff; /* Bleu clair */
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background-color: #173765; /* Bleu profond */
    color: white;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Empile les éléments si nécessaire */
    gap: 5px; /* Espacement entre le logo et le texte */
}

/* Logo styling */
.logo {
    max-height: 100px; /* Taille maximum pour le logo */
    height: auto;
    width: auto;
}

/* Header */
header {
    background-color: #173765; /* Bleu profond */
    color: white;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Empile les éléments si nécessaire */
    gap: 5px; /* Espacement entre le logo et le texte */
}

/* Logo styling */
.logo {
    max-height: 100px; /* Taille maximum pour le logo */
    height: auto;
    width: auto;
}

/* Heading styling */
header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #ffc210;
    margin: 0;
    text-align: center;
}

/* Navigation styling */
header nav {
    margin-top: 10px;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #ffcc00; /* Jaune */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column; /* Empile le logo et le texte */
    }

    .logo {
        max-height: 80px; /* Taille du logo légèrement réduite */
    }

    header h1 {
        font-size: 1.6rem; /* Taille légèrement réduite */
    }

    header nav a {
        font-size: 1.2rem; /* Taille des liens ajustée */
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 0;
    }

    .logo {
        max-height: 90px; /* Maintient une bonne visibilité du logo */
    }

    header h1 {
        font-size: 1.4rem; /* Réduit légèrement la taille du titre pour libérer de l'espace */
    }

    header nav {
        display: flex;
        flex-wrap: wrap; /* Passe les liens sur plusieurs lignes si nécessaire */
        justify-content: center;
        gap: 5px;
    }

    header nav a {
        font-size: 1.1rem; /* Taille réduite pour les liens */
        margin: 0 5px;
    }
}

/* Section globale */
section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenu principal */
.about-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 10px 0;
    text-align: justify;
}
/* Style pour les mots-clés */
.keyword-blue {
    color: #173765; /* Bleu profond (header) */
    font-weight: bold;
    background-color: #f0f8ff; /* Bleu clair */
    padding: 2px 6px;
    border-radius: 5px;
}

.keyword-yellow {
    color: #ffc210; /* Doré/jaune pour mise en avant */
    font-weight: bold;
    background-color: #fff8dc; /* Jaune clair */
    padding: 2px 6px;
    border-radius: 5px;
}

.keyword-purple {
    color: #8e44ad; /* Violet du gradient */
    font-weight: bold;
    background-color: #f3e5f5; /* Violet pâle */
    padding: 2px 6px;
    border-radius: 5px;
}

/* Statistiques */
.about-stats {
    flex: 1;
    min-width: 300px;
}

.about-stats h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
}

/* Grille des statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Cartes de statistiques */
.stat-card {
    background: linear-gradient(135deg, #8e44ad, #173765);
    color: white;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icône */
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

/* Texte */
.stat-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-info p {
    font-size: 1rem;
    font-weight: 400;
}

/* Section équipe */
.team-section {
    background-color: #f4f7f9;
    padding: 40px 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titre */
.team-section h2 {
    font-size: 2rem;
    color: #173765;
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* Membres de l'équipe */
.team-members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Section équipe */
.team-section {
    background-color: #f4f7f9;
    padding: 40px 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

/* Carrousel des membres */
.team-carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Membres de l'équipe individuels */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 250px;
    margin: 15px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 350px;
}

/* Photo de l'équipe */
.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffc210;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* Membres */
.team-member h3 {
    font-size: 1.4rem;
    color: #173765;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-member p {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 4px 0;
}

/* Carrousel - Responsive */
@media (max-width: 1024px) {
  .team-carousel {
    flex-direction: column;  /* Empile les membres sur les petits écrans */
  }
}


/* Section Témoignages */
.testimonials-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #abc2da, #a8d2f0);
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-section h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section Témoignages */
.testimonials-section {
padding: 50px 20px;
background: linear-gradient(135deg, #abc2da, #a8d2f0);
text-align: center;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonials-section h2 {
font-size: 2rem;
color: #34495e;
margin-bottom: 30px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
}

/* Conteneur du Carrousel */
.carousel {
position: relative;
overflow: hidden;
width: 100%;
max-width: 900px;
margin: 20px auto;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
background: linear-gradient(135deg, #f9f9f9, #ffffff);
height: 300px;
display: flex;
align-items: center; /* Centrer verticalement les éléments */
}

/* Contenu du Carrousel */
.carousel-inner {
display: flex;
transition: transform 0.5s ease-in-out; /* Transition fluide */
width: 100%;
height: 100%;
}

.carousel-inner .testimonial {
flex: 0 0 100%; /* Chaque témoignage occupe 100% du carrousel */
padding: 40px 30px;
text-align: center;
color: #34495e;
background: #ffffff;
border-radius: 15px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
opacity: 0; /* Commence invisible */
animation: fadeIn 0.5s forwards; /* Animation pour faire apparaître le témoignage */
}

/* Animation pour faire apparaître le témoignage */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

/* Contenu du Témoignage */
.testimonial h3 {
font-size: 1.6rem;
color: #173765;
margin-bottom: 15px;
font-weight: bold;
}

.testimonial p {
font-size: 1.1rem;
color: #7f8c8d;
line-height: 1.8;
margin-bottom: 20px;
}

.testimonial small {
font-size: 0.9rem;
color: #bdc3c7;
margin-top: 10px;
}

/* Boutons de Contrôle */
.carousel-controls {
display: flex;
justify-content: space-between;
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
z-index: 10;
padding: 0 15px;
}

.carousel-controls button {
background: rgba(2, 27, 44, 0.9);
border: none;
color: #ffffff;
border-radius: 50%;
font-size: 1.5rem;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: all 0.3s ease;
opacity: 0.9;
}

.carousel-controls button:hover {
background: #173765;
transform: scale(1.1);
}

/* Ajustements Responsives */
@media (max-width: 768px) {
.carousel {
height: 250px; /* Ajuste la hauteur pour les petits écrans */
}

.testimonial {
padding: 25px 20px;
}

.testimonial h3 {
font-size: 1.4rem;
}

.testimonial p {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.carousel {
height: 200px; /* Ajuste davantage la hauteur */
border-radius: 10px;
}

.testimonial {
padding: 20px 15px;
}

.testimonial h3 {
font-size: 1.2rem;
}

.testimonial p {
font-size: 0.9rem;
}
}

.form-section {
    background-color: #ffffff;
    padding: 50px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-top: 60px;
    margin-bottom: 20px;
}

.form-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 30px;
}

.form-section form {
    display: grid;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.form-section input,
.form-section textarea,
.form-section select,
.form-section button {
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.form-section input:focus,
.form-section textarea:focus {
    border-color: #173765;
}

.form-section button {
    background-color: #173765;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.form-section button:hover {
    background-color: #223e64;
}

/* Conteneur principal */
.pricing-table {
    /* max-width: 900px;
    margin: auto; */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Permet le défilement horizontal si nécessaire */
    white-space: nowrap; /* Évite la coupure des éléments */
}

/* Titre */
h2 {
    color: #0056b3;
    margin-bottom: 20px;
}
/* Ajout d'un conteneur scrollable */
.table-container {
    width: 100%;
    overflow-x: auto; /* Active le scroll horizontal sur mobile */
}
/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

/* En-tête du tableau */
th {
    background: #0056b3;
    color: white;
}

/* Styles des lignes */
tbody tr:nth-child(even) {
    background: #f9f9f9;
}

tbody tr:nth-child(odd) {
    background: #ffffff;
}

/* Couleurs pour chaque abonnement */
.basic { background-color: #f9f9f9; }
.pro { background-color: #fff8e1; }
.premium { background-color: #ffe0b2; }

/* Boutons */
.btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #e68900;
    transform: scale(1.1);
}
/* Pour une meilleure expérience mobile */
@media screen and (max-width: 768px) {
    th, td {
        padding: 10px;
        font-size: 14px; /* Réduction de la taille de police */
    }

    .btn {
        padding: 6px 12px;
        font-size: 13px; /* Ajustement du bouton */
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #173765, #1a4a91); /* Gradient élégant */
    color: white;
    text-align: center;
    padding: 20px 0; /* Plus d'espace pour un look aéré */
    margin-top: auto;
    font-size: 1rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2); /* Ombre subtile */
}

/* Texte principal */
footer p {
    margin: 5px 0;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Mise en avant du développeur */
footer .developer {
    color: #ffc210; /* Couleur dorée pour attirer l'attention */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Effet de profondeur */
    transition: color 0.3s ease;
}

/* Au survol du développeur */
footer .developer:hover {
    color: #ffcc66; /* Accentue la couleur dorée */
    text-decoration: underline; /* Ajoute une petite touche en survol */
    cursor: pointer;
}
/* Lien vers les conditions d'utilisation */
footer .politique {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Effet de profondeur */
}

footer .politique a {
    color: #ffc210; /* Doré pour le lien */
    text-decoration: none; /* Supprime le soulignement par défaut */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Animation douce */
}

/* Survol du lien */
footer .politique a:hover {
    color: #ffcc66; /* Accentuation de la couleur */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Ombre plus intense */
    text-decoration: underline; /* Ajoute un soulignement */
    cursor: pointer;
}

/* Scroll to top button */
.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(145deg, #f39c12, #e67e22);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.9;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(145deg, #e67e22, #f39c12);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.scroll-to-top-btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Media Queries */
@media (max-width: 768px) {
/* About Stats Section */
.about-stats {
    padding: 20px;
    font-size: 1rem;
}

.about-stats h3 {
    font-size: 1.5rem; /* Ajustement de la taille de la police */
}

.about-stats p {
    font-size: 1rem; /* Réduction pour un meilleur rendu */
}
}
@media (max-width: 480px) {
.form-section input,
.form-section textarea,
.form-section button {
    font-size: 1rem;
}
.form-section input[type="checkbox"]{
    font-size: 0.8rem;
}
}