



/* Reset */
* {
  box-sizing: border-box;
}

.html{
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
}




#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: #0d132d; 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

#preloader video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  pointer-events: none; 
}




/* ################################  HEADER  STYLIING  ###################### */


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  background-color: white;
  border-bottom: 2px solid #000000;
  position: relative;
  flex-wrap: wrap; 
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1000; 
  background-color: #ffffff; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
  font-family: 'Italianno', cursive;
  font-size: 2.1rem;
  font-weight: bold;
  color: #000;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Horizontal menu styling */
.horizontal-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.horizontal-menu ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.7s ease;
}

.horizontal-menu ul li a:hover {
  color: #ffffff;
  background-color: rgb(0, 0, 0);
  border-radius: 5px;
  padding: 10px 10px;
}











/* Languages menu styling */

/* Header language toggle button */


.header-lang-toggle {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin-left: 15px;
}

.header-lang-toggle:hover {
  background: #111;
}

.header-lang-toggle i {
  color: #111;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.header-lang-toggle:hover i {
  color: #fff;
}

/* Dropdown menu exactly like main dropdown */
.header-lang-options {
  position: absolute;
  top: 100%;
  right: 0;
  display: none;       /* hidden by default */
  flex-direction: column;
  background: white;
  border: 1px solid #000;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(13, 19, 45, 0.1);
  width: 220px;
  z-index: 1000;
  user-select: none;
  padding: 15px 0;
}

.header-lang-options ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-lang-options ul li {
  padding: 10px 20px;
}

.header-lang-options .lang-btn {
  position: relative;
  padding: 10px 20px;
  width: 100%;
  color: rgb(0, 0, 0);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  font-size: 14px;
  font-family: arial;
  font-weight: 550;
}

.header-lang-options .lang-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
  background-color: rgb(13, 19, 45);
  opacity: 0.9;
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

.header-lang-options .lang-btn:hover::before,
.header-lang-options .lang-btn:focus::before {
  width: 100%;
}

.header-lang-options .lang-btn:hover,
.header-lang-options .lang-btn:focus {
  color: white;
}

/* Show dropdown when active */
.header-lang-toggle.active .header-lang-options {
  display: flex;
  flex-direction: column;
}



/* ==================== Header Language Dropdown for Small Screens ==================== */


@media (max-width: 768px) {
  .header-lang-options {
    position: absolute; 
    top: 100%;          
    left: 0;
    width: 100%;        
    border: none;
    box-shadow: none;
    padding: 10px 0;
    flex-direction: column;
    background: white;
    display: none;      
    z-index: 1000;
  }

  .header-lang-options ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header-lang-options ul li {
    padding: 12px 30px; 
  }

  /* Show dropdown when toggle active */
  .header-lang-toggle.active .header-lang-options {
    display: flex;
  }
}











/* Hamburger icon styling */
.nav-icon {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.nav-icon div {
  height: 4px;
  background-color: black;
  border-radius: 2px;
}

/* Dropdown menu - hidden by default */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 50px;
  background: white;
  border: 1px solid #000000;
  box-shadow: 0 4px 8px rgba(13, 19, 45, 0.1);
  width: 220px;
  padding: 15px 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border-radius: 5px;
  user-select: none;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu ul li {
  padding: 10px 20px;
}

.dropdown-menu ul li a {
  position: relative;
  padding: 10px 20px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
  overflow: hidden;
}

/* Smooth text color change on hover */
.dropdown-menu ul li a:hover,
.dropdown-menu ul li a:focus {
  color: white;
  outline: none;
}

/* Creating a sliding highlight bar */
.dropdown-menu ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: rgb(13, 19, 45);
  opacity: 0.9;
  transition: width 0.3s ease;
  z-index: -1;
  border-radius: 4px;
}

/* Animating highlight bar on hover/focus */
.dropdown-menu ul li a:hover::before,
.dropdown-menu ul li a:focus::before {
  width: 100%;
}

/* Showing dropdown when active */
.dropdown-menu.active {
  display: flex;
}




/* =========================================================================== */
/* =========================================================================== */



/* Responsive Design adjustments */

@media (max-width: 768px) {
  .horizontal-menu {
    display: none;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 10px 0;
  }

  .dropdown-menu ul li {
    padding: 8px 30px;
  }

  header {
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .logo span {
    display: none;
  }
}










/* ################################  PAGE HEADER    STYILING  ###################### */




.blog-header {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #0d132d;
    color: #fff;
    font-family: 'Arial', sans-serif;
    border-bottom: 3px solid #fff;
}

.blog-header h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.blog-header h3 u {
    text-decoration-color: #fff;
    text-decoration-thickness: 3px;
}

.blog-header-navigation{
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  gap:2rem;
  justify-content: center;
  align-items: center;
}

.blog-header-navigation-btn{
  text-decoration: none;
  color:rgb(0, 0, 0);
  padding: 6px 25px;
  border-radius: 24px;
  border: 1px solid rgb(255, 255, 255);
  background-color: white;
  transition: all 0.3s ease-in;
}

.blog-header-navigation-btn:hover{
  transform: translateY(-3px);
  color:rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}









/* ################################  PAGE CONTENT WRAPPER (+BACKGROUND)  STYILING  ###################### */


.blog-overview {
    background: url('../../../assets/graphics/Bckground-about\ 2.png') no-repeat center center / cover;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: self-start;
    gap: 3rem;
    flex-wrap: wrap;
    font-family: 'Be Vietnam Pro', sans-serif;
    min-height: 935px;
    vertical-align: auto;
}




/* ################################  JOINT AND GENERAL STYLING  ###################### */

.blog-content-wrapper{
  display: block;
  max-width: 1600px;
  width: 100%;
  background-color: rgb(255, 255, 255);
  padding-bottom: 30px;
}


.section-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 60px 50px;
}

.section-title{
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 30px;
  font-style: italic;
  color:rgb(0, 0, 0);
  font-weight: 600;
  letter-spacing: 6px;
  position: relative;
}

.section-title::after{
  content:"";
  background-color: rgb(0, 0, 0);
  height:3px;
  width:60%;
  top:-20px;
  left:10px;
  position: absolute;
}

.section-button{
  text-decoration: none;
  color:rgb(255, 255, 255);
  background-color: #000000;
  padding:10px 14px;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 12px;
  transition: all 0.3s ease-in;
  box-shadow: 0 3px 10px rgb(0, 0, 0);
}

.section-button:hover{
  color:rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  transform: translateY(-3px);
}


.section-default-layout{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  margin: 40px 50px;
  gap:3rem;
}


.news-section, .articles-section{
  display:block;
  scroll-margin-top: 250px;
}




/* ################################  SECTION  DEFAULT VIEW  STYILING  ###################### */


.entity{
  background-color: white;
  border: 1px solid black;
  padding:15px 15px;
  transition: all 0.3s ease-in;
}

.entity a{
  text-decoration: none;
}

.entity:hover{
  background-color: white;
  box-shadow: 0 0px 5px rgb(252, 252, 252);
  transform:scale(1.03);

  .entity-button{
    color:rgb(255, 255, 255);
    background-color:#0d132d;
    border: 0px solid rgb(255, 255, 255);
  }
}

.entity-image{
  max-width: fit-content;
  width:300px;
  height: auto;
  border: 2px solid black;
}

.entity-info{
  text-align: center;
  display: block;
}

.entity-title{
  font-size: 24x;
  font-weight: 600;
  color: rgb(13, 19, 45);
  max-width: 300px;
  word-wrap: break-word;
}

.entity-actions{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:space-between;
  align-items: center;
  margin-top: 30px;
}


.entity-tag{
  color:rgb(13, 19, 45);
  background-color: #ffffff;
  border: 1px solid rgb(0, 0, 0);
  padding:2px 8px;
  border-radius: 5px;
  position:relative;
}

.entity-tag::before {
  content: "\f05a"; 
  color: #233069;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transform: rotate(deg);
  position: absolute;
  font-size: 16px;
  left: -10px;
  top: -9px;
}

.entity-button{
  text-decoration: none;
  color:rgb(13, 19, 45);
  background-color: #ffffff;
  border: 1px solid rgb(0, 0, 0);

  padding: 3px 7px;
  text-wrap: break-word;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease-in;
}

.entity-button:hover{
  color:rgb(255, 255, 255);
  background-color:#0d132d;
  border: 0px solid rgb(255, 255, 255);
}




/* ################################  SECTION  LIST ("See All") VIEW  STYILING  ###################### */



/* Entity Button - same styling as in default view (see above)*/
/* Entity TAG - same styling as in default view (see above)*/


.section-list-layout{
  display: none; /*default state*/
  margin: 50px;
}

.list-layout-entity{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding:15px 25px;
  margin-top: 30px;
  background-color: white;
  border: 1px solid black;
  transition: all 0.3s ease-in;
}

.list-layout-entity:hover{
  box-shadow: 0 0px 10px rgb(0, 0, 0);
  transform: translateY(-3px);

  .entity-button{
    color:rgb(255, 255, 255);
    background-color:#0d132d;
    border: 0px solid rgb(255, 255, 255);
  }
}

.entity-list-layout-image{
  max-width: fit-content;
  width:250px;
  height: auto;
}



/* ################################  DEFAULT VIEW SETUP + "FOCUSED" STATE STYLINGS   ###################### */



.is-focused .section-default-layout {
  display: none;
}

.is-focused .section-list-layout {
  display: block;
}


/* optional: hide other section entirely when one is focused */
body.section-focused .news-section,
body.section-focused .articles-section {
  display: none;
}

body.section-focused .is-active {
  display: block !important;
}






/* ################################  RESPONSIVENESS - ADJUSTMENTS  ###################### */


/* DEFAULT VIEW */

@media (max-width: 600px){
  .section-header{
    display: block;
    margin-top:150px;
  }
  .section-title, .section-button{
    margin-bottom: 50px;
  }
}

@media (max-width: 487px){
  .entity-image, .entity-title{
    max-width:250px;
  }
}

@media (max-width: 440px){
  .entity-image, .entity-title{
    max-width:200px;
  }
  .section-title{
    font-size: 24px;
  }
}

@media (max-width: 390px){
  .entity-image, .entity-title{
    max-width:150px;
  }
  .section-title{
    font-size: 20px;
  }

  .entity-actions{
    display:flex;
    flex-direction: column;
  }
}



/* LIST VIEW */


@media (max-width: 975px){

  body:not(.section-focused) .section-list-layout {
    display: none;
  }

  body:not(.section-focused) .section-default-layout {
    display: flex;
  }

  body.section-focused .section-list-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
  }

  body.section-focused .list-layout-entity {
    display: block;
    width: fit-content;
  }

  .list-layout-entity{
    display: block;
    width:fit-content;
  }
  .list-layout-entity .entity-tag{
    width:fit-content ;
  }
  .list-layout-entity .entity-title{
    margin-top: 25px;
    margin-bottom: 40px;
    max-width: 250px;
  }

  .list-layout-entity .entity-tag{
    margin-bottom: 20px; 
  }

}


@media (max-width: 465px){

  .entity-list-layout-image{
    max-width:200px ;
  }
  .list-layout-entity .entity-title{
    max-width: 200px;
  }

}


@media (max-width: 410px){

  .entity-list-layout-image{
    max-width:150px ;
  }
  .list-layout-entity .entity-title{
    max-width: 150px;
  }

}











/* ################################  PAGE FOOTER     STYLING  ###################### */


footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%; 
  background-color: #f8f8f8;
  color: rgb(0, 0, 0);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  border-top: 2px solid black;
  flex-wrap: wrap; 
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Contact links styling */
.left-contact, .right-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
  cursor: pointer;
  flex-shrink: 0; 
}

/* Hover effects */
.left-contact:hover, .right-contact:hover {
  background-color: rgb(13, 19, 45);
  color: #f0f0f0;
}

.left-contact:hover i, .right-contact:hover i {
  color: #f0f0f0;
}

/* Footer headings */
footer h5 {
  margin: 0;
  font-weight: 400;
  font-size: 1rem;
}

/* RESPONSIVE: For screens smaller than 768px */
@media (max-width: 768px) {
  .lang-toggle {
    display: none;
  }
}