/* Reset & global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f7fa;
  color: #222;
}

/* Header */
.header {
  background: #1e3a8a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.main-text {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.sub-text {
  font-size: 15px;
  color: #d1d5db;
  font-weight: 400;
}

.logo img {
  width: 80px;
  height: auto;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
}

.navbar a:hover {
  text-decoration: underline;
}

/* About */
.about-section {
  padding: 40px 20px;
  text-align: center;
}

.about-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.about-image img.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-image img.slider.active {
  opacity: 1;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: blur(2px);
}

.overlay-text {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.overlay-text h1 {
  color: white;
  font-size: 48px;
  letter-spacing: 2px;
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}

/* Services */
.services-section {
  padding: 60px 20px;
  background: white;
  text-align: center;
}

.services-section h2 {
  margin-bottom: 20px;
  color: #1e3a8a;
  font-size: 40px;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.service-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

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

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

.service-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  font-size: 18px;
  padding: 10px 0;
}

/* Why section */
.why-section {
  padding: 80px 20px;
  background: #f5f7fa;
  text-align: center;
}

.why-container {
  max-width: 1000px;
  margin: 0 auto;
}

.why-container h2 {
  font-size: 42px;
  color: #1e3a8a;
  margin-bottom: 50px;
  line-height: 1.2;
}

/* Liste des avantages */
.why-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.why-item {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-item i {
  color: #1e3a8a;
  font-size: 24px;
}

.why-item p {
  font-size: 18px;
  margin: 0;
  text-align: left;
}

/* Hover effet */
.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Responsive mobile */
@media (max-width: 768px) {
  .why-list {
    flex-direction: column;
    gap: 20px;
  }

  .why-item {
    justify-content: center;
    text-align: center;
  }

  .why-item p {
    text-align: center;
  }
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: #e9efff;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  /* largeur pour 3 colonnes */
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
  /* permet de passer en pile sur mobile */
}

/* Colonnes Contact */
.contact-column {
  flex: 1 1 300px;
  /* chaque colonne flexible, min 300px */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Titres des colonnes */
.contact-column h2,
.contact-column h3 {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 15px;
  text-align: left;
}

/* Texte */
.contact-column p {
  font-size: 16px;
  line-height: 1.5;
  margin: 5px 0;
  text-align: left;
}

/* Images */
.contact-column img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 10px;
}

/* Nom manager */
.manager-name {
  font-size: 18px;
  font-weight: bold;
  color: #1e3a8a;
  margin-top: 10px;
  line-height: 1.4;
}

/* Responsive mobile */
@media (max-width: 992px) {
  .contact-container {
    gap: 20px;
  }

  .contact-column h2,
  .contact-column h3 {
    font-size: 28px;
    text-align: center;
  }

  .contact-column p {
    font-size: 15px;
    text-align: center;
  }

  .manager-name {
    text-align: center;
  }

  .contact-column img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .contact-column {
    flex: 1 1 100%;
  }
}

/* Social Media */
.social-section {
  padding: 60px 20px;
  text-align: center;
  background: #0b1e5a;
  color: white;
}

.social-btn.google:hover {
  background-color: #db4437;
  /* rouge Google */
  color: #fff;
}

.social-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-btn {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-btn::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.social-btn:hover::before {
  width: 120%;
  height: 120%;
  background: rgba(255, 255, 255, 0.3);
  animation: pulse 1s infinite;
}

.social-btn:hover {
  background: white;
}

.social-btn i,
.social-svg {
  z-index: 2;
  transition: all 0.3s ease;
}

.social-btn:hover i,
.social-btn:hover .social-svg {
  transform: scale(1.2);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.7;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.7;
  }
}

/* Hover colors spécifiques */
.social-btn.facebook:hover {
  color: #3b5998;
}

.social-btn.instagram:hover {
  color: #e1306c;
}

.social-btn.tiktok:hover {
  color: #010101;
}

.social-btn.linkedin:hover {
  color: #0077b5;
}

.social-btn.youtube:hover {
  color: #ff0000;
}

/* SVG TikTok taille */
.social-svg {
  width: 28px;
  height: 28px;
}

/* Overlay custom sur l'image About */
.overlay-text-custom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  color: white;
  text-align: left;
}

.overlay-left {
  flex: 1;
}

.overlay-left h1 {
  font-size: 50px;
  font-weight: bold;
  letter-spacing: 2px;
  padding-right: 50px;
}

.overlay-right {
  flex: 1;
  max-width: 550px;
  padding: 50px;
  border-radius: 12px;
}

.overlay-right h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.overlay-right h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 400;
  color: #1633a8;
}

.overlay-right p {
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .overlay-text-custom {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .overlay-left h1 {
    font-size: 42px;
    margin-bottom: 20px;
  }

  .overlay-right {
    max-width: 100%;
  }
}

#aboutSlider {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}


/* Navbar responsive */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive */
/* Navbar toujours visible */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Liste de liens */
.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  text-decoration: underline;
  color: #ffcc00;
}

/* === NAVBAR RESPONSIVE (Hamburger Mobile) === */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

/* Mobile */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .navbar {
    display: none;
    width: 100%;
    margin-top: 15px;
  }

  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    background: #1e3a8a;
    padding: 15px;
    border-radius: 12px;
  }

  .navbar ul li {
    padding: 10px 0;
    text-align: center;
  }
}

/* Label oben */
.languages-label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;

}

/* Sprach-Pills */
.languages-clean {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.languages-clean span {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;

}

.languages-clean span:hover {
  transform: scale(1.1);
  /* ykber shwaya */
}

/* Flags */
.languages-clean img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
  .languages-clean {
    justify-content: center;
    text-align: center;
  }
}