/* 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  STYLING  ###################### */



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);
  font-weight: bold;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.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;      /* hidden by default */
    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) {
  /* Hide horizontal menu on small screens */
  .horizontal-menu {
    display: none;
  }

  /* Dropdown menu - position fixed full width below header */
  .dropdown-menu {
    position: static;
    width: 100%;
    border: none;
    box-shadow: none;
    padding: 10px 0;
  }

  .dropdown-menu ul li {
    padding: 12px 30px;
  }

  /* Make header flex wrap so logo + hamburger stack nicely */
  header {
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .logo span {
    display: none;
  }
}










/* ################################  PAGE CONTENT HEADES   STYLING  ###################### */



.FAQs-header {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #0d132d;
    color: #fff;
    font-family: 'Arial', sans-serif;
    border-bottom: 3px solid #fff;
}

.FAQs-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.FAQs-header h3 u {
    text-decoration-color: #fff;
    text-decoration-thickness: 4px;
}





/* ################################  PAGE CONTENT WRAPPER (background)   STYLING  ###################### */


.faq-wrapper {
    background: url('../graphics/Bckground-about 2.png') no-repeat center center / cover;
    padding: 70px 20px;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
}



/* ################################  PAGE CONTENT CONTAINER   STYLING  ###################### */


.faq-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    font-family: "Be Vietnam Pro", sans-serif;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}




/* ################################  FAQ CATEGORY   STYLING  ###################### */



.faq-category {
    margin-bottom: 3rem;
}

/* Category Title */

.faq-category h2 {
    position: relative;
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: #000000;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.3s ease;
}

.faq-category h2:hover {
    color: black;
    transform: scale(1.03);
}

.faq-category h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #000000;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.faq-category h2:hover::after {
    width: 60%; /* subtle underline, modern look */
}




/* ################################  INDIVIDUAL Q -- A  (Item)   STYLING  ###################### */

/* FAQ ITEM */

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 0 4px 18px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    background: rgb(13, 19, 45);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 19, 45, 0.9);
    border: 2px solid white;
    transform: scale(1.05);
}

.faq-item:hover .faq-question {
    background: rgb(44, 54, 97);
}


/* FAQ QUESTION */

.faq-question {
    padding: 1.2rem 1.6rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: rgb(20, 28, 50);
    transition: all 0.3s ease, letter-spacing 0.3s ease;
    border-radius: 10px;
}

.faq-question:hover {
    background: rgb(44, 54, 97);
    letter-spacing: 0.5px;
    transform: translateX(3px);
}


/* FAQ ANSWER */

.faq-answer {
    padding: 1rem 1.6rem;
    display: none; 
    font-weight: 400;
    line-height: 1.6;
    background: rgb(10, 14, 30);
    color: #ffffff;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
}



/* =========================================================================== */
/* =========================================================================== */



/* Responsive Design adjustments */

@media (max-width: 768px) {
    .faq-container {
        padding: 1.5rem;
    }
    .faq-category h2 {
        font-size: 1.4rem;
    }
    .faq-question, .faq-answer {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
}









/* ################################  PAGE FOOTER  STYLING  ###################### */





footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%; /* make horizontal padding % instead of fixed px */
  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; /* allow items to wrap on small screens */
}

.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;
  }
}