/* Styles de base */
body {
  font-family: "times new roman";
  background-color: #a39e9e;
  margin: 0;
  padding: 0;
}

/* ----- HEADER ----- */
.upper-head {
  background: #002147;
  color: white;
  padding: 10px 0;
  text-align: center;
}

.upper-head .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info p,
.social-links a {
  margin: 0 10px;
}

.social-links a {
  color: white;
  font-size: 18px;
  margin-right: 10px;
}

/* Barre de navigation */
nav {
  background: #ffffff;
  color: rgb(3, 5, 110);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* Conteneur du logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center; /* Centre le logo */
  padding: 20px 0;
}

/* Style de l'image du logo */
.logo img {
  width: 250px; /* Ajuste la taille du logo */
  height: auto; /* Garde les proportions */
  transition: transform 0.3s ease; /* Effet d'animation */
}

/* Effet au survol */
.logo img:hover {
  transform: scale(1.1); /* Agrandit légèrement le logo */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* 🔹 Style du bouton Connexion */
nav ul li a.btn {
  background: #007bff; /* Fond blanc */
  color: rgb(255, 255, 255); /* Texte bleu */
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  border: 2px solid #007bff; /* Bordure bleue */
  display: inline-flex; /* Évite le décalage */
  align-items: center; /* Centre verticalement le texte */
  text-decoration: none;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* 🔹 Effet au survol */
nav ul li a.btn:hover {
  background: #007bff;
  color: white;
}

/* Header avec image de fond */
header {
  background: url("../images/image1.jpg") no-repeat center center/cover;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

#overlay {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

header .btn {
  background: #ff9800;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
}

header .btn:hover {
  background: #e68900;
}


/* Section Assistance Visa */
h2 {
  font-weight: bold;
  color: #004080;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  background-color: #ffffff;
  padding: 20px;
}

.card-title {
  font-size: 1.5rem; /* Grand texte */
  font-weight: bold; /* Gras */
  color: #004080;
  margin-bottom: 10px;
  text-transform: none; /* Garde la casse normale */
}

.card-text {
  font-size: 0.95rem; /* Taille plus petite */
  font-weight: normal; /* Pas en gras */
  color: black;
  text-transform: none; /* Minuscule normale */
  line-height: 1.5;
}

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



.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(30%);
}

.swiper-slide img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.logo-container {
  text-align: center;
  margin: 40px auto;
}

.logo-container h2 {
  margin-bottom: 20px;
  font-size: 26px;
  color: #333;
}

.logo-outline-box {
  border: 2px solid #007bff; /* ligne bleue uniquement */
  padding: 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: transparent; /* pas de fond */
}
.swiper {
  width: 90%;
  max-width: 1000x;
  padding: 20px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .visa-assistance {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 15px;
  }
}

.button {
  display: inline-block;
  background-color: #035c23; /* Vert WhatsApp */
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #1ebc5d; /* Vert foncé */
  transform: scale(1.05);
}

.button:active {
  transform: scale(0.98);
}

.button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.4);
}




.services-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    text-align: center;
}

.services-section h2 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #222;
}

.intro-text {
    color: #555;
    font-size: 1.15em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.image-wrapper {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

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

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

.service-card h3 {
    color: #007BFF;
    margin-top: 10px;
    font-size: 1.4em;
}

.service-card p {
    color: #666;
    font-size: 0.95em;
    margin: 10px 0 20px;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}




/* ====== Footer ====== */
footer {
  background-color: #222;
  color: white;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}

/* Conteneur principal du footer */
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
  padding: 0 20px;
}

/* Colonnes du footer */
.footer-column {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

/* Titres des colonnes */
.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  padding-bottom: 5px;
}

/* Texte de description */
.footer-column p {
  font-size: 14px;
  color: #ccc;
}

/* Liens */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #ff6600;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px; /* Espacement entre les icônes */
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px; /* Taille ajustée */
  height: 45px; /* Taille ajustée */
  border-radius: 50%;
  background-color: #eee;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.social-links a i {
  font-size: 24px; /* Taille de l'icône ajustée */
  color: #fff;
}

/* Couleurs spécifiques aux réseaux sociaux */
.social-links .facebook {
  background-color: #1877f2;
}

.social-links .instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.social-links .whatsapp {
  background-color: #25d366;
}

/* Effet au survol */
.social-links a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Texte en bas du footer */
.footer-bottom {
  margin-top: 20px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 10px;
}

#live-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Assure que le bouton reste au-dessus des autres éléments */
}

#chat-icon {
  width: 50px;
  height: 50px;
  display: block;
}
