/* ===== HERO SECTION ===== */
#accueil {
  min-height: 85vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ===== CAROUSEL STYLING ===== */
.carousel-indicators {
  bottom: 20px;
  z-index: 5;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators button.active {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===== HERO CARDS WITH SUBTLE GRADIENTS ===== */
#accueil .bg-white {
  background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%) !important;
}

/* ===== HERO STATS COLORS ===== */
#accueil h3 {
  background: linear-gradient(135deg, var(--main-blue), var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NATIONAL COVERAGE CARD ===== */
#accueil .text-white[style*="background-color: #1a2a4e"] {
  background: linear-gradient(135deg, var(--main-blue) 0%, var(--light-blue) 100%) !important;
}

/* ===== HERO BADGES ===== */
#accueil .badge {
  background: linear-gradient(135deg, var(--main-blue), var(--light-blue)) !important;
}

/* ===== CONTACT MODAL STYLES ===== */
#contactModal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#contactModal .modal-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

#contactModal .modal-body {
  padding: 1rem 1.5rem 1.5rem;
}

.contact-option-btn {
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.contact-option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
}

.contact-option-btn:hover::before {
  left: 100%;
}

.contact-option-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-option-btn:active {
  transform: translateY(-1px);
}

/* Email button specific */
.contact-option-btn[href^="mailto"] {
  background: linear-gradient(135deg, var(--main-blue) 0%, var(--light-blue) 100%) !important;
}

.contact-option-btn[href^="mailto"]:hover {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--main-blue) 100%) !important;
}

/* WhatsApp button specific */
.contact-option-btn[href^="https://wa.me"] {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.contact-option-btn[href^="https://wa.me"]:hover {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%) !important;
}

/* Icon animations */
.contact-option-btn i {
  transition: transform 0.3s ease;
}

.contact-option-btn:hover i {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .contact-option-btn {
    font-size: 0.95rem;
  }
  
  .contact-option-btn i {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 991px) {
  #accueil {
    height: auto !important;
    min-height: auto;
    overflow: visible !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  #heroCarousel {
    height: auto;
    min-height: 50vh; /* Optional: Set a minimum for the carousel on small screens to avoid it being too short */
  }

  #accueil .carousel-item {
    height: auto;
    min-height: 50vh;
  }

  #accueil .carousel-item > div.h-100 {
    height: auto;
    min-height: 50vh;
  }
}