@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Quicksand:wght@400;700&family=Raleway:wght@400;700&family=Orbitron:wght@400;700&family=Abril+Fatface&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Poppins:wght@400;700&family=Roboto:wght@400;700&family=Montserrat:wght@400;700&family=Open+Sans:wght@400;700&family=Lora:wght@400;700&family=Rubik:wght@400;700&family=Source+Sans+3:wght@400;700&family=Nunito:wght@400;700&family=DM+Sans:wght@400;700&display=swap');

.playfair { font-family: 'Playfair Display', serif; }
.quicksand { font-family: 'Quicksand', sans-serif; }
.raleway { font-family: 'Raleway', sans-serif;  }
.orbitron { font-family: 'Orbitron', sans-serif; }
.abril { font-family: 'Abril Fatface', serif;  }

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

    font-family: 'Quicksand', sans-serif; 
    background-color: #0b0c10;
    color: #ffffff;
/*    font-family: 'Arial', sans-serif;
    background-color: #0d0d1a; */
    color: #e5e5e5;
    background: #aaaaaa url('bgai.jpg') no-repeat center/cover fixed;
    background-blend-mode: multiply;
    background-origin: padding-box;
    background-clip: border-box;

}

header {
    background: rgba(0,0,0,0.1);

    padding: 20px;
    text-align: left;
    position: relative;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4em;
    margin: 0;
    color: #e5e5e5; 
   
}

nav {
    display: none;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: block;
    margin: 10px 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    /* color: #66fcf1; */
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1f2833;
        padding: 10px 0;
    }

    .nav-links {
        display: block;
    }

    .nav-links li {
        margin: 10px 0;
    }

    nav.active {
        display: block;
    }
}

/* Header Général (ajustements pour équilibre) */
header {
    background: rgba(0,0,0,0.1);
    padding: 20px;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: space-between; /* Meilleur espacement pour éviter surcharge */
    align-items: center;
}

.head-container {
    display: flex;
    justify-content: space-between;
    align-items:start;
    width: 100%;
    max-width: 1200px; /* Limite la largeur pour pas trop étaler les liens */
    margin: 0 auto;
}

/* Navigation (améliorée pour look épuré avec Orbitron) */
nav {
    display: flex;
    align-items: center;
    

}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px; /* Espacement horizontal subtil pour aérer */
}

.nav-links li {
    display: inline-block; /* Horizontal par défaut */
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2em;
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Orbitron', sans-serif; */
    font-weight: 700; /* Consistent weight to prevent layout shift */
    transition: color 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease; /* Added text-shadow transition */
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    /* color: #66fcf1; */
    box-shadow: 0 0 8px rgba(10, 108, 255, 0.5); /* Your updated color */
    text-shadow: 0 0 4px rgba(102, 252, 241, 0.7); /* Glow effect mimics boldness */
}
/* Menu Toggle pour Mobile (ajusté pour plus d'espace avec nouveaux liens) */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    display: none; /* Masqué sur desktop */
}

/* Responsive Design (adapté pour plus de liens sans surcharge) */
@media (max-width: 768px) {
    .head-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    nav {
        display: none;
        width: 100%;
        background: #1f2833;
        padding: 10px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px; /* Vertical pour mobile, aéré */
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    nav.active {
        display: block;
    }

    .language-selector {
        margin-top: 10px; /* Espace sous le header sur mobile */
        align-self: center;
    }
}



.container {
    width: 80%;
    margin: auto; 
}

.head-container{
    display : flex;
    flex-direction: column;
    /*
    justify-content: flex-end;  
    align-items: flex-end;          
    align-items: flex-end;      
    */
}

/* header { */
/*     color: red; */
/*     background-color: rgba(0,0,0,0.1); */
/*     display: flex; */
/*     justify-content: flex-start;   */
/*     align-items: flex-end; */


/*     padding: 50px 20px;           /\* 50px top & bottom, 20px left & right *\/ */
/* /\*     */
/*     position: fixed; */
/*     top: 0; */
/*     left: 0; */
/*       width: 100%; */
/* *\/ */
/*       z-index: 1000; /\* Ensures the header stays above other content *\/ */
/*       box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
/* } */

#home{    
    margin-top : 0px;
}

/* header h1 { */
/*     color: #e5e5e5; */
/*     text-align: right; */
/* } */

/* nav ul { */
/*     list-style-type: none; */
/*     text-align: left; */
/*     margin-top: 50px; */
/* } */

/* nav ul li { */
/*     display: inline; */
/*     margin: 0 0px; */
/*     margin-right: 20px; */
/*     text-align: left; */
/* } */

/* nav ul li a { */
/* /\*    color: #e5e5e5; *\/ */
/*     text-decoration: none; */
/*     color: tomato; */

/* } */

.hero {
    text-align: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e5e5e5;
}

.cta-button {
    background-color: #1e90ff;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.section {
    padding: 50px 0;
    text-align: left;
}

.dark-section {
    background-color: rgba(10,10,10,0.5);
}

.activity {
    margin: 20px 0;
}

.activity h3 {
    color: #1e90ff;
}

.team-grid {
    display: flex;
    justify-content: center;
}

.team-member {
    margin: 20px;
    text-align: center;
}

footer {
    /* background-color: rgba(0,0,1,0.5); /\* #1f1f2e; *\/ */
    background: rgba(0,0,1,0.5); /* #1f1f2e; */
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}


.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #e5e5e5;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  margin-bottom: 15px;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form .btn {
  display: inline-block;
  background-color: #1e90ff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #66fcf1;
  color: #000;
}

.contact-info h3 {
  margin-bottom: 15px;
  color:  #e5e5e5;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin: 8px 0;
}

.contact-info a {
  color: #e5e5e5;
  text-decoration: none;
}

.contact-info a:hover {
  color: #66fcf1;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #e5e5e5;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #66fcf1;
  color: #000;
}

.language-selector {
    position: absolute;
    /* top: 40px; */
    right: 160px;
    z-index: 1000;
}

#lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.0);
    border: 1px solid red;
    color: #e5e5e5; 
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    /* padding: 8px 40px 8px 40px;
    border: 1px solid #66fcf1;
    border-radius: 8px; */
    cursor: pointer;
    transition: all 0.3s ease;
}

#lang-select option[data-emoji] {
    /* padding-left: 35px; */
}

#lang-select:hover, #lang-select:focus {
    /* background-color: rgba(255, 255, 255, 0.2); */
    /* border-color: #1e90ff; */
}

@media (max-width: 768px) {
    .language-selector {
        right: 65px;
        top: 15px;
    }
    #lang-select {
        font-size: 2.0em;
        /* padding: 6px 30px 6px 35px; */
    }
}
