/* ============ Valve Tech India — Global Styles ============ */
:root {
  --blue: #1657a7;
  --blue-dark: #0d3b7a;
  --blue-deep: #082b5c;
  --blue-light: #e8f0fb;
  --grey: #58595b;
  --grey-light: #f4f6f9;
  --grey-border: #e2e6ec;
  --text: #26303b;
  --text-muted: #5b6672;
  --white: #ffffff;
  --accent: #f5a623;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(13, 59, 122, 0.08);
  --shadow-hover: 0 10px 28px rgba(13, 59, 122, 0.16);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--blue-deep); }

/* ============ Top bar ============ */
.topbar {
  background: var(--blue-deep);
  color: #cdd9ea;
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; }
.topbar a { color: #fff; font-weight: 500; }
.topbar span { white-space: nowrap; }

/* ============ Header / Nav ============ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}
.brand-text small {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  display: block;
  padding: 9px 15px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); }
.main-nav a.active { color: var(--blue); background: var(--blue-light); font-weight: 600; }
.main-nav a.nav-cta {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-deep);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 70px 0 80px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}
.hero h1 .accent { color: #8db8ef; }
.hero p.lead { font-size: 1.08rem; color: #d4e0f0; max-width: 560px; margin-bottom: 28px; }
.hero .tagline {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-img { text-align: center; }
.hero-slider {
  position: relative;
  height: 430px;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}
.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slider .slide img {
  max-height: 360px;
  max-width: 100%;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}
.hero-slider .slide figcaption {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 18px;
  border-radius: 30px;
  letter-spacing: 0.03em;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.hero-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dots span.active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
}
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #26303b; }
.btn-primary:hover { background: #ffb63d; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); margin-left: 12px; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ============ Stats strip ============ */
.stats-strip { background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); position: relative; margin-top: -38px; z-index: 5; }
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 26px 0;
  gap: 12px;
}
.stat h3 { font-size: 1.9rem; color: var(--blue); }
.stat p { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }

/* ============ Sections ============ */
.section { padding: 72px 0; }
.section.alt { background: var(--grey-light); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-head .eyebrow {
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 12px; }
.section-head p { color: var(--text-muted); }

/* ============ Cards ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #c6d6ee; }
.card .icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--text-muted); }
.card a.more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; }

/* ============ Check lists ============ */
.check-list { columns: 2; gap: 30px; }
.check-list li {
  padding: 6px 0 6px 30px;
  position: relative;
  break-inside: avoid;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 18px; height: 18px;
  background: var(--blue-light);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 15px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

/* ============ Service detail blocks ============ */
.service-block {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.service-block h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--blue-dark); }
.service-block > p { color: var(--text-muted); margin-bottom: 18px; }
.service-block h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 10px; }

/* ============ Client / industry chips ============ */
.chip-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.chip small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-band p { color: #d4e0f0; margin-bottom: 26px; }

/* ============ Page hero (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark));
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.page-hero p { color: #c9d8ec; max-width: 640px; margin: 10px auto 0; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item .icon {
  flex: 0 0 44px; height: 44px;
  background: var(--blue-light); color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 0.93rem; color: var(--text-muted); }
.contact-item a { color: var(--blue); font-weight: 500; }
.reg-info {
  background: var(--grey-light);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.reg-info strong { color: var(--text); }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 87, 167, 0.14);
}
form textarea { resize: vertical; min-height: 120px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 46px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ============ Footer ============ */
.site-footer { background: var(--blue-deep); color: #b9c8dd; font-size: 0.92rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 0 40px;
}
.footer-main h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-main a { color: #b9c8dd; display: inline-block; padding: 3px 0; }
.footer-main a:hover { color: #fff; }
.footer-logo { background: #fff; border-radius: 8px; padding: 10px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 54px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #8fa3bf;
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; padding: 50px 0 64px; }
  .hero p.lead { margin: 0 auto 28px; }
  .hero-slider { height: 320px; }
  .hero-slider .slide img { max-height: 250px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 5%; align-items: stretch; gap: 2px; }
  .main-nav a.nav-cta { margin: 8px 0 4px; text-align: center; }
  .check-list { columns: 1; }
  .card-grid { grid-template-columns: 1fr; }
  .brand img { height: 50px; }
  .topbar .container { justify-content: center; }
  .topbar .topbar-right { display: none; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  .footer-main { grid-template-columns: 1fr; padding: 42px 0 28px; }
  .service-block { padding: 24px 20px; }
}
