/* Aqua Concept Global Header & Footer
   Based on the site's existing Aqua Concept HTML design. */

#ac-global-header,
#ac-global-header *,
#ac-global-footer,
#ac-global-footer * {
  box-sizing: border-box;
}

#ac-global-header,
#ac-global-footer {
  --ac-dark: #031f3f;
  --ac-dark-2: #052d59;
  --ac-blue: #075da6;
  --ac-light-blue: #34b7ef;
  --ac-cyan: #6ed8ff;
  --ac-white: #ffffff;
  --ac-border: #dbe8f3;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Georgian", Arial, sans-serif;
}

#ac-global-header a,
#ac-global-footer a {
  color: inherit;
  text-decoration: none !important;
}

#ac-global-header img,
#ac-global-footer svg {
  max-width: 100%;
}

.ac-global-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Hide Hello Elementor's native header/footer so the global version is the only one shown. */
body > #page > #site-header,
body > #page > #site-footer,
body > #page > .site-header,
body > #page > .site-footer,
header#site-header,
footer#site-footer {
  display: none !important;
}

/* Hide the old embedded Aqua Concept header/footer on the landing page to avoid duplicates. */
#ac-site > .ac-header,
#ac-site > .ac-footer {
  display: none !important;
}

/* =====================================================
   HEADER — same visual language as the supplied HTML
===================================================== */

#ac-global-header.ac-global-header {
  position: sticky;
  top: 0;
  z-index: 999999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6eef5;
  box-shadow: 0 5px 25px rgba(2, 34, 66, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.admin-bar #ac-global-header.ac-global-header {
  top: 32px;
}

#ac-global-header .ac-global-header-inner {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

#ac-global-header .ac-global-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#ac-global-header .ac-global-header-logo-image {
  width: 178px;
  height: 66px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

#ac-global-header .ac-global-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  margin-left: auto;
}

#ac-global-header .ac-global-desktop-nav a {
  position: relative;
  padding: 31px 0 29px;
  color: #243951;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s ease;
}

#ac-global-header .ac-global-desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 10px;
  background: var(--ac-light-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

#ac-global-header .ac-global-desktop-nav a:hover {
  color: var(--ac-blue);
}

#ac-global-header .ac-global-desktop-nav a:hover::after {
  transform: scaleX(1);
}

#ac-global-header .ac-global-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#ac-global-header .ac-global-header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--ac-dark);
  color: white !important;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

#ac-global-header .ac-global-header-call:hover {
  background: var(--ac-blue);
  transform: translateY(-2px);
}

#ac-global-header .ac-global-menu-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid #d8e5f0;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 44, 83, 0.07);
}

#ac-global-header .ac-global-menu-button span {
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 10px;
  background: var(--ac-dark);
  transition: 0.25s ease;
}

#ac-global-header .ac-global-menu-button.ac-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#ac-global-header .ac-global-menu-button.ac-active span:nth-child(2) {
  opacity: 0;
}

#ac-global-header .ac-global-menu-button.ac-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#ac-global-header .ac-global-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  left: 20px;
  display: none;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #dce8f2;
  border-radius: 18px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 25px 70px rgba(3, 38, 72, 0.22);
}

#ac-global-header .ac-global-mobile-menu.ac-open {
  display: block;
  animation: acGlobalMenuOpen 0.25s ease both;
}

@keyframes acGlobalMenuOpen {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#ac-global-header .ac-global-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0 14px;
  border-radius: 11px;
  color: var(--ac-dark);
  font-size: 15px;
  font-weight: 750;
}

#ac-global-header .ac-global-mobile-menu a:hover {
  background: #eff7fd;
  color: var(--ac-blue);
}

#ac-global-header .ac-global-mobile-menu a span {
  color: #75a5c9;
  font-size: 18px;
}

/* =====================================================
   FOOTER — same visual language/content as supplied HTML
===================================================== */

#ac-global-footer.ac-global-footer {
  width: 100%;
  padding: 53px 0 22px;
  background: #02172e;
  color: white;
}

#ac-global-footer .ac-global-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  gap: 55px;
  padding-bottom: 37px;
}

#ac-global-footer .ac-global-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

#ac-global-footer .ac-global-logo-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 54px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 30% 22%, rgba(110,216,255,.45), transparent 34%),
    linear-gradient(145deg, #075fa9, #03264b);
  box-shadow: 0 9px 25px rgba(3, 58, 107, 0.25);
}

#ac-global-footer .ac-global-logo-mark svg {
  width: 38px;
  height: 38px;
}

#ac-global-footer .ac-global-logo-text strong {
  display: block;
  color: white;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

#ac-global-footer .ac-global-logo-text span {
  display: block;
  margin-top: 5px;
  color: #62cfff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.2px;
}

#ac-global-footer .ac-global-footer-about {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(225, 241, 252, .65);
  font-size: 13px;
  line-height: 1.75;
}

#ac-global-footer h3 {
  margin: 0 0 17px;
  color: white;
  font-size: 15px;
}

#ac-global-footer .ac-global-footer-links {
  display: grid;
  gap: 11px;
}

#ac-global-footer .ac-global-footer-links a {
  color: rgba(227, 242, 252, .68);
  font-size: 13px;
  transition: .2s ease;
}

#ac-global-footer .ac-global-footer-links a:hover {
  color: #62d0ff;
  transform: translateX(3px);
}

#ac-global-footer .ac-global-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(224, 240, 251, .52);
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {
  #ac-global-header .ac-global-desktop-nav {
    display: none;
  }

  #ac-global-header .ac-global-menu-button {
    display: flex;
  }

  #ac-global-header .ac-global-header-call {
    margin-left: auto;
  }
}

@media (max-width: 820px) {
  .ac-global-container {
    width: min(calc(100% - 28px), 1180px);
  }

  #ac-global-header .ac-global-header-inner {
    min-height: 73px;
  }

  #ac-global-header .ac-global-header-logo-image {
    width: 148px;
    height: 56px;
  }

  #ac-global-header .ac-global-header-call {
    display: none;
  }

  #ac-global-footer .ac-global-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  #ac-global-footer .ac-global-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body.admin-bar #ac-global-header.ac-global-header {
    top: 46px;
  }

  .ac-global-container {
    width: min(calc(100% - 24px), 1180px);
  }

  #ac-global-header .ac-global-header-inner {
    min-height: 68px;
    gap: 12px;
  }

  #ac-global-header .ac-global-header-logo-image {
    width: 132px;
    height: 50px;
  }

  #ac-global-header .ac-global-menu-button {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  #ac-global-header .ac-global-mobile-menu {
    right: 12px;
    left: 12px;
    top: calc(100% + 7px);
  }

  #ac-global-footer.ac-global-footer {
    padding-top: 42px;
  }

  #ac-global-footer .ac-global-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 31px;
  }

  #ac-global-footer .ac-global-footer-grid > div:first-child {
    grid-column: auto;
  }
}
