/* ================================================================
   FIXES.CSS — Header, Hero & Mobile Polish
   Targeted overrides for: top bar, main header, hero slider,
   slide overlays, CTA buttons, floating buttons.
   Applied LAST so these rules take priority.
================================================================ */

/* ================================================================
   TOP BAR — COMPACT & CLEAN
================================================================ */
.top-bar {
  background: #0d1b2e;
  padding: 8px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  overflow: hidden;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  overflow: hidden;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  overflow: hidden;
  min-width: 0;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-bar span,
.top-bar a {
  color: #aab4c8;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar i { color: #00E5FF; font-size: 0.72rem; }
.top-bar a:hover { color: #00E5FF; }

.whatsapp-btn {
  background: linear-gradient(90deg, #25D366, #128C7E) !important;
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.76rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================================
   MAIN HEADER — STICKY, CLEAN, PREMIUM
================================================================ */
.main-header {
  background: rgba(5, 7, 13, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.35s ease;
}

.main-header.scrolled {
  background: rgba(5, 7, 13, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 229, 255, 0.08);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.25));
}

.logo span {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  background: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Nav Links Centered/Right Aligned */
.desktop-nav {
  margin-left: auto;
  margin-right: 32px;
}

.desktop-nav ul {
  display: flex;
  gap: clamp(28px, 3vw, 36px);
  list-style: none;
}

.desktop-nav a {
  color: #aab4c8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: #00E5FF;
}

/* Glowing CTA Button */
.btn-glow {
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 10px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.45);
  color: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* ================================================================
   HERO SLIDER — IMAGE VISIBILITY & OVERLAY
================================================================ */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 580px;
  max-height: 960px;
  overflow: hidden;
  background: #05070D;
}

/* Each slide: full cover background, no inline gradient */
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}

/* Hero Desktop Overlay */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 13, 0.70) 0%,
    rgba(5, 7, 13, 0.45) 45%,
    rgba(5, 7, 13, 0.18) 100%
  );
  z-index: 1;
}

/* Bottom fade for dots visibility */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 7, 13, 0.65) 0%,
    transparent 45%
  );
  z-index: 1;
}

/* ================================================================
   HERO CONTENT — TEXT & BUTTONS
================================================================ */
.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 720px;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Subtle glowing cyan background blur behind hero text */
.slide-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: rgba(0, 229, 255, 0.15);
  filter: blur(80px);
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}

.slide-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  position: relative;
}

/* Animated gradient line under hero heading */
.slide-content h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #00E5FF, #7C3AED);
  border-radius: 4px;
  margin-top: 15px;
  animation: expandLine 1s ease forwards;
}

@keyframes expandLine {
  from { width: 0; opacity: 0; }
  to { width: 80px; opacity: 1; }
}

.slide-content p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Trust Badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  max-width: fit-content;
}

.trust-badge {
  color: #aab4c8;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge i {
  color: #00E5FF;
}

/* CTA button row — flex-wrap prevents overflow */
.slide-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Primary CTA */
.slide-ctas .btn-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.slide-ctas .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.55);
}

/* Outline CTA */
.slide-ctas .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.slide-ctas .btn-outline:hover {
  border-color: #00E5FF;
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

/* ================================================================
   SLIDER CONTROLS — ARROWS & DOTS
================================================================ */
.slider-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(16, 24, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.slider-controls button:hover {
  background: #00E5FF;
  border-color: #00E5FF;
  color: #05070D;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.prev-slide { left: 20px; }
.next-slide { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #00E5FF;
  width: 24px;
  border-radius: 999px;
  box-shadow: 0 0 10px #00E5FF;
}

/* Hero bottom fade to page bg */
.hero-slider > .hero-bottom-fade,
.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to top, #05070D, transparent);
  z-index: 6;
  pointer-events: none;
}

/* ================================================================
   FLOATING BUTTONS — POSITION & SIZE
================================================================ */
.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 100px;  /* Raised to avoid covering dots/CTA */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.1);
}

/* ================================================================
   MOBILE MENU PANEL
================================================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(5px);
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-nav-overlay.active { display: flex; }

.mobile-nav-content {
  width: min(300px, 85vw);
  height: 100vh;
  background: #101827;
  border-left: 2px solid rgba(0, 229, 255, 0.22);
  padding: 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.close-btn {
  align-self: flex-end;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #aab4c8;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #00E5FF;
  border-color: rgba(0, 229, 255, 0.35);
}

.mobile-nav-content a {
  display: block;
  padding: 12px 16px;
  color: #aab4c8;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.mobile-nav-content a:hover {
  color: #00E5FF;
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.18);
  padding-left: 22px;
}

/* ================================================================
   FOOTER REDESIGN — PREMIUM DARK NAVY
================================================================ */
.main-footer {
  background: #05070D; /* Base dark */
  background: linear-gradient(to bottom, #101827, #05070D); /* Dark navy gradient */
  color: #FFFFFF;
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2));
}

.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col p {
  color: #AAB4C8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-working-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #AAB4C8;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: inline-flex;
}

.footer-working-hours i {
  color: #00E5FF;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: #FFFFFF;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00E5FF, transparent);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #AAB4C8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-col ul a:hover {
  color: #00E5FF;
  transform: translateX(5px);
}

/* Contact List specific */
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-list i {
  color: #00E5FF;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-contact-list a {
  color: #FFFFFF;
  font-weight: 500;
}

.footer-contact-list a:hover {
  color: #00E5FF;
}

.footer-locations {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-locations h4 {
  margin-bottom: 15px;
}

.footer-locations p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #AAB4C8;
  margin-bottom: 0;
}

.footer-locations i {
  color: #00E5FF;
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: #AAB4C8;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom a {
  color: #AAB4C8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #00E5FF;
}

.footer-bottom .text-accent {
  color: #00E5FF;
  font-weight: 600;
}

/* ================================================================
   MOBILE RESPONSIVE OVERRIDES (≤768px)
================================================================ */
@media (max-width: 768px) {

  /* ── Top Bar Mobile ── */
  .top-bar {
    padding: 7px 12px;
    font-size: 0.74rem;
  }

  .top-bar .container {
    padding: 0;
    gap: 8px;
  }

  /* Hide email on mobile to save space */
  .top-bar-left span:nth-child(2) {
    display: none;
  }

  .top-bar-left { gap: 10px; }
  .top-bar-right { gap: 8px; }

  .whatsapp-btn {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
  }

  /* ── Header Mobile ── */
  .main-header { padding: 12px 16px; height: auto; }
  .main-header.scrolled { padding: 10px 16px; }

  .nav-container { padding: 0; }

  .desktop-nav,
  .header-cta { display: none !important; }

  .hamburger { display: flex !important; }

  .logo img {
    height: 46px;
    max-width: 50px;
  }

  .logo span {
    font-size: clamp(16px, 4.5vw, 24px) !important;
    max-width: calc(100vw - 150px) !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  /* ── Hero Mobile ── */
  .hero-slider {
    height: auto;
    min-height: 680px;
  }

  /* Mobile Overlay */
  .slide::before {
    background: linear-gradient(
      180deg,
      rgba(5, 7, 13, 0.45) 0%,
      rgba(5, 7, 13, 0.65) 55%,
      rgba(5, 7, 13, 0.88) 100%
    );
  }

  .slide {
    align-items: flex-end;
    padding-bottom: 70px;
    padding-top: 120px;
  }

  .slide-content {
    max-width: 100%;
    padding: 0 18px;
    text-align: left;
  }

  .slide-content h1 {
    font-size: clamp(2.1rem, 9vw, 3.4rem);
    margin-bottom: 12px;
  }

  .slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-trust-badges {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  /* CTA buttons — stack vertically on mobile */
  .slide-ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .slide-ctas .btn-primary,
  .slide-ctas .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  /* Arrows — hide on mobile */
  .slider-controls button {
    display: none;
  }

  /* Dots */
  .slider-dots { bottom: 18px; }

  /* ── Footer Mobile ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-bottom-left, .footer-bottom-right {
    width: 100%;
  }

  /* ── Floating Buttons Mobile ── */
  .floating-buttons {
    right: 12px;
    bottom: 80px;
    gap: 10px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ================================================================
   SMALL MOBILE (≤480px)
================================================================ */
@media (max-width: 480px) {
  .top-bar {
    padding: 6px 10px;
  }

  /* Hide location text too, keep phone & WA only */
  .top-bar-left span:nth-child(1) {
    display: none;
  }

  .top-bar-right { gap: 6px; }

  .logo img { height: 38px; max-width: 60px; }

  .logo span {
    font-size: clamp(15px, 4.2vw, 20px) !important;
    max-width: calc(100vw - 135px) !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  .hero-slider { min-height: 580px; }

  .slide-content h1 { font-size: clamp(1.4rem, 7vw, 1.9rem); }

  .slide-ctas .btn-primary,
  .slide-ctas .btn-outline {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  .floating-buttons {
    right: 10px;
    bottom: 70px;
    gap: 8px;
  }

  .float-btn { width: 42px; height: 42px; font-size: 1rem; }
}

/* ================================================================
   PREVENT HORIZONTAL OVERFLOW (global safety)
================================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.slide-ctas * {
  box-sizing: border-box;
  max-width: 100%;
}

.slide-content * {
  box-sizing: border-box;
}


/* ================================================================
   PREMIUM MOBILE SLIDE-OUT MENU
================================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  padding: 72px 18px 24px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: -15px 0 40px rgba(0,0,0,0.16);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid #FFD700;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-close:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: #FFC300;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu a,
.mobile-services-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111111 !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.mobile-menu a:hover,
.mobile-menu a.active,
.mobile-services-toggle:hover,
.mobile-services-toggle.active {
  background: #FFD700 !important;
  color: #111111 !important;
  border-radius: 10px;
}

.mobile-services-toggle i {
  transition: transform 0.3s ease;
}

.mobile-services-toggle.active i {
  transform: rotate(180deg);
}

.mobile-services-submenu {
  display: none;
  margin: 8px 0 12px;
  padding: 8px;
  background: #f8f8f8;
  border-radius: 12px;
}

.mobile-services-submenu.active {
  display: block;
}

.mobile-services-submenu a {
  font-size: 15px;
  min-height: 42px;
  padding: 10px 14px 10px 24px;
  border-bottom: none;
}

.mobile-services-submenu a:hover {
  background: rgba(255, 215, 0, 0.12) !important;
  color: #111111 !important;
  border-radius: 8px;
}

.mobile-contact-btn {
  margin-top: 22px;
  min-height: 54px;
  background: #FFD700 !important;
  color: #111111 !important;
  display: flex;
  align-items: center;
  justify-content: center !important;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.35);
  border: none !important;
}

.mobile-contact-btn:hover {
  background: #FFC300 !important;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5) !important;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* ================================================================
   SEO NAVIGATION + LOCATION MENU UPGRADES
================================================================ */
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.desktop-nav > ul {
  flex-wrap: nowrap;
  gap: 2px;
}

.desktop-nav .dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-menu {
  max-height: min(70vh, 560px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.dropdown-menu.dropdown-menu-wide {
  width: 290px;
}

.dropdown-menu.location-services-menu {
  width: 340px;
  right: 0;
  left: auto;
}

.dropdown-menu.locations-menu {
  width: 210px;
}

.header-call-btn {
  background: #FFD700 !important;
  color: #111111 !important;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.28) !important;
}

.header-call-btn:hover {
  background: #FFC300 !important;
  color: #111111 !important;
}

.mobile-dropdown-toggle {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111111 !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.active {
  background: #FFD700 !important;
  color: #111111 !important;
  border-radius: 10px;
}

.mobile-dropdown-toggle i {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active i {
  transform: rotate(180deg);
}

.mobile-dropdown-submenu {
  display: grid !important;
  grid-template-rows: 0fr;
  margin: 0;
  padding: 0 !important;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, margin 0.3s ease;
}

.mobile-dropdown-submenu.active {
  grid-template-rows: 1fr;
  margin: 8px 0 12px;
}

.mobile-dropdown-panel {
  min-height: 0;
  overflow: hidden;
  padding: 0 8px;
  transition: padding 0.3s ease;
}

.mobile-dropdown-submenu.active .mobile-dropdown-panel {
  padding: 8px;
}

.mobile-dropdown-submenu a {
  font-size: 15px;
  min-height: 42px;
  padding: 10px 14px 10px 24px;
  border-bottom: none;
}

.mobile-menu .mobile-contact-btn {
  margin-top: 18px;
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.main-footer.seo-footer {
  background: linear-gradient(to bottom, #101827, #05070D);
}

.seo-footer .footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 34px;
}

.seo-footer .footer-logo {
  filter: none;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
}

.footer-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-mini-links a {
  color: #AAB4C8;
  font-size: 0.85rem;
}

.footer-mini-links a:hover {
  color: #FFD700;
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    width: min(92vw, 380px);
    padding-top: 70px;
  }

  .footer-mini-links {
    justify-content: center;
  }
}

/* ================================================================
   GLOBAL FLOATING WHATSAPP + CALL BUTTONS
================================================================ */
.floating-contact-buttons {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9997;
  pointer-events: none;
}

.floating-contact-buttons .float-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact-buttons .float-btn::before {
  display: none !important;
}

.floating-contact-buttons .float-btn.email {
  display: none !important;
}

.floating-contact-buttons .float-btn:hover,
.floating-contact-buttons .float-btn:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  outline: none;
}

.floating-contact-buttons .float-btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.floating-contact-buttons .float-btn .label {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translate(8px, -50%);
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-contact-buttons .float-btn:hover .label,
.floating-contact-buttons .float-btn:focus-visible .label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.floating-contact-buttons .float-btn.whatsapp,
.floating-contact-buttons .float-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.floating-contact-buttons .float-btn.call,
.floating-contact-buttons .float-call {
  background: linear-gradient(135deg, #FFD700, #FFC300) !important;
  color: #111111 !important;
}

@media (max-width: 768px) {
  .floating-contact-buttons {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }

  .floating-contact-buttons .float-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }

  .floating-contact-buttons .float-btn .label {
    display: none;
  }
}

/* ================================================================
   DESKTOP HEADER DROPDOWN TOGGLE STATE
================================================================ */
.desktop-nav .dropdown.open > .dropdown-menu,
.desktop-nav .dropdown:focus-within > .dropdown-menu {
  display: block;
}

.desktop-nav .dropdown.open > a,
.desktop-nav .dropdown:focus-within > a {
  color: var(--text-main, #111111) !important;
}

.desktop-nav .dropdown > a i {
  transition: transform 0.25s ease;
}

.desktop-nav .dropdown.open > a i,
.desktop-nav .dropdown:focus-within > a i {
  transform: rotate(180deg);
}

/* ================================================================
   DESKTOP HEADER LAYOUT REFINEMENT
================================================================ */
@media (min-width: 1181px) {
  .main-header {
    padding: 12px 0 !important;
  }

  .nav-container {
    gap: clamp(14px, 1.4vw, 24px) !important;
    padding: 0 clamp(18px, 2.2vw, 34px) !important;
  }

  .logo {
    gap: 12px !important;
    min-width: 0;
  }

  .logo img {
    height: 48px !important;
    max-width: 58px !important;
  }

  .logo span {
    font-family: 'Outfit', 'Poppins', sans-serif !important;
    font-size: clamp(1.12rem, 1.45vw, 1.42rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    background: linear-gradient(90deg, #0078D7 0%, #0078D7 30%, #111111 31%, #111111 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    white-space: nowrap !important;
  }

  .desktop-nav {
    flex: 1 1 auto !important;
    margin-left: auto !important;
    margin-right: clamp(10px, 1.3vw, 22px) !important;
    display: flex !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }

  .desktop-nav > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(4px, 0.55vw, 10px) !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    min-width: 0 !important;
  }

  .desktop-nav > ul > li {
    flex: 0 0 auto !important;
  }

  .desktop-nav a {
    white-space: nowrap !important;
    font-size: clamp(0.84rem, 0.86vw, 0.92rem) !important;
    line-height: 1.2 !important;
    padding: 9px clamp(7px, 0.65vw, 10px) !important;
  }

  .desktop-nav .dropdown-menu {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    top: calc(100% + 10px) !important;
    width: 270px !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
    max-height: min(72vh, 560px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px !important;
  }

  .desktop-nav .dropdown:hover > .dropdown-menu,
  .desktop-nav .dropdown.open > .dropdown-menu,
  .desktop-nav .dropdown:focus-within > .dropdown-menu {
    display: flex !important;
  }

  .desktop-nav .dropdown-menu li {
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  .desktop-nav .dropdown-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    white-space: normal !important;
    line-height: 1.45 !important;
    border-radius: 8px !important;
  }

  .desktop-nav .dropdown-menu.dropdown-menu-wide {
    width: 285px !important;
  }

  .desktop-nav .dropdown-menu.locations-menu {
    width: 220px !important;
  }

  .desktop-nav .dropdown-menu.location-services-menu {
    width: 360px !important;
    right: 0 !important;
    left: auto !important;
  }

  .header-cta .btn,
  .header-call-btn {
    white-space: nowrap !important;
    padding: 12px 22px !important;
  }
}

@media (min-width: 1181px) and (max-width: 1450px) {
  .logo span {
    font-size: clamp(1.02rem, 1.24vw, 1.22rem) !important;
  }

  .desktop-nav > ul {
    gap: 4px !important;
  }

  .desktop-nav a {
    font-size: 0.86rem !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .header-cta .btn,
  .header-call-btn {
    padding: 10px 16px !important;
  }
}

/* ================================================================
   MOBILE HEADER BRAND COLOR
================================================================ */
@media (max-width: 1180px) {
  .logo span {
    font-family: 'Outfit', 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    background: linear-gradient(90deg, #0078D7 0%, #0078D7 30%, #111111 31%, #111111 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }
}
