/* =====================================================
   OES Global — Global Header
   ===================================================== */

:root {
  --gh-navy-900: #0B2545;
  --gh-navy-800: #102E54;
  --gh-blue-500: #2E6BA8;
  --gh-blue-400: #4A86C2;
  --gh-header-h: 84px;
  --gh-container: 1240px;
  --gh-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--gh-header-h);
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  background: rgba(11,37,69,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.site-header .container {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--gh-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  height: 38px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header .logo img { height: 38px; width: auto; }

/* ---- Nav ---- */
.gh-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.gh-nav > li { position: relative; }
.gh-nav a {
  color: rgba(255,255,255,.85);
  font-family: var(--gh-font);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color .2s ease;
  white-space: nowrap;
}
.gh-nav a:hover { color: #fff; }
.gh-nav > li > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gh-blue-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.gh-nav > li > a:hover::after { transform: scaleX(1); }

/* CTA button */
.gh-nav a.nav-cta {
  padding: 9px 20px;
  background: var(--gh-blue-500);
  color: #fff !important;
  border-radius: 999px;
  font-size: 12px;
}
.gh-nav a.nav-cta:hover {
  background: #fff;
  color: var(--gh-navy-900) !important;
  transform: translateY(-2px);
}
.gh-nav a.nav-cta::after { display: none; }

/* ---- Dropdown ---- */
.gh-nav .has-dropdown { position: relative; }
.gh-nav .has-dropdown > a .gh-caret {
  font-size: 13px;
  opacity: 0.7;
  transition: transform .2s ease;
  display: inline-block;
}
.gh-nav .has-dropdown:hover > a .gh-caret,
.gh-nav .has-dropdown.is-open > a .gh-caret {
  transform: rotate(180deg);
}

.gh-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--gh-navy-800);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 210px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
/* Invisible bridge that fills the gap so the mouse doesn't lose hover */
.gh-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -10px;
  right: -10px;
  height: 14px;
}
.gh-nav .has-dropdown:hover .gh-dropdown,
.gh-nav .has-dropdown.is-open .gh-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.gh-dropdown li a {
  display: block !important;
  padding: 11px 22px !important;
  font-size: 11.5px !important;
  letter-spacing: 0.06em !important;
  border-bottom: none !important;
  white-space: nowrap;
  gap: 0 !important;
}
.gh-dropdown li a::after { display: none !important; }
.gh-dropdown li a:hover {
  background: rgba(255,255,255,.07);
  color: #fff !important;
  transform: none !important;
}

/* ---- Mobile toggle ---- */
.gh-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .gh-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--gh-header-h);
    left: 0; right: 0;
    background: var(--gh-navy-900);
    padding: 24px 24px 32px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    max-height: calc(100vh - var(--gh-header-h));
  }
  .gh-nav.is-open { display: flex; }
  .gh-nav > li { width: 100%; }
  .gh-nav a {
    padding: 13px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
    justify-content: space-between;
  }
  .gh-nav a.nav-cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
  }
  .gh-menu-toggle { display: flex; }

  /* Dropdown on mobile — collapsible */
  .gh-dropdown {
    position: static;
    transform: none !important;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    pointer-events: all;
    display: none;
    padding: 0;
    min-width: 0;
    width: 100%;
  }
  .gh-nav .has-dropdown.is-open .gh-dropdown { display: block; }
  .gh-nav .has-dropdown:hover .gh-dropdown { opacity: 1; pointer-events: all; }
  .gh-dropdown li a {
    padding: 11px 16px !important;
    font-size: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
  }
}

/* =====================================================
   Global Footer
   ===================================================== */
.site-footer {
  background: #07182F;
  color: rgba(255,255,255,.75) !important;
  padding: 80px 0 0;
  font-size: 14px;
  font-family: var(--gh-font);
}
.site-footer a {
  color: rgba(255,255,255,.65) !important;
  text-decoration: none !important;
}
.site-footer a:hover { color: #fff !important; }
.site-footer .container {
  max-width: var(--gh-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 36px; margin-bottom: 20px; display: block; }
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}
.footer-brand .contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-brand .contact strong { color: #fff; font-weight: 600; }

.footer-col h5 {
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65) !important;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: color .2s, transform .2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: #fff !important; transform: translateX(3px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.45) !important;
  flex-wrap: wrap;
}
.socials { display: flex; gap: 16px; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .25s ease;
}
.socials a:hover { border-color: var(--gh-blue-400); color: var(--gh-blue-400); background: rgba(46,107,168,.15); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
