/* Styles pour les pages de service */

/* Styles pour la barre de navigation des pages de service - blancs par défaut et noirs au défilement */
.navbar .nav-links a {
  color: white !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.navbar .nav-links a:hover {
  color: #ff9900 !important; /* Couleur accentuée */
}

.navbar .nav-links a.active {
  color: #ff9900 !important; /* Couleur accentuée */
}

.navbar-scrolled .nav-links a {
  color: #333 !important;
}

.navbar-scrolled .nav-links a:hover {
  color: #ff9900 !important; /* Couleur accentuée */
}

.navbar-scrolled .nav-links a.active {
  color: #ff9900 !important; /* Couleur accentuée */
}

/* Header du service */
.service-header {
  background: linear-gradient(135deg, #00264d, #003366);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-icon-large {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 50%;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-tagline {
  font-size: 1.2rem;
  opacity: 0.9 !important;
  max-width: 80%;
  margin: 0 auto;
  visibility: visible !important;
}

.section-separator {
  height: 70px;
  width: 100%;
  background: white;
  position: absolute;
  bottom: -35px;
  transform: skewY(-1.5deg);
  visibility: visible !important;
  opacity: 1 !important;
}

/* Grille de détails du service */
.service-details {
  padding: 80px 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-details-grid {
  display: grid !important;
  grid-template-columns: 7fr 3fr !important;
  gap: 50px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Contenu principal */
.service-content {
  padding-right: 20px;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-title {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 25px;
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-subtitle {
  font-size: 1.4rem;
  margin: 35px 0 20px;
  color: #002b59;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-text {
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Liste des caractéristiques du service */
.service-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-features li {
  display: flex !important;
  align-items: flex-start !important;
  margin-bottom: 15px;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-features i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-right: 15px;
  margin-top: 4px;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Offres de service */
.service-offerings {
  margin: 30px 0;
}

.service-offering-item {
  display: flex !important;
  margin-bottom: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-offering-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.offering-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 80px;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
}

.offering-content {
  padding: 20px;
}

.offering-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

/* CTA du service */
.service-cta {
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.service-cta h3 {
  color: var(--primary-color);
}

.service-cta .btn {
  margin-top: 20px;
  color: white;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  margin-bottom: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e1e1;
  color: var(--primary-dark);
}

.sidebar-services {
  list-style: none;
  padding: 0;
}

.sidebar-services li {
  margin-bottom: 12px;
}

.sidebar-services a {
  display: block;
  padding: 8px 0;
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.sidebar-services a::before {
  content: "→";
  opacity: 0;
  margin-right: -10px;
  transition: margin 0.3s, opacity 0.3s;
}

.sidebar-services a:hover::before,
.sidebar-services a.active::before {
  opacity: 1;
  margin-right: 8px;
}

.sidebar-services a:hover,
.sidebar-services a.active {
  color: var(--primary-color);
}

.sidebar-services a.active {
  font-weight: 500;
}

.sidebar-contact .btn, 
.service-content .btn,
.cta-section .btn {
  color: white;
}

/* Sidebar Contact */
.sidebar-contact-item {
  display: flex !important;
  margin-bottom: 15px;
}

.sidebar-contact-item i {
  color: var(--primary-color);
  min-width: 25px;
  margin-top: 4px;
}

/* Sidebar Testimonial */
.sidebar-testimonial {
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-testimonial p {
  font-style: italic;
  margin-bottom: 15px;
  color: #555;
}

.testimonial-author {
  display: flex !important;
  align-items: center !important;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--primary-dark);
}

.testimonial-author p {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

/* Section CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-content .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  color: white;
}

/* Animation */
.animate-on-scroll {
  opacity: 1 !important; /* Force visibility */
  visibility: visible !important; /* Force visibility */
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .service-details-grid {
    grid-template-columns: 1fr !important;
  }
  
  .service-sidebar {
    position: static;
    margin-top: 50px;
  }
  
  .service-content {
    padding-right: 0;
  }
  
  .sidebar-widget {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .service-header {
    padding: 60px 0 30px;
  }
  
  .service-icon-large {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
  }
  
  .service-header h1 {
    font-size: 2rem;
  }
  
  .service-tagline {
    max-width: 100%;
  }
  
  .service-content h2 {
    font-size: 1.8rem;
  }
  
  .service-offering-item {
    flex-direction: column !important;
  }
  
  .offering-icon {
    width: 100%;
    padding: 15px 0;
  }
}

@media (max-width: 576px) {
  .service-header h1 {
    font-size: 2rem;
  }
  
  .service-tagline {
    font-size: 1rem;
  }
  
  .service-content h2 {
    font-size: 1.6rem;
  }
  
  .service-content h3 {
    font-size: 1.3rem;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

/* Spécifique à chaque service */
/* Ces couleurs peuvent être personnalisées pour chaque page de service */
.agence-representation .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-agence-bg.jpg');
}

.parrainage .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-parrainage-bg.jpg');
}

.developpement-commercial .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-commercial-bg.jpg');
}

.marketing-promotion .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-marketing-bg.jpg');
}

.support-administratif .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-administratif-bg.jpg');
}

.support-technique .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-technique-bg.jpg');
}

.service-apres-vente .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-apres-vente-bg.jpg');
}

.relations-publiques .service-header {
  background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/service-relations-bg.jpg');
} 