/* ============================
   0todeploy — styles.css (Cyber Orange Final Stable + Effects)
   Purpose: Responsive design, accessibility, UI polish, animations
   ============================ */
html, body{
  margin:0;
  padding:0;
}
/* ---------- Variables ---------- */
:root{
  --bg:#0f0f0f;
  --panel:#1a1a1a;
  --muted:#7a7a7a;
  --text:#dcdcdc;
  --accent:#ff6b00;
  --accent-2:#ff8515;
  --card-shadow:rgba(255,107,0,0.12);
  --accent-glow:0 0 12px rgba(255,107,0,0.55);
  --max-width:1200px;
  --radius:10px;
  --transition-fast:180ms;
  --nav-transition:220ms;
}

/* ---------- Global Reset ---------- */
*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:"Segoe UI",Roboto,system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  scroll-behavior:smooth;
  -webkit-font-smoothing:antialiased;
  color-scheme:dark;
}

/* Reduced Motion */
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;}
}

/* Responsive images */
img{ max-width:100%; height:auto; }

/* Skip Link */
.skip-link{
  position:absolute; left:-999px;
  width:1px; height:1px; overflow:hidden; z-index:10000;
}
.skip-link:focus{
  left:10px; top:10px; padding:8px;
  background:#111; color:#fff; border-radius:4px;
}

/* Utility */
.container{ max-width:var(--max-width); margin:0 auto; padding:0 1.25rem; }

/* ============================================
   HEADER
   ============================================ */

.site-header{
  background:#121212;
  padding:1.25rem 1rem;
  display:flex; justify-content:space-between; align-items:center;
  position:relative; z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,0.45);
  backdrop-filter:blur(6px);
}

/* Glow line */
.site-header::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:100%; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent),var(--accent-2),var(--accent),transparent);
  transform:scaleX(0);
  opacity:0;
  transition:transform .42s ease, opacity .26s ease;
  filter:drop-shadow(0 0 6px rgba(255,107,0,0.45));
}
@media(hover:hover){
  .site-header:hover::after{
    transform:scaleX(1);
    opacity:1;
  }
}

/* Logo */
.logo-link{ display:flex; align-items:center; flex-grow:1; }
.logo{
  height:56px; width:auto;
  transition:transform .35s ease, filter .35s ease;
}
.logo:hover{
  transform:scale(1.04);
  filter:drop-shadow(0 0 10px rgba(255,107,0,0.55));
}

/* Hamburger */
.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:var(--accent);
  font-size:1.9rem;
  cursor:pointer;
  padding:8px;
  transition:transform .25s ease;
}
.menu-toggle:hover{ transform:scale(1.12); }

/* Desktop Navigation */
.main-nav{ display:flex; align-items:center; gap:.75rem; }
.nav-list{
  list-style:none; display:flex; gap:.75rem; padding:0; margin:0;
}
.nav-link{
  color:var(--accent);
  padding:.7rem 1rem;
  text-decoration:none;
  font-weight:700;
  transition:color .2s ease, text-shadow .25s ease;
}
.nav-link:hover{
  color:#fff;
  text-shadow:0 0 12px rgba(255,107,0,0.55);
}

/* ------- Mobile Nav ------- */
/* ------- Mobile Nav (Fixed Alignment) ------- */
@media(max-width:720px){

  /* Prevent logo from expanding full width */
  .logo-link{
    flex:0 0 auto !important;
    max-width:60%;
    margin-right:auto;
  }

  /* Move hamburger to right cleanly */
  .menu-toggle{
    display:block;
    position:relative;
    z-index:3001;
    margin-left:auto !important;
    margin-right:10px !important;
    padding:6px 10px;
  }

  /* Mobile dropdown menu */
  .main-nav{
    position:fixed;
    top:0;
    left:-260px;      /* hidden */
    width:260px;      /* fixed width drawer */
    height:100vh;
    background:#121212;
    padding-top:90px;
    padding-left:20px;
    padding-right:20px;
    display:flex;
    flex-direction:column;
    gap:1rem;
    pointer-events:none;
    transition:left .32s ease;
    z-index:3000;
  }

  .main-nav.nav-visible{
    left:0;           /* slide in */
    pointer-events:auto;
  }

  .nav-list{
    flex-direction:column;
    gap:1rem;
  }

  .nav-link{
    padding:12px 4px;
    text-align:left;
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
}

/* ============================================
   HERO
   ============================================ */

.hero{
  text-align:center;
  padding:4.25rem 1rem;
}
.hero h1{
  color:var(--accent);
  font-size:clamp(1.7rem,3.4vw,2.8rem);
  text-shadow:0 0 14px rgba(255,107,0,0.45);
}
.hero p{
  max-width:700px; margin:1rem auto 1.5rem;
  color:#dcdcdc;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-group{
  display:inline-flex; flex-wrap:wrap;
  gap:.6rem; justify-content:center;
}

.btn-primary, .service-btn, .btn-group a{
  background:var(--accent);
  color:var(--bg);
  padding:.65rem 1.25rem;
  border-radius:6px;
  text-decoration:none;
  font-weight:700;
  transition:background .25s, transform .25s, box-shadow .25s;
}

.btn-primary:hover,
.service-btn:hover,
.btn-group a:hover{
  background:var(--accent-2);
  transform:translateY(-2px);
  box-shadow:var(--accent-glow);
}

/* ============================================
   CONTACT FORM
   ============================================ */

form.contact-form{
  max-width:500px; margin:auto;
  display:flex; flex-direction:column; gap:1rem;
}

.contact-section input,
.contact-section textarea{
  padding:.75rem;
  background:#1f1f1f;
  border:1px solid #444;
  border-radius:6px;
  color:#fff;
  transition:border .25s ease, box-shadow .25s ease;
}
.contact-section input:focus,
.contact-section textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 14px rgba(255,107,0,0.35);
}

.contact-section button{
  background:var(--accent);
  color:var(--bg);
  padding:.75rem 1.25rem;
  border:none; border-radius:6px;
  font-weight:700;
  cursor:pointer;
  transition:all .25s ease;
}
.contact-section button:hover{
  background:var(--accent-2);
  transform:translateY(-2px);
  box-shadow:var(--accent-glow);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-choose,
.trust-row{
  max-width:1100px;
  margin:0 auto;
  padding:1rem;
  text-align:center;
}
.why-choose-heading{ color:var(--accent); }
.why-choose-text{
  max-width:700px;
  margin:0 auto;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
  margin-top:2.5rem;
}

.card{
  background:var(--panel);
  padding:1.6rem;
  border-radius:var(--radius);
  text-align:center;
  box-shadow:0 8px 22px var(--card-shadow);
  transition:transform .28s ease, box-shadow .28s ease;
  max-width:420px;
  margin:0 auto;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 32px rgba(0,0,0,0.55),
             0 0 14px rgba(255,107,0,0.22);
}

.card-icon{
  font-size:2.25rem;
  color:var(--accent);
  filter:drop-shadow(0 1px 4px rgba(255,107,0,0.25));
}
.card h3{ color:var(--accent); }
.card p{ color:#e9e9e9; }

.service-list{
  padding-left:1.15rem;
  line-height:1.45;
}
.service-list li{
  list-style:disc;
  margin-left:1rem;
  margin-bottom:.35rem;
}

/* ============================================
   TRUST ROW
   ============================================ */

.trust-item strong{
  color:var(--accent);
  font-size:1.2rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer, .site-footer{
  background:#0d0d0d;
  padding:2rem 1rem;
  text-align:center;
  color:var(--muted);
}

.social-icons a{
  margin:0 .5rem;
  font-size:1.5rem;
  color:var(--accent);
  transition:color .25s ease;
}
.social-icons a:hover{
  color:#fff;
}

/* ============================================
   COOKIE CONSENT BAR (FINAL – MOBILE SAFE)
   ============================================ */

#consent-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;

  /* layout */
  display:none;
  padding:1rem;
  background:#111;
  color:#fff;
  border-top:2px solid var(--accent);
  font-size:.95rem;
  justify-content:space-between;
  align-items:center;
  gap:1rem;

  /* visual */
  backdrop-filter:blur(4px);
  box-shadow:0 -4px 16px rgba(0,0,0,.45);

  /* animation */
  opacity:0;
  transform:translateY(15px);
  transition:opacity .35s ease, transform .35s ease;

  /* layering */
  z-index:99990;

  /* 🔥 CRITICAL FIX */
  pointer-events:none;
}

#consent-bar.show{
  display:flex;
  opacity:1;
  transform:translateY(0);
}

/* Allow interaction ONLY on inner elements */
#consent-bar *{
  pointer-events:auto;
}

/* Accept button */
#accept-consent{
  background:var(--accent);
  color:#000;
  padding:.55rem 1.1rem;
  border:none;
  border-radius:6px;
  font-weight:700;
  cursor:pointer;
  transition:background .25s ease, box-shadow .25s ease;
}

#accept-consent:hover{
  background:var(--accent-2);
  box-shadow:var(--accent-glow);
}

/* Mobile layout */
@media(max-width:600px){
  #consent-bar{
    flex-direction:column;
    text-align:center;
  }
}

/* ============================================
   CUSTOM CYBER ORANGE CURSOR
   ============================================ */

.cursor{
  position:fixed;
  top:0; left:0;
  width:14px; height:14px;
  border-radius:50%;
  background:var(--accent);
  pointer-events:none;
  transform:translate(-50%, -50%);
  z-index:999999;
  mix-blend-mode:exclusion;
  transition:transform .1s ease-out;
}
.cursor-trail{
  position:fixed;
  top:0; left:0;
  width:28px; height:28px;
  border-radius:50%;
  border:2px solid var(--accent);
  opacity:0.3;
  pointer-events:none;
  transform:translate(-50%, -50%);
  z-index:999998;
  transition:transform .15s ease-out, opacity .25s ease;
}

@media(max-width:900px){
  .cursor, .cursor-trail{ display:none!important; }
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */

#particle-canvas{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:0.45;
}

/* ============================================
   SCROLL-TO-TOP — AIRPLANE BUTTON (FINAL FIXED)
   ============================================ */

.airplane-wrapper{
  position: fixed;
  right:22px;
  bottom:26px;
  z-index:999999999;
  display:flex;

  /* Android stability */
  transform:none !important;
  will-change:auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  transition:
    opacity .25s ease,
    margin-bottom .25s ease;
}

/* Lift effect */
.airplane-wrapper.lift{
  margin-bottom:12px;
}

.airplane-btn{
  background:#1a1a1a;
  border:1px solid rgba(255,107,0,0.35);
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition:all .25s ease;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.45),
    0 0 10px rgba(255,107,0,0.18);
  z-index:999999999 !important;
}

.airplane-btn i{
  font-size:1.45rem;
  color:var(--accent);
  transition:transform .25s ease, color .25s ease;
}

.airplane-btn:hover{
  background:#000;
  transform:translateY(-4px);
  box-shadow:
    0 8px 24px rgba(255,107,0,0.32),
    0 0 20px rgba(255,107,0,0.28);
}

.airplane-btn:hover i{
  transform:translateY(-3px);
  color:#fff;
}

/* Fly-away animation */
.airplane-btn.fly-fast{
  animation:flyaway 1s ease-out forwards;
}

@keyframes flyaway{
  0%{transform:translateY(0) scale(1); opacity:1;}
  100%{transform:translateY(-140px) scale(1.5); opacity:0;}
}

/* Mobile adjustments */
@media(max-width:720px){
  .airplane-wrapper{
    bottom:18px;
    right:18px;
  }
}
/* =======================================================
   WhatsApp Widget — MOBILE ONLY (FINAL FIX)
======================================================= */

#wa-fab,
#wa-popup {
  display: none;
}

@media (max-width: 899px) {

  #wa-fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    background: #ff6b00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    z-index: 10000;
  }

  #wa-popup {
    position: fixed;
    bottom: 84px;
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    overflow: hidden;
    z-index: 10000;
    display: none;
  }

  #wa-popup.wa-open {
    display: block;
  }

  .wa-header {
    background: #ff6b00;
    color: #fff;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
  }

  .wa-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
  }

  .wa-body {
    padding: 12px;
  }

  .wa-body input,
  .wa-body textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
  }

  .wa-body textarea {
    min-height: 90px;
    resize: none;
  }

  .wa-body button {
    width: 100%;
    padding: 10px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
  }
}

/* ============================================
   PRINT + LIGHT MODE SUPPORT
   ============================================ */

@media print{
  header, footer, .airplane-wrapper, #consent-bar{
    display:none!important;
  }
  body{ background:#fff; color:#000; }
}

:root[data-theme="light"]{
  --bg:#f7f7f7;
  --panel:#ffffff;
  --text:#111;
}
