/* ============================================
   MAXTEQ ELECTRONICS — style.css
   ============================================ */

:root {
  --bg: #e8f4ff;
  --bg2: #f4f9ff;
  --bg3: #ffffff;
  --accent: #0077cc;
  --accent2: #005fa3;
  --accent-light: #dbeeff;
  --text: #0d2540;
  --muted: #4a7099;
  --border: rgba(0,119,204,0.13);
  --card: #ffffff;
  --shadow: 0 2px 24px rgba(0,100,200,0.07);
  --radius: 10px;
  --nav-h: 68px;
  --ticker-h: 44px;
  --top-offset: 112px; /* nav + ticker */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: radial-gradient(circle, rgba(0,119,204,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; z-index: 0;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: var(--nav-h);
  background: rgba(232,244,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,100,200,0.06);
}
.logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.65rem; font-weight: 700;
  letter-spacing: 2px; color: var(--text); text-decoration: none;
}
.logo span { color: var(--accent); }
nav ul { display: flex; gap: 2.5rem; list-style: none; }
nav ul a {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
  position: relative;
}
nav ul a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.2s;
}
nav ul a:hover { color: var(--accent); }
nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 8px 22px; border-radius: 5px; }
.nav-cta:hover { background: var(--accent2) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(232,244,255,0.98); border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; z-index: 190; flex-direction: column; gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  text-decoration: none; padding: 0.5rem 0;
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ══════════════════════════════════════
   PRODUCT TICKER — fixed below nav
══════════════════════════════════════ */
.ticker-wrap {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 190;
  height: var(--ticker-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #081222;
  border-bottom: 2px solid rgba(0,119,204,0.5);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,119,204,0.8);
}
.ticker-label {
  color: #4db8ff;
  font-weight: 700;
}
.ticker-sep {
  color: rgba(0,119,204,0.5);
  margin: 0 4px;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 75vh;
  padding-top: var(--top-offset);
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: flex-start;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.orb1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,119,204,0.12), transparent 70%);
  top: 120px; left: -80px; animation: pulse 7s ease-in-out infinite;
}
.orb2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,160,255,0.07), transparent 70%);
  bottom: 40px; left: 300px; animation: pulse 9s ease-in-out infinite reverse;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

.hero-inner {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-top: 50px;
  position: relative;
  z-index: 2;
  gap: 0;
}

.hero-left {
  flex: 0 0 400px;
  padding: 20px 30px 40px 5%;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); border: 1px solid rgba(0,119,204,0.22);
  border-radius: 30px; padding: 6px 16px;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  font-family: 'Rajdhani', sans-serif; font-weight: 600; width: fit-content;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 700; line-height: 1.12;
  margin-bottom: 1rem; color: var(--text);
}
h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 28px; border-radius: 5px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 18px rgba(0,119,204,0.25);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 28px; border-radius: 5px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* SLIDESHOW */
.hero-slideshow {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0d1f35;
  height: 530px;
  align-self: flex-start;
  border-radius: 12px 0 0 12px;
  box-shadow: -8px 0 40px rgba(0,100,200,0.15);
  margin-top: 10px;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1);
}
.slide.active { opacity: 1; transform: scale(1) !important; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0d1f35;
}
.slide.effect-zoom-in   { transform: scale(1.08); }
.slide.effect-zoom-out  { transform: scale(0.94); }
.slide.effect-slide-left  { transform: translateX(50px); }
.slide.effect-slide-right { transform: translateX(-50px); }
.slide.effect-fade { transform: scale(1); }
.slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 2rem 1.5rem 1rem;
}
.slide-caption p { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.slide-caption small { font-size: 0.78rem; color: rgba(255,255,255,0.6); display: block; margin-top: 2px; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10;
}
.slide-arrow:hover { background: rgba(255,255,255,0.38); }
.arrow-prev { left: 12px; }
.arrow-next { right: 12px; }
.slide-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.sdot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sdot.active { background: #fff; transform: scale(1.25); }
.slide-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--accent); z-index: 11;
}

/* ══════════════════════════════════════
   STATS
══════════════════════════════════════ */
.stats-bar { display: flex; background: var(--accent); position: relative; z-index: 1; }
.stat-item { flex: 1; padding: 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.15); transition: background 0.3s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,0.08); }
.stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.72); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
section { position: relative; z-index: 1; padding: 90px 5%; }
.section-label { font-family: 'Rajdhani', sans-serif; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; font-weight: 600; }
.section-title { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 700; margin-bottom: 0.9rem; color: var(--text); }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; }
.section-header { margin-bottom: 3rem; }

/* ══════════════════════════════════════
   PRODUCTS
══════════════════════════════════════ */
#products { background: var(--bg2); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.4rem; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: relative; cursor: default; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; box-shadow: var(--shadow); }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--accent2),var(--accent)); transform: scaleX(0); transition: transform 0.4s; z-index: 2; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(0,119,204,0.3); box-shadow: 0 14px 44px rgba(0,100,200,0.14); }
.product-card:hover::before { transform: scaleX(1); }
.product-img { width: 100%; height: 190px; overflow: hidden; background: var(--accent-light); position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg,#e8f4ff,#dbeeff); }
.ph-icon { font-size: 2.8rem; }
.ph-text { font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.product-body { padding: 1.5rem; }
.product-tag { display: inline-block; font-family: 'Rajdhani', sans-serif; font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.7rem; }
.tag-new     { background: #e6f9f0; color: #007a45; border: 1px solid #b3e8cc; }
.tag-popular { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(0,119,204,0.2); }
.tag-soon    { background: #fff3ec; color: #c04800; border: 1px solid #ffd0b0; }
.product-name { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.product-desc { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }
.product-specs { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 5px; }
.spec-tag { font-size: 0.72rem; padding: 3px 9px; border-radius: 4px; background: var(--bg); color: var(--muted); border: 1px solid var(--border); font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.product-card.coming-soon { opacity: 0.65; }
.product-card.coming-soon:hover { transform: none; box-shadow: var(--shadow); }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about { background: var(--bg3); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 2.8rem; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.about-box::after { content: 'MAXTEQ'; position: absolute; font-family: 'Rajdhani', sans-serif; font-size: 5rem; font-weight: 700; color: rgba(0,119,204,0.04); bottom: 10px; right: -10px; pointer-events: none; letter-spacing: 4px; }
.about-feature { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.about-feature:last-child { margin-bottom: 0; }
.feature-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--accent-light); border: 1px solid rgba(0,119,204,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.feature-text h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; color: var(--text); }
.feature-text p { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { background: var(--bg); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.9rem; color: var(--text); }
.contact-info p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; text-decoration: none; color: var(--text); transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s; box-shadow: var(--shadow); }
.contact-item:hover { border-color: rgba(0,119,204,0.3); transform: translateX(5px); box-shadow: 0 6px 28px rgba(0,100,200,0.1); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.ci-whatsapp { background: #e6f9ee; border: 1px solid #b3e8cc; }
.ci-email    { background: var(--accent-light); border: 1px solid rgba(0,119,204,0.18); }
.ci-location { background: #fff4ec; border: 1px solid #ffd0b0; }
.contact-label { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.contact-value { font-weight: 500; font-size: 0.95rem; color: var(--text); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-family: 'Rajdhani', sans-serif; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 5px; padding: 11px 13px; color: var(--text); font-family: 'Exo 2', sans-serif; font-size: 0.95rem; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: rgba(0,119,204,0.45); }
.form-group textarea { height: 100px; resize: vertical; }
.form-group select option { background: #fff; }
.btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 5px; padding: 14px; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.2s; margin-top: 0.5rem; box-shadow: 0 4px 18px rgba(0,119,204,0.22); }
.btn-submit:hover { background: var(--accent2); transform: translateY(-1px); }

/* ══════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════ */
.float-btns { position: fixed; bottom: 28px; right: 22px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.4rem; box-shadow: 0 4px 18px rgba(0,0,0,0.15); transition: transform 0.2s; position: relative; }
.float-btn:hover { transform: scale(1.1); }
.float-btn .tooltip { position: absolute; right: 64px; background: var(--text); color: #fff; padding: 6px 12px; border-radius: 5px; font-size: 0.78rem; white-space: nowrap; font-family: 'Rajdhani', sans-serif; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.float-btn:hover .tooltip { opacity: 1; }
.fb-whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,0.3); }
.fb-email    { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(0,119,204,0.3); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--text); padding: 2.6rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; }
.footer-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.footer-logo span { color: #6ec6ff; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; font-family: 'Rajdhani', sans-serif; }
.footer-links a:hover { color: #6ec6ff; }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; }
  .hero-left { flex: unset; width: 100%; padding: 30px 5%; }
  .hero-slideshow { width: 100%; flex: unset; height: 260px; border-radius: 0; margin-top: 0; }
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .stat-item { flex: 1 1 100%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
