/* Nexavya custom overrides (keep minimal & scoped) */

:root {
  /* Easy customization */
  --nexa-primary: #77BEFF;
  --nexa-secondary: #3663D8;
  --nexa-bg: #000000;
}

/* About section: contact info row (Phone | Email) */
.about-contact-row {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 22px;
}

.about-contact-item {
  padding: 26px 24px;
  height: 100%;
}

.about-contact-item-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 84px;
}

.about-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(119, 190, 255, 0.16); /* theme primary tint */
  flex: 0 0 auto;
}

.about-contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.about-contact-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}

.about-contact-value {
  font-size: 24px; /* prominent */
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
  word-break: break-word;
}

.about-contact-value a {
  color: inherit;
  text-decoration: none;
}

.about-contact-value a:hover,
.about-contact-value a:focus {
  color: #77BEFF; /* theme primary */
}

.about-contact-divider {
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

@media (max-width: 575.98px) {
  .about-contact-item {
    padding: 20px 18px;
  }

  .about-contact-item-inner {
    min-height: 72px;
  }

  .about-contact-value {
    font-size: 20px;
  }

  .about-contact-divider {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
}

/* Floating WhatsApp button (bottom-left) */
.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
}

.whatsapp-button {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nexa-secondary), var(--nexa-primary));
  color: #000000;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(1.02);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
}

.whatsapp-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 50%;
  transform: translateY(50%) translateX(-6px);
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(119, 190, 255, 0.35);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover .whatsapp-tooltip,
.whatsapp-button:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

@media (max-width: 575.98px) {
  .whatsapp-float {
    left: 14px;
    bottom: 14px;
  }
  .whatsapp-button {
    width: 56px;
    height: 56px;
  }
  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}

/* Preloader */
.nexa-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background:
    radial-gradient(1200px 700px at 45% 40%, rgba(54, 99, 216, 0.22), transparent 60%),
    radial-gradient(900px 520px at 62% 58%, rgba(119, 190, 255, 0.14), transparent 55%),
    radial-gradient(700px 420px at 50% 70%, rgba(119, 190, 255, 0.08), transparent 60%),
    var(--nexa-bg);
  display: grid;
  place-items: center;
}

.nexa-preloader__inner {
  position: relative;
  width: min(420px, 86vw);
  padding: 26px 22px 18px;
  text-align: center;
}

.nexa-preloader__logo {
  width: min(340px, 78vw);
  height: auto;
  display: inline-block;
  filter:
    drop-shadow(0 0 14px rgba(119, 190, 255, 0.28))
    drop-shadow(0 0 34px rgba(54, 99, 216, 0.18));
  animation: nexaLogoZoom 1.35s ease-in-out infinite;
  transform-origin: center;
}

.nexa-preloader__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(360px, 82vw);
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(119, 190, 255, 0.26), transparent 58%),
    radial-gradient(circle at 40% 45%, rgba(54, 99, 216, 0.22), transparent 60%);
  filter: blur(10px);
  animation: nexaGlowBreath 1.6s ease-in-out infinite;
  pointer-events: none;
}

.nexa-preloader__meter {
  margin: 18px auto 0;
  width: min(300px, 72vw);
  height: 14px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(119, 190, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22) inset,
    0 14px 30px rgba(0, 0, 0, 0.35);
}

.nexa-preloader__bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  position: relative;
  /* Base: subtle segmented “bar” (not a progress fill) */
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.10) 0 10px,
      rgba(255, 255, 255, 0.02) 10px 18px
    );
}

/* “Living bar” overlays (shimmer + wave) */
.nexa-preloader__bar::before,
.nexa-preloader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

/* Flowing neon band (slides across, not filling) */
.nexa-preloader__bar::before {
  width: 45%;
  left: -55%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(54, 99, 216, 0.0) 10%,
    rgba(54, 99, 216, 0.55) 40%,
    rgba(119, 190, 255, 0.85) 55%,
    rgba(54, 99, 216, 0.45) 70%,
    transparent 100%
  );
  filter: blur(0.2px);
  animation: nexaNeonSweep 1.05s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Subtle wave shimmer that “breathes” in place */
.nexa-preloader__bar::after {
  background: radial-gradient(circle at 20% 50%, rgba(119, 190, 255, 0.35), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(54, 99, 216, 0.28), transparent 60%);
  opacity: 0.55;
  animation: nexaBarBreath 1.35s ease-in-out infinite;
}

@keyframes nexaLogoZoom {
  0% { transform: scale(0.92); opacity: 0.88; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.88; }
}

@keyframes nexaGlowBreath {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.98); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
  100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.98); }
}

@keyframes nexaNeonSweep {
  0% { transform: translateX(0); }
  50% { transform: translateX(210%); }
  100% { transform: translateX(420%); }
}

@keyframes nexaBarBreath {
  0% { opacity: 0.35; filter: saturate(0.95); }
  50% { opacity: 0.75; filter: saturate(1.15); }
  100% { opacity: 0.35; filter: saturate(0.95); }
}

/* Home hero: larger Lottie, tuned for the Nexavya blue theme */
.main-banner-1 .banner-inner .container .row > .col-md-6:first-child {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.main-banner-1 .hero-lottie-wrap {
  width: clamp(340px, 36vw, 500px);
  max-width: 100%;
  margin-left: -12px;
  transform: translateY(-42px);
  flex-shrink: 0;
}

.main-banner-1 .nexa-hero-lottie {
  width: 100%;
  aspect-ratio: 1 / 1;
  line-height: 0;
}

.main-banner-1 .nexa-hero-lottie svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 991px) {
  .main-banner-1 .hero-lottie-wrap {
    width: clamp(250px, 38vw, 340px);
    margin-left: 0;
    transform: translateY(-24px);
  }
}

@media (max-width: 767px) {
  .main-banner-1 .banner-inner .container .row > .col-md-6:first-child {
    justify-content: center;
  }

  .main-banner-1 .hero-lottie-wrap {
    width: min(76vw, 300px);
    transform: translateY(-10px);
  }
}

