/* Esther Intelligence Global Header + Footer */

.esther-global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.96);
  border-bottom: 1px solid rgba(0, 242, 255, 0.32);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.esther-global-inner {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
}

.esther-global-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.esther-global-logo {
  height: 118px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 242, 255, 0.14));
}

.esther-global-nav {
  display: flex;
  align-items: center;
  gap: 62px;
}

.esther-global-nav a {
  color: rgba(226, 232, 240, 0.82);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.31em;
  text-transform: uppercase;
  line-height: 1;
  padding: 18px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.esther-global-nav a:hover,
.esther-global-nav a.is-active {
  color: rgb(34, 211, 238);
  border-bottom-color: rgb(34, 211, 238);
  text-shadow: 0 0 14px rgba(0, 242, 255, 0.55);
}

.esther-menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 242, 255, 0.32);
  border-radius: 16px;
  background: rgba(0, 242, 255, 0.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
}

.esther-menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: rgb(34, 211, 238);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.65);
}

.esther-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background:
    radial-gradient(circle at center, rgba(0, 242, 255, 0.09), transparent 42%),
    rgba(3, 7, 18, 0.985);
  backdrop-filter: blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 46px;
}

.esther-mobile-menu.active {
  display: flex !important;
}

.esther-mobile-menu a {
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.esther-mobile-menu a.is-active {
  color: rgb(34, 211, 238);
}

.esther-menu-close {
  position: absolute;
  top: 34px;
  right: 34px;
  color: rgb(34, 211, 238);
  background: transparent;
  border: 0;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
}

.esther-global-footer {
  position: relative;
  z-index: 10;
  background: rgba(3, 7, 18, 0.98);
  border-top: 1px solid rgba(0, 242, 255, 0.22);
  padding: 72px 40px;
}

.esther-footer-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 62px;
}

.esther-footer-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin-bottom: 26px;
}

.esther-footer-copy {
  max-width: 330px;
  color: rgba(148, 163, 184, 0.9);
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.esther-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.esther-footer-col h4 {
  color: rgb(34, 211, 238);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.esther-footer-col a,
.esther-footer-col p {
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.7;
  margin: 0;
}

.esther-footer-col a:hover {
  color: white;
}

.esther-footer-status {
  color: rgba(148, 163, 184, 0.78) !important;
  font-family: monospace;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
}

.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .esther-global-inner {
    width: min(100% - 32px, 1480px);
    min-height: 116px;
  }

  .esther-global-logo {
    height: 92px;
  }

  .esther-global-nav {
    display: none;
  }

  .esther-menu-toggle {
    display: flex;
  }

  .esther-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .esther-global-inner {
    min-height: 100px;
  }

  .esther-global-logo {
    height: 76px;
  }

  .esther-global-footer {
    padding: 56px 24px;
  }

  .esther-footer-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}


.esther-global-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.9), transparent);
  box-shadow: 0 0 22px rgba(0, 242, 255, 0.45);
  pointer-events: none;
}

/* Final header tuning: large, readable, no wrapped nav labels */
.esther-global-inner {
  min-height: 148px;
}

.esther-global-logo {
  height: 118px;
}

.esther-global-nav {
  gap: 42px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.esther-global-nav a {
  font-size: 1.08rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
  line-height: 1.15;
}

@media (max-width: 1320px) {
  .esther-global-inner {
    min-height: 128px;
    width: min(100% - 40px, 1480px);
  }

  .esther-global-logo {
    height: 98px;
  }

  .esther-global-nav {
    gap: 28px;
  }

  .esther-global-nav a {
    font-size: 0.92rem;
    letter-spacing: 0.13em;
  }
}

@media (max-width: 1100px) {
  .esther-global-inner {
    min-height: 106px;
  }

  .esther-global-logo {
    height: 82px;
  }
}

/* Final footer tuning: larger, cleaner, more executive */
.esther-global-footer {
  padding: 96px 56px 88px;
}

.esther-footer-inner {
  width: min(1480px, 100%);
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: 76px;
  align-items: start;
}

.esther-footer-logo {
  height: 82px;
  margin-bottom: 34px;
}

.esther-footer-copy {
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 2.05;
  letter-spacing: 0.2em;
}

.esther-footer-col {
  gap: 20px;
}

.esther-footer-col h4 {
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}

.esther-footer-col a,
.esther-footer-col p {
  font-size: 0.98rem;
  letter-spacing: 0.2em;
  line-height: 1.9;
}

.esther-footer-status {
  font-size: 0.9rem !important;
  line-height: 2 !important;
}

@media (max-width: 1100px) {
  .esther-global-footer {
    padding: 78px 36px;
  }

  .esther-footer-logo {
    height: 72px;
  }

  .esther-footer-inner {
    gap: 56px;
  }
}

@media (max-width: 700px) {
  .esther-global-footer {
    padding: 64px 26px;
  }

  .esther-footer-logo {
    height: 64px;
  }

  .esther-footer-copy {
    font-size: 0.95rem;
  }

  .esther-footer-col h4 {
    font-size: 0.95rem;
  }

  .esther-footer-col a,
  .esther-footer-col p {
    font-size: 0.9rem;
  }
}

/* Final footer scale correction */
.esther-global-footer {
  padding: 112px 64px 104px;
}

.esther-footer-inner {
  width: min(1540px, 100%);
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1.45fr;
  gap: 92px;
}

.esther-footer-logo {
  height: 112px;
  margin-bottom: 34px;
}

.esther-footer-copy {
  max-width: 520px;
  font-size: 1.15rem;
  line-height: 2;
  letter-spacing: 0.14em;
}

.esther-footer-col h4 {
  font-size: 1.12rem;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}

.esther-footer-col a,
.esther-footer-col p {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  line-height: 2;
}

.esther-footer-status {
  font-size: 0.98rem !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .esther-footer-inner {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.3fr;
    gap: 58px;
  }

  .esther-footer-logo {
    height: 92px;
  }

  .esther-footer-copy {
    font-size: 1rem;
  }

  .esther-footer-col h4 {
    font-size: 1rem;
  }

  .esther-footer-col a,
  .esther-footer-col p {
    font-size: 0.92rem;
  }
}

@media (max-width: 900px) {
  .esther-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .esther-footer-status {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .esther-global-footer {
    padding: 72px 28px;
  }

  .esther-footer-inner {
    grid-template-columns: 1fr;
  }

  .esther-footer-logo {
    height: 76px;
  }
}

/* Final footer font unification */
.esther-global-footer,
.esther-global-footer * {
  font-family: 'Rajdhani', sans-serif !important;
}

.esther-footer-copy,
.esther-footer-col a,
.esther-footer-col p,
.esther-footer-status {
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700;
}

.esther-footer-status {
  font-size: 1rem !important;
  letter-spacing: 0.12em !important;
  line-height: 2 !important;
  color: rgba(226, 232, 240, 0.74) !important;
}

/* Footer final readability correction */
.esther-global-footer {
  padding: 96px 64px 92px !important;
}

.esther-footer-inner {
  width: min(1320px, 100%) !important;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.35fr !important;
  gap: 70px !important;
}

.esther-footer-logo {
  height: 106px !important;
  margin-bottom: 30px !important;
}

.esther-footer-copy {
  max-width: 430px !important;
  font-size: 1.18rem !important;
  line-height: 1.85 !important;
  letter-spacing: 0.08em !important;
  color: rgba(226, 232, 240, 0.78) !important;
}

.esther-footer-col {
  gap: 18px !important;
}

.esther-footer-col h4 {
  font-size: 1.24rem !important;
  letter-spacing: 0.16em !important;
  margin-bottom: 12px !important;
  color: rgb(34, 211, 238) !important;
}

.esther-footer-col a,
.esther-footer-col p,
.esther-footer-status {
  font-size: 1.12rem !important;
  letter-spacing: 0.07em !important;
  line-height: 1.75 !important;
  font-weight: 700 !important;
}

.esther-footer-status {
  color: rgba(226, 232, 240, 0.72) !important;
  white-space: normal !important;
}

@media (max-width: 1000px) {
  .esther-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 52px !important;
  }
}

@media (max-width: 700px) {
  .esther-global-footer {
    padding: 70px 28px !important;
  }

  .esther-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }

  .esther-footer-logo {
    height: 78px !important;
  }
}

/* Footer final downscale: readable, not oversized */
.esther-global-footer {
  padding: 78px 56px 74px !important;
}

.esther-footer-inner {
  width: min(1280px, 100%) !important;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1.25fr !important;
  gap: 62px !important;
}

.esther-footer-logo {
  height: 82px !important;
  margin-bottom: 24px !important;
}

.esther-footer-copy {
  max-width: 380px !important;
  font-size: 0.92rem !important;
  line-height: 1.75 !important;
  letter-spacing: 0.08em !important;
  font-weight: 400 !important;
}

.esther-footer-col {
  gap: 13px !important;
}

.esther-footer-col h4 {
  font-size: 0.9rem !important;
  letter-spacing: 0.18em !important;
  margin-bottom: 8px !important;
  font-weight: 800 !important;
}

.esther-footer-col a,
.esther-footer-col p,
.esther-footer-status {
  font-size: 0.84rem !important;
  letter-spacing: 0.07em !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
}

.esther-footer-status {
  color: rgba(226, 232, 240, 0.68) !important;
}

@media (max-width: 1000px) {
  .esther-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 42px !important;
  }
}

@media (max-width: 700px) {
  .esther-global-footer {
    padding: 56px 24px !important;
  }

  .esther-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .esther-footer-logo {
    height: 66px !important;
  }

  .esther-footer-copy {
    font-size: 0.88rem !important;
  }

  .esther-footer-col h4 {
    font-size: 0.86rem !important;
  }

  .esther-footer-col a,
  .esther-footer-col p,
  .esther-footer-status {
    font-size: 0.82rem !important;
  }
}

/* Logo glow enhancement */
.esther-global-brand {
  position: relative;
  isolation: isolate;
}

.esther-global-brand::before {
  content: "";
  position: absolute;
  inset: -18px -26px;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(0, 242, 255, 0.28), transparent 58%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 42%);
  filter: blur(18px);
  opacity: 0.9;
  animation: logoGlowPulse 3.8s ease-in-out infinite;
}

.esther-global-logo {
  filter:
    drop-shadow(0 0 18px rgba(0, 242, 255, 0.38))
    drop-shadow(0 0 38px rgba(0, 242, 255, 0.16)) !important;
}

.esther-footer-logo {
  filter:
    drop-shadow(0 0 16px rgba(0, 242, 255, 0.30))
    drop-shadow(0 0 34px rgba(0, 242, 255, 0.12)) !important;
}

@keyframes logoGlowPulse {
  0%, 100% {
    opacity: 0.58;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .esther-global-brand::before {
    animation: none;
  }
}

/* Animated logo glow upgrade */
.esther-global-brand {
  position: relative;
  isolation: isolate;
}

.esther-global-brand::before {
  content: "";
  position: absolute;
  inset: -24px -34px;
  z-index: -2;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.42), transparent 54%),
    radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.18), transparent 38%),
    radial-gradient(circle at 65% 55%, rgba(80, 190, 255, 0.26), transparent 42%);
  filter: blur(20px);
  opacity: 0.8;
  animation: estherLogoGlowBreath 3.2s ease-in-out infinite;
}

.esther-global-brand::after {
  content: "";
  position: absolute;
  inset: -34px -46px;
  z-index: -3;
  border-radius: 42px;
  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(0, 242, 255, 0.22),
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent
    );
  filter: blur(24px);
  opacity: 0.42;
  animation: estherLogoGlowOrbit 7s linear infinite;
}

.esther-global-logo {
  animation: estherLogoImagePulse 3.2s ease-in-out infinite;
}

@keyframes estherLogoGlowBreath {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.94);
    filter: blur(20px);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(26px);
  }
}

@keyframes estherLogoGlowOrbit {
  0% {
    transform: rotate(0deg) scale(0.95);
    opacity: 0.22;
  }

  50% {
    opacity: 0.58;
  }

  100% {
    transform: rotate(360deg) scale(1.05);
    opacity: 0.22;
  }
}

@keyframes estherLogoImagePulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 16px rgba(0, 242, 255, 0.32))
      drop-shadow(0 0 34px rgba(0, 242, 255, 0.12));
  }

  50% {
    filter:
      drop-shadow(0 0 28px rgba(0, 242, 255, 0.72))
      drop-shadow(0 0 58px rgba(0, 242, 255, 0.28));
  }
}

@media (prefers-reduced-motion: reduce) {
  .esther-global-brand::before,
  .esther-global-brand::after,
  .esther-global-logo {
    animation: none !important;
  }
}
