/* =========================
   Navbar - Base
========================= */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: none; /* transparent so section background shows */
  backdrop-filter: blur(2px);
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: 
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    filter 0.3s ease;
}

#navbar .nav-link {
  text-decoration: none;
  color: var(--White, #fff); /* default (will be overridden by .light/.dark) */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  transition: color 0.3s ease;
}

#navbar .nav-link.active {
  border-bottom: 2px solid #00aaff;
  color: var(--White, #fff);
}

#navbar .nav-link:hover {
  border-bottom: 2px solid #00aaff;
}

/* Light / Dark modes for navbar (used by JS based on section background) */
#navbar.light .nav-link {
  color: #000;
}

#navbar.dark .nav-link {
  color: #fff;
}

/* =========================
   Logo
========================= */

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-logo img {
  height: 26px;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* OPTIONAL: if you want actual separate logos instead of filter */
#navbar.light .logo-dark { display: none; }
#navbar.dark .logo-light { display: none; }

/* =========================
   Nav Links Container
========================= */

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* =========================
   Language Selector
========================= */

.language-selector img:first-child {
  width: 15px;
  height: 15px;
}

.language-selector img:last-child {
  width: 15px;
  height: 15px;
  aspect-ratio: 1/1;
}

/* =========================
   Hamburger Button
========================= */

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger .line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* =========================
   Responsive - Navbar
========================= */

/* Large tablet & small laptop */
@media (max-width: 1024px) {
  .nav-links {
    gap: 16px !important;
  }
}

/* Tablet & mobile */
@media (max-width: 768px) {
  #navbar {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .navbar-logo {
    flex: 1;
  }

  nav {
    flex: 1;
    text-align: right;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: 230px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #03122d;
    padding: 20px 0;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 10px !important;
  }

  /* When the menu is open, show the links */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  #navbar.navbar-open .hamburger .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #navbar.navbar-open .hamburger .line:nth-child(2) {
    opacity: 0;
  }
  #navbar.navbar-open .hamburger .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav-links {
    font-size: 14px !important;
  }
}

/* =========================
   Section Background Modes
   (used for navbar color change)
========================= */

section[data-bg="dark"] {
  background-color: #010101;
}

section[data-bg="light"] {
  background-color: #fff;
}



@media (max-width: 768px){
  .hidden-xs{
    display: none;
  }
}




/* ✅ Footer */

footer {
    display: flex;
    background: #101b31;
    padding: 24px 20px;
    justify-content: center;
    align-items: center;
    gap: 32px;
    align-self: stretch;
}

.footer-container {
    display: flex;
    max-width: 1375px;
    width: 100%;
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 45px;
    width: 100%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 36px;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    width: 94px;
    height: 36px;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

.footer-logo .logo-main {
    width: 65px;
    height: 30px;
}

.footer-logo .logo-icon {
    width: 20px;
    height: 35px;
}

.footer-address-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer-address a {
    color: #FFF;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-decoration: none;
}

.footer-email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-email-link img {
    width: 24px;
    height: 24px;
}

.footer-email-link span {
    color: #FFF;
    font-family: "Noto Sans", Roboto, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.footer-socials {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 150px;
}

.footer-links a {
    color: #FFF;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-decoration: none;
}

/* Certificates section (optional) */
.footer-certs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
}

.cert-circle {
    border-radius: 60px;
    border: 2px solid #eee;
    display: flex;
    text-align: center;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
}

.cert-circle span {
    color: #FFF;
    text-align: center;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.footer-bottom-bar {
    display: flex;
    padding: 14px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    border-top: 1px solid #909090;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom span {
    color: #FFF;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

/* 📱 Responsive - Footer only */

/* Large tablet and below */
@media (max-width: 1024px) {
    .footer-main {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }
}

/* Tablet and below */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    footer {
        padding: 16px;
    }

    .footer-main {
        flex-direction: row;
        gap: 20px;
    }

    .footer-bottom {
        gap: 6px;
        font-size: 11px;
    }
}


