/* ============================================================
   SAHAJ SURGICAL — Stylesheet
   Palette: deep blue #1E4E9C · red #D53B3B · light #F7F9FC
   ============================================================ */
:root {
  --blue: #1e4e9c;
  --blue-dark: #143767;
  --blue-deep: #0d2547;
  --red: #d53b3b;
  --red-dark: #b52f2f;
  --bg: #f7f9fc;
  --white: #ffffff;
  --ink: #1c2734;
  --muted: #5b6b7c;
  --line: #e3e9f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 55, 103, 0.10);
  --shadow-lg: 0 22px 50px rgba(20, 55, 103, 0.16);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
.container { width: min(1180px, 92%); margin-inline: auto; }
.center { text-align: center; margin-top: 44px; }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-family: var(--font-head);
  padding: 12px 22px; border-radius: 999px; font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(213, 59, 59, 0.35); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 14px 30px rgba(213, 59, 59, 0.45); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(30, 78, 156, 0.30); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Reveal-on-scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; } .d6 { transition-delay: 0.48s; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0; transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(20,55,103,0.10); padding: 8px 0; }
.nav-inner { display: flex; align-items: center; gap: 26px; }
.nav-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav-brand img { width: 44px; height: 44px; transition: transform 0.4s ease; }
.nav-brand:hover img { transform: rotate(12deg) scale(1.06); }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--blue); letter-spacing: 0.04em; }
.brand-text em { font-style: normal; color: var(--red); font-weight: 700; margin-left: 4px; letter-spacing: 0.14em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 13px; font-weight: 500; font-size: 0.93rem; color: var(--ink); border-radius: 8px; position: relative; transition: color 0.25s; }
.nav-links a::after {
  content: ''; position: absolute; left: 13px; right: 100%; bottom: 4px; height: 2px;
  background: var(--red); border-radius: 2px; transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { right: 13px; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, #f9fbff 0%, #eef3fb 55%, #e6eef9 100%);
  overflow: hidden; padding: 120px 0 70px;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-rings i {
  position: absolute; border: 1.5px solid rgba(30, 78, 156, 0.10); border-radius: 50%;
  animation: ringPulse 9s ease-in-out infinite;
}
.hero-rings i:nth-child(1) { width: 46vmax; height: 46vmax; right: -12vmax; top: -14vmax; }
.hero-rings i:nth-child(2) { width: 34vmax; height: 34vmax; right: -6vmax; top: -6vmax; animation-delay: 3s; }
.hero-rings i:nth-child(3) { width: 26vmax; height: 26vmax; left: -10vmax; bottom: -12vmax; animation-delay: 1.5s; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 1; } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; }
.hero-badge {
  display: inline-block; background: rgba(30,78,156,0.08); border: 1px solid rgba(30,78,156,0.18);
  color: var(--blue); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; text-transform: uppercase;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; color: var(--blue-deep); margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(92deg, var(--blue) 20%, var(--red) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 560px; color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--blue); }
.stat span { font-size: 0.86rem; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; }
.hero-logo-float {
  width: min(300px, 60vw); filter: drop-shadow(0 30px 50px rgba(20,55,103,0.25));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(30,78,156,0.4); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--blue); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Brands marquee ---------- */
.brands-strip { background: var(--white); padding: 42px 0 48px; border-block: 1px solid var(--line); }
.strip-title { text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--muted); font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-chip {
  flex: none; padding: 10px 22px; border-radius: 999px; background: var(--bg);
  border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600;
  font-size: 0.92rem; color: var(--blue-dark); white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.brand-chip:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-tag {
  display: inline-block; color: var(--red); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--blue-deep); position: relative; display: inline-block; padding-bottom: 14px; }
.sec-head h2::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) scaleX(0);
  width: 64px; height: 4px; border-radius: 4px; background: var(--red);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s; transform-origin: center;
}
.sec-head.in h2::after, .reveal.in h2::after { transform: translateX(-50%) scaleX(1); }
.sec-lead { color: var(--muted); margin-top: 14px; font-size: 1.04rem; }
.sec-head.light h2 { color: #fff; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text { color: var(--muted); font-size: 1.06rem; line-height: 1.85; }
.about-points { display: grid; gap: 18px; }
.point-card {
  display: flex; gap: 18px; align-items: flex-start; background: var(--bg);
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.point-card:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: rgba(30,78,156,0.3); }
.point-icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.point-icon svg { width: 26px; height: 26px; }
.point-card h3 { font-size: 1.04rem; color: var(--blue-deep); margin-bottom: 4px; }
.point-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Product categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--red));
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease;
}
.cat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(30,78,156,0.10), rgba(213,59,59,0.08));
  color: var(--blue); display: grid; place-items: center;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}
.cat-icon svg { width: 30px; height: 30px; }
.cat-card:hover .cat-icon { background: var(--blue); color: #fff; transform: scale(1.08) rotate(-4deg); }
.cat-card h3 { font-size: 1.06rem; color: var(--blue-deep); margin-bottom: 14px; min-height: 2.4em; }
.cat-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-brands span {
  font-size: 0.74rem; font-weight: 600; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

/* ---------- Industries ---------- */
.industries { background: var(--white); }
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ind-item {
  text-align: center; padding: 28px 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ind-item:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow); }
.ind-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: rgba(213,59,59,0.09); color: var(--red); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.ind-icon svg { width: 26px; height: 26px; }
.ind-item:hover .ind-icon { background: var(--red); color: #fff; }
.ind-item span { font-weight: 600; font-size: 0.92rem; color: var(--blue-deep); }

/* ---------- Why us ---------- */
.why { background: linear-gradient(180deg, var(--bg), #eef3fb); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); transition: transform 0.35s, box-shadow 0.35s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem;
  background: linear-gradient(135deg, rgba(30,78,156,0.22), rgba(213,59,59,0.22));
  -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px;
}
.why-card h3 { font-size: 1.05rem; color: var(--blue-deep); margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.92rem; }
.motto {
  text-align: center; margin-top: 56px; font-family: var(--font-head);
  font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--blue);
  letter-spacing: 0.14em;
}

/* ---------- Parallax band ---------- */
.plx-band {
  position: relative; overflow: hidden;
  padding: 130px 0; text-align: center;
  /* fallback if the image never loads */
  background: linear-gradient(160deg, var(--blue-dark), var(--blue-deep));
}
.plx-bg {
  position: absolute; left: 0; right: 0;
  top: -18%; height: 136%;           /* oversized so it can slide */
  background-size: cover; background-position: center;
  will-change: transform;
}
.plx-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(13, 37, 71, 0.88), rgba(20, 55, 103, 0.72) 55%, rgba(13, 37, 71, 0.90));
}
.plx-content { position: relative; z-index: 2; max-width: 760px; }
.plx-content h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.plx-text { color: #c9d8ee; font-size: 1.06rem; max-width: 40em; margin: 0 auto 32px; }

/* ---------- Areas ---------- */
.areas { padding: 64px 0; background: var(--blue-deep); }
.areas-title { color: #fff; text-align: center; font-size: 1.4rem; margin-bottom: 24px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chips span {
  color: #cfe0f7; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  padding: 7px 18px; font-size: 0.88rem; font-weight: 500; transition: background 0.3s, color 0.3s, transform 0.3s;
}
.area-chips span:hover { background: #fff; color: var(--blue-deep); transform: translateY(-3px); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow 0.3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(30,78,156,0.3); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--blue-deep); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: var(--red); border-radius: 2px; transition: transform 0.3s; }
.faq-plus::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-plus::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(165deg, var(--blue-dark), var(--blue-deep) 70%); }
.contact .sec-tag { color: #ff9c9c; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card {
  display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 18px 20px;
  transition: background 0.3s, transform 0.3s;
}
.c-card:hover { background: rgba(255,255,255,0.12); transform: translateX(6px); }
.c-card svg { width: 26px; height: 26px; fill: #fff; flex: none; opacity: 0.9; }
.c-card strong { display: block; color: #fff; font-family: var(--font-head); font-size: 0.98rem; }
.c-card span { color: #b9cbe6; font-size: 0.88rem; word-break: break-word; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,0.12); }
.map-wrap iframe { width: 100%; height: 430px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); border-top: 1px solid rgba(255,255,255,0.10); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); letter-spacing: 0.08em; }
.footer-brand p { color: #8fa7c8; font-size: 0.85rem; }
.copy { color: #6f89ad; font-size: 0.82rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 2; }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: waPulse 2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; right: 4%; left: 4%;
    background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); flex-direction: column; padding: 14px;
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 12px 16px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .plx-band { padding: 90px 0; }
  .map-wrap iframe { height: 320px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
