/* ===========================================================
   Simplex Industries (Mittal Udyog) — stylesheet
   Colour tone matched to the reference Simplex Roadmap build:
   navy/charcoal base, signal-blue primary accent, teal micro-accent
   =========================================================== */

:root {
  --color-bg: #1A202C;
  --color-bg-alt: #2D3748;
  --color-bg-soft: #232B3A;
  --color-bg-card: #26303F;
  --color-primary: #00AEEF;
  --color-primary-dark: #0090C7;
  --color-primary-soft: rgba(0, 174, 239, 0.12);
  --color-teal: #00FFDD;
  --color-text: #F7FAFC;
  --color-text-muted: #E2E8F0;
  --color-text-dim: rgba(226, 232, 240, 0.68);
  --color-white: #FFFFFF;
  --color-border: rgba(226, 232, 240, 0.12);
  --color-whatsapp: #25D366;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.15;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 10px var(--color-teal);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--color-text-dim); font-size: 1.05rem; }

section { position: relative; }

.section-pad { padding: 100px 0; }

.bg-alt { background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-primary);
  color: #071018;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 500;
  background: rgba(26, 32, 44, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease;
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #071018;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.08rem; color: var(--color-text); font-weight: 700; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.7rem; color: var(--color-text-dim); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a.active { color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.whatsapp:hover { background: var(--color-whatsapp); border-color: var(--color-whatsapp); color: #fff; }
.icon-btn.mail:hover { background: var(--color-primary); border-color: var(--color-primary); color: #071018; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 90px;
  background:
    linear-gradient(135deg, rgba(26,32,44,0.94), rgba(45,55,72,0.90) 55%, rgba(26,32,44,0.96)),
    url('assets/images/hero-automation.webp') center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(0,174,239,0.18), transparent 45%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--color-primary); }

.hero p.lead {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-text);
}
.hero-stats div span {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Interactive showcase (image rotator, standing in for the 3D canvas) --- */

.showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
  cursor: grab;
  user-select: none;
}
.showcase:active { cursor: grabbing; }

.showcase-hint {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 5;
  background: rgba(26, 32, 44, 0.8);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  padding: 7px 12px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(4px);
}

.showcase-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.showcase-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.showcase-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(247, 250, 252, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.showcase-dots button.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: 5px;
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(26, 32, 44, 0.7);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}
.showcase-arrow:hover { background: var(--color-primary); color: #071018; }
.showcase-arrow.prev { left: 14px; }
.showcase-arrow.next { right: 14px; }

/* ---------- Roadmap ---------- */

.roadmap-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.roadmap-line::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-teal), var(--color-primary));
  opacity: 0.35;
}

.roadmap-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.roadmap-card:hover { transform: translateY(-6px); border-color: rgba(0,174,239,0.4); }

.roadmap-num {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  margin: 26px 0 0 26px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.roadmap-media { height: 170px; overflow: hidden; margin-top: 20px; }
.roadmap-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.roadmap-card:hover .roadmap-media img { transform: scale(1.06); }

.roadmap-body { padding: 26px; }
.roadmap-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.roadmap-body p { font-size: 0.92rem; color: var(--color-text-dim); margin-bottom: 16px; }

.roadmap-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-teal);
}
.roadmap-duration::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 8px var(--color-teal);
}

/* ---------- Applications ---------- */

.applications-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.applications-banner img { width: 100%; height: auto; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.app-card {
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.app-card:hover { transform: translateY(-6px); border-color: rgba(0,174,239,0.4); }

.app-card.has-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.app-media { height: 170px; overflow: hidden; flex-shrink: 0; }
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.app-card:hover .app-media img { transform: scale(1.06); }
.app-body { padding: 26px; }

.app-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.app-icon svg { width: 26px; height: 26px; }

.app-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.app-card p { font-size: 0.92rem; color: var(--color-text-dim); }

/* ---------- Technical Excellence ---------- */

.excellence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.excellence-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.excellence-card:hover { transform: translateY(-6px); border-color: rgba(0,174,239,0.4); }

.excellence-media { height: 190px; overflow: hidden; }
.excellence-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.excellence-card:hover .excellence-media img { transform: scale(1.06); }

.excellence-body { padding: 26px; }
.excellence-body .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.excellence-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.excellence-body p { font-size: 0.9rem; color: var(--color-text-dim); }

/* ---------- Leadership ---------- */

.leadership {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
}

.leadership.leadership-single {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}

.leader-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.leader-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  color: #071018;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 2.5px;
}
.leader-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  border: 2px solid var(--color-bg-card);
}

.leader-info h3 { font-size: 1.08rem; margin-bottom: 4px; }
.leader-info span { font-size: 0.82rem; color: var(--color-primary); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.contact-info-card p.muted { color: var(--color-text-dim); font-size: 0.95rem; margin-bottom: 28px; }

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}
.contact-row:first-of-type { border-top: none; }

.contact-row .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row .ic svg { width: 18px; height: 18px; }

.contact-row strong { display: block; font-size: 0.78rem; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.contact-row a, .contact-row span.val { color: var(--color-text); font-weight: 500; font-size: 0.96rem; }
.contact-row a:hover { color: var(--color-primary); }

.contact-actions { display: flex; gap: 12px; margin-top: 26px; }
.contact-actions .btn { flex: 1; }

.quote-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.quote-form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.quote-form > p { color: var(--color-text-dim); font-size: 0.93rem; margin-bottom: 26px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-grid.full { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--color-text-muted); }
.field label .req { color: var(--color-primary); }

.field input, .field select, .field textarea {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2300AEEF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }

.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--color-text-dim); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 255, 221, 0.1);
  border: 1px solid rgba(0, 255, 221, 0.35);
  color: var(--color-teal);
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand p { color: var(--color-text-dim); font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }

.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--color-text-dim); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}
.footer-bottom a:hover { color: var(--color-primary); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- Floating quick contact ---------- */

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
  color: #fff;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 25px; height: 25px; }
.fab.whatsapp { background: var(--color-whatsapp); }
.fab.mail { background: var(--color-primary); color: #071018; }

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */

.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 490;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { padding: 12px 4px; font-weight: 500; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); }
.mobile-nav a:last-of-type { border-bottom: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .showcase { max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .roadmap-line, .app-grid, .excellence-grid { grid-template-columns: 1fr; }
  .roadmap-line::before { display: none; }
  .leadership { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section-pad { padding: 70px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 22px; }
  .icon-btn { display: none; }
  .contact-actions { flex-direction: column; }
}
