@font-face {
  font-family: Gamilia;
  src: url(../font/gamilia-font/GamiliaDemoRegular-d9DL7.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif; /* Clean body font */
}

body {
  font-size: 16px;
  width: 100%;
  color: #ffffff;
  background-color: #246168;
  background-attachment: fixed;
  padding-top: 120px; /* Increased top padding to ensure content is not hidden under the navbar */
  height: auto; /* Change this from 100vh to auto */
  min-height: 100vh; /* Ensures the body has a minimum height to cover the viewport */
  padding-bottom: 60px; /* Increase this value as needed */
}

/* General Section Styling */
section {
  padding: 5%; /* Utiliser un pourcentage pour s'adapter à la taille de l'écran */
  max-width: 90%; /* Toujours une largeur relative */
  margin: 0 auto; /* Center content horizontally */
  background-color: #333347;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  color: #fff;
}



/* Link styles */
a {
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 2px;
  font-family: Gamilia;
}

a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #82babd;
  transition: width 0.4s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #82babd;
}

/* Headings */
h3 {
  text-transform: uppercase;
  font-weight: 1000;
  color: #82babd;
  font-size: 1.75rem;
  margin-bottom: 30px; /* Reduced margin for more compact design */
  text-align: center;
  font-family: Gamilia;
}

/* Paragraph text */
p {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 600;
  max-width: 900px; /* Limit width of paragraphs for better readability */
  margin: 0 auto; /* Center the paragraphs */
  text-align: justify;
}

/* Navigation Bar */
#navigation #navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap; /* Permet aux liens de s'empiler automatiquement si l'écran est trop petit */
  justify-content: space-between; /* Espacement dynamique */
  padding: 15px;
  background-color: #333347;
  z-index: 100;
  font-family: Gamilia;
}

#navigation #logo {
  display: flex;
  align-items: center; /* Vertically center the image and the links */
}

#navigation #navbar #logo {
  font-size: 32px;
  font-family: Gamilia;
}

#navigation #navbar #logo a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

#navigation #logo a {
  margin-right: 30px; /* Adjust this value for more spacing */
  font-size: 2rem; /* Utiliser des tailles de police relatives */
  color: #fff;
}

#navigation #logo a:last-child {
  margin-right: 0; /* Ensure the last link doesn't have extra space */
}

#logoimg {
  margin-right: 20px; /* Add spacing between the logo and the links */
  vertical-align: middle; /* Ensures the image stays aligned with text if not using flex */
}

.navtabs {
  align-items: right;
  padding: 0 10px;
  font-size: 1rem;
}

/* Animated line under the navbar */
.purple-line-glow {
  position: fixed;
  z-index: 2;
  top: 65px;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #246168;
  box-shadow: 0px 0px 10px 2px #246168;
}

/* Mission Cards */
#mission-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 50px auto;
  gap: 20px; /* Adds spacing between the cards */
}

#mission-cards .card {
  background-color: #333347;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  transition: transform 0.3s ease; /* Add hover effect */
}

#mission-cards .card:hover {
  transform: translateY(-5px); /* Lift effect on hover */
}

/* Meeting Section */
#meetings {
  padding: 50px 20px;
  background-color: rgba(36, 97, 104, 0.9);
  border-radius: 8px;
  margin: 40px 0; /* Added margin for spacing */
}

#meetings h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

#meetings p {
  color: #e7e0f1;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

/* Add Spacing Between Sections */
section + section {
  margin-top: 60px; /* Add space between sections */
}




/* Add Spacing for Lists and Other Block Elements */
ul {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #82babd;
}

/* Footer or License Section Styling (if needed) */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333347;
  color: #fff;
  font-size: 14px;
}

/* Smooth scrolling for links */
html {
  scroll-behavior: smooth;
}

@keyframes backgroundglow {
  0% {
    background: #246168;
  }
  50% {
    background: #246168;
    box-shadow: 0px 10px 18px 3px #246168;
  }
  100% {
    background: #246168;
  }
}



/* Navigation Bar */
#navbar {
display: flex;
justify-content: space-between; /* Espace entre le logo et les liens */
align-items: center; /* Aligne verticalement */
flex-wrap: wrap; /* Permet l’empilement si l’espace manque */
background-color: #333347;
padding: 15px;
position: fixed;
top: 0;
width: 100%;
z-index: 100;
}

#logo {
display: flex;
align-items: center;
}

#nav-links {
display: flex;
gap: 20px; /* Espace entre les liens */
}

/* Styles pour les liens */
.navtabs {
text-decoration: none;
color: #fff;
font-size: 1.25rem;
padding: 5px 10px;
border-radius: 4px;
}


/* Responsive: empile les liens sur petit écran */
@media screen and (max-width: 768px) {
#navbar {
  flex-direction: column; /* Empile le logo et les liens */
  align-items: center;
}

#navigation {
  margin-bottom: 150px; /* Espace en-dessous de toute la navigation */
}

#nav-links {
  flex-direction: column; /* Les liens deviennent verticaux */
  width: 100%; /* Prend toute la largeur */
  align-items: center; /* Centre les liens */
  gap: 10px; /* Espacement entre les liens */
  margin-top: 10px;
}

.navtabs {
  width: 100%; /* Les liens prennent toute la largeur */
  text-align: center; /* Centre le texte des liens */
  font-size: 1.2rem; /* Légèrement plus grand sur mobile */
}
}


#footer {
background-color: #333347;
color: #fff;
text-align: center;
padding: 20px 10px;
margin-top: 50px; /* Adds space above the footer */
}

.footer-content p {
margin: 10px 0;
font-size: 0.9rem;
}

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

.social-links a img {
width: 30px;
height: 30px;
filter: invert(1); /* Makes icons white for better visibility on dark background */
transition: transform 0.2s;
}

.social-links a img:hover {
transform: scale(1.1);
}

.icons {
width: 30px;
height: 30px;
}