* { box-sizing: border-box; margin:0; padding:0; transition: all 0.3s ease; }
body { font-family: 'Montserrat', sans-serif; background: #fff; color: #333; overflow-x: hidden; }
header{position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;}.footer-section ul a {
  text-decoration: none; /* supprime la ligne bleue */
  color: inherit; /* garde la couleur du texte comme avant */
}
.footer-section ul a:hover {
  text-decoration: none;
}

/* ---------- NAVBAR ---------- */
nav {
  background-color: #510955;
  padding: 10px 25px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nav-left img { max-height: 35px; display: block; transition: transform 0.3s; }
.nav-left img:hover { transform: scale(1.1); }
.nav-center { display: flex; justify-content: center; flex: 1; }
.nav-center ul { list-style: none; display: flex; gap: 22px; align-items: center; }
.nav-center ul li a {
  color: #fff; text-decoration: none; font-weight: 400; font-size: 13px;
  text-transform: capitalize; padding: 4px 0; position: relative;
  transition: color 0.3s, transform 0.2s;
}
.nav-center ul li a::after {
  content: ''; position: absolute; width: 0; height: 2px; bottom: -3px; left: 0;
  background-color: #faca29; transition: width 0.3s;
}
.nav-center ul li a:hover::after { width: 100%; }
.nav-center ul li a:hover { color:#faca29; transform: translateY(-2px); }

.cta-button {
  background-color: #faca29; color: #510955; padding: 5px 10px;
  border-radius: 5px; font-weight: 500; font-size: 12px; text-transform: capitalize;
  text-decoration: none; transition: all 0.3s;
}
.cta-button:hover { background-color: #fff; color: #510955; transform: translateY(-2px); }

.hamburger { display: none; font-size: 22px; cursor: pointer; color: #faca29; margin-left: 15px; }
.nav-right { display: flex; align-items: center; gap: 15px; }

@media(max-width: 768px) {
  .nav-center ul {
    position: absolute; top: 60px; left: 0; width: 100%;
    background-color: rgba(81, 9, 85, 0.95); flex-direction: column;
    align-items: center; max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    gap: 12px; padding: 0;
  }
  .nav-center ul.active { max-height: 500px; padding: 10px 0; }
  .nav-right .cta-button { display: none; }
  .cta-button.mobile-clone { margin: 10px 0; font-size: 13px; display: block; }
  .hamburger { display: block; }
}

/* ---------- FOOTER ---------- */
footer { background-color: #510955; color: #f5f5f5; padding: 50px 0 0; opacity:0; transform:translateY(50px); transition: all 0.8s ease; }
footer.show { opacity:1; transform:translateY(0); }

.footer-container {
  max-width: 1200px; margin:0 auto;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 50px;
}
h4, .contact-title { margin-bottom: 20px; font-weight:bold; }
.contact-title { font-size:20px; color:#faca29; }
.contact-info p, .footer-section ul li {
  font-size:14px; margin:12px 0; display:flex; align-items:center; gap:10px;
  color:#ddd; transition: color 0.3s, transform 0.2s;
}
.contact-info p i { color: #faca29; min-width:20px; text-align:center; transition: transform 0.3s; }
.contact-info p:hover { transform: translateX(5px); color: #faca29; }
.footer-section ul { list-style:none; padding:0; margin:0; }
.footer-section ul li { cursor:pointer; display:flex; align-items:center; gap:10px; transition: color 0.3s, transform 0.2s; }
.footer-section ul li i { color:#faca29; min-width:18px; transition: transform 0.3s; }
.footer-section ul li:hover { color:#faca29; transform: translateX(5px); }
.footer-section ul li a { color: inherit; text-decoration:none; }
.social-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:15px 25px; }
.social-item { display:flex; align-items:center; gap:8px; transition: color 0.3s, transform 0.3s; text-decoration: none; }
.social-item i { color:#faca29; font-size:18px; }
.social-item span { color:#fff; text-decoration: none; }
.social-item:hover span { color:#faca29; }
.social-item:hover { transform: translateX(5px); }

@media(max-width:768px) { 
  .footer-container { grid-template-columns:1fr 1fr; }
  .footer-section h3, .footer-section h4 { text-align: center; }
}
@media(max-width:480px) { .footer-container { grid-template-columns:1fr; } }

/* ---------- PURPLE FILLER ABOVE WHITE BOTTOM ---------- */
.footer-bottom-filler {
  width: 100vw;
  height: 40px; /* purple bar height */
  background-color: #510955;
  margin: 0;
  padding: 0;
}

/* ---------- FOOTER BOTTOM WHITE BANNER ---------- */
.footer-bottom {
  width: 100vw;
  background-color: #fff;
  color: #510955;
  text-align: center;
  padding: 20px 0;
  margin: 0;
}


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    scroll-behavior: smooth;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 5% auto;
    padding: 50px 0;
}

/* Titles */
h1 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 30px;
    color: #510955;
}

/* Text box */
.text-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Vision & Mission */
.flex-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
    justify-content: center;
}

.flex-box .box {
    flex: 1;
    min-width: 300px;
    background-color: #faca29;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box h2 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 15px;
    color: #510955;
}

/* FAQ Section */
.faq-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #510955;
    text-align: center;
}

.faq {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    cursor: pointer;
    font-weight: bold;
    position: relative;
    padding-right: 25px;
    transition: color 0.3s;
}

.faq-question:hover { color: #510955; }

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s;
    padding-left: 10px;
    margin-top: 10px;
    color: #000;
}

/* Add question box */
.add-question-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.add-question-box input {
    width: 100%;
    max-width: 600px;
    padding: 12px 20px;
    border: 2px solid #510955;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}
.faq-answer p{line-height: 2;}
.add-question-box input:focus { border-color: #faca29; }

.add-question-box button {
    background-color: #faca29;
    color: #510955;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.add-question-box button:hover {
    background-color: #510955;
    color: #faca29;
}

/* Scroll animations for all boxes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for boxes */
.flex-box .box:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.text-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .flex-box { flex-direction: column; }
}
