/* Styles pour la page Nos Services */
/* Navigation active */
.active{
  text-decoration: underline;
  color: #2563eb;

}
.nav-menu a.active {
  color: #2563eb;
  font-weight: 600;
  position: relative;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
  border-radius: 1px;
}
/* Hero Section Services */
.services-hero {
  height: 70vh;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%),
    url("https://via.placeholder.com/1200x800/2563eb/ffffff?text=Services+SODIMAPRO") center / cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.services-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(96, 165, 250, 0.3) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  font-size: 1rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: #bfdbfe;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: white;
  transform: translateY(-2px);
}

.services-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-item i {
  font-size: 2rem;
  color: #60a5fa;
  transition: all 0.3s;
}

.feature-item:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Services Grid */
.services-grid-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.large-card {
  grid-column: span 2;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(59, 130, 246, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(360deg);
}

.service-icon i {
  font-size: 2.5rem;
  color: white;
}

.service-content {
  padding: 2rem;
  position: relative;
}

.service-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #2563eb, #60a5fa);
  transition: height 0.3s;
}

.service-card:hover .service-content::before {
  height: 100%;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.service-card:hover .service-content h3 {
  color: #2563eb;
}

.service-content p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  color: #374151;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s;
}

.service-card:hover .service-features li {
  opacity: 1;
  transform: translateX(0);
}

.service-features li:nth-child(1) {
  transition-delay: 0.1s;
}
.service-features li:nth-child(2) {
  transition-delay: 0.2s;
}
.service-features li:nth-child(3) {
  transition-delay: 0.3s;
}
.service-features li:nth-child(4) {
  transition-delay: 0.4s;
}

.service-features i {
  color: #10b981;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.service-features li:hover i {
  color: #059669;
  transform: scale(1.2);
}

.service-details {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.service-badge {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.service-badge:hover::before {
  left: 100%;
}

.service-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.service-partner {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  border-left: 4px solid #2563eb;
  transition: all 0.3s;
}

.service-partner:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 1rem;
  border-radius: 10px;
  border-left: 4px solid #2563eb;
  font-weight: 500;
  color: #1e3a8a;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.service-highlight:hover::before {
  left: 100%;
}

.service-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.highlight-item {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.highlight-item:hover {
  background: #e5e7eb;
  border-left-color: #2563eb;
  transform: translateX(5px);
}

.highlight-item h4 {
  color: #1e3a8a;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.highlight-item:hover h4 {
  color: #2563eb;
}

.highlight-item p {
  color: #6b7280;
  font-size: 0.9rem;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.feature-grid-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.feature-grid-item:hover::before {
  left: 100%;
}

.feature-grid-item:hover {
  background: #e5e7eb;
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-grid-item i {
  color: #2563eb;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.feature-grid-item:hover i {
  color: #1d4ed8;
  transform: scale(1.2) rotate(10deg);
}

.feature-grid-item span {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

/* Rational Section */
.rational-section {
  padding: 4rem 0;
  background: white;
}

.rational-card {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  padding: 3rem;
  border-radius: 25px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.rational-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transition: all 0.3s;
}

.rational-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(220, 38, 38, 0.4);
}

.rational-card:hover::before {
  top: -30%;
  right: -30%;
}

.rational-logo {
  text-align: center;
  position: relative;
  z-index: 2;
}

.rational-logo img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.rational-card:hover .rational-logo img {
  transform: scale(1.05) rotate(2deg);
}

.rational-content {
  position: relative;
  z-index: 2;
}

.rational-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.rational-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.rational-features {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rational-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-20px);
}

.rational-card:hover .rational-feature {
  opacity: 1;
  transform: translateX(0);
}

.rational-feature:nth-child(1) {
  transition-delay: 0.1s;
}
.rational-feature:nth-child(2) {
  transition-delay: 0.2s;
}
.rational-feature:nth-child(3) {
  transition-delay: 0.3s;
}

.rational-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.rational-feature i {
  font-size: 1.5rem;
  color: #fca5a5;
  transition: all 0.3s;
}

.rational-feature:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

.rational-feature span {
  font-weight: 500;
}

.rational-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.rational-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.rational-btn:hover::before {
  left: 100%;
}

.rational-btn:hover {
  background: white;
  color: #dc2626;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Services CTA */
.services-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cta-buttons .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
  left: 100%;
}

.cta-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Menu déroulant */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.5rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s;
}

.dropdown-content a:hover {
  background: #f3f4f6;
  color: #2563eb;
}

.dropdown-content a i {
  font-size: 0.9rem;
  width: 16px;
}

/* Services CTA Center */
.services-cta-center {
  text-align: center;
  margin-top: 3rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Contact Icons */
.contact-icons {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.contact-icon-btn {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
}

.contact-icon-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-icon-btn:hover::before {
  opacity: 1;
}

.contact-icon-btn:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.contact-icon-btn i {
  transition: all 0.3s;
}

.contact-icon-btn:hover i {
  transform: scale(1.2);
}

/* Navigation active */
.nav-menu a.active {
  color: #2563eb;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-icons {
    position: static;
    flex-direction: row;
    justify-content: center;
    padding: 1rem 0;
    background: #f8fafc;
    transform: none;
    left: auto;
    top: auto;
  }

  .services-hero {
    height: 60vh;
  }

  .services-hero h1 {
    font-size: 2.5rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .large-card {
    grid-column: span 1;
  }

  .rational-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nav-dropdown .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 0.5rem;
    border-radius: 5px;
  }

  .nav-dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 2rem;
  }

  .service-content {
    padding: 1.5rem;
  }

  .rational-card {
    padding: 2rem;
  }

  .contact-icon-btn {
    width: 50px;
    height: 50px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(even) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3n) {
  animation-delay: 0.2s;
}

.rational-card {
  animation: fadeInUp 0.8s ease-out;
}

.contact-icon-btn {
  animation: pulse 2s infinite;
}

.contact-icon-btn:nth-child(2) {
  animation-delay: 0.2s;
}

.contact-icon-btn:nth-child(3) {
  animation-delay: 0.4s;
}

.contact-icon-btn:nth-child(4) {
  animation-delay: 0.6s;
}
