
       :root {
    --primary-color: #4bff41; /* Vert ouvert */
    --secondary-color: #047857; /* Vert plus foncé */
    --accent-color: #3B82F6; /* Bleu vif */
    --dark-color: #1E293B; /* Bleu foncé (base sombre) */
    --light-color: #F8FAFC; /* Fond très clair */
    --text-color: #334155; /* Couleur texte principale */
    --text-light: #64748B; /* Couleur texte secondaire */
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-color);
            line-height: 1.7;
            overflow-x: hidden;
            background-color: var(--light-color);
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            line-height: 1.2;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .navbar {
    padding: 0; /* Remplacez la valeur actuelle par 0 */
    height: 70px; /* Fixez une hauteur pour la navbar */
    display: flex;
    align-items: center;
}

.navbar-container {
    height: 100%;
}
        
        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 5px 0;
            z-index: 1000;
            transition: var(--transition);
            background: rgb(255, 255, 255);
            backdrop-filter: blur(10px);
        }
        
        .navbar.scrolled {
            padding: 5px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 400px;
            font-weight: 700;
            color: var(--dark-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 80px;
        }


        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
            position: relative;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: var(--transition);
            font-size: 16px;
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            bottom: -5px;
            left: 0;
            transition: var(--transition);
        }
        
        .nav-links a:hover:after {
            width: 100%;
        }
        
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 24px;
            color: var(--dark-color);
        }
        
        /* Hero Section Modifiée */
        .hero {
            height: 100vh;
            min-height: 800px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        .hero-slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            background-size: cover;
            background-position: center;
        }
        
        .hero-slide.active {
            opacity: 1;
        }
        
        .hero-slide:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
        }
        
        .hero-content {
            max-width: 650px;
            color: white;
            position: relative;
            z-index: 1;
            padding: -50px 40px 0;
            animation: fadeInUp 1s ease;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .hero h1 {
            font-size: 56px;
            margin-bottom: 25px;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
        .hero p {
            font-size: 20px;
            margin-bottom: 35px;
            opacity: 0.9;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            padding: 15px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .btn i {
            margin-left: 10px;
            transition: var(--transition);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .btn:hover i {
            transform: translateX(5px);
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
            border: 2px solid var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: transparent;
            color: white;
            border-color: white;
        }
        
        .btn-outline-white {
            background-color: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .btn-outline-white:hover {
            background-color: white;
            color: var(--primary-color);
        }
        
        .btn-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        .hero-badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        /* Services Section */
        .services {
            padding: 120px 0;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
        }
        
        .section-title h2 {
            font-size: 42px;
            color: var(--dark-color);
            margin-bottom: 20px;
        }
        
        .section-title p {
            max-width: 600px;
            margin: 0 auto;
            color: var(--text-light);
        }
        
        .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Affiche 4 colonnes */
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes pour les écrans moyens */
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les tablettes */
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 colonne pour les mobiles */
    }
}
        
       .service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 350px; /* Hauteur minimale pour uniformité */
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
    flex-grow: 0; /* Empêche le titre de grandir */
}

.service-card p {
    flex-grow: 1; /* Permet au paragraphe de prendre l'espace disponible */
}
        
        .service-card:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: #1E293B;
            transition: var(--transition);
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }
        
        .service-card:hover:after {
            height: 10px;
        }
        
        .service-icon {
            width: 80px;
            height: 80px;
            background: rgba(37, 99, 235, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 32px;
            color: var(--primary-color);
            transition: var(--transition);
        }
        
        .service-card:hover .service-icon {
            background: #1E293B;
            color: white;
            transform: rotateY(180deg);
        }
        
        .service-card h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        /* Stats Section */
        .stats {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
        }
        
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }
        
        .stat-item {
            text-align: center;
            padding: 30px;
        }
        
        .stat-number {
            font-size: 50px;
            font-weight: 700;
            margin-bottom: 10px;
            font-family: 'Montserrat', sans-serif;
        }
        
        .stat-text {
            font-size: 18px;
            opacity: 0.9;
        }
        
        /* Testimonials */
        .testimonials {
            padding: 120px 0;
            background-color: #f9fafb;
        }
        
        .testimonial-slider {
            max-width: 800px;
            margin: 50px auto 0;
            position: relative;
        }
        
        .testimonial-slide {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            text-align: center;
            display: none;
        }
        
        .testimonial-slide.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .client-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 5px solid rgba(37, 99, 235, 0.1);
        }
        
        .client-quote {
            font-size: 18px;
            font-style: italic;
            margin-bottom: 20px;
            color: var(--text-color);
        }
        
        .client-name {
            font-weight: 600;
            color: var(--dark-color);
        }
        
        .client-position {
            color: var(--text-light);
            font-size: 14px;
        }
        
        .slider-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            background: #cbd5e1;
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .slider-dot.active {
            background: var(--primary-color);
            transform: scale(1.2);
        }
        
        /* Contact CTA */
        .contact-cta {
            padding: 100px 0;
            background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            color: white;
            text-align: center;
        }
        
        .contact-cta h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        
        .contact-cta p {
            max-width: 600px;
            margin: 0 auto 40px;
            opacity: 0.9;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 80px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }
        
        .footer-column h3 {
            font-size: 20px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background: var(--primary-color);
            bottom: 0;
            left: 0;
        }
        
        .footer-column p {
            opacity: 0.8;
            margin-bottom: 20px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #e2e8f0;
            text-decoration: none;
            transition: var(--transition);
            display: block;
        }
        
        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-links a i {
            margin-right: 8px;
            color: var(--primary-color);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #94a3b8;
            font-size: 14px;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 48px;
            }
        }
        
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: white;
                flex-direction: column;
                align-items: center;
                padding-top: 40px;
                transition: var(--transition);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .nav-links li {
                margin: 15px 0;
            }
            
            .hero {
                min-height: 700px;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .hero p {
                font-size: 16px;
            }
            
            .btn-group {
                display: flex;
                flex-direction: column;
            }
            
            .section-title h2 {
                font-size: 32px;
            }
        }
        
        @media (max-width: 576px) {
            .hero h1 {
                font-size: 32px;
            }
            
            .service-card {
                padding: 30px 20px;
            }
        }

       
/* MODAL BACKGROUND */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s;
}

/* MODAL BOX */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px; /* Légèrement plus large pour accommoder les deux cartes */
    position: relative;
    animation: slideIn 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

/* MODAL HEADER */
.modal-content h2 {
  color: #000000;
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  position: relative;
  padding-bottom: 15px;
}

.modal-content h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  color: #1E293B;
  transform: rotate(90deg);
}

/* WEEK NAVIGATION */
.week-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.week-navigation button {
  background: none;
  border: none;
  color: #1E293B;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.week-navigation button:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

#weekLabel {
  font-weight: 600;
  color: var(--dark-color);
}

/* CALENDAR GRID */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.day-column {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  transition: var(--transition);
  background: #f8fafc;
}

.day-column:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.day-header {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-color);
  font-size: 15px;
}

.day-date {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 3px;
}

.timeslots-container {
  margin-top: 10px;
}

.timeslot {
  margin: 8px 0;
  padding: 8px;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: var(--transition);
  color: var(--text-color);
}

.timeslot:hover {
  border-color: #1E293B;
  color: #1E293B;
}

.timeslot.selected {
  background-color: #1E293B;
  color: white;
  border-color: #1E293B;
}

.timeslot.unavailable {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* SUBMIT BUTTON */
.btn-submit {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 25px;
  background-color: #1E293B;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-submit:disabled {
  background-color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .week-navigation {
    flex-direction: column;
    gap: 10px;
  }
  
  .week-navigation button {
    width: 100%;
  }
}


#confirmationForm {
  padding: 20px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 20px;
}

#confirmationForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--dark-color);
}

#confirmationForm input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  transition: var(--transition);
}

#confirmationForm input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.timeslot.unavailable {
  background-color: #ffebee !important;
  color: #c62828 !important;
  border-color: #ef9a9a !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
  position: relative;
}

.timeslot.unavailable:after {
  content: "Déja pris";
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 10px;
  color: #c62828;
}





/* Animations */
@keyframes slideIn {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}



.logo img {
    height: 70px; /* Augmentez cette valeur pour agrandir le logo */
    margin-right: 10px;
    transition: var(--transition);
}

/* Pour l'état scrollé */
.navbar.scrolled .logo img {
    height: 50px; /* Légèrement plus petit quand scrollé */
}


 



   /* Styles pour la sélection du collaborateur */
.collaborator-choice {
    text-align: center;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

.collaborator-choice h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.collaborator-choice h3:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    bottom: -8px;
    left: 25%;
    border-radius: 3px;
}

.collaborator-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.collaborator-card {
    width: 100%;
    max-width: 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.collaborator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.collaborator-image {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.collaborator-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

#imad-image {
    background-image: url('https://img.icons8.com/color/96/1d3557/user-male-circle--v2.png');
}

#saad-image {
    background-image: url('https://img.icons8.com/color/96/1d3557/user-male-circle--v2.png');
}


.collaborator-name {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}

.collaborator-details {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.collaborator-specialty {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.collaborator-availability {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-top: auto;
}

.availability-title {
    font-weight: 600;
    color: #3498db;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.availability-days {
    color: #2c3e50;
    font-size: 0.8rem;
    line-height: 1.4;
}

.select-button {
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 12px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 80%;
    align-self: center;
}

.collaborator-card:hover .select-button {
    transform: scale(1.03);
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    .collaborator-options {
        flex-direction: column;
        align-items: center;
    }
    
    .collaborator-card {
        max-width: 100%;
    }
}






.btn-back {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background-color: #f0f0f0;
}

.btn-back svg {
    width: 24px;
    height: 24px;
    color: #333;
}



