/* ==========================================================================
   GIFTED HANDS CLEANING — HEADER & FOOTER STYLES
   ========================================================================== */

/* ─── Header ─── */
.elementor-location-header, .elementor-location-header .e-con, .elementor-location-header .e-con-inner, .elementor-section:has(.gifted-header), .e-con:has(.gifted-header) { padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; min-height: 0 !important; border: none !important; }
.gifted-header { position:absolute; top:0; left:0; width:100%; z-index:1000; padding:1.5rem 0; transition:all var(--transition-normal); background:transparent; }
.gifted-header.is-sticky.scrolled { position:fixed; background:rgba(255,255,255,0.98); backdrop-filter:blur(15px); padding:1rem 0; box-shadow:var(--shadow-md); border-bottom: 2px solid var(--color-accent); }
.gifted-header .container { display:flex; justify-content:space-between; align-items:center; max-width: 1200px !important; margin: 0 auto !important; width: 100%; padding: 0 20px; }

.gifted-logo { display:flex; align-items:center; gap:0.75rem; font-family:var(--font-heading); font-size:1.75rem; font-weight:800; color:white; transition:color var(--transition-normal); }
.gifted-logo .icon-wrapper { display:flex; align-items:center; justify-content:center; width:40px; height:40px; background:var(--gradient-accent); border-radius:10px; color:white; font-size:1.25rem; box-shadow:var(--shadow-glow); }
.gifted-header.is-sticky.scrolled .gifted-logo { color:var(--color-primary); }

.gifted-logo .logo-white { display: block; }
.gifted-logo .logo-main { display: none; }
.gifted-header.is-sticky.scrolled .gifted-logo .logo-white { display: none; }
.gifted-header.is-sticky.scrolled .gifted-logo .logo-main { display: block; }

.gifted-nav-links { display:flex; gap:2.5rem; align-items:center; list-style:none; }
.gifted-nav-links a { font-weight:500; color:white; position:relative; font-size:1rem; transition:color var(--transition-normal); }
.gifted-header.is-sticky.scrolled .gifted-nav-links a { color:var(--color-primary); }
.gifted-header.is-sticky.scrolled .gifted-nav-links a.active,
.gifted-header.is-sticky.scrolled .gifted-nav-links a:hover { color:var(--color-accent); }
.gifted-nav-links a::after { content:''; position:absolute; bottom:-5px; left:0; width:0; height:2px; background:var(--gradient-accent); transition:width var(--transition-fast); }
.gifted-nav-links a:hover::after,
.gifted-nav-links a.active::after { width:100%; }
.gifted-nav-links .btn::after { display:none; }

/* ─── Menu Toggle ─── */
.gifted-menu-toggle { display:none; background:none; border:none; font-size:1.5rem; color:white; cursor:pointer; transition:color var(--transition-normal); }
.gifted-header.scrolled .gifted-menu-toggle { color:var(--color-primary); }

/* ─── Mega Menu ─── */
.gifted-mega-menu { position:absolute; top:100%; left:0; width:100%; background:white; box-shadow:var(--shadow-lg); border-top:3px solid var(--color-accent); opacity:0; visibility:hidden; transform:translateY(10px); transition:all var(--transition-normal); z-index:999; padding:2rem 0; }
.gifted-nav-item-mega:hover .gifted-mega-menu { opacity:1; visibility:visible; transform:translateY(0); }
.gifted-mega-inner { max-width:1280px; margin:0 auto; padding:0 2rem; display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.gifted-mega-service { padding:1.5rem; border-radius:var(--radius-md); transition:all var(--transition-fast); }
.gifted-mega-service:hover { background:var(--color-bg-alt); transform:translateY(-3px); }
.gifted-mega-service i { font-size:2rem; color:var(--color-accent); margin-bottom:1rem; display:block; }
.gifted-mega-service h4 { font-size:1.1rem; margin-bottom:0.5rem; color:var(--color-primary); }
.gifted-mega-service p { font-size:0.9rem; color:var(--color-text-muted); margin-bottom:0; }

/* ─── Footer ─── */
.elementor-location-footer, .elementor-location-footer .e-con, .elementor-location-footer .e-con-inner, .elementor-section:has(.gifted-footer), .e-con:has(.gifted-footer) { padding: 0 !important; margin: 0 !important; border: none !important; min-height: 0 !important; background: var(--color-bg-dark); }
.gifted-footer { background:var(--color-bg-dark); color:var(--color-text-light); padding: 2.5rem 0 2rem; position:relative; }
.gifted-footer::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:var(--gradient-accent); }
.gifted-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:5rem; margin-bottom:4rem; }
.gifted-footer-about p { color:rgba(255,255,255,0.6); margin:1.5rem 0 2rem; font-size:1.05rem; }

.gifted-social-links { display:flex; gap:1rem; }
.gifted-social-links a { width:45px; height:45px; background:rgba(255,255,255,0.05); display:flex; align-items:center; justify-content:center; border-radius:50%; transition:all var(--transition-fast); font-size:1.2rem; border:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.7); }
.gifted-social-links a:hover { background:var(--gradient-accent); color:white; transform:translateY(-5px); border-color:var(--color-accent); }

.gifted-footer h4 { color:white; font-size:1.3rem; margin-bottom:2rem; position:relative; padding-bottom:0.75rem; }
.gifted-footer h4::after { content:''; position:absolute; bottom:0; left:0; width:40px; height:2px; background:var(--gradient-accent); }

.gifted-footer-links { list-style:none; }
.gifted-footer-links li { margin-bottom:1rem; }
.gifted-footer-links a { color:rgba(255,255,255,0.6); transition:all var(--transition-fast); display:inline-block; }
.gifted-footer-links a:hover { color:var(--color-accent); transform:translateX(5px); }

.gifted-footer-contact { list-style:none; }
.gifted-footer-contact li { display:flex; gap:1.25rem; margin-bottom:1.5rem; color:rgba(255,255,255,0.6); line-height:1.6; }
.gifted-footer-contact i { color:var(--color-accent); font-size:1.25rem; margin-top:2px; }
.gifted-footer-contact a { color:rgba(255,255,255,0.6); }
.gifted-footer-contact a:hover { color:var(--color-accent); }

.gifted-footer-bottom { text-align:center; padding-top:2.5rem; border-top:1px solid rgba(255,255,255,0.1); color:rgba(255,255,255,0.4); font-size:0.95rem; }

/* ─── Responsive ─── */
@media(max-width:1024px) {
  .gifted-footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:768px) {
  .gifted-nav-links { display:none; }
  .gifted-menu-toggle { display:block; }
  
  /* Force white contrast when mobile menu is open, even if scrolled */
  .gifted-header.menu-open .gifted-logo { color: white !important; }
  .gifted-header.menu-open .gifted-logo .logo-white { display: block !important; }
  .gifted-header.menu-open .gifted-logo .logo-main { display: none !important; }
  .gifted-header.menu-open .gifted-menu-toggle { color: white !important; }

  .gifted-nav-links.mobile-open { display:flex; flex-direction:column; position:absolute; top:100%; left:0; width:100%; background:var(--color-primary); padding:2rem; box-shadow:0 10px 15px -3px rgba(0,0,0,0.1); }
  .gifted-header .gifted-nav-links.mobile-open a { color:white !important; margin-bottom:1rem; }
  .gifted-footer-grid { grid-template-columns:1fr; gap:3rem; }
  .gifted-footer-bottom { flex-direction:column; gap:1rem; }
}
