/* 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 style*/

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


.bann h1 {
  font-size: 2em;
  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);
}












.container {
  width: 80%;
  margin: 20px auto;
  text-align: center;
}
h1 {
  color: #2c3e50;
}
.container .sitpop {
  font-size: 2rem;
  color: black;
  font-weight: bold;
  margin-bottom: 2rem;
}
.sitpop {
  display: inline-block;
  position: relative;
}

.sitpop::after {
  content: "";
  width: 100%;
  height: 4px;
  background: #FFD54F;
  position: absolute;
  left: 0;
  bottom: -5px;
}

.event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.event {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 300px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.event:hover {
  transform: scale(1.05);
}
.event img {
  width: 100%;
  border-radius: 10px;
  transition: opacity 0.3s;
}

.event-list > * {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.event-list > *.show {
  opacity: 1;
  transform: translateX(0);
}


.event:hover img {
  opacity: 0.7;
}
.event h2 {
  color: #e74c3c;
  font-size: 18px;
  margin-top: 10px;
}
.date-bubble {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 50%;
  position: relative;
}
.close {
  color: red;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}






/* Section for the Interactive Background */
.interactive-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1; /* Send to background */
  background-size: 400% 400%;
  animation: gradientAnimation 10s ease infinite;
}

/* Floating Items (Icons and Words) */
.background__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-item {
  position: absolute;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  opacity: 0.8;
  animation: float 6s linear infinite, drift 12s ease-in-out infinite;
  white-space: nowrap;
}

/* Animate Background Gradient */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Float Effect for Items */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Drift Animation for Horizontal Movement */
@keyframes drift {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50px);
  }
  100% {
    transform: translateX(0);
  }
}

/* Generate Random Position for Items */
.floating-item:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-item:nth-child(2) {
  top: 20%;
  left: 75%;
  animation-delay: 1s;
}

.floating-item:nth-child(3) {
  top: 50%;
  left: 40%;
  animation-delay: 2s;
}

.floating-item:nth-child(4) {
  top: 30%;
  left: 20%;
  animation-delay: 3s;
}

.floating-item:nth-child(5) {
  top: 70%;
  left: 60%;
  animation-delay: 4s;
}

.floating-item:nth-child(6) {
  top: 80%;
  left: 10%;
  animation-delay: 5s;
}

.floating-item:nth-child(7) {
  top: 60%;
  left: 80%;
  animation-delay: 6s;
}

.floating-item:nth-child(8) {
  top: 15%;
  left: 45%;
  animation-delay: 7s;
}

.floating-item:nth-child(9) {
  top: 5%;
  left: 50%;
  animation-delay: 8s;
}

.floating-item:nth-child(10) {
  top: 90%;
  left: 35%;
  animation-delay: 9s;
}








/* 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;
}















/*thanks*/

.thank-you-section {
  text-align: center;
  padding: 3rem 5%;
  background: #f8f9fa;
  color: #333;
  font-family: 'Arial', sans-serif;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thank-you-section h2 {
  font-size: 2rem;
  color: #0078d4;
  margin-bottom: 1rem;
}

.thank-you-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #0078d4;
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.linkedin { background: #0077b5; }
.instagram { background: #e4405f; }
.facebook { background: #1877f2; }
.twitter { background: #000; } /* X (Twitter) */

.social-icon i {
  font-size: 1.5rem;
}














/* 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;
}

  