/* --------------------- REEM KUFI --------------------- */
@font-face {
  font-family: 'Reem Kufi';
  src: url('Reem_Kufi/static/ReemKufi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Reem Kufi';
  src: url('Reem_Kufi/static/ReemKufi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Reem Kufi';
  src: url('Reem_Kufi/static/ReemKufi-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Reem Kufi';
  src: url('Reem_Kufi/static/ReemKufi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Reem Kufi VF';
  src: url('Reem_Kufi/ReemKufi-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

/* --------------------- INTER --------------------- */
@font-face {
  font-family: 'Inter';
  src: url('Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('Inter/static/Inter_18pt-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}


html, body {
  margin: 0;
  font-family: 'Reem Kufi', 'Inter', sans-serif;
  padding-top: 120px;
}

.navbar-nav .dropdown-toggle::after {
  display: none;
}


#hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

#hero-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  height: 100vh;
  position: relative;
  z-index: 2;
}

.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
  height: 120px;
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: #FFFFFF !important;
  font-weight: bold;
  line-height: 120px;
}

.navbar.scrolled {
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #000000 !important;
	
}
.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
  color: #000000 !important;
}

.custom_flagicon{  
    margin:0px 0px; 
    width: 25px;
    height: 25px;
    display: inline-block;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size: 100% !important; 
    border-radius: 30px;
    transition: 0.3s; 
}
.custom_flagiconafter{  
    width: 25px;
    height: 25px;
    display: inline-block;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size: 100% !important; 
    border-radius: 30px;
    transition: 0.3s; 
    position:relative;
    top:30px;
    left:30px;
}
.clang_flagicon{  
    margin:3px 10px; 
    width: 80px;
    height: 80px;
    display: inline-block;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size: 100% !important; 
    border-radius: 30px;
    transition: 0.3s; 
}
.clang_flagicon:hover{  
    background-size: 80% !important;   
    transition: 0.3s;
}
.custom_flagicon:hover{  
    background-size: 80% !important;   
    transition: 0.3s; 
}
.custom_flagicon-en {
    background: url(flags/UK_flag.png);    
}
.custom_flagicon-es {
    background: url(flags/ES_flag.png);    
}
.custom_flagicon-fr {
    background: url(flags/FR_flag.png);   
}
.custom_flagicon-it {
    background: url(flags/IT_flag.png);  
}
.custom_flagicon-pt {
    background: url(flags/PT_flag.png);  
}
.custom_flagicon-ro {
    background: url(flags/RO_flag.png);  
}
.custom_flagicon-pl {
    background: url(flags/PL_flag.png);  
}
.custom_flagicon-cn {
    background: url(flags/CN_flag.png);    
 }
.custom_flagicon-cz {
    background: url(flags/CZ_flag.png);
}
.custom_flagicon-hu {
    background: url(flags/HU_flag.png);
}


@media (max-width: 767px) {

    /* Burger visible en scrolled */
    .navbar.scrolled .navbar-toggler-icon {
        filter: invert(0); /* noir */
    }
/* Burger par défaut (blanc) */
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280,0,0,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    
}

/* Burger noir quand navbar scrolled */
.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
    /* Navbar-collapse overlay sans pousser la navbar */
    .navbar-collapse {
        position: fixed;
        top: 120px; /* juste en dessous de la navbar */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.2); /* même que navbar */
        backdrop-filter: blur(10px);
        transition: background-color 0.5s ease, box-shadow 0.5s ease;
        z-index: 1040;
    }

    .navbar.scrolled .navbar-collapse {
        background-color: #FFFFFF;
    }

    /* Centrer les éléments du menu et du dropdown */
    .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-item,
    .navbar-nav .dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-nav .nav-link,
    .navbar-nav .dropdown-toggle {
        display: block;
        text-align: center;
    }

    .navbar-nav .dropdown-menu {
        text-align: center;
        left: 0 !important;
        right: 0 !important;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        justify-content: center;
    }
}


