/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Header pour la page Contact */

.eyebrow {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: #9fc9ff;
  background: rgba(77, 177, 255, 0.08);
  border: 1px solid rgba(77, 177, 255, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero-section-contact {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  background: linear-gradient(135deg, #0a1120 0%, #1a2540 50%, #0f1a2e 100%);
  background-size: cover;
  background-attachment: scroll;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

.hero-section-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(0, 240, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 45, 117, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-description {
  font-size: 1rem;
  margin: 0.8rem 0 1.5rem;
  color: rgba(240, 240, 240, 0.9);
  line-height: 1.6;
}

/* Cartouche clair derrière le logo pour fond sombre */
.hero-logo-img {
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* (Facultatif) un peu de glow autour du logo si tu restes sans cartouche */
.hero-logo-img.no-bg {
  background: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 170, 255, 0.6));
}

/* Floating Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: float 8s infinite ease-in-out;
  box-shadow: 0 0 10px var(--primary-color);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-10vh) scale(1);
    opacity: 0.8;
  }
}

/* Section Headers */
.section-header h2 {
  font-family: "Orbitron", sans-serif;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-header .lead {
  font-size: 1rem !important;
  max-width: 70%;
  margin: auto;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto 2rem;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* Logo centré dans le hero Contact */
.hero-section-contact .hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem; /* espace juste au-dessus du titre */
}
.hero-section-contact .hero-logo-img {
  height: 68px; /* 64–72px selon ton goût */
  width: auto;
  display: block;
}
@media (max-width: 992px) {
  .hero-section-contact .hero-logo-img {
    height: 56px;
  }
}

/* Tech Divider with center dot */
.tech-divider-small {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto 3.5rem;
  position: relative;
  border-radius: 3px;
}

.tech-divider-small::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
  position: relative;
}

.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(0, 240, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 45, 117, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Réduction des tailles de police */
.contact-form-section .form-label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem; /* Réduire l'espace sous les labels */
}

.contact-form-section .form-control,
.contact-form-section .form-select,
.contact-form-section .form-check-label {
  font-size: 0.85rem;
  margin-bottom: 0.8rem; /* Réduire l'espace entre les champs */
}

.contact-form-section .btn-primary-glow {
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
}

/* Texte de description */
.contact-form-section .lead {
  font-size: 1rem;
}

/* Réduire l'espacement vertical entre les rangées */
.contact-form-section .row.g-4 {
  --bs-gutter-y: 0.8rem;
}

/* Ajustements du formulaire */
.contact-form-card {
  padding: 2rem; /* Moins de padding dans la carte */
  background: rgba(42, 52, 68, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
}

/* Form Styles */
.form-label {
  color: var(--light-color);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  text-align: center;
}

.form-label i {
  color: var(--primary-color);
}

.form-control,
.form-select {
  background: rgba(42, 52, 68, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--light-color);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: rgba(42, 52, 68, 0.5);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 240, 255, 0.25);
  color: var(--light-color);
}

.form-control::placeholder {
  color: rgba(240, 240, 240, 0.6);
}

.form-select option {
  background: var(--dark-color);
  color: var(--light-color);
}

.form-check-input {
  background-color: rgba(42, 52, 68, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  color: var(--light-color);
  font-size: 0.9rem;
}

/* Contact Info Section */
.contact-info-section {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  position: relative;
}

.contact-info-card {
  background: rgba(42, 52, 68, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 15px;
  font-size: 1.1rem;
  color: var(--light-color);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  backdrop-filter: blur(5px);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.contact-info-card h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  color: var(--gray-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--light-color);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.contact-info-card small {
  color: rgba(240, 240, 240, 0.7);
  font-style: italic;
}

.contact-info-card a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-card a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
}

/* CTA Section */
.cta-section {
  background: rgba(42, 52, 68, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--light-color);
  position: relative;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    var(--secondary-color),
    transparent
  );
}

.cta-section h3 {
  font-family: "Orbitron", sans-serif;
  color: var(--primary-color);
  font-weight: 700;
}

/* Style pour le bouton btn-outline-info dans la section cta */
.cta-section .btn-outline-info {
  color: #00f0ff;
  border-color: #00f0ff;
  transition: all 0.3s ease;
}

.cta-section .btn-outline-info:hover {
  border-color: #00f0ff;
  color: #000;
}

/* Blink animation */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.4);
}

/* Animations - Supprimées pour éviter les conflits avec AOS */
/* Les animations sont maintenant gérées par AOS avec les attributs data-aos */

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 0;
  max-width: 400px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--light-color);
}

.notification-success {
  border-color: #28a745;
}

.notification-success .notification-content i:first-child {
  color: #28a745;
}

.notification-error {
  border-color: var(--secondary-color);
}

.notification-error .notification-content i:first-child {
  color: var(--secondary-color);
}

.notification-warning {
  border-color: #ffc107;
}

.notification-warning .notification-content i:first-child {
  color: #ffc107;
}

.notification-close {
  background: none;
  border: none;
  color: rgba(240, 240, 240, 0.7);
  cursor: pointer;
  margin-left: auto;
  padding: 0.25rem;
  transition: var(--transition);
}

.notification-close:hover {
  color: var(--light-color);
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 45, 117, 0.25);
}

.invalid-feedback {
  display: block;
  color: var(--secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: linear-gradient(135deg, #00f0ff, #ff2d75);
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  max-width: 320px;
  white-space: nowrap;
  text-align: center;
}

/* Effet glow et rebond au hover */
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

/* Ajustement icône */
.btn-primary-glow i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  font-size: 1.2rem;
}
