/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* Variables */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #4d44db;
  --dark-color: #2a2a2a;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.btn {
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 18px;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-color);
}

.navbar-brand span {
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark-color);
  padding: 10px 15px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}
/*
.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 28px;
  color: var(--dark-color);
}

.navbar-toggler:focus {
  box-shadow: none;
}
*/
/* Style du bouton hamburger */
.hamburger-menu {
  display: none; /* Caché par défaut sur desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 30px;
}

/* Barres du hamburger */
.hamburger-bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-bar:nth-child(1) {
  top: 0;
}

.hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-bar:nth-child(3) {
  bottom: 0;
}

/* Animation quand le menu est ouvert */
.hamburger-menu.active .hamburger-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Responsive - Afficher seulement sur mobile */
@media (max-width: 991.98px) {
  .hamburger-menu {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }
}
/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #6c63ff 0%, #4d44db 100%);
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-pattern.jpg');
  background-size: cover; /* Assure que l'image couvre toute la zone */
  background-repeat: no-repeat; /* Empêche la répétition */
  opacity: 0.1;
}


.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}



/* Services Section */
.service-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .icon-box {
  background-color: white;
  color: var(--primary-color);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .read-more {
  color: white;
}

.icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Portfolio Section */
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-item img {
  transition: all 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(108, 99, 255, 0.8) 0%, rgba(77, 68, 219, 0.9) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.portfolio-info {
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.portfolio-info h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 5px;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.8);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

/* Testimonials Section */
/* Testimonials Section */
.testimonial-slider {
  padding: 0 20px 50px;
  overflow: hidden;
}

.testimonial-item {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  margin: 15px;
  position: relative;
}

.testimonial-item::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: rgba(108, 99, 255, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.rating {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 18px;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid rgba(108, 99, 255, 0.1);
}

.client-info h5 {
  margin-bottom: 5px;
  font-size: 18px;
}

.client-info span {
  color: var(--gray-color);
  font-size: 14px;
}

.swiper-pagination {
  position: relative;
  bottom: 0;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #e0e0e0;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}
/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background-color: #2a2a2a;
  color: white;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/footer-pattern.png') center/cover no-repeat;
  opacity: 0.05;
}

.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
  color: white;
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.newsletter-form {
  position: relative;
  margin-top: 20px;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 15px;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* About Page Styles */
.page-title {
  padding: 100px 0 60px;
  background-color: var(--light-color);
}

.page-title h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  justify-content: center;
}

.breadcrumb-item a {
  color: var(--light-color);
}

.breadcrumb-item.active {
  color: var(--light-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light-color);
}

/* About Page Specific Styles */
.stats-section .stat-item {
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stats-section .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.1);
}

.stats-section h3 {
  font-size: 42px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  transition: all 0.5s ease;
}

.team-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-social a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h5 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--gray-color);
  font-size: 14px;
}

/* Portfolio Page Specific Styles */
.portfolio-filter {
  margin-bottom: 40px;
}

.portfolio-filter .btn {
  margin: 5px;
}

.portfolio-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-card img {
  transition: all 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(108, 99, 255, 0.8) 0%, rgba(77, 68, 219, 0.9) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.portfolio-info {
  text-align: center;
  transform: translateY(20px);
  transition: all 0.3s ease;
  padding: 20px;
  color: white;
}

.portfolio-info h3 {
  color: white;
  margin-bottom: 5px;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-card:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

/* Contact Page Specific Styles */
.contact-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-color);
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h5 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control {
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid #eee;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.map-container {
  height: 400px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.team-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  transition: all 0.5s ease;
}

.team-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-social a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h5 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--gray-color);
  font-size: 14px;
}

/* Services Page Styles */
.service-details {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.service-details:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.2);
}

.service-details h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.service-features i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 14px;
  margin-top: 3px;
}

.process-steps {
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: rgba(108, 99, 255, 0.2);
  left: 25px;
  top: 0;
}

.process-step {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.step-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .page-title {
    padding: 80px 0 40px;
  }

  .footer .col-md-6 {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 28px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .cta-section h2 {
    font-size: 28px;
  }
}
.fixed-buttons {
  position: fixed;
  left: 20px;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.fixed-buttons .btn {
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.fixed-buttons .btn:hover {
  transform: scale(1.05);
}

.fixed-buttons .buy-now {
  background-color: #25D366; /* WhatsApp vert */
}

.fixed-buttons .back {
  background-color: #0057FF; /* Bleu */
}
