/* ============================================
   VIC INFO TECHNOLOGIES — MAIN STYLESHEET
   Edit colors: change CSS variables in :root
   Edit fonts: change --font-* variables
   ============================================ */

/* ── DESIGN TOKENS ── */
:root {
  --neon-cyan:   #00f5ff;
  --neon-blue:   #0066ff;
  --neon-purple: #7b2fff;
  --dark-bg:     #020510;
  --dark-card:   #050d1a;
  --dim:         rgba(180, 210, 255, 0.6);
  --glow:        0 0 20px rgba(0,245,255,0.4), 0 0 60px rgba(0,245,255,0.15);
  --glow-purple: 0 0 20px rgba(123,47,255,0.5), 0 0 60px rgba(123,47,255,0.2);

  --font-display: 'Orbitron', monospace;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  --radius: 4px;
  --transition: all 0.3s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark-bg);
  color: #c8e0ff;
  font-family: var(--font-body);
  font-size: 17px;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── SCANLINES ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

/* ── PARTICLE CANVAS ── */
#particles-canvas {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
}

/* ── CONTENT WRAPPER ── */
.site-content { position: relative; z-index: 2; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--neon-cyan); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow);
  transition: transform 0.08s;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(0,245,255,0.4); border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2.5rem;
  background: rgba(2, 5, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,245,255,0.1);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: var(--glow);
  text-decoration: none;
}
.nav-brand span { color: #fff; }

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); text-decoration: none;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--neon-cyan); transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0,245,255,0.6);
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 10%; right: 10%; }

/* Hamburger (mobile) */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 0;
}
.hamburger span {
  display: block; width: 28px; height: 2px;
  background: var(--neon-cyan); transition: var(--transition);
}
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(2, 5, 16, 0.98); z-index: 999; padding: 2rem;
  border-bottom: 1px solid rgba(0,245,255,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-family: var(--font-display); font-size: 0.9rem;
  letter-spacing: 2px; color: var(--dim); text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid rgba(0,245,255,0.06);
}
.mobile-menu a:hover { color: var(--neon-cyan); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-vic {
  display: inline-block;
  font-family: var(--font-display); font-size: 0.73rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--neon-cyan); text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--neon-cyan);
  position: relative; overflow: hidden;
  transition: var(--transition); cursor: pointer; background: transparent;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
.btn-vic::before {
  content: ''; position: absolute; inset: 0;
  background: var(--neon-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease; z-index: -1;
}
.btn-vic:hover { color: #000; text-shadow: none; box-shadow: var(--glow); }
.btn-vic:hover::before { transform: scaleX(1); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-display); font-size: 0.73rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; text-decoration: none;
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition); cursor: pointer; background: transparent;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* ============================================
   SECTION HELPERS
   ============================================ */
.section-pad   { padding: 7rem 0; }
.section-top   { padding-top: 120px; }
.section-alt   { background: rgba(0,245,255,0.02); }

.section-badge {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 4px; color: var(--neon-cyan);
  opacity: 0.85; display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff; line-height: 1.1; text-transform: uppercase;
}
.section-title .accent { color: var(--neon-cyan); text-shadow: var(--glow); }
.section-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  margin: 1.5rem 0;
}
.section-line.center { margin: 1.5rem auto; }

.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
  opacity: 0.4;
}

/* ============================================
   CARDS
   ============================================ */
.vic-card {
  background: linear-gradient(135deg, rgba(5,13,26,0.9), rgba(2,5,16,0.95));
  border: 1px solid rgba(0,245,255,0.12);
  border-radius: var(--radius);
  padding: 2rem; position: relative; overflow: hidden;
  transition: var(--transition); height: 100%;
}
.vic-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.vic-card:hover {
  border-color: rgba(0,245,255,0.35);
  transform: translateY(-6px); box-shadow: var(--glow);
}
.vic-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0,245,255,0.1), rgba(0,102,255,0.1));
  border: 1px solid rgba(0,245,255,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--neon-cyan);
  margin-bottom: 1.5rem; transition: var(--transition);
}
.vic-card:hover .card-icon { box-shadow: var(--glow); transform: scale(1.1); }

.vic-card h4 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: #fff; margin-bottom: 1rem; letter-spacing: 1px;
}
.vic-card p { color: var(--dim); line-height: 1.7; font-size: 0.95rem; }

/* Card icon color variants */
.icon-purple { color: var(--neon-purple) !important; background: rgba(123,47,255,0.1) !important; border-color: rgba(123,47,255,0.25) !important; }
.icon-blue   { color: var(--neon-blue)   !important; background: rgba(0,102,255,0.1)  !important; border-color: rgba(0,102,255,0.25)  !important; }

/* ============================================
   TECH PILLS (service tags)
   ============================================ */
.pill {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 1px;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(0,245,255,0.25); border-radius: 2px;
  color: var(--neon-cyan); background: rgba(0,245,255,0.05);
  margin: 0.2rem;
}

/* ============================================
   CORNER DECORATIONS
   ============================================ */
.corner-tl, .corner-br { position: absolute; width: 20px; height: 20px; }
.corner-tl { top: 0; left: 0; border-top: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.corner-br { bottom: 0; right: 0; border-bottom: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }

/* ============================================
   STATS
   ============================================ */
.stat-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: var(--neon-cyan); text-shadow: var(--glow); line-height: 1;
}
.stat-label {
  font-family: var(--font-body); font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); margin-top: 0.5rem;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-track { overflow: hidden; padding: 2rem 0; }
.marquee-inner {
  display: flex; gap: 3rem;
  animation: marquee 20s linear infinite; width: max-content;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 3px; color: rgba(0,245,255,0.3);
  white-space: nowrap; text-transform: uppercase;
}
.marquee-item span { color: var(--neon-cyan); }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple), transparent);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);
}
.timeline-year  { font-family: var(--font-mono); font-size: 0.75rem; color: var(--neon-cyan); letter-spacing: 2px; }
.timeline-title { font-family: var(--font-display); font-size: 0.9rem; color: #fff; margin: 0.3rem 0 0.5rem; }
.timeline-desc  { color: var(--dim); font-size: 0.9rem; }

/* ============================================
   SKILL BARS
   ============================================ */
.skill-wrap  { margin-bottom: 1.2rem; }
.skill-label {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--dim); margin-bottom: 0.4rem;
}
.skill-track { height: 3px; background: rgba(0,245,255,0.08); overflow: hidden; }
.skill-fill  {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  width: 0; transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 8px rgba(0,245,255,0.5);
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(0,245,255,0.2);
  color: var(--dim); font-size: 1rem;
  text-decoration: none; transition: var(--transition);
}
.social-link:hover {
  border-color: var(--neon-cyan); color: var(--neon-cyan);
  box-shadow: var(--glow); background: rgba(0,245,255,0.08);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(5,13,26,0.95), rgba(2,5,16,1));
  border: 1px solid rgba(0,245,255,0.15);
  padding: 3rem; position: relative;
}
.contact-form-wrapper::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
}
.form-label-vic {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 2px; color: var(--neon-cyan);
  text-transform: uppercase; margin-bottom: 0.5rem; display: block;
}
.form-field {
  width: 100%;
  background: rgba(0,245,255,0.03);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 0; color: #fff;
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.85rem 1.2rem; transition: var(--transition);
  outline: none;
}
.form-field::placeholder { color: rgba(180,210,255,0.3); }
.form-field:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0,245,255,0.15);
  background: rgba(0,245,255,0.06);
}
.form-field option { background: #020510; }

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(0,245,255,0.06);
}
.contact-info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon-cyan); font-size: 1.1rem;
}
.contact-info-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 2px; color: var(--neon-cyan); margin-bottom: 0.3rem;
}
.contact-info-value { color: #fff; font-weight: 600; }

/* ============================================
   MAP
   ============================================ */
.map-wrapper {
  border: 1px solid rgba(0,245,255,0.15); overflow: hidden;
}
.map-wrapper iframe {
  display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(0.5);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(2,5,16,0.98);
  border-top: 1px solid rgba(0,245,255,0.1);
  padding: 5rem 0 2rem; position: relative; z-index: 2;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 900;
  color: var(--neon-cyan); text-shadow: var(--glow);
}
.footer-logo span { color: #fff; }
.footer-desc {
  color: var(--dim); font-size: 0.95rem; line-height: 1.8;
  max-width: 300px; margin-top: 1rem;
}
.footer-heading {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 3px; color: var(--neon-cyan); text-transform: uppercase;
  margin-bottom: 1.5rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0,245,255,0.12);
}
.footer-link {
  display: block; color: var(--dim); text-decoration: none;
  padding: 0.4rem 0; font-size: 0.95rem;
  transition: var(--transition); background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.footer-link::before { content: '› '; color: var(--neon-cyan); opacity: 0; margin-right: 4px; transition: opacity 0.3s; }
.footer-link:hover { color: var(--neon-cyan); padding-left: 0.5rem; }
.footer-link:hover::before { opacity: 1; }
.footer-bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(0,245,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--dim); font-size: 0.85rem; font-family: var(--font-mono); }

/* ============================================
   MODAL (Privacy / Terms)
   ============================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(2,5,16,0.97); overflow-y: auto;
}
.modal-overlay.open { display: block; animation: fadeIn 0.4s ease; }
.modal-inner {
  max-width: 860px; margin: 0 auto; padding: 5rem 2rem 4rem;
}
.modal-close {
  position: fixed; top: 1.5rem; right: 2rem;
  background: none; border: 1px solid rgba(0,245,255,0.3);
  color: var(--neon-cyan); font-size: 1.2rem; cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 1;
}
.modal-close:hover { background: rgba(0,245,255,0.1); box-shadow: var(--glow); }
.legal-heading {
  font-family: var(--font-display); font-size: 1rem; color: var(--neon-cyan);
  margin: 2rem 0 0.8rem; letter-spacing: 1px;
}
.legal-text { color: var(--dim); line-height: 1.9; font-size: 0.95rem; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal       { opacity: 0; transform: translateY(40px);   transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-left  { opacity: 0; transform: translateX(-40px);  transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(40px);   transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}
/* Stagger delays */
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

/* ============================================
   TYPEWRITER
   ============================================ */
.typewriter {
  overflow: hidden; border-right: 2px solid var(--neon-cyan);
  white-space: nowrap; max-width: fit-content;
  animation: typing 4s steps(40,end) infinite, blink-caret 0.75s step-end infinite;
  font-family: var(--font-mono); font-size: 0.9rem; color: var(--neon-cyan);
}
@keyframes typing     { 0%{width:0} 60%{width:100%} 80%{width:100%} 100%{width:0} }
@keyframes blink-caret{ from,to{border-color:transparent} 50%{border-color:var(--neon-cyan)} }

/* ============================================
   GLITCH EFFECT
   ============================================ */
.glitch { animation: glitch 8s infinite; }
@keyframes glitch {
  0%,90%,100% { text-shadow: var(--glow); }
  92% { text-shadow: -3px 0 #ff003c, 3px 0 var(--neon-cyan); }
  94% { text-shadow: var(--glow); }
  96% { text-shadow: -2px 0 var(--neon-purple), 2px 0 #ff003c; }
  98% { text-shadow: var(--glow); }
}

/* ============================================
   HERO RINGS
   ============================================ */
.tech-ring {
  position: absolute; border-radius: 50%; border: 1px solid;
  animation: ring-rotate linear infinite; pointer-events: none;
}
.tech-ring:nth-child(1) { width: 500px; height: 500px; border-color: rgba(0,245,255,0.07); top: 50%; right: -150px; transform: translateY(-50%); animation-duration: 25s; }
.tech-ring:nth-child(2) { width: 350px; height: 350px; border-color: rgba(123,47,255,0.1);  top: 50%; right: 0;     transform: translateY(-50%); animation-duration: 18s; animation-direction: reverse; }
.tech-ring:nth-child(3) { width: 200px; height: 200px; border-color: rgba(0,102,255,0.18);  top: 50%; right: 100px; transform: translateY(-50%); animation-duration: 12s; }
@keyframes ring-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ============================================
   HERO TAG PULSE
   ============================================ */
.hero-tag {
  font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--neon-cyan); letter-spacing: 3px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0,245,255,0.3);
  display: inline-block; margin-bottom: 2rem;
  background: rgba(0,245,255,0.05);
  animation: tag-pulse 3s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%,100% { border-color: rgba(0,245,255,0.3); }
  50%      { border-color: rgba(0,245,255,0.8); box-shadow: 0 0 15px rgba(0,245,255,0.2); }
}

/* ============================================
   HERO TITLE
   ============================================ */
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1; color: #fff; text-transform: uppercase;
}
.hero-title .line-cyan { color: var(--neon-cyan); text-shadow: var(--glow); display: block; }
.hero-title .line-dim  { color: rgba(255,255,255,0.25); display: block; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   SERVICE NUMBER WATERMARK
   ============================================ */
.service-number {
  font-family: var(--font-display); font-size: 3rem;
  color: rgba(0,245,255,0.07); position: absolute;
  top: 1rem; right: 1.5rem; font-weight: 900;
  pointer-events: none; user-select: none; line-height: 1;
}

/* ============================================
   PAGE ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-enter { animation: fadeIn 0.6s ease; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .section-pad { padding: 5rem 0; }
}
@media (max-width: 768px) {
  .tech-ring  { display: none; }
  .hero-title { font-size: 2.5rem; }
  .hero-btns  { flex-direction: column; }
  #navbar     { padding: 0 1.2rem; }
  .contact-form-wrapper { padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
