/* Global */
:root {
  --primary-color: #2887ff;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
}

html,
body {
  scroll-behavior: smooth;
}



.contact-info a {
  margin-right: 20px;
  display: none;
  color: white;
  text-decoration: none;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  display: none;
  color: white;
}

.contact-info a:hover {
  text-decoration: underline;
}

.don-button {
  background: #FFD700;
  color: #005bb5;
  padding: 5px 15px;
  display: none;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}





nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #ffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

nav .navbar {
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}

.navbar .logo a {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.logo-image {
  max-height: 60px;
  margin-right: 40px;
  border-radius: 20px;
}

nav .navbar .nav-links {
  line-height: 70px;
  height: 100%;
}

nav .navbar .links {
  display: flex;
}

nav .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}

nav .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #005bb5;
  text-decoration: underline 3px solid rgb(173, 171, 171);
  font-size: 15px;
  font-weight: 600;
}

nav .navbar .links li a:hover {
  text-decoration: none;
}


.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow {
  transform: rotate(180deg);
}

nav .navbar .links li .arrow {
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}

nav .navbar .links li .sub-menu {
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #3E8DA8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}

nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu {
  display: block;
}

.navbar .links li .sub-menu li {
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.navbar .links li .sub-menu .more-arrow {
  line-height: 40px;
}

.navbar .links li .htmlCss-more-sub-menu {
  line-height: 40px;
}

.navbar .links li .sub-menu .more-sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}

.links li .sub-menu .more:hover .more-sub-menu {
  display: block;
}


.navbar .nav-links .sidebar-logo {
  display: none;
}

.navbar .bx-menu {
  display: none;
}

@media (max-width:920px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  nav .navbar .logo a {
    font-size: 27px;
  }

  nav .navbar .links li {
    padding: 0 10px;
    white-space: nowrap;
  }

  nav .navbar .links li a {
    font-size: 15px;
    color: white;
    font-weight: 520;
    text-decoration: none;
  }


  nav .navbar .links li a:hover {
    color: black;
    font-weight: bold;
  }

  .contact-info a {
    margin-right: 20px;
    color: white;
    display: block;
    text-decoration: none;
  }

  .social-icons a {
    margin-right: 10px;
    font-size: 18px;
    display: block;
    color: white;
  }

  .social-icons i {
    background-color: #ffff;
    border-radius: 10px;
    padding: 7px;
    color: black;
  }

  .social-icons i:hover {
    background-color: black;
    color: white;
  }

  .don-button {
    background: #FFD700;
    color: #005bb5;
    padding: 1px 5px;
    display: block;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .don-button:hover {
    text-decoration: underline;
  }
}

@media (max-width:800px) {

  .navbar .bx-menu {
    display: block;
  }

  .contact-info a {
    margin-right: 20px;
    text-align: center;
    display: block;
    color: white;
    text-decoration: none;
  }

  .social-icons a {
    margin-right: 10px;
    font-size: 18px;
    text-align: center;
    display: block;
    color: white;
  }

  .social-icons i {
    background-color: #ffff;
    border-radius: 10px;
    padding: 7px;
    color: black;
  }

  .social-icons i:hover {
    background-color: black;
    color: white;
  }

  .don-button {
    background: #FFD700;
    color: #005bb5;
    padding: 1px 5px;
    display: block;
    text-align: center;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .don-button:hover {
    text-decoration: underline;
  }

  nav .navbar .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background-color: #005bb5;
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }

  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #fff;
  }


  .navbar .bx-menu {
    font-size: 25px;
    cursor: pointer;
    color: black;
  }

  .sidebar-logo i {
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  nav .navbar .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .links li .arrow {
    line-height: 40px;
  }

  nav .navbar .links li {
    display: block;
  }

  nav .navbar .links li .sub-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    display: none;
  }

  nav .navbar .links li .sub-menu li {
    border-bottom: none;

  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
    position: relative;
    left: 0;
  }

  .navbar .links li .sub-menu .more-sub-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .links li:hover .htmlcss-arrow,
  .links li:hover .js-arrow {
    transform: rotate(0deg);
  }

  .navbar .links li .sub-menu .more-sub-menu {
    display: none;
  }

  .navbar .links li .sub-menu .more span {
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu {
    display: none;
  }

  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu {
    display: none;
  }

  .navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links .htmlcss-arrow,
  .navbar .nav-links.show3 .links .js-arrow {
    transform: rotate(180deg);
  }

  .navbar .nav-links.show2 .links .more-arrow {
    transform: rotate(90deg);
  }
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 51, 224, 0.5);
  z-index: 99;
}



.bann {
  background: url('photobf/contact.jpg') no-repeat center center/cover;
  color: white;
  padding: 100px 20px;
  padding-top: 140px;
  text-align: center;
}

.bann h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  background-color: rgba(37, 37, 37, 0.651);
}

.bann p {
  font-size: 1.2em;
  background-color: rgba(37, 37, 37, 0.651);
}







/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

#splash-screen img {
  width: 150px; /* Ajuste la taille du logo si nécessaire */
  animation: fadeIn 1.5s ease-in-out;
}

/* Animation du logo */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

/* Disparition du splash screen */
.hidden {
  opacity: 0;
  pointer-events: none;
}









/* Contact Page Styles */

.contact-header {
  background: #3E8DA8;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.contact-header h1 {
  margin: 0;
  font-size: 28px;
}

.contact-header p {
  margin: 10px 0 0;
  font-size: 18px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
  max-width: 1200px;
  padding-top: 20px;
  margin: auto;
  gap: 20px;
}

.contact-form,
.contact-map {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2,
.contact-map h2 {
  font-size: 22px;
  color: #3E8DA8;
  padding-top: 30px;
  margin-bottom: 15px;
}

.contact-form label {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.contact-form .btn {
  background: #3E8DA8;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: #2b6f89;
}

.contact-map p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.map-container iframe {
  border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form,
  .contact-map {
    max-width: 100%;
  }
}








/* Styles du Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 50px 0;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Logo */
.footer-logo {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.footer-logo img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 14px;
  color: #bbb;
}

/* Liens de navigation */
.footer-links, .footer-social, .footer-contact {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #007bff;
  position: relative;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-contact h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #007bff;
  margin: 8px auto;
}

/* Liste des liens */
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin: 8px 0;
}

.footer-links a,
.footer-contact a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #007bff;
}

/* Icônes des réseaux sociaux */
.social-iconss {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-iconss a {
  display: inline-block;
  font-size: 20px;
  color: #bbb;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-iconss a:hover {
  color: #007bff;
  transform: scale(1.2);
}

.social-iconss i:hover {
  color: #fff;
  background-color: #007bff;
  transform: scale(1.1);
}

/* Icônes de contact */
.footer-contact i {
  margin-right: 8px;
  color: #007bff;
}

/* Copyright */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #bbb;
}
