/* ===================================================================
   IT&D — Incredible Tech and Design | Core Stylesheet
   Futuristic dark theme with neon-cyan accents
=================================================================== */

:root{
  --bg-black: #05060a;
  --bg-panel: #0b0d14;
  --bg-panel-2: #10131c;
  --cyan: #00f0ff;
  --cyan-dim: #00b8c9;
  --violet: #7c5cff;
  --white: #f5f7fb;
  --grey: #9aa3b2;
  --line: rgba(255,255,255,0.08);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--bg-black);
  color: var(--white);
  font-family: 'Rajdhani', 'Inter', sans-serif;
  overflow-x: hidden;
}

.font-display{
  font-family: 'Orbitron', sans-serif;
}

/* ---------- Background grid / glow ---------- */
.grid-bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
}

.glow-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Nav ---------- */
#site-header{
  backdrop-filter: blur(14px);
  background: rgba(5,6,10,0.7);
  border-bottom: 1px solid var(--line);
}

.nav-link{
  position: relative;
  color: var(--grey);
  transition: color .25s ease;
}
.nav-link:hover{ color: var(--white); }
.nav-link::after{
  content:'';
  position:absolute;
  left:0; bottom:-6px;
  width:0%; height:1px;
  background: var(--cyan);
  transition: width .25s ease;
}
.nav-link:hover::after{ width:100%; }

/* ---------- Buttons ---------- */
.btn-primary{
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #04050a;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 0 25px rgba(0,240,255,0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0,240,255,0.55);
}

.btn-outline{
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: all .25s ease;
}
.btn-outline:hover{
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.2);
}

/* ---------- Hero ---------- */
.hero-title{
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .01em;
  text-shadow: 0 0 40px rgba(0,240,255,0.25);
}

.gradient-text{
  background: linear-gradient(90deg, #00f0ff, #7c5cff 60%, #ff5cf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-ring{
  position:absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.15);
}

@keyframes spin-slow{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
.spin-slow{ animation: spin-slow 40s linear infinite; }
.spin-slow-rev{ animation: spin-slow 60s linear infinite reverse; }

/* ---------- Panels / cards ---------- */
.panel{
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--line);
  border-radius: 18px;
}

.service-card, .brand-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover, .brand-card:hover{
  transform: translateY(-6px);
  border-color: rgba(0,240,255,0.4);
  box-shadow: 0 20px 50px -20px rgba(0,240,255,0.25);
}

.icon-badge{
  width: 56px; height: 56px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(124,92,255,0.15));
  border: 1px solid rgba(0,240,255,0.25);
  color: var(--cyan);
  font-size: 1.4rem;
}

/* ---------- Stats ---------- */
.stat-number{
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(90deg, #00f0ff, #7c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Marquee (portfolio logos) ---------- */
.marquee-wrap{
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-track.reverse{ animation-direction: reverse; }
.marquee-wrap:hover .marquee-track{ animation-play-state: paused; }

@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.logo-chip{
  flex: 0 0 auto;
  display:flex; align-items:center; gap:1rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  min-width: 220px;
  white-space: nowrap;
}
.logo-chip img{
  height: 52px; width: 84px; object-fit: contain; border-radius: 8px;
  background: #fff;
  padding: 6px;
  flex: 0 0 auto;
}
.logo-chip img.on-dark{
  background: #05060a;
  border: 1px solid rgba(255,255,255,0.12);
}
.logo-chip .chip-fallback{
  height: 52px; width: 52px; border-radius: 8px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color:#04050a; font-family:'Orbitron',sans-serif; font-weight:700; font-size:.9rem;
  flex: 0 0 auto;
}

/* ---------- Timeline / process ---------- */
.step-num{
  font-family:'Orbitron', sans-serif;
  color: rgba(0,240,255,0.35);
  font-size: 3rem;
  line-height: 1;
}

/* ---------- Form ---------- */
.field-input{
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-input:focus{
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.15);
}

/* Native <select> dropdown list — most browsers ignore background on the
   closed select for the popup option list, so style options explicitly
   to avoid a white/unreadable dropdown panel. */
select.field-input{
  background-color: var(--bg-panel);
  color: var(--white);
}
select.field-input option{
  background-color: #0b0d14;
  color: #f5f7fb;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--bg-black); }
::-webkit-scrollbar-thumb{ background: #1c2130; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--cyan-dim); }

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile nav ---------- */
#mobile-menu{
  transition: max-height .3s ease;
  overflow: hidden;
}

.section-tag{
  letter-spacing: .3em;
  color: var(--cyan);
}

/* ---------- Client / trusted-by pills ---------- */
.client-pill{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: all .25s ease;
}
.client-pill:hover{
  border-color: rgba(0,240,255,0.4);
  background: rgba(0,240,255,0.05);
  transform: translateY(-3px);
}
.client-pill i{
  color: var(--cyan);
  font-size: .9rem;
  flex: 0 0 auto;
}

/* ---------- Closing statement band ---------- */
.closing-band{
  background: linear-gradient(180deg, rgba(0,240,255,0.04), rgba(124,92,255,0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
