/* Style pour la page contact */

/* Section héro améliorée */
#hero {
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 29, 52, 0.7);
  z-index: 1;
}

#hero .container-fluid {
  position: relative;
  z-index: 2;
}

#hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #5846f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease;
}

#hero h2 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #f0f0f0;
  animation: fadeInUp 1.2s ease;
}

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

#hero .available-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: #5846f9;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  margin-bottom: 30px;
  animation: fadeInUp 1.4s ease;
}

#hero .available-tag i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Carte de contact améliorée */
.contact-box {
  padding: 40px 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

.contact-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #1a6fc9, #2e8eff);
}

.contact-box.whatsapp::before {
  background: linear-gradient(to right, #25D366, #128C7E);
}

.contact-box.email::before {
  background: linear-gradient(to right, #e6a54a, #f1c485);
}

.contact-box i {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  color: #333;
  transition: all 0.3s ease;
}

.contact-box.whatsapp i {
  color: #25D366;
}

.contact-box.email i {
  color: #e6a54a;
}

.contact-box:hover i {
  transform: scale(1.1) rotate(10deg);
}

.contact-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 5px;
}

.contact-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.contact-box .hover-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

.contact-box:hover .hover-bg {
  opacity: 0.02;
}

.contact-box .flag-img {
  display: inline-block;
  border-radius: 5px;
  margin-left: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Formulaire de contact amélioré */
.php-email-form {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.php-email-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 111, 201, 0.03) 0%, rgba(238, 165, 74, 0.03) 100%);
  z-index: -1;
}

.php-email-form .section-title {
  margin-bottom: 30px;
}

.php-email-form .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  color: #333;
}

.php-email-form .section-title p {
  color: #666;
  font-size: 1.1rem;
}

.php-email-form .form-group {
  margin-bottom: 25px;
}

.php-email-form .form-control {
  height: 55px;
  padding: 10px 20px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.php-email-form .form-control:focus {
  box-shadow: none;
  border-color: #2e8eff;
}

.php-email-form textarea.form-control {
  height: auto;
  min-height: 150px;
  resize: none;
}

.php-email-form .form-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.php-email-form button[type="submit"] {
  background: linear-gradient(to right, #5846f9, #124265);
  border: none;
  padding: 15px 40px;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.php-email-form button[type="submit"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(26, 111, 201, 0.2);
}

.php-email-form button[type="submit"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}

.php-email-form button[type="submit"]:hover::after {
  left: 100%;
}

/* Section pourquoi nous contacter */
.why-contact-us {
  padding: 80px 0;
  background: #f8f9fa;
}

.why-contact-us .section-title {
  margin-bottom: 50px;
  text-align: center;
}

.why-contact-us .section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 15px;
  color: #333;
}

.why-contact-us .section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #1a6fc9, #5846f9);
}

.why-contact-us .section-title p {
  color: #666;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-box .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(to right, rgba(26, 111, 201, 0.1), rgba(238, 165, 74, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-box .icon i {
  font-size: 1.8rem;
  background: linear-gradient(to right, #87b1de, #5846f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.feature-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  #hero h1 {
    font-size: 2.5rem;
  }

  #hero h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 1rem;
  }

  .php-email-form {
    padding: 30px;
  }

  .php-email-form .section-title h2 {
    font-size: 1.8rem;
  }

  .why-contact-us .section-title h2 {
    font-size: 1.8rem;
  }
}
