/* ═══════════════════════════════════════════════════
   CENTRAL SURGICAL CONCERN PVT. LTD. — Shared Styles
   ═══════════════════════════════════════════════════ */

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

:root {
  --blue:       #1a4f8a;
  --blue-dark:  #0f3060;
  --blue-light: #2d72c8;
  --accent:     #e8f2ff;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --t:          0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-800); background: var(--white); }
img  { display: block; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 72px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-svg { width: 44px; height: 44px; flex-shrink: 0; }
.nav-name { display: flex; flex-direction: column; line-height: 1; }
.nav-name .n1 { font-size: 17px; font-weight: 800; color: var(--blue-dark); }
.nav-name .n2 { font-size: 12px; color: var(--gray-600); margin-top: 3px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: 14px; font-weight: 500; transition: color var(--t);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta {
  background: var(--blue); color: white; padding: 10px 22px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background var(--t); white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; }
.hamburger span { width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: var(--t); display: block; }
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: white; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 20px 5%;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 12px 0; font-size: 16px; font-weight: 500;
  color: var(--gray-800); text-decoration: none; border-bottom: 1px solid var(--gray-100);
  transition: color var(--t);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--blue); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: 64px 5%; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; bottom: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: white; line-height: 1.2; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 540px; line-height: 1.7; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--blue-dark); padding: 20px 5%; }
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); }
.trust-item i { font-size: 18px; color: #93c5fd; }
.trust-item span { font-size: 13px; font-weight: 500; }

/* ── SECTIONS ── */
.section { padding: 88px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: var(--accent); color: var(--blue);
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--gray-800); line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--gray-600); line-height: 1.75; margin-top: 12px; max-width: 580px; }
.section-header { margin-bottom: 52px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all var(--t); cursor: pointer; border: none;
  font-family: inherit;
}
.btn-blue  { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline-blue { border: 2px solid var(--blue); color: var(--blue); background: transparent; }
.btn-outline-blue:hover { background: var(--blue); color: white; }
.btn-white { background: white; color: var(--blue-dark); }
.btn-white:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.2); transform: translateY(-1px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.6); color: white; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── CARDS ── */
.card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 16px; overflow: hidden; transition: all var(--t);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,79,138,0.12); border-color: transparent; }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }

/* ── HIGHLIGHTS ── */
.highlight {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: white; border-radius: 12px;
  border: 1px solid var(--gray-200); transition: box-shadow var(--t);
}
.highlight:hover { box-shadow: 0 4px 16px rgba(26,79,138,0.08); }
.highlight i { color: var(--blue); font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.highlight h4 { font-size: 13px; font-weight: 700; color: var(--gray-800); }
.highlight p  { font-size: 12px; color: var(--gray-600); margin-top: 3px; line-height: 1.5; }

/* ── TAGS ── */
.tag {
  display: inline-block; background: var(--accent); color: var(--blue);
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
}

/* ── ICON BOX ── */
.icon-box {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.icon-box-blue   { background: var(--blue); color: white; }
.icon-box-accent { background: var(--accent); color: var(--blue); }
.icon-box-sm { width: 40px; height: 40px; border-radius: 10px; font-size: 17px; }

/* ── VISUAL BANNER ── */
.visual-banner { position: relative; height: 400px; overflow: hidden; }
.visual-banner img { width: 100%; height: 100%; object-fit: cover; }
.visual-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,30,65,0.90) 0%, rgba(10,30,65,0.35) 100%);
  display: flex; align-items: center; padding: 0 10%;
}
.banner-content { color: white; max-width: 540px; }
.banner-content h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.banner-content p  { font-size: 16px; opacity: 0.82; line-height: 1.7; margin-bottom: 28px; }
.banner-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.banner-stat .n { font-size: 34px; font-weight: 800; color: #93c5fd; line-height: 1; }
.banner-stat .l { font-size: 12px; opacity: 0.68; margin-top: 4px; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--blue); padding: 72px 5%; text-align: center; color: white;
}
.cta-strip h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-strip p  { font-size: 16px; opacity: 0.82; margin-bottom: 32px; }
.cta-strip .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--gray-800); color: rgba(255,255,255,0.75); padding: 60px 5% 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .n1 { font-size: 14px; font-weight: 800; color: white; }
.footer-logo .n2 { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.footer-brand p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.5); max-width: 300px; }
.footer-col h4 { font-size: 11px; font-weight: 700; color: white; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.2px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color var(--t); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.38); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 15px; text-decoration: none;
  transition: all var(--t);
}
.footer-social a:hover { background: var(--blue); color: white; }

/* ── WHATSAPP POPUP ── */
.wa-popup {
  position: fixed; bottom: 110px; right: 28px; z-index: 1100;
  background: white; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2); max-width: 250px;
  display: none;
}
.wa-popup.show { display: block; animation: popIn 0.3s ease; }
.wa-popup-close {
  position: absolute; top: 8px; right: 10px;
  font-size: 14px; color: var(--gray-600); cursor: pointer;
  background: none; border: none; line-height: 1;
}
.wa-popup-close:hover { color: var(--gray-800); }
.wa-popup-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wa-popup-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; flex-shrink: 0;
}
.wa-popup-name { font-size: 13px; font-weight: 700; color: var(--gray-800); }
.wa-popup-status { font-size: 11px; color: #25D366; }
.wa-popup-msg {
  background: #f0fdf4; border-radius: 0 10px 10px 10px;
  padding: 10px 12px; font-size: 13px; color: var(--gray-800); line-height: 1.5;
  margin-bottom: 10px;
}
.wa-popup-cta {
  display: block; text-align: center; background: #25D366; color: white;
  padding: 9px; border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background var(--t);
}
.wa-popup-cta:hover { background: #1da851; }

/* ── FLOATING BUTTONS ── */
.float-contact { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: white; text-decoration: none;
  transition: transform var(--t), box-shadow var(--t); position: relative;
}
.float-btn.call  { background: var(--blue);   box-shadow: 0 4px 18px rgba(26,79,138,0.4); }
.float-btn.email { background: #e05c2a;        box-shadow: 0 4px 18px rgba(224,92,42,0.35); }
.float-btn.whatsapp { background: #25D366; box-shadow: 0 4px 18px rgba(37,211,102,0.4); }
.float-btn.whatsapp::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 13px; height: 13px;
  background: #4ade80;
  border: 2px solid white;
  border-radius: 50%;
  animation: wa-pulse 1.8s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}
.float-btn:hover { transform: scale(1.1); }
.float-tooltip {
  position: absolute; right: 62px; white-space: nowrap;
  background: var(--gray-800); color: white; font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 6px; opacity: 0; pointer-events: none;
  transition: opacity var(--t); font-family: 'Inter', sans-serif;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--gray-600); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200); border-radius: 10px;
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--gray-800);
  background: white; transition: border-color var(--t), box-shadow var(--t); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,138,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr;            gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr);     gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr);     gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .visual-banner-overlay { padding: 0 6%; }
}
@media (max-width: 640px) {
  .section { padding: 60px 5%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .banner-stats { gap: 24px; }

  /* Mobile text alignment */
  .section-header { text-align: center; }
  .section-sub { margin: 12px auto 0; }
  .page-hero { text-align: center; }
  .page-hero p { margin: 12px auto 0; }
  .trust-bar-inner { justify-content: center; }
  .trust-item { justify-content: center; }
  .cta-strip .btn-row { flex-direction: column; align-items: center; }
  .cta-strip .btn-row .btn { width: 100%; max-width: 300px; justify-content: center; }
  .btn-row { flex-wrap: wrap; justify-content: center; }
  .footer-grid { text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-brand p { margin: 0 auto; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-social { justify-content: center; }
  .visual-banner { height: auto; min-height: 320px; }
  .visual-banner-overlay { padding: 40px 6%; justify-content: center; text-align: center; }
  .banner-content { text-align: center; }
  .banner-stats { justify-content: center; }
}
