/* ===========================
   SmartScopy – Global Styles
   Theme: Forest Green / Sage
   Fonts: Inter + Playfair Display
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-accent: #3a8a4a;
  --green-dark: #2a5c36;
  --green-deeper: #183d22;
  --green-light-bg: #edf7ef;
  --green-card-bg: #f9fdf9;
  --green-border: #4A7A52;
  --green-hover: #50a862;
  --body-color: #3a4e40;
  --heading-color: #1e3326;
  --shape-bg: #e2f0e5;
  --white: #ffffff;
  --off-white: #f5faf6;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --shadow-card: 0 4px 24px rgba(43, 90, 55, 0.10);
  --shadow-hover: 0 12px 40px rgba(43, 90, 55, 0.20);
  --radius: 0.85rem;
  --radius-lg: 1.4rem;
  --transition: 0.28s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--body-color);
  background: var(--green-light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

p {
  text-align: justify;
}

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.relative {
  position: relative;
}

/* ── Links ── */
a {
  color: inherit;
  text-decoration: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75em 1.8em;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--green-accent);
  color: #fff;
  border: 2px solid var(--green-accent);
  box-shadow: 0 4px 14px rgba(58, 138, 74, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 138, 74, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green-accent);
  border: 2px solid var(--green-accent);
}

.btn-outline:hover {
  background: var(--green-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-nav {
  background: var(--green-accent);
  color: #fff !important;
  /* Forces white text even when parent styles change */
  padding: 0.45em 1.2em;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-nav:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 92, 54, 0.2);
}

.full-width {
  width: 100%;
}

/* ━━━━━━━━━━━━━━━━━━━
   NAVBAR
━━━━━━━━━━━━━━━━━━━ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(249, 253, 249, 0.96);
  border-bottom: 1px solid rgba(74, 122, 82, 0.12);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 28px rgba(43, 92, 54, 0.14);
}

.nav-inner {
  max-width: 1160px;

  padding: 0 2rem;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--body-color);
  font-size: 0.9rem;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--green-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--body-color);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.82);
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240, 252, 242, 0.88) 0%, rgba(220, 245, 225, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.hero-logo img {
  height: 100px;
  width: auto;
  max-width: 380px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(43, 80, 51, 0.22));
  animation: heroFadeDown 0.9s ease both;
}

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--body-color);
  max-width: 700px;
  font-weight: 400;
  line-height: 1.75;
  animation: heroFadeUp 0.9s 0.2s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 0.9s 0.4s ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ━━━━━━━━━━━━━━━━━━━
   SECTIONS
━━━━━━━━━━━━━━━━━━━ */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-light {
  background: var(--green-card-bg);
}

.section-green-light {
  background: var(--green-light-bg);
}

.section-green-dark {
  background: linear-gradient(135deg, var(--green-deeper) 0%, var(--green-dark) 100%);
  color: var(--white);
}

.section-bg {
  background-size: cover;
  background-position: center;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 252, 247, 0.93);
  z-index: 0;
}

.section-bg>.relative,
.section-bg>.container {
  position: relative;
  z-index: 1;
}

/* Headings */
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.22;
  margin-bottom: 2.75rem;
}

.section-heading.light {
  color: #fff;
}

.section-heading.text-center {
  text-align: center;
}

.sub-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.65rem;
}

.sub-heading.mt,
.section-heading.mt {
  margin-top: 2.2rem;
}

.label-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #c8eecf;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3em 1em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* Body text helpers */
.body-light {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.75;
}

.mt {
  margin-top: 1.5rem;
}

.mt-sm {
  margin-top: 1rem;
}

.small {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.two-col.align-center {
  align-items: center;
}

.gap-lg {
  gap: 3rem;
}

.gap-xl {
  gap: 4.5rem;
}

.col-text,
.col-img {
  min-width: 0;
}

.col-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* ── Three Column ── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid rgba(74, 122, 82, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-hover));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shape-bg);
  border-radius: 0.75rem;
}

.card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--body-color);
  line-height: 1.7;
}

/* ── Images ── */
.rounded-img {
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.why-choose-img {
  min-height: 480px;
  object-fit: cover;
}

/* ━━━━━━━━━━━━━━━━━━━
   Feature List (Tech Capabilities)
━━━━━━━━━━━━━━━━━━━ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 122, 82, 0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 1.4rem;
  min-width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shape-bg);
  border-radius: 0.6rem;
  flex-shrink: 0;
}

.feature-icon.accent {
  background: linear-gradient(135deg, var(--shape-bg), #c8eecf);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--heading-color);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.86rem;
  color: var(--body-color);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━
   TECH CAPABILITIES GRID
━━━━━━━━━━━━━━━━━━━ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 0;
  height: 100%;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 122, 82, 0.14);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-hover));
  transition: width 0.35s ease;
}

.tech-card:hover::after {
  width: 100%;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.tech-card-icon {
  font-size: 2rem;
  width: 54px;
  height: 54px;
  min-width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--shape-bg);
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.tech-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  margin-bottom: 0.3rem;
}

.tech-card p {
  font-size: 0.86rem;
  color: var(--body-color);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━
   CAPABILITIES IMAGE SHOWCASE
━━━━━━━━━━━━━━━━━━━ */
.capabilities-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.capabilities-layout .anim-left {
  height: 100%;
}

.capabilities-img-wrap {
  position: relative;
}

.capabilities-img-wrap img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  display: block;
  object-fit: cover;
}

.capabilities-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 2px dashed rgba(58, 138, 74, 0.25);
  pointer-events: none;
  animation: rotateBorder 20s linear infinite;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ━━━━━━━━━━━━━━━━━━━
   PERSONALISED SURGICAL SECTION
━━━━━━━━━━━━━━━━━━━ */
.surgical-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.surgical-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.surgical-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.surgical-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  display: block;
  transition: transform 0.5s ease;
}

.surgical-img-wrap:hover img {
  transform: scale(1.03);
}

/* ━━━━━━━━━━━━━━━━━━━
   Benefit Cards
━━━━━━━━━━━━━━━━━━━ */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 122, 82, 0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.benefit-card-icon-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-accent));
  padding: 1.8rem 1.5rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-card-icon-header .big-icon {
  font-size: 2.4rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.benefit-card-icon-header h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.benefit-card img.benefit-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.benefit-body {
  padding: 1.5rem 1.5rem 1.8rem;
}

.benefit-body p {
  font-size: 0.9rem;
  color: var(--body-color);
  line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━━
   CLINICAL IMPACT
━━━━━━━━━━━━━━━━━━━ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.impact-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 122, 82, 0.14);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.impact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.impact-icon {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
  display: block;
}

.reduced-strain-showcase {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.reduced-strain-showcase img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.reduced-strain-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(26, 61, 34, 0.92) 0%, transparent 100%);
  padding: 1.5rem 2rem;
  color: #fff;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.reduced-strain-caption .caption-icon {
  font-size: 2rem;
}

.reduced-strain-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.reduced-strain-caption p {
  font-size: 0.88rem;
  opacity: 0.88;
}

.impact-item h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--heading-color);
  margin-bottom: 0.4rem;
}

.impact-item p {
  font-size: 0.84rem;
  color: var(--body-color);
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-box {
  background: var(--white);
  border-left: 4px solid var(--green-accent);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.info-box-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.info-box h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.info-box p {
  font-size: 0.88rem;
  color: var(--body-color);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━
   Checklist
━━━━━━━━━━━━━━━━━━━ */
.checklist-group {
  margin-bottom: 1.6rem;
}

.list-head {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.55;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #96e096;
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━
   Specialties (legacy, kept for reference)
━━━━━━━━━━━━━━━━━━━ */
.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.specialty-tag {
  background: var(--white);
  color: var(--body-color);
  border: 1.5px solid rgba(74, 122, 82, 0.25);
  border-radius: 50px;
  padding: 0.6em 1.5em;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
}

.specialty-tag:hover {
  background: var(--green-accent);
  color: #fff;
  border-color: var(--green-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.specialty-tag-icon {
  font-size: 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARQUEE SCROLLING CARD ROW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marquee-track-wrap {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0 2rem;
  /* subtle fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.compliance-marquee-wrap {
  padding-top: 0.5rem;
}

.marquee-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee-track.marquee-reverse {
  animation: marqueeScrollReverse 38s linear infinite;
}

/* Pause on hover, click/active, or focus */
.marquee-track-wrap:hover .marquee-track,
.marquee-track-wrap:active .marquee-track,
.marquee-track-wrap:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ── Individual Marquee Card ── */
.marquee-card {
  background: var(--white);
  border: 1px solid rgba(74, 122, 82, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.marquee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.marquee-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.marquee-card:hover::before {
  transform: scaleX(1);
}

.marquee-card-icon {
  font-size: 2.2rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.marquee-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  line-height: 1.3;
}

.marquee-card p {
  font-size: 0.85rem;
  color: var(--body-color);
  line-height: 1.65;
  margin: 0;
}

.marquee-card-sub {
  font-size: 0.8rem !important;
  color: rgba(58, 78, 64, 0.7) !important;
  border-top: 1px solid rgba(74, 122, 82, 0.12);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
}

/* Compliance variant – slightly wider */
.marquee-card.compliance {
  width: 280px;
  min-width: 280px;
  padding: 1.4rem;
  background: linear-gradient(145deg, var(--white), #f0faf2);
}

.marquee-card.compliance p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Specialty variant */
.marquee-card.specialty {
  width: 240px;
  min-width: 240px;
}


/* ━━━━━━━━━━━━━━━━━━━
   Compliance
━━━━━━━━━━━━━━━━━━━ */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.compliance-card {
  background: var(--white);
  border: 1px solid rgba(74, 122, 82, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.compliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.compliance-card:hover::before {
  transform: scaleX(1);
}

.compliance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.compliance-flag {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.compliance-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-color);
  margin-bottom: 0.9rem;
}

.compliance-card p {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  color: var(--body-color);
}

.compliance-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compliance-card li {
  font-size: 0.87rem;
  padding-left: 1.3rem;
  position: relative;
  color: var(--body-color);
  line-height: 1.6;
}

.compliance-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green-accent);
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━
   CONTACT
━━━━━━━━━━━━━━━━━━━ */
.section-contact {
  padding: 0;
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 61, 34, 0.94) 0%, rgba(58, 138, 74, 0.78) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 5.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.contact-left h2 {
  color: #fff;
}

.contact-left p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.6rem;
}

.contact-link {
  color: #96e096;
  text-decoration: underline;
}

.contact-link:hover {
  color: #fff;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Form */
.contact-form-wrapper {
  z-index: 1;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1.6rem;
}

.form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--body-color);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7em 1em;
  border: 1.5px solid #d0dbd2;
  border-radius: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--body-color);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 3px rgba(58, 138, 74, 0.16);
}

/* Map */
.map-section {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
}

.map-embed-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.map-embed-wrapper iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.map-open-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.75rem 1.5rem;
  color: #c8eecf;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}

.map-open-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.map-open-link i {
  font-size: 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--green-deeper);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(1) saturate(0) brightness(2);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.social-icon:hover {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Nav column */
.footer-nav-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
  font-weight: 400;
  transition: color var(--transition), padding-left var(--transition);
  letter-spacing: 0.01em;
}

.footer-links a:hover {
  color: #96e096;
  padding-left: 4px;
}

/* Contact info column */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-contact-list li i {
  font-size: 1rem;
  color: var(--green-accent);
  margin-top: 0.12rem;
  flex-shrink: 0;
}

.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-contact-list li a:hover {
  color: #96e096;
}

/* Bottom bar */
.footer-bottom {
  padding: 1.4rem 0;
  text-align: center;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.footer-copy a {
  color: rgba(150, 224, 150, 0.7);
  transition: color var(--transition);
}

.footer-copy a:hover {
  color: #96e096;
}

/* ━━━━━━━━━━━━━━━━━━━
   SCROLL ANIMATIONS
━━━━━━━━━━━━━━━━━━━ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.anim-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-left.visible {
  opacity: 1;
  transform: none;
}

.anim-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-right.visible {
  opacity: 1;
  transform: none;
}

.anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.three-col .card:nth-child(2),
.three-col .benefit-card:nth-child(2),
.compliance-grid .compliance-card:nth-child(2),
.tech-grid .tech-card:nth-child(2),
.tech-grid .tech-card:nth-child(3) {
  transition-delay: 0.1s;
}

.three-col .card:nth-child(3),
.three-col .benefit-card:nth-child(3),
.compliance-grid .compliance-card:nth-child(3),
.tech-grid .tech-card:nth-child(4) {
  transition-delay: 0.2s;
}

.impact-grid .impact-item:nth-child(2) {
  transition-delay: 0.08s;
}

.impact-grid .impact-item:nth-child(3) {
  transition-delay: 0.16s;
}

.impact-grid .impact-item:nth-child(4) {
  transition-delay: 0.24s;
}

/* Floating animation for select elements */
@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.float-anim {
  animation: floatY 4s ease-in-out infinite;
}

/* Pulse ring */
@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 138, 74, 0.4);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(58, 138, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(58, 138, 74, 0);
  }
}

/* Section divider wave */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* ━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col .col-img {
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .info-boxes {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-layout {
    grid-template-columns: 1fr;
  }

  .surgical-layout {
    grid-template-columns: 1fr;
  }

  .surgical-img-wrap {
    order: -1;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #ced9ce;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(43, 92, 54, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-logo img {
    height: 70px;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  .container {
    padding: 0 1.2rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .section-heading {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .tech-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Feedback Helpers */
.text-light { color: #fff !important; }
.text-danger { color: #dc3545 !important; }
.bg-light { background-color: #f8f9fa !important; }