/* ---------- Premium Amazon-style (Dark/Blue/White) ---------- */
:root{
  --bg: #0f1111;
  --panel: #151a1a;
  --elev: #1a1f20;
  --text: #eef3f6;
  --muted: #aab6c3;
  --blue: #146eb4;     /* Amazon-ish blue */
  --acc: #ff9900;      /* Amazon orange */
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 14px 40px rgba(0,0,0,0.55);
}

*{box-sizing:border-box}
html,body{padding:0;margin:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

.container{width:min(1140px, 92%); margin-inline:auto}

/* Header */
.header{
  position:sticky; top:0; z-index:60; 
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding: .8rem 0}
.brand{display:flex; align-items:center; gap:.8rem; text-decoration:none; color:var(--text)}
.mark{color:var(--blue)}
.logo{width:32px; height:32px}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.bizname{font-weight:900; letter-spacing:.2px}
.slogan{font-size:.78rem; color:var(--muted)}

/* Center menu */
.nav-links{display:flex; align-items:center; gap:1.2rem}
.nav-links > a, .drop-btn{color:var(--text); opacity:.9; text-decoration:none; font-weight:600; letter-spacing:.2px}
.nav-links > a:hover, .drop-btn:hover{opacity:1; color: white}
.nav-dropdown{position:relative}
.drop-btn{background:transparent; border:1px solid var(--border); padding:.45rem .7rem; border-radius:999px; cursor:pointer}
.drop-menu{position:absolute; top:120%; left:50%; transform:translateX(-50%); background: var(--panel); border:1px solid var(--border); border-radius:12px; padding:.5rem; display:none; box-shadow: var(--shadow); min-width:220px}
.drop-menu a{display:block; padding:.5rem .7rem; color:var(--text); text-decoration:none; border-radius:8px}
.drop-menu a:hover{background: color-mix(in oklab, var(--panel), white 6%)}

/* Mobile hamburger & drawer */
.hamburger{display:none; flex-direction:column; gap:4px; background:transparent; border:1px solid var(--border); padding:.4rem; border-radius:8px; cursor:pointer}
.hamburger span{display:block; width:22px; height:2px; background:var(--text)}
.mobile-drawer{
  position:fixed; top:0; right:-340px; width:min(86vw, 320px); height:100dvh; background: var(--panel);
  border-left:1px solid var(--border); padding: 70px 16px 16px; display:flex; flex-direction:column; gap:.6rem; box-shadow: var(--shadow); transition: right .35s ease;
}
.mobile-drawer.open{ right:0 }
.mobile-drawer a{color:var(--text); text-decoration:none; padding:.6rem .5rem; border-radius:10px}
.mobile-drawer a:hover{background: color-mix(in oklab, var(--panel), white 6%)}
.drawer-close{position:absolute; top:10px; right:10px; background:transparent; border:1px solid var(--border); color:var(--text); width:34px; height:34px; border-radius:8px; cursor:pointer}

/* Hero */
.hero{position:relative; overflow:hidden; border-bottom:1px solid var(--border)}
.gradient-bg{
  position:absolute; inset:-20% -10% 0 -10%; filter: blur(70px); transform: translateZ(0);
  background: radial-gradient(600px 300px at 20% 10%, color-mix(in oklab,var(--blue),white 12%) 0%, transparent 55%),
              radial-gradient(600px 300px at 80% 20%, color-mix(in oklab,var(--acc),white 12%) 0%, transparent 55%),
              radial-gradient(700px 400px at 50% 80%, color-mix(in oklab, var(--blue), white 10%) 0%, transparent 60%);
  opacity:.6; pointer-events:none
}
.hero-inner{display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3.5vw, 48px); padding: clamp(28px, 6vw, 84px) 0}
.hero-copy h1{font-size: clamp(28px, 4.4vw, 56px); line-height:1.08; margin:0 0 .6rem}
.hero-copy p{color:var(--muted); font-size: clamp(15px, 1.5vw, 18px)}
.actions{display:flex; gap:.75rem; margin-top:1rem; flex-wrap:wrap}
.btn{background: linear-gradient(135deg, color-mix(in oklab, var(--blue), white 8%), color-mix(in oklab, var(--acc), white 8%)); color:#091014; border:none; padding:.7rem 1rem; border-radius:14px; font-weight:800; cursor:pointer; box-shadow: var(--shadow)}
.btn.ghost{background:transparent; color:var(--text); border:1px solid var(--border); box-shadow:none}

.trust{margin-top:1.2rem}
.kicker{display:inline-block; letter-spacing:.24em; text-transform:uppercase; font-weight:800; font-size:.8rem; color:var(--muted)}
.logo-row{display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.5rem}
.pill{border:1px dashed var(--border); padding:.35rem .6rem; border-radius:999px; color:var(--muted)}

.hero-media .glass{background: var(--glass); border:1px solid var(--border); border-radius:20px; padding:14px; box-shadow: var(--shadow)}
.window{background: color-mix(in oklab, var(--panel), black 5%); border-radius:14px; overflow:hidden; border:1px solid var(--border)}
.window-dots{display:flex; gap:6px; padding:10px; border-bottom:1px solid var(--border)}
.window-dots span{width:10px; height:10px; border-radius:50%; background: var(--glass)}
.chart{height:240px; background:
  linear-gradient(180deg, rgba(255,255,255,.06), transparent),
  repeating-linear-gradient(180deg, transparent 0 28px, rgba(255,255,255,.05) 28px 29px);
  position:relative;
  --path: path('M0,180 C120,120 180,200 260,140 S420,120 520,160 700,110 900,150');
}
.chart::after{
  content:""; position:absolute; left:-10%; top:0; bottom:0; right:-10%;
  background:
    radial-gradient(8px 8px at var(--x,10%) var(--y,60%), white, transparent 60%),
    linear-gradient( to right, transparent 0 20%, color-mix(in oklab,var(--blue),white 10%) 30% 70%, transparent 80%);
  -webkit-mask: var(--path) stroke-box;
  mask: var(--path) stroke-box;
  animation: sweep 6s infinite linear;
  opacity:.8;
}
@keyframes sweep{ to{ transform: translateX(12%) } }

.cards{display:flex; gap:10px; padding: 12px; background: color-mix(in oklab, var(--panel), black 2%); border-top:1px solid var(--border)}
.mini-card{flex:1; height:56px; border-radius:10px; background: linear-gradient(180deg, var(--glass), transparent); border:1px solid var(--border)}

.marquee{overflow:hidden; border-top:1px solid var(--border); background: color-mix(in oklab, var(--panel), black 2%)}
.marquee .track{display:flex; gap:2rem; padding: .75rem 0; font-weight:800; color:var(--muted); animation: scroll 24s linear infinite; white-space:nowrap}
@keyframes scroll{from{ transform:translateX(0)} to{transform:translateX(-50%)}}

/* Sections */
.section{padding: clamp(44px, 8vw, 110px) 0}
.section.alt{background: color-mix(in oklab, var(--panel), black 2%); border-block:1px solid var(--border)}
.section-head{max-width:720px; margin: 0 auto 2rem; text-align:center}
.section-head h2{font-size: clamp(22px, 3.4vw, 36px); margin:.4rem 0}
.section-head p{color:var(--muted)}

/* Services */
.grid{display:grid; gap: clamp(16px, 2vw, 24px)}
.features-grid{grid-template-columns: repeat(3,1fr)}
.card{background: var(--panel); border:1px solid var(--border); border-radius:18px; padding: clamp(16px, 2vw, 22px); box-shadow: var(--shadow)}
.card .icon{width:42px; height:42px; display:grid; place-items:center; border-radius:10px; background: linear-gradient(135deg, color-mix(in oklab, var(--blue), white 10%), color-mix(in oklab, var(--acc), white 10%)); margin-bottom:.6rem}
.card .bullets{margin:.6rem 0 0 .9rem; color:var(--muted)}

/* About */
.about-grid{display:grid; grid-template-columns: 1fr 1fr; gap:22px; align-items:center}
.about-media{height:320px; border-radius:18px; border:1px solid var(--border); background:
  radial-gradient(400px 150px at 30% 0%, color-mix(in oklab, var(--blue), white 12%), transparent 60%),
  radial-gradient(400px 150px at 80% 100%, color-mix(in oklab, var(--acc), white 12%), transparent 60%),
  linear-gradient(180deg, var(--glass), transparent); box-shadow: var(--shadow)
}
.about-copy .badges{display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.6rem}
.about-copy .badges span{border:1px dashed var(--border); padding:.35rem .6rem; border-radius:999px; color:var(--muted)}

/* Testimonials */
.carousel{position:relative}
.carousel-track{display:flex; gap:16px; overflow:auto; scroll-snap-type:x mandatory; padding:6px; scrollbar-width:none}
.carousel-track::-webkit-scrollbar{display:none}
.tcard{scroll-snap-align:center; min-width: min(520px, 86vw); background: var(--panel); border:1px solid var(--border); border-radius:18px; padding:20px; box-shadow: var(--shadow)}
.tcard .who{display:flex; gap:.8rem; align-items:center; margin-top:.6rem}
.avatar{width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background: linear-gradient(135deg, var(--blue), var(--acc)); font-weight:800}
.carousel-btn{position:absolute; top:50%; transform: translateY(-50%); background: var(--glass); border:1px solid var(--border); border-radius:50%; width:40px; height:40px; display:grid; place-items:center; cursor:pointer}
.carousel-btn.prev{left:-6px}
.carousel-btn.next{right:-6px}

/* Contact */
.cta .cta-card{background: linear-gradient(180deg, var(--panel), color-mix(in oklab, var(--panel), black 6%)); border:1px solid var(--border); border-radius:20px; padding: clamp(16px, 4vw, 36px); box-shadow: var(--shadow); text-align:center}
.cta-form{display:flex; flex-direction:column; gap:.6rem; margin-top:.8rem}
.cta-form .row{display:flex; gap:.6rem}
.cta-form input, .cta-form textarea{padding:.85rem 1rem; border-radius:12px; border:1px solid var(--border); background: var(--bg); color:var(--text)}
.cta-form textarea{min-height:120px}
.map-placeholder{margin-top:1rem; border:1px dashed var(--border); border-radius:16px; padding: 2rem; color:var(--muted)}

/* Footer */
.footer{border-top:1px solid var(--border); background: color-mix(in oklab, var(--panel), black 2%)}
.footer-grid{display:grid; grid-template-columns: 2fr 1fr 1fr; gap:20px; padding:40px 0}
.footer-col{display:flex; flex-direction:column; gap:.4rem}
.footer a{color:var(--muted); text-decoration:none}
.footer a:hover{color:var(--text)}

/* Office items */
.footer .office-item{display:flex; gap:.6rem; align-items:flex-start; margin:.4rem 0}
.footer .office-item svg{width:18px; height:18px; flex:0 0 18px; fill:var(--muted); opacity:.9}
.footer .office-item a, .footer .office-item div{color:var(--text); font-size:.95rem}

/* Legal footer (bottom row) */
.footer_bottom{
  max-width:1150px;
  margin:0 auto;
  padding:10px 0;
  display:grid;
  grid-template-columns:auto 1fr auto; /* socials | copy | socials */
  align-items:center;
  background: color-mix(in oklab, var(--panel), black 4%);
  border-radius:6px;
}
.footer_copy{text-align:center; font-size:.85rem; color:var(--muted); line-height:1.4}
.footer_socials{display:flex; gap:12px}
.footer_socials a svg{width:20px; height:20px; color:var(--muted); transition:.3s ease}
.footer_socials a:hover svg{color:var(--text)}
.socials-left{justify-content:flex-start}
.socials-right{justify-content:flex-end}

/* Reveal animation */
.reveal{opacity:0; transform: translateY(14px); transition:.7s ease}
.reveal.visible{opacity:1; transform:none}

/* Responsive */
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr}
  .features-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .hamburger{display:flex}
  .footer-grid{grid-template-columns: 1fr 1fr}
}
@media (max-width:680px){
  .slogan{display:none}
  .container{padding-left:16px; padding-right:16px}
  .hero h1{font-size: clamp(1.6rem, 4.5vw, 2.2rem)}
  .hero .actions{flex-direction:column; gap:.6rem}
  .hero .actions .btn{width:100%}
  .footer-grid{grid-template-columns: 1fr}
  .footer .brand{margin-bottom:.6rem}
}
@media (max-width:420px){
  .brand-text{display:none}
  .btn{width:100%}
}

/* --- Fix Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Add padding so content doesn't hide behind header */
body {
  padding-top: 70px; /* adjust height based on your header */
}

/* --- Improve Mobile Responsiveness --- */
@media (max-width: 480px) {
  .hero-inner {
    padding: 20px 0;
    text-align: center;
  }
  .hero-copy h1 {
    font-size: 1.4rem;
  }
  .hero-copy p {
    font-size: 0.9rem;
  }
  .cards {
    flex-direction: column;
  }
  .mini-card {
    height: auto;
    min-height: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Prevent horizontal scrolling on small devices */
html, body {
  overflow-x: hidden;
}

/* Make all elements respect screen width */
* {
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix mobile drawer positioning */
.mobile-drawer {
  right: -100%; /* fully hidden */
  width: 100%;
  max-width: 320px;
}
.mobile-drawer.open {
  right: 0;
}

/* Ensure nav & hamburger fit */
.nav {
  padding: 0.8rem 16px;
}
.hamburger {
  margin-left: auto;
}

/* Responsive tweaks for very small screens */
@media (max-width: 480px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }
  .hero-copy h1 {
    font-size: 1.4rem;
    word-break: break-word;
  }
  .hero-copy p {
    font-size: 0.9rem;
  }
  .cards {
    flex-direction: column;
  }
  .mini-card {
    min-height: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    align-items: center;
  }
}


/* Fix form inputs overflow on small screens */
@media (max-width: 600px) {
  .cta-form .row {
    flex-direction: column;
    gap: .6rem;
  }
  .cta-form input,
  .cta-form textarea {
    width: 100%;
  }
}

/* Mobile footer brand style */
@media (max-width: 600px) {
  .footer .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-align: left;
  }
  .footer .logo {
    width: 40px;
    height: 40px;
  }
  .footer .brand-text {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
  }
  .footer .bizname {
    font-weight: 900;
    font-size: 1.1rem;
  }
  .footer .slogan {
    display: block !important;
    font-size: 0.85rem;
    color: var(--muted);
  }
}

/* Extra blank row at end of footer */
.footer::after {
  content: "";
  display: block;
  height: 40px;   /* adjust height as needed */
}

