* {
  box-sizing: border-box;
}
body {
    font-family: "Poppins",sans-serif;
    line-height: 1.6;
}

/* Basic Reset and Header Styling */

header {
    background-color: #1a1a1a; /* Dark background */
    color: white;
    display: flex; /* Aligns logo and nav horizontally */
    justify-content: space-between; /* Puts space between logo and nav links */
    align-items: center; /* Vertically centers the items */
    padding: 10px 20px;
}

/* Navigation List Styling */
nav ul {
    list-style-type: none; /* Removes bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Aligns list items horizontally */
}

nav ul li a {
    color: white;
    text-decoration: none; /* Removes underlines from links */
    padding: 14px 16px; /* Makes the links clickable in a larger area */
    display: block;
    text-align: center;
}

/* Hover effect */
nav ul li a:hover {
    background-color: #555;
}

/* Highlight the active/current page link */
nav ul li a.active {
    background-color: #04AA6D;
    color: white;
}

/* Ajuste la taille du logo */
.logo img {
    height: 110px;    /* Ajustez la hauteur selon vos besoins */
    width: auto;      /* Garde les proportions intactes */
    display: block;   /* Évite les espaces vides sous l'image */
}
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empile le logo et le menu */
        padding: 15px;
    }

    nav ul {
        flex-direction: column; /* Met les liens les uns sous les autres */
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Séparateur discret */
    }
}
/* --- Section À Propos --- */
.about-section {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    color: var(--text-dark);
    font-size: 1.1rem;
}

.about-section .section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
}

/* --- Section Services --- */
.services-section {
    padding: 100px 20px;
    background-color: var(--secondary); /* Fond sombre pour faire ressortir les cartes */
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    opacity: 0.9;
}

/* --- Grille & Cartes --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Mise en avant spécifique */
.service-card.highlight {
    border: 2px solid var(--primary);
}

/* Gestion des images */
.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.1) rotate(2deg);
}

/* Contenu des cartes */
.card-content {
    padding: 30px;
    text-align: center;
}

.card-content h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
}

.card-content p {
    color: #636e72;
    font-size: 0.95rem;
}

/* Petit badge "Expert" pour le service mis en avant */
.highlight .card-content::before {
    content: "CONSEILLÉ";
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
}
.main-footer {
    background-color: #1a1a1a; /* Un gris très foncé/noir pour le contraste */
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.main-footer h4 {
    color: #007bff; /* Ou ta couleur d'accentuation */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #777;
}

.social-icons {
    display: flex;
    gap: 15px; /* Espacement entre les icônes */
}

.social-icons a {
    color: #ffffff;
    background: #333; /* Cercle de fond discret */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Rend l'icône ronde */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

/* Effet au survol : les icônes prennent la couleur Dynamic GSM */
.social-icons a:hover {
    background: #007bff; /* À remplacer par ta couleur principale */
    transform: translateY(-3px); /* Petit saut vers le haut */
    color: white;
}

@media (max-width: 480px) {
    .footer-content {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}