@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

/* CSS Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Lora", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
#map {
  height: 90vh;
  width: 100%;
}
#navbarNavDropdown ul li a {
  font-weight: 500;
  font-size: 1.2rem;

} 

footer {
  background-color: #343a40;
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer .container {
  max-width: 800px;
  margin: 0 auto;
}

footer a,
.row ul li a {
  font-weight: 500;
}

/* ACCUEIL STYLE */
.intro-section {
  padding: 3rem 1rem;
  background-color: #f8f9fa;
  text-align: center;
}

.intro-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Nos services Style */
.service-section {
  padding: 60px 15px;
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
}

.service-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2a72;
  position: relative;
}

.service-section h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.services-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card-service {
  background: white;
  border-radius: 12px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.card-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: height 0.3s ease;
  z-index: -1;
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.card-service:hover::before {
  height: 100%;
}

.card-service h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2a2a72;
  transition: all 0.3s ease;
}

.card-service p {
  color: #6a6a8e;
  line-height: 1.6;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

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

.card-service {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.card-service:nth-child(1) {
  animation-delay: 0.1s;
}
.card-service:nth-child(2) {
  animation-delay: 0.2s;
}
.card-service:nth-child(3) {
  animation-delay: 0.3s;
}
.card-service:nth-child(4) {
  animation-delay: 0.4s;
}

/*Fin nos services */

/* Faq - Style */
.faq-section {
  padding: 60px 15px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #f9f9ff 0%, #f0f4ff 100%);
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: 0;
}

.faq-section h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2a72;
  position: relative;
  z-index: 1;
}

.faq-section h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  border-left-color: #667eea;
}

.faq-question {
  padding: 15px 50px 15px 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
  color: #2a2a72;
  display: flex;
  align-items: center;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.3rem;
  color: #667eea;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1),
    padding 0.3s ease;
  padding: 0 20px;
  color: #6a6a8e;
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

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

.faq-item {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

/* À propos style */
.about-section {
  padding: 60px 15px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f5ff 100%);
}

.section-title {
  text-align: center;
  margin: 0 auto 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2a72;
  position: relative;
  max-width: 800px;
}

.section-title strong {
  color: #667eea;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.card {
  margin-bottom: 25px;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: height 0.3s ease;
  z-index: -1;
}

.card:hover::before {
  height: 100%;
  opacity: 0.1;
}

.card-body {
  padding: 25px;
}
.card-body a {
  font-weight: 500;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2a2a72;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-text,
.card ul {
  color: #4a5568;
  line-height: 1.7;
  font-size: 0.95rem;
}

.card ul {
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 8px;
  position: relative;
}

.card ul li::before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.card a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dashed rgba(102, 126, 234, 0.3);
}

.card a:hover {
  color: #764ba2;
  border-bottom-color: #764ba2;
}

/* Contact Style */
 .section-contact .container {
  padding: 60px 15px;
  /* background: linear-gradient(135deg, #f8fafc 0%, #f0f5ff 100%); */
  position: relative;
   background: white;
  padding: 2rem 3rem;
  margin-bottom: 3rem;
  width: 100%; 
  /* margin-left: -1.5rem; */
  min-height: 300px;
  box-sizing: border-box; 
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}


.contact-section .container h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2a72;
  position: relative;
}

.contact-section h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}



 .container p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 15px;
}
.container .contenu-pr{
  font-size: 3rem;
}


.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);

  /* height: 100%; */
}

.map-container h5 {
  text-align: center;
  margin: 15px 0;
  font-size: 1.3rem;
  color: #2a2a72;
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
  height: 0;
  border-radius: 10px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  padding-bottom: 2rem;
  border: 0;
}

.map-responsive:hover iframe {
  filter: grayscale(0%) contrast(1) saturate(1.2);
}

.col-md-6 h4 {
  color: #2a2a72;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}
.col-md-6{
  background: #f0f4ff;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
} 



.col-md-6 h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #667eea;
  margin: 10px 0 15px;
  border-radius: 2px;
}

.col-md-6 p {
  /* color: #4a5568; */
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.col-md-6 h5 {
  color: #2a2a72;
  margin: 20px 0 15px;
  font-weight: 600;
}

.list-group {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 25px;
  height: 20%;
}

.list-group-flush {
  border-radius: 10px;
}

.list-group-item {
  padding: 12px 15px;
  border-color: rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4a5568;
}

.list-group-item::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
  display: inline-block;
}





/* Service détail style */
.service-detail {
  padding: 60px 15px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f5ff 100%);
}

.service-detail h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #2a2a72;
  margin-bottom: 40px;
  position: relative;
}

.service-detail h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  margin: 15px auto 0;
  border-radius: 2px;
}

.service-detail .content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.content .image {
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.content .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail .para {
  padding: 20px;
  line-height: 1.8;
}

.service-detail .para h5 {
  color: #2a2a72;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-detail .para p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-detail .detail-info {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 25px;
}

.service-detail .detail-info p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.7;
}

/* Rgpd1 style */
.service-section-rgpd {
  padding: 60px 15px;
}

/* Responsive design */

@media (max-width: 400px) {
  #map {
    height: 90vh;
    border-radius: 8px;
  }
}
@media (min-width: 576px) {
  .intro-section h1 {
    font-size: 2.2rem;
  }
  .intro-section p {
    font-size: 1.1rem;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .intro-section {
    padding: 4rem 1rem;
  }
  
  .intro-section h1 {
    font-size: 2.5rem;
  }
  
  .intro-section p {
    font-size: 1.2rem;
  }
  
  .service-section,
  .faq-section,
  .about-section,
  .contact-section,
  .service-detail {
    padding: 80px 15px;
  }
  
  .service-section h1,
  .faq-section h1,
  .contact-section h1,
  .service-detail h1,
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
  }
  
  .service-section h1::after,
  .faq-section h1::after,
  .contact-section h1::after,
  .service-detail h1::after,
  .section-title::after {
    width: 80px;
    margin: 20px auto 0;
  }
  
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .card-service {
    padding: 30px;
  }
  
  .card-service h3 {
    font-size: 1.5rem;
  }
  
  .card-service p {
    font-size: 1.05rem;
  }
  
  .faq-question {
    padding: 20px 60px 20px 25px;
    font-size: 1.1rem;
  }
  
  .faq-answer {
    padding: 0 25px;
    font-size: 1.05rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 25px 25px;
  }
  
  .card-body {
    padding: 30px;
  }
  
  .card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .card-text,
  .card ul {
    font-size: 1.05rem;
  }
  
  .contact-section h4::after {
    width: 50px;
    margin: 10px 0 20px;
  }
  
  .contact-section p {
    font-size: 1.05rem;
  }
  
  .contact-list .list-group-item {
    padding: 15px 20px;
    font-size: 1.05rem;
  }
  
  .service-detail .content {
    flex-direction: row;
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .service-detail .para {
    padding: 30px;
  }
  
  .service-detail .para h5 {
    font-size: 1.3rem;
  }
  
  .service-detail .para p {
    font-size: 1.1rem;
  }
  
  .service-detail .detail-info {
    padding: 40px;
  }
  
  .service-detail .detail-info p {
    font-size: 1.1rem;
  }
}

@media (min-width: 992px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-detail .content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .services-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 575px) {
  #map {
    height: 90vh;
  }
  
  .navbar a {
    font-size: 0.9rem;
  }
  
  .intro-section h1 {
    font-size: 1.8rem;
  }
  
  .intro-section p {
    font-size: 0.95rem;
  }
  
  .service-section h1,
  .faq-section h1,
  .contact-section h1,
  .service-detail h1,
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .card-service h3 {
    font-size: 1.2rem;
  }
  
  .card-service p {
    font-size: 0.9rem;
  }
  
  .faq-question {
    font-size: 0.95rem;
    padding: 12px 45px 12px 15px;
  }
  
  .faq-answer {
    font-size: 0.9rem;
    padding: 0 15px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 15px 15px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-text,
  .card ul {
    font-size: 0.9rem;
  }
  
  .contact-list .list-group-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .contact-list strong {
    min-width: auto;
  }
  
  .service-detail .para h5 {
    font-size: 1.1rem;
  }
  
  .service-detail .para p {
    font-size: 0.95rem;
  }
}
