/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #3a56d4;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}





/* Barre de navigation optimisée */
.navbar {
    background-color: #0c0808; /* Fond sombre */
}

.nav-links ul li a {
    color: #ffffff !important; /* Blanc pour contraste */
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links ul li a:hover,
.nav-links ul li a.active {
    color: var(--primary-color) !important; /* Couleur primaire au survol/actif */
}

/* Icônes menu */
.mobile-menu-open,
.mobile-menu-close {
    color: #ffffff !important; /* Icônes blanches */
}

/* Menu mobile ouvert */
.nav-links.active {
    background-color: #0c0808; /* Même fond que la navbar */
}

/* Version desktop - menu horizontal */
@media (min-width: 769px) {
    .nav-links ul {
        display: flex;
        background-color: transparent;
    }
    
    .nav-links ul li {
        margin-left: 30px;
    }
}

/* Version mobile - menu vertical */
@media (max-width: 768px) {
    .nav-links {
        background-color: #0c0808; /* Fond sombre */
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(12, 8, 8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white; /* Changé pour contraste sur fond sombre */
}

.logo span {
    color: var(--primary-color);
}

.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    margin-left: 30px;
}

.nav-links ul li a {
    color: white; /* Changé pour contraste */
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
}

/* Icônes menu mobile */
.mobile-menu-open,
.mobile-menu-close {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Affichage conditionnel pour mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgb(12, 8, 8);
        flex-direction: column;
        transition: right 0.5s ease;
        padding-top: 70px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-open,
    .mobile-menu-close {
        display: block;
    }
    
    .mobile-menu-open:hover,
    .mobile-menu-close:hover {
        color: var(--primary-color);
    }
}





/* Hero Section avec centrage parfait  Style révisé avec centrage parfait */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 107, 255, 0.3) 0%, rgba(33, 150, 243, 0.2) 100%);
}

.container {
    width: 100%;
    padding: 0 20px;
}

.hero-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    padding: 40px 30px; /* Réglage équilibré (haut/bas gauche/droite) */
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 40px 20px; /* Marge extérieure */
    box-sizing: border-box; /* Essential pour le calcul des dimensions */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(85, 66, 66, 0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    flex: 1 0 auto;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    animation: fadeIn 1s ease-out both;
    animation-delay: 0.3s;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
    line-height: 1.2;
    color: #ffffff; /* Blanc pur */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Ombre plus prononcée */
    font-weight: 700; /* Gras pour mieux ressortir */
    letter-spacing: 0.5px; /* Légère augmentation de l'espacement */
}


.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    text-align: left; /* Alignement spécifique à gauche */
    max-width: 100%; /* S'assure qu'il ne dépasse pas */
    padding-right: 20px; /* Marge à droite pour éviter le collage */
}

.hero-buttons {
    animation: fadeIn 0.8s ease-out both;
    animation-delay: 0.9s;
}



/* Ajustements spécifiques pour mobile */
@media (max-width: 768px) {
    .hero-content {
        padding: 30px 20px; /* Réduit le padding sur petits écrans */
        margin: 20px 15px; /* Réduit la marge extérieure */
        width: calc(100% - 30px); /* Prend toute la largeur moins les marges */
        transform: none; /* Annule toute transformation de scale */
    }

    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 2.5rem); /* Taille plus adaptée */
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: clamp(1rem, 3.5vw, 1.1rem);
        margin-bottom: 30px;
        padding-right: 0; /* Supprime la marge droite en mobile */
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .hero-content {
        padding: 25px 15px;
        margin: 15px 10px;
        width: calc(100% - 20px);
        border-radius: 10px; /* Bordures plus douces */
    }
}


/* Style professionnel pour la section Services */
.services {
    padding: 30px 0 30px;
    background: linear-gradient(135deg, #19191a 0%, #194169 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.1), rgba(74, 107, 255, 0.2));
    border-radius: 50%;
    transition: 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .services {
        padding: 50px 0 50px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 25px 20px;
    }
}



/* section apropos  */

.about {
  position: relative;
  color: white;
  padding: 60px 0 50px; /* Moins de vide en haut */
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.about-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 3.8rem;
  margin-bottom: 30px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  padding-top: 10px;
  line-height: 1.2;
}

.section-title .company-name {
  font-weight: 800;
  display: block;
  font-size: 4rem;
  letter-spacing: 1px;
  color: var(--primary-color); /* Mets ta couleur ici */
}

.section-title .section-subtitle {
  display: block;
  font-size: 2.2rem;
  font-weight: 300;
  margin-top: 10px;
  color: white;
  opacity: 0.95;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 25px auto 0;
  border-radius: 2px;
}

.about-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.about-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  text-align: left;
}

.about-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.about-list i {
  color: var(--primary-color);
  margin-right: 12px;
  font-size: 1.2rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 18px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.trust-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 992px) {
  .section-title {
    font-size: 3rem;
  }
  .section-title .company-name {
    font-size: 3.4rem;
  }
  .section-title .section-subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
  .section-title .company-name {
    font-size: 2.8rem;
  }
  .section-title .section-subtitle {
    font-size: 1.4rem;
  }

  .about-content {
    padding: 30px 20px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .trust-item {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}



   


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}


/* Titre de section en noir */
.projects .section-title {
    color: #201e1e;
}




/* Section Témoignages */
/* Section Témoignages */
.testimonials {
    padding: 10px 0 10px;
    background-color: var(--light-color);
}

.testimonials .section-title {
    color: #000; /* Titre en noir */
    font-size: 2.7rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
}

.testimonials .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.testimonial-card {
    min-width: 350px;
    background-color: rgb(73, 50, 50);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.testimonial-author span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}



/* CTA Mobile */
.cta-mobile {
    padding: 30px 20px;
    text-align: center;
    background: #f8f9fa;
}

.cta-mobile h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-mobile p {
    margin-bottom: 20px;
    color: #666;
}

/* Pied de page mobile */
.footer-mobile {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
     color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: white;
}

.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.links-col ul li i {
    margin-right: 8px;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Desktop - 2 colonnes côte à côte */
@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}











/* Styles optimisés pour la section Services Détaillés */
.services-detailed {
    padding: 60px 0; /* Ajoutez un padding cohérent */
    margin-bottom: 0; /* Assurez-vous qu'il n'y a pas de marge en bas */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 30px;
}

.service-detail-image, 
.service-detail-content {
    flex: 1;
    min-width: 0; /* Empêche le débordement */
}

.service-detail:last-child {
    margin-bottom: 0;
}


.service-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-detail-image:hover img {
    transform: scale(1.02);
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-detail-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
}

.service-features i {
    color: #3498db;
    margin-right: 10px;
    margin-top: 3px;
}

.technologies h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: #f1f5f9;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
}


/* service section detailles  Styles Responsive - Mobile First */
@media (max-width: 992px) {
    .service-detail {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 20px;
    }

    .service-detail:nth-child(even) {
        flex-direction: column;
    }

    .service-detail-image, 
    .service-detail-content {
        width: 100%;
    }

    .service-detail-image img {
        max-height: 350px;
    }

    .service-detail-content {
        order: -1; /* Met le contenu en premier sur mobile */
    }

    .service-detail-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services-detailed {
        padding: 40px 0;
    }

    .service-detail {
        margin-bottom: 50px;
    }

    .service-detail-content h2 {
        font-size: 1.6rem;
    }

    .tech-tags span {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}




.process {
    padding: 10px 0;
    background-color: var(--light-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}




/* Styles pour la page Projets */
.project-filters {
    padding: 30px 0;
    background-color: var(--light-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.projects-grid-page {
    padding: 80px 0;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 107, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-view {
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.project-view:hover {
    background-color: white;
    color: var(--primary-color);
}

.project-info {
    padding: 20px;
    background-color: white;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-tech span {
    background-color: var(--light-color);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--dark-color);
}

.clients {
    padding: 60px 0;
    background-color: var(--light-color);
}

.client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.client-logos img {
    height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logos img:hover {
    opacity: 1;
}


/* FAQ Section */
.faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f1f1;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 60px 0;
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 0 0 60px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .faq, .contact {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 20px;
    }
}


/* Modifier uniquement la couleur des titres en noir */
.section-title {
    color: #000000; /* Noir pur */
    /* Conserver toutes les autres propriétés existantes */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
    /* ... autres styles existants ... */
}

/* Pour le titre du formulaire dans la section contact */
.contact-form h2 {
    color: #000000; /* Noir pur */
    /* Conserver les autres styles */
    margin-bottom: 30px;
    font-size: 1.8rem;
    /* ... autres styles existants ... */
}