   * {
  box-sizing: border-box;
}
html, body {
  scroll-behavior: smooth;
}

section {
  padding: 20px 0;
  line-height: 1.4;
}

section {
  padding: 20px 0; 
  margin-bottom: 20px;
}
#hero {
  padding-bottom: 20px;
}

#services {
  padding-top: 20px;
  padding-bottom: 20px;
}

#contact {
  padding-top: 20px;
}
#careers {
  padding-top: 30px;
  padding-bottom: 30px;
}
   html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }
    body {
      margin: 0;
      font-family: Arial, sans-serif;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 10px;
    }

  /* Header */
.site-header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: fixed;
  top: 0;
  z-index: 1000;
}

/* Container */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Main Nav */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  height: 50px;
  width: auto;
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #0077b6;
}

/* Language Toggle */
.lang-toggle {
  background: none;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  display: block;
}
/* Mobile layout (replace your existing @media (max-width: 768px) block) */
@media (max-width: 768px) {
  /* Make padding smaller on small screens so we don't overflow */
  .nav-container {
    padding: 0.6rem 1rem;
    box-sizing: border-box;
  }
section {
    padding: 20px 0;
  }
  .main-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;        /* keep children on one row if possible */
    width: 100%;
  }

  /* Logo: keep it fixed size and don't let it shrink too aggressively */
  .logo {
    flex: 0 0 auto;          /* don't grow, don't shrink */
    margin-right: 0.5rem;
  }
  .logo img {
    max-height: 40px;
    width: auto;
    display: block;
    max-width: 100%;
  }

  /* Right side: allow it to shrink, but allow items inside to shrink too */
  .nav-right {
    display: flex;
    flex: 1 1 auto;          /* allow nav-right to take leftover space and shrink */
    min-width: 0;            /* critical: allows flex children to shrink below their content width */
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    overflow: hidden;        /* prevents it from forcing a wrap by overflowing */
  }

  /* Nav menu: horizontal, but allow items to shrink and hide via overflow if needed */
  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 1 1 auto;          /* allow the menu to take available space and shrink */
    min-width: 0;            /* critical for shrinking inside .nav-right */
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    position: static !important;
    overflow-x: auto;        /* if still too wide, allow horizontal scroll instead of wrapping */
    -webkit-overflow-scrolling: touch; /* smoother scrolling on iOS */
  }

  /* Menu links: allow wrapping inside the link only as a last resort */
  .nav-item a {
    white-space: nowrap;     /* keep each link on one line */
    display: inline-block;
    padding: 0.25rem 0.35rem;
    font-size: 14px;
    flex-shrink: 1;
  }

  /* Toggle: don't let the toggle button wrap; keep it compact */
  .lang-toggle {
    flex: 0 0 auto;          /* keep button at its intrinsic size */
    white-space: nowrap;
    padding: 0.35rem 0.6rem;
    font-size: 13px;
  }

  /* Hide hamburger for the horizontal layout (optional) */
  .hamburger {
    display: none;
  }
}

/* Extra tiny-screen tweak (optional) */
@media (max-width: 360px) {
  .logo img { max-height: 36px; }
  .nav-item a { font-size: 13px; padding: 0.2rem 0.3rem; }
  .lang-toggle { font-size: 12px; padding: 0.25rem 0.45rem; }
}

    .consultation-link {
      padding: 8px 16px;
      background-color: transparent;
      color: #cc0000;
      font-weight: bold;
      text-decoration: none;
      border: 2px solid #cc0000;
      border-radius: 6px;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .consultation-link:hover {
      background-color: #cc0000;
      color: white;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      margin-left: auto;
    }
    .hamburger span {
      width: 25px;
      height: 3px;
      background-color: #007acc;
      border-radius: 2px;
    }


.nav-menu li {
  display: flex;
  align-items: center;
}


.nav-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-item a {
  text-decoration: none;
  color: #007acc;
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #005a99;
}
.hidden {
  display: none;
}
/* Desktop */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive: stack menu and show hamburger on small screens */
@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    display: none; /* hide until toggle is clicked */
    flex-direction: column;
    width: 100%;
  }
  .nav-links.active {
    display: flex;
  }

  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .lang-toggle {
    margin-top: 10px;
  }

      .hamburger {
        display: flex;
      }
    }

 /* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* fills area like background-size: cover */
  z-index: 0;
}

/* Optional dark overlay for readability */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* Container & Text */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
  /* Services */
    .services {
      background-color: #f9f9f9;
      text-align: center;
      padding: 30px 16px;

    }
    .section-title {
      font-size: 2rem;
      margin-bottom: 24px;
      color: #007acc;
    }
    .section-title span {
      display: block;
      font-size: 1.2rem;
      color: #333;
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .card {
      background: white;
      border: 1px solid #007acc;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.3s ease;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .card img {
      width: 140px;
      height: 140px;
      object-fit: cover;
      margin-bottom: 20px;
      border-radius: 10px;
      border: 2px solid #ddd;
    }
    .card h3 {
      font-size: 1.2rem;
      color: #007acc;
      margin-bottom: 10px;
    }
    .card p {
      font-size: 0.95rem;
      color: #333;
      line-height: 1.6;
    }

    /* Careers */
    .careers {
      background-color: #f4f8fc;
      text-align: center;
        padding: 30px 16px;
    }
    .career-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }
    .career-card {
      background: white;
      border: 1px solid #007acc;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.3s ease;
      max-width: 400px;
      margin: 0 auto;
    }
    .career-card:hover {
      transform: translateY(-5px);
    }
    .card-header {
      background-color: #007acc;
      color: white;
      padding: 20px;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }
    .card-body {
      padding: 20px;
      text-align: left;
    }
    .card-body h4 {
      margin-top: 20px;
      color: #005a99;
    }
    .card-body ul {
      padding-left: 20px;
      margin: 10px 0;
    }
    .card-body ul li {
      margin-bottom: 8px;
      font-size: 0.95rem;
      color: #333;
    }
    .card-footer {
      padding: 20px;
      border-top: 1px solid #eee;
      text-align: center;
    }
          .card-links {
        margin-top: 16px;
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
      }

      .card-links a {
        padding: 8px 16px;
        border-radius: 6px;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease;
      }

      .local-link {
        background-color: #007acc;
        color: white;
      }

      .local-link:hover {
        background-color: #005a99;
      }

      .external-link {
        background-color: transparent;
        color: #007acc;
        border: 2px solid #007acc;
      }

      .external-link:hover {
        background-color: #007acc;
        color: white;
      }
    .apply-btn {
      display: inline-block;
      padding: 10px 20px;
      background-color: #007acc;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }
    .apply-btn:hover {
      background-color: #005a99;
    }

/* Footer */
.site-footer {
  background-color: #007acc;
  color: white;
  padding: 20px 0;
  text-align: center;
  font-size: 0.95rem;
  margin-top: 40px;
}
.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}
.site-footer a:hover {
  color: #ffdd57;
  text-decoration: none;
}
.footer-text {
  margin: 0;
}
.hidden {
  display: none;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-img {
  width: 90px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}
.footer-links a {
  color: #fff; /* white text for good contrast on blue background */
  text-decoration: underline;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffd700; /* golden/yellow hover color that pops nicely */
  text-decoration: none;
}

footer p {
  margin: 10px 0;
}
.lang-toggle {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.lang-toggle:hover {
  background-color: #005a99;
}

.hamburger {
  display: none;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}