/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Variables */
:root {
    --primary-color: #0b5ed7;
    --secondary-color: #f8f9fa;
    --dark-color: #212529;
    --light-color: #ffffff;
}

/* Global */
body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}
.map-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
}


/* Section Map
.map-section {
    padding: 60px 0;
    background: #f8f9fa;
}
*/


#map {
    height: 500px;
    width: 100%;
}

/* Géolocalisation */

.legend {
    background: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.map-section select {
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 5px;
}


/* Tableau de bord Statistique*/

.dashboard {
    background: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.stat-card h4 {
    font-size: 36px;
    color: var(--primary-color);
}

/* Fin Tableau de bord Statistique*/

#map {
    height: 400px;
    border-radius: 8px;
}

/* Header */
.header {
    background: var(--light-color);
    border-bottom: 3px solid var(--primary-color);
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    background: linear-gradient(
        rgba(11, 94, 215, 0.75),
        rgba(11, 94, 215, 0.75)
    ), url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f") center/cover no-repeat;
    color: var(--light-color);
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}


.hero-content {
    max-width: 800px;
    margin: auto;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}
/*modification  */   
.slider {
    width: 100%;
    text-align: center;
}

.slide {
    display: none;
    animation: fade 1s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}


/*fin modification*/


/* Button */
.btn-primary {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    background: #e9ecef;
}

/* About */
.about {
    background: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.about h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Services */
.services {
    padding: 60px 0;
}

.services h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.service-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/*Aactualité*/
.news {
    background: #ffffff;
    padding: 60px 0;
}

.news h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.news-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.news-card h4 {
    margin-bottom: 10px;
}

.news-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}


/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
