/* ============================================================
   fixes.css — Load LAST after all other CSS
   ============================================================ */

/* ── TOPBAR ──────────────────────────────────────────────────── */
.topbar { background: #060b18 !important; padding: 0 !important; }
.topbar .topbar-content { padding: 10px 0 !important; border-bottom: none !important; }
.top-contact-area ul li,
.top-contact-area ul li a,
.top-contact-area ul li span { color: rgba(255,255,255,0.65) !important; font-size: 13px !important; }
.top-contact-area ul li i { color: #6366f1 !important; }
.top-contact-area ul li a:hover { color: #0ea5e9 !important; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.main-nav { background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(20px) !important; border-bottom: 1px solid rgba(0,0,0,0.06) !important; }
.theme-dark .main-nav { background: rgba(6,11,24,0.97) !important; border-bottom-color: rgba(255,255,255,0.06) !important; }
.main-nav nav .navbar-nav .nav-item a { color: #1e293b !important; font-size: 14px !important; font-weight: 700 !important; }
.theme-dark .main-nav nav .navbar-nav .nav-item a { color: #e2e8f0 !important; }
.main-nav nav .navbar-nav .nav-item a:hover,
.main-nav nav .navbar-nav .nav-item a.active { color: #6366f1 !important; }
.navbar-area.sticky, .main-nav.sticky { background: rgba(255,255,255,0.98) !important; box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important; }
.theme-dark .navbar-area.sticky, .theme-dark .main-nav.sticky { background: rgba(6,11,24,0.98) !important; }

/* ── LOGO ────────────────────────────────────────────────────── */
.navbar-brand img, .navbar-brand .black-logo, .navbar-brand .white-logo { width: 60px !important; height: 60px !important; max-width: 60px !important; object-fit: contain !important; border-radius: 10px !important; }
.mobile-nav .logo img, #mobileNavLogo { width: 80px !important; max-width: 80px !important; height: auto !important; object-fit: contain !important; }
.mobile-sidebar-header img { width: 70px !important; max-width: 70px !important; height: auto !important; object-fit: contain !important; }
.main-responsive-nav { background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(20px) !important; border-bottom: 1px solid rgba(0,0,0,0.06) !important; }
.theme-dark .main-responsive-nav { background: rgba(6,11,24,0.97) !important; border-bottom-color: rgba(255,255,255,0.06) !important; }

/* ── MOBILE SIDEBAR ──────────────────────────────────────────── */
.mobile-sidebar-header { background: linear-gradient(135deg,#0ea5e9,#6366f1,#8b5cf6) !important; }
.mobile-sidebar { background: #fff !important; }
.theme-dark .mobile-sidebar { background: #0f1117 !important; }
.mobile-sidebar-nav a { font-family: 'Cairo','Segoe UI',sans-serif !important; font-size: 15px !important; font-weight: 700 !important; }
.mobile-sidebar-nav a i { color: #6366f1 !important; }
.mobile-sidebar-nav a:hover, .mobile-sidebar-nav a.active { background: rgba(99,102,241,0.08) !important; color: #6366f1 !important; }
.theme-dark .mobile-sidebar-nav a { color: #e2e8f0 !important; }
.sidebar-call-btn { background: linear-gradient(135deg,#0ea5e9,#6366f1) !important; }
.sidebar-wa-btn { background: #25D366 !important; }

/* ── OLD FOOTER — neutralize ─────────────────────────────────── */
.footer { padding-top: 0 !important; background: transparent !important; }
.copyright { background: transparent !important; padding: 0 !important; }

/* ── SITE FOOTER — always dark, always readable ──────────────── */
.site-footer,
.theme-light .site-footer,
.theme-dark .site-footer {
  background: #060b18 !important;
  padding: 80px 0 0 !important;
  font-family: 'Cairo','Segoe UI',sans-serif !important;
}

/* Footer logo — small & white */
.site-footer .footer-brand img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  border-radius: 10px !important;
  margin-bottom: 16px !important;
  display: block !important;
}

/* Footer text — force white/light on dark bg */
.site-footer .footer-brand p,
.theme-light .site-footer .footer-brand p {
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}
.site-footer .footer-heading,
.theme-light .site-footer .footer-heading {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.site-footer .footer-links-list a,
.theme-light .site-footer .footer-links-list a {
  color: rgba(255,255,255,0.6) !important;
  font-size: 14px !important;
}
.site-footer .footer-links-list a:hover,
.theme-light .site-footer .footer-links-list a:hover {
  color: #0ea5e9 !important;
}
.site-footer .footer-contact-item .info span,
.theme-light .site-footer .footer-contact-item .info span {
  color: rgba(255,255,255,0.4) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  display: block !important;
  margin-bottom: 3px !important;
}
.site-footer .footer-contact-item .info a,
.site-footer .footer-contact-item .info p,
.theme-light .site-footer .footer-contact-item .info a,
.theme-light .site-footer .footer-contact-item .info p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
.site-footer .footer-contact-item .info a:hover,
.theme-light .site-footer .footer-contact-item .info a:hover {
  color: #0ea5e9 !important;
}
.site-footer .footer-divider,
.theme-light .site-footer .footer-divider {
  border-color: rgba(255,255,255,0.07) !important;
  margin: 48px 0 0 !important;
}
.site-footer .footer-bottom p,
.theme-light .site-footer .footer-bottom p {
  color: rgba(255,255,255,0.4) !important;
  font-size: 13px !important;
  margin: 0 !important;
}
.site-footer .footer-bottom p strong,
.theme-light .site-footer .footer-bottom p strong {
  color: rgba(255,255,255,0.7) !important;
}
.site-footer .footer-bottom-links a,
.theme-light .site-footer .footer-bottom-links a {
  color: rgba(255,255,255,0.4) !important;
  font-size: 13px !important;
}
.site-footer .footer-bottom-links a:hover,
.theme-light .site-footer .footer-bottom-links a:hover {
  color: #6366f1 !important;
}
.site-footer .footer-social a,
.theme-light .site-footer .footer-social a {
  color: rgba(255,255,255,0.6) !important;
}
.site-footer .footer-social a:hover,
.theme-light .site-footer .footer-social a:hover {
  color: #fff !important;
}

/* ── GO TOP ──────────────────────────────────────────────────── */
.go-top {
  bottom: 24px !important; right: 24px !important;
  width: 44px !important; height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#6366f1,#8b5cf6) !important;
  box-shadow: 0 8px 24px rgba(99,102,241,0.4) !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 16px !important; border: none !important; cursor: pointer !important;
}
.go-top i { position: static !important; transform: none !important; margin: 0 !important; }
.go-top:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 32px rgba(99,102,241,0.5) !important; border: none !important; }

/* ── FLOAT WA ────────────────────────────────────────────────── */
.float-wa {
  position: fixed !important; bottom: 28px !important; left: 28px !important; right: auto !important;
  z-index: 9998 !important; width: 56px !important; height: 56px !important;
  border-radius: 50% !important; background: #25D366 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 26px !important; color: #fff !important; text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4) !important;
  animation: float-bounce 3s ease-in-out infinite !important;
}
.float-wa:hover { transform: scale(1.1) !important; box-shadow: 0 12px 32px rgba(37,211,102,0.5) !important; color: #fff !important; animation: none !important; }
@keyframes float-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── DARK MODE ───────────────────────────────────────────────── */
.theme-dark .main-nav, .theme-dark .main-responsive-nav { background-color: rgba(6,11,24,0.97) !important; }
.theme-dark .main-nav nav .navbar-nav .nav-item a { color: #e2e8f0 !important; }
.theme-dark .navbar-area.sticky { background-color: rgba(6,11,24,0.98) !important; }
.theme-dark body { background-color: #060b18 !important; }

/* ── BODY FONT ───────────────────────────────────────────────── */
body, h1,h2,h3,h4,h5,h6, p, a, span, li, button, input, select, textarea {
  font-family: 'Cairo','Segoe UI',Tahoma,sans-serif !important;
}

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.newsletter-content { background-image: none !important; background: linear-gradient(135deg,#0c4a6e,#312e81) !important; }
