/* ============================================================
   AURONIXX — Main Stylesheet
   auronixx.com | Auronixx Facility Private Limited
   ============================================================ */

:root {
  --red: #C5453A; --red-dark: #A33830; --red-muted: rgba(197,69,58,0.12);
  --black: #111111; --white: #FFFFFF;
  --gray-100: #F7F7F7; --gray-200: #EBEBEB;
  --gray-400: #AAAAAA; --gray-600: #666666; --gray-800: #333333;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--white); color: var(--black); overflow-x: hidden; }

/* ══════════════ NAV ══════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between;
  height: 70px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.09); }

.nav-logo a { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-800); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.6rem 1.5rem !important; border-radius: 5px !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important; font-size: 0.95rem !important;
  letter-spacing: 0.1em !important; text-transform: uppercase !important;
  border: 2px solid var(--red) !important;
  box-shadow: 0 3px 10px rgba(197,69,58,0.4) !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 999;
  background: var(--white); border-bottom: 2px solid var(--red);
  flex-direction: column; padding: 1.5rem 5%; gap: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray-800); text-decoration: none; padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu a:hover, .mobile-menu a.mob-cta { color: var(--red); }
.mobile-menu .mob-cta {
  background: var(--red); color: var(--white) !important;
  text-align: center; padding: 0.75rem; border-radius: 5px; border: none;
  margin-top: 0.5rem;
}

/* ══════════════ ANIMATIONS ══════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cardFloat  { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-10px); } }
@keyframes floatA     { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-7px);  } }
@keyframes floatB     { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(4px);   } }
@keyframes barGrow    { from { width: 0 !important; }  }
@keyframes ringPulse  { 0%,100% { opacity: 0.35; } 50% { opacity: 0.7; } }
@keyframes statusPulse{ 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); } }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

/* ══════════════ HERO ══════════════ */
.hero {
  min-height: 100vh; padding-top: 70px;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-left: 5%; padding-right: 0;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(197,69,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,69,58,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  z-index: 2; display: flex; flex-direction: column;
  justify-content: center; padding: 4rem 0;
}
.hero-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 1rem;
  letter-spacing: 0.12em; color: var(--red); margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.0;
  letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--black);
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .accent { color: var(--red); }
.hero-subtitle {
  margin-top: 1.5rem; font-size: clamp(1rem,2vw,1.2rem); font-weight: 300;
  color: var(--gray-600); max-width: 520px; line-height: 1.7; text-align: justify;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }
.hero-stat .num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(1.6rem,3vw,2.2rem); color: var(--black);
}
.hero-stat .label { font-size: 0.78rem; color: var(--gray-600); letter-spacing: 0.05em; margin-top: 0.1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; opacity: 0; animation: fadeUp 0.8s 1s forwards; }
.btn-primary {
  background: var(--red); color: var(--white); padding: 0.85rem 2rem;
  border-radius: 5px; text-decoration: none; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid var(--red); transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 15px rgba(197,69,58,0.35);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--black); padding: 0.85rem 2rem;
  border-radius: 5px; text-decoration: none; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid var(--gray-200); transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ── Hero Visual (right side) ── */
.hero-visual {
  z-index: 2; display: flex; align-items: center; justify-content: center;
  padding: 4rem; position: relative; overflow: hidden;
}
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(197,69,58,0.12); pointer-events: none;
}
.hero-ring-1 { width: 420px; height: 420px; }
.hero-ring-2 { width: 560px; height: 560px; animation: ringPulse 4s ease-in-out infinite; }
.hero-ring-3 { width: 680px; height: 680px; animation: ringPulse 4s ease-in-out 1s infinite; }
.hero-visual-inner { position: relative; width: 100%; max-width: 460px; }

/* Floating pills */
.hero-pill {
  position: absolute; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 100px; padding: 0.4rem 0.9rem; display: flex; align-items: center;
  gap: 0.5rem; font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 3;
}
.hero-pill-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hero-pill-1 { top: 2%; right: 0; animation: floatA 5s ease-in-out infinite; }
.hero-pill-2 { bottom: 18%; left: -4%; animation: floatB 5s ease-in-out infinite; }
.hero-pill-3 { top: 30%; right: -2%; animation: floatA 6s ease-in-out 1s infinite; }

/* Main dashboard card */
.hero-building {
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(197,69,58,0.12), 0 4px 20px rgba(0,0,0,0.06);
  padding: 1.4rem; border-top: 3px solid var(--red);
  animation: cardFloat 5s ease-in-out infinite;
  position: relative; z-index: 2;
}
.hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.hero-card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; }
.hero-card-badge {
  background: var(--red-muted); color: var(--red); font-size: 0.6rem;
  font-weight: 700; letter-spacing: 0.12em; padding: 0.2rem 0.6rem; border-radius: 100px;
}

/* Metrics */
.hero-metrics { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.2rem; }
.hero-metric-row { display: flex; align-items: center; gap: 0.5rem; }
.hero-metric-label { font-size: 0.72rem; color: var(--gray-600); width: 90px; flex-shrink: 0; }
.hero-metric-bar-wrap { flex: 1; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.hero-metric-bar { height: 100%; background: var(--red); border-radius: 3px; animation: barGrow 1.5s ease forwards; transform-origin: left; }
.hero-metric-val { font-size: 0.72rem; font-weight: 700; color: var(--black); width: 36px; text-align: right; flex-shrink: 0; }

/* Service icon grid */
.hero-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; margin-bottom: 0; }
.hero-svc {
  background: var(--gray-100); border-radius: 8px; padding: 0.6rem 0.4rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  transition: background 0.2s, transform 0.2s;
}
.hero-svc:hover { background: var(--red-muted); transform: translateY(-3px); }
.hero-svc svg { width: 22px; height: 22px; }
.hero-svc-label { font-size: 0.6rem; font-weight: 600; color: var(--gray-600); text-align: center; line-height: 1.2; }

/* ══════════════ SHARED SECTION STYLES ══════════════ */
section { padding: 6rem 5%; }
.section-label {
  font-family: 'Space Mono', monospace; font-size: 1rem;
  letter-spacing: 0.15em; color: var(--red); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(2rem,4vw,3rem); text-transform: uppercase;
  line-height: 1.1; color: var(--black);
}
.section-title .accent { color: var(--red); }
.divider-line { width: 3rem; height: 3px; background: var(--red); margin: 1.2rem 0 1.5rem; }

/* ══════════════ ABOUT ══════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.about-text p { font-size: 1.05rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1rem; text-align: justify; }
.about-visual-inner { background: var(--gray-100); border-radius: 12px; padding: 2rem; position: relative; }
.about-visual-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); border-radius: 12px 12px 0 0; }
.about-pillars { display: flex; flex-direction: column; }
.pillar { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-200); }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }
.pillar-icon {
  width: 40px; height: 40px; background: var(--red-muted);
  border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-text { color: var(--gray-600); font-size: 0.93rem; line-height: 1.6; text-align: justify; }
.pillar-text strong { display: block; color: var(--black); font-weight: 700; margin-bottom: 0.2rem; font-size: 0.97rem; }

/* ══════════════ SERVICES ══════════════ */
#services { background: var(--gray-100); }
.services-intro { max-width: 600px; margin: 0 auto 3.5rem; text-align: center; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: 10px; padding: 2rem;
  border: 1px solid var(--gray-200); transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column; align-items: flex-start;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(197,69,58,0.12); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; background: var(--red-muted); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--red-muted); }
.service-icon svg { width: 26px; height: 26px; }
.service-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--black); margin-bottom: 0.75rem;
}
.service-desc { font-size: 1.025rem; color: var(--gray-600); line-height: 1.7; text-align: justify; }

/* ══════════════ CLIENTS ══════════════ */
#clients { background: var(--white); border-top: 1px solid var(--gray-200); }
.clients-subtitle { color: var(--gray-600); font-size: 1rem; max-width: 650px; margin-bottom: 3rem; text-align: justify; }
.clients-marquee-wrap {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.clients-marquee { display: flex; gap: 2rem; width: max-content; animation: marqueeScroll 28s linear infinite; }
.clients-marquee:hover { animation-play-state: paused; }
.client-logo-box {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
  width: 160px; height: 90px; display: flex; align-items: center; justify-content: center;
  padding: 0.8rem; flex-shrink: 0; transition: box-shadow 0.2s;
}
.client-logo-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.client-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(30%); transition: filter 0.3s; }
.client-logo-box:hover img { filter: grayscale(0%); }

/* ══════════════ ENQUIRY ══════════════ */
#enquiry { background: var(--gray-100); }
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px; background: var(--red-muted); border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 2; }
.contact-detail { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; text-align: justify; }
.contact-detail strong { display: block; color: var(--black); font-weight: 700; margin-bottom: 0.2rem; }
.contact-detail a { color: var(--red); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }
.enquiry-form { background: var(--white); border-radius: 8px; padding: 2.5rem; box-shadow: 0 8px 40px rgba(0,0,0,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--gray-800); margin-bottom: 0.4rem; letter-spacing: 0.03em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--gray-200); border-radius: 6px; padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif; font-size: 0.95rem; color: var(--black);
  background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit {
  background: var(--red); color: var(--white); border: none; border-radius: 6px;
  padding: 0.9rem 2.5rem; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.form-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 0.8rem; text-align: center; }
.form-success {
  display: none; background: #d1fae5; color: #065f46;
  border: 1px solid #a7f3d0; border-radius: 6px; padding: 1rem;
  margin-top: 1rem; font-weight: 600; text-align: center;
}

/* ══════════════ FOOTER ══════════════ */
footer { background: var(--black); padding: 4rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--gray-400); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-col p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.4rem; text-align: justify; }
.footer-col p a { color: var(--red); text-decoration: none; }
.footer-col p a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: center; }
.footer-bottom p { color: var(--gray-400); font-size: 0.85rem; text-align: center; }

/* ══════════════ WHATSAPP FLOAT ══════════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ══════════════ MODAL ══════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: 12px; padding: 2.5rem;
  max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-box h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.8rem; text-transform: uppercase; color: var(--black); margin-bottom: 0.3rem; }
.modal-box h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; color: var(--black); margin: 1.5rem 0 0.5rem; }
.modal-box p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 0.8rem; text-align: justify; }
.modal-box ul { padding-left: 1.2rem; margin-bottom: 0.8rem; }
.modal-box ul li { font-size: 0.92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 0.3rem; }
.modal-box a { color: var(--red); }
.modal-box hr { border: none; border-top: 1px solid var(--gray-200); margin: 1rem 0; }
.modal-date { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--gray-100); border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; color: var(--black);
}
.modal-close:hover { background: var(--gray-200); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding-right: 5%; }
  .hero-visual { display: none; }
  .hero-content { padding: 4rem 0 3rem; }
  .about-grid, .enquiry-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
