/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body, html {
  background-color: #ffffff; /* Couleur blanche globale */
  margin: 0;
  padding: 0;
}


/* Header */
.en-transport {
  /*position: relative;*/
  height: 70vh;
  background: url('image/picture/trans1.jpg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en-transport::before {
  content: ""; /* Pseudo-élément pour l'overlay */
  position: absolute; /* Se place par-dessus le background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(36, 36, 147, 0.5); /* Bleu transparent (RGBA) */
  z-index: -1; /* Envoie l'overlay derrière le contenu */
}


/*-----------------------------------------------------------*/
.hero-transport h1 {
  font-size: 6rem; /* Taille initiale */
  color: #002d62; /* Couleur de base du texte */
  font-weight: bold;
  text-align: center; /* Centre le texte horizontalement */
  transition: transform 0.3s ease, color 0.3s ease; /* Ajoute une transition douce */
}

.hero-transport h1 .titre-en-couleur {
  color: #ffc107; /* Couleur différente pour le mot "d'or" */
  transition: transform 0.3s ease, color 0.3s ease; /* Transition douce */
}

/* Effet au survol */
.hero-transport h1:hover {
  transform: scale(1.2); /* Agrandit le texte au survol */
  color: #0056b3; /* Change la couleur du texte entier */
}

.hero-transport h1:hover .titre-en-couleur {
  color: #ff9800; /* Change également la couleur du mot en surbrillance */
}

/*-----------------------------------------------------------*/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

/* Section Services */
.services-section {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Ombrage */
}

/* Barre de Recherche */
.search-bar {
  position: absolute; /* Permet de chevaucher */
  top: -50px; /* Ajuste la position pour chevaucher la section précédente */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9a825;
  width: 80%; /* Diminue la largeur */
  padding: 2rem 1rem; /* Augmente la hauteur */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10; /* S'assure que la barre est au-dessus */
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px; /* Ajout pour espacement sur petits écrans */
}

.logo img {
  height: 40px;
  width: 40px;
}

.logo span {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  white-space: nowrap; /* Évite de couper le texte */
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Gère les retours à la ligne */
}

.search-field input {
  padding: 10px;
  width: 250px;
  border: none;
  border-radius: 5px;
  outline: none;
}

.search-btn {
  background-color: #002d62;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #001a40;
}

/* Titre Services */
.services-section h3 {
  font-size: 1rem;
  color: #f9a825;
  margin-bottom: 10px;
  margin-top: 100px; /* Ajout pour descendre le texte sous la box */
}

.services-section h2 {
  font-size: 2rem;
  color: #002d62;
  margin-bottom: 20px;
}

/* Cartes de Services */
.services-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
  text-align: left;
}

.card-content h4 {
  color: #002d62;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.card-content p {
  color: #f9a825;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-content ul {
  list-style: none;
  padding: 0;
}

.card-content ul li {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.card-content ul li::before {
  content: "▶";
  color: #002d62;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .services-container {
      flex-direction: column;
      align-items: center;
  }

  .service-card {
      width: 90%;
  }

  .search-field input {
      width: 200px;
  }

  .search-bar {
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: center; /* Centre les éléments */
    
  }

  .logo {
    justify-content: center; /* Centre le logo */
  }

  .logo span {
    font-size: 1rem; /* Réduit la taille du texte pour les petits écrans */
    text-align: center; /* Centre le texte */
    overflow: hidden; /* Empêche le débordement */
    text-overflow: ellipsis; /* Ajoute des points de suspension si le texte est trop long */
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
  }

  .search-field {
    flex-direction: column; /* Empile les champs */
    align-items: center;
    gap: 15px; /* Ajoute de l'espacement entre les champs */
  }

  .search-btn {
    width: 100%; /* Prend toute la largeur disponible */
    text-align: center; /* Centre le texte du bouton */
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 30px;
    width: 30px;
  }

  .logo span {
    font-size: 1rem; /* Réduction de la taille du texte pour les petits écrans */
  }

  .search-field input {
    padding: 8px;
    width: 100%; /* Prend toute la largeur disponible */
  }

  .search-btn {
    padding: 8px;
  }
}


/*--------Section Styles------------------------------------ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.shipping-calculator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}


.calculator-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}


.calculator {
  flex: 1;
  padding: 2rem;
  background-color: #f4f4f4;
  border-radius: 8px;
}

.calculator p {
  font-size: 0.9rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.calculator h2 {
  font-size: 1.5rem;
  color: #002d62;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.form-group select,
.package-size input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.extra-services {
  margin-top: 2rem;
}

.extra-services h3,
.package-size h3 {
  font-size: 1.2rem;
  color: #002d62;
  margin-bottom: 0.5rem;
}

.extra-services label {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.total {
  margin-top: 2rem;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #002d62;
}

.guide {
  flex: 1;
  background-color: #333;
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
}

.guide h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.guide p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.guide ul {
  list-style: none;
}

.guide ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.guide ul li img {
  width: 50px; /* Taille de l'icône augmentée */
  height: 50px; /* Ajout de hauteur pour uniformité */
  margin-right: 15px; /* Plus d'espace entre l'icône et le texte */
}

.guide ul li span {
  font-size: 1rem;
  color: #f9a825;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .shipping-calculator {
    padding: 1.5rem;
  }

  .calculator-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .calculator, .guide {
    width: 100%;
  }

  .calculator h2, .guide h2 {
    font-size: 1.4rem;
  }

  .form-group {
    flex-direction: column;
  }

  .form-group select, .package-size input {
    width: 100%;
  }

  .total {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .calculator p {
    font-size: 0.85rem;
  }

  .calculator h2, .guide h2 {
    font-size: 1.3rem;
  }

  .extra-services h3, .package-size h3 {
    font-size: 1rem;
  }

  .guide ul li img {
    width: 40px;
    height: 40px;
  }

  .guide ul li span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .calculator p {
    font-size: 0.8rem;
  }

  .calculator h2, .guide h2 {
    font-size: 1.2rem;
  }

  .form-group select, .package-size input {
    padding: 8px;
    font-size: 0.9rem;
  }

  .guide ul li img {
    width: 35px;
    height: 35px;
  }

  .guide ul li span {
    font-size: 0.8rem;
  }
}


/*--------Mining-------------------------------------------------*/
/*---------------------------------------------------------------*/



/*====================================================================*/
/* Section Styles */
.testimonials {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
  text-align: center;
  padding: 3rem 1.5rem; /* Espacement interne */
  background-color: #fff; /* Fond blanc */
  min-height: 100vh; /* Occupe toute la hauteur de la page */
}

.testimonials h3 {
  color: #f9a825;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.testimonials h2 {
  color: #002d62;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.testimonials-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.testimonial {
  max-width: 300px;
  text-align: left;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.container {
  max-width: 1200px; /* Limite la largeur */
  width: 100%; /* Prend toute la largeur disponible */
  display: flex;
  flex-direction: column; /* Empile le contenu verticalement */
  align-items: center; /* Centre le contenu horizontalement */
  justify-content: center; /* Centre verticalement */
  padding: 2rem; /* Ajoute de l'espace interne */
  background-color: #f9f9f9; /* Optionnel : fond différent */
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre */
}

.container h3{
  margin-left: 80px;
}

.client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  color: #f9a825;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.client-info span {
  color: #002d62;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonials-content {
    flex-direction: column;
    gap: 2rem;
  }
}



