@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- NextGenPro Custom Design Token System --- */
:root {
  --primary-navy: hsl(217, 33%, 17%);
  --primary-navy-dark: hsl(220, 40%, 12%);
  --accent-teal: hsl(171, 74%, 45%);
  --accent-teal-hover: hsl(172, 96%, 35%);
  --accent-teal-glow: rgba(20, 184, 166, 0.15);
  --accent-teal-border: rgba(20, 184, 166, 0.3);
  
  --bg-slate-dark: hsl(224, 71%, 4%);
  --bg-slate-card-dark: hsl(222, 47%, 7%);
  --bg-slate-light: hsl(210, 40%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  
  --text-primary-dark: hsl(222, 47%, 11%);
  --text-secondary-dark: hsl(215, 16%, 35%);
  --text-muted-dark: hsl(215, 16%, 57%);
  
  --text-primary-light: hsl(210, 40%, 98%);
  --text-secondary-light: hsl(215, 20%, 80%);
  --text-muted-light: hsl(215, 16%, 65%);
  
  --border-light: hsl(214, 32%, 91%);
  --border-dark: hsl(217, 32%, 17%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px 2px rgba(20, 184, 166, 0.25);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1280px;
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

/* --- Base Resets & Layout --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-slate-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-navy);
  border-radius: 5px;
  border: 2px solid var(--bg-slate-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-secondary-dark);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6.5rem 0;
}

.text-center { text-align: center; }

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-padding { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }
}

/* Flex Alignments */
.flex {
  display: flex;
  gap: 1rem;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section Titles styling */
.section-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--accent-teal);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-teal);
  margin-top: 1rem;
  border-radius: 2px;
}

.text-center .section-title::after {
  margin: 1rem auto 0 auto;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.1rem;
  color: var(--text-secondary-dark);
}

/* --- Dark Theme Sections (Hybrid Design) --- */
.dark-theme-block {
  background-color: var(--bg-slate-dark);
  color: var(--text-primary-light);
}

.dark-theme-block h1, 
.dark-theme-block h2, 
.dark-theme-block h3, 
.dark-theme-block h4 {
  color: var(--bg-white);
}

.dark-theme-block p {
  color: var(--text-secondary-light);
}

.dark-theme-block .section-desc {
  color: var(--text-secondary-light);
}

/* Glassmorphism card template */
.glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--accent-teal-border);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

/* --- Interactive Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: 0;
}

.site-header.scrolled .header-top-bar {
  display: none;
}

/* --- Header Top Contact & Estimates Bar --- */
.header-top-bar {
  background: var(--primary-navy-dark);
  color: var(--text-secondary-light);
  font-size: 0.78rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-title);
  font-weight: 600;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary-light);
  transition: var(--transition-fast);
}

.top-bar-link:hover {
  color: var(--accent-teal);
}

.top-bar-icon {
  color: var(--accent-teal);
  flex-shrink: 0;
}

.top-bar-estimates {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top-bar-btn {
  color: var(--text-primary-light);
  font-weight: 700;
  transition: var(--transition-fast);
}

.top-bar-btn:hover {
  color: var(--accent-teal);
}

.top-bar-separator {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

/* --- Floating Vertically-Centered WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background-color: #128C7E;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--primary-navy-dark);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-title);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--primary-navy-dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .header-top-bar {
    display: none;
  }
}

.navbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  width: 280px;
  height: 60px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-navy);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--accent-teal);
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-teal);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-only {
  display: none !important;
}

/* Burger Menu Icon */
.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--primary-navy);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
  border: none;
}

.btn-primary {
  background: var(--accent-teal);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--accent-teal-hover);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-secondary:hover {
  background: var(--primary-navy);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary-navy);
}

.btn-white:hover {
  background: var(--accent-teal);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.btn-icon {
  transition: var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ==============================================
   HERO SECTION — FULL PREMIUM REWORK
   Typewriter text, particle mesh, animated chips
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 135px;
  background-color: var(--bg-slate-dark);
  background-image: 
    radial-gradient(ellipse at 15% 30%, rgba(20, 184, 166, 0.14) 0px, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(31, 56, 100, 0.6) 0px, transparent 55%),
    radial-gradient(ellipse at 50% 95%, rgba(20, 184, 166, 0.07) 0px, transparent 50%);
  color: var(--bg-white);
  overflow: hidden;
}

/* Dot/Grid mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 1;
}

/* Line grid overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
  padding: 4rem 0 5rem;
}

/* --- Floating glowing orbs in background --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.18;
}
.hero-orb-1 {
  width: 400px; height: 400px;
  background: var(--accent-teal);
  top: -80px; left: -100px;
  animation: orbDrift 10s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 320px; height: 320px;
  background: hsl(217, 80%, 50%);
  bottom: 0px; right: -80px;
  animation: orbDrift 13s ease-in-out infinite alternate-reverse;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: var(--accent-teal);
  bottom: 20%; left: 40%;
  animation: orbDrift 8s ease-in-out infinite alternate;
  opacity: 0.09;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

/* --- Hero Badge / Tag Pill --- */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid var(--accent-teal-border);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  animation: fadeSlideDown 0.8s ease both;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulse dot indicator */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* --- Main Hero Headline --- */
.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.75rem;
  letter-spacing: -0.035em;
  color: #fff;
  animation: fadeSlideUp 0.9s ease 0.15s both;
}

.hero-title span {
  color: var(--accent-teal);
  position: relative;
}

/* Typewriter cursor on the animated span */
.hero-typewriter {
  color: var(--accent-teal);
  border-right: 3px solid var(--accent-teal);
  padding-right: 4px;
  animation: blink 0.75s step-end infinite;
  white-space: nowrap;
  display: inline-block;
}

@keyframes blink {
  0%, 100% { border-color: var(--accent-teal); }
  50% { border-color: transparent; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary-light);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.75;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.45s both;
}

/* --- Animated Stat Chips below CTA --- */
.hero-stats-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.9s ease 0.6s both;
}

.hero-stat-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
}

.hero-stat-chip:hover {
  border-color: var(--accent-teal-border);
  background: rgba(20, 184, 166, 0.08);
}

.hero-stat-chip .chip-num {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--accent-teal);
  line-height: 1;
}

.hero-stat-chip .chip-label {
  font-size: 0.72rem;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* --- Hero Right Side - Visual Panel --- */
.hero-visual {
  position: relative;
  animation: fadeSlideUp 1s ease 0.2s both;
}

/* Hero Showcase Slider styles */
.hero-slider-container {
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 370px;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.65s;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 2;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}

.slider-dot:hover { background: rgba(255,255,255,0.5); }

.slider-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--accent-teal);
  box-shadow: 0 0 12px rgba(20, 184, 166, 0.7);
}

.slide-visual-element { transition: all 0.3s ease; }

.hero-slide.active .rd-visual svg circle {
  animation: pulseNode 3s infinite ease-in-out;
}

@keyframes pulseNode {
  0%, 100% { r: 8px; opacity: 0.8; }
  50% { r: 10px; opacity: 1; stroke-width: 4px; }
}

/* --- Floating Badges --- */
.hero-badge-float {
  position: absolute;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 3;
  animation: float 4.5s ease-in-out infinite;
}

.badge-1 { top: 10%; left: -18%; }
.badge-2 { bottom: 8%; right: -8%; animation-delay: 2.2s; }

.float-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(20, 184, 166, 0.2);
  color: var(--accent-teal);
  display: flex; align-items: center; justify-content: center;
}

.float-info h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.float-info p {
  font-size: 0.7rem;
  color: var(--text-muted-light);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Scrolling tech-ticker below hero --- */
.hero-ticker-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(20, 184, 166, 0.08);
  border-top: 1px solid rgba(20, 184, 166, 0.18);
  overflow: hidden;
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 3;
}

.hero-ticker {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 28s linear infinite;
  white-space: nowrap;
}

.hero-ticker span {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
}

.hero-ticker span::before {
  content: '◆';
  margin-right: 0.75rem;
  font-size: 0.5rem;
  vertical-align: middle;
  opacity: 0.5;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 992px) {
  .hero { min-height: auto; padding: 130px 0 70px 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 3rem; text-align: center; padding: 2rem 0 3rem; }
  .hero-desc { margin: 0 auto 2rem auto; }
  .hero-actions { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .hero-visual { width: 100%; max-width: 480px; margin: 0 auto; }
  .badge-1, .badge-2 { display: none; }
  .hero-slides-wrapper { height: 425px; }
  .hero-slide { padding: 2rem 1.5rem !important; }
  .hero-title { font-size: 2.85rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 2.25rem; }
  .hero-slides-wrapper { height: 440px; }
  .hero-slide { padding: 1.5rem 1.25rem !important; }
}

/* --- Features & Services Cards --- */
.card-grid {
  margin-top: 3.5rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 25%;
  background: var(--accent-teal);
  opacity: 0.35;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.12), var(--shadow-lg);
  border-color: var(--accent-teal);
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(20, 184, 166, 0.04) 100%);
}

.service-card:hover::before {
  height: 100%;
  opacity: 1;
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.09);
  color: var(--accent-teal);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .card-icon-box {
  background: var(--accent-teal);
  color: var(--bg-white);
  transform: scale(1.1);
  box-shadow: 0 4px 15px var(--accent-teal-glow);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary-dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link i {
  transition: var(--transition-fast);
}

.service-card:hover .card-link i {
  transform: translateX(4px);
}

/* --- Case Studies Preview --- */
.case-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--primary-navy);
  overflow: hidden;
}

.case-img-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.case-category {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-teal);
  text-transform: uppercase;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid var(--accent-teal-border);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
}

.case-info {
  padding: 2rem;
}

.case-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.case-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary-dark);
}

.case-stats-row {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.case-stat h4 {
  font-size: 1.4rem;
  color: var(--accent-teal);
  font-weight: 800;
}

.case-stat span {
  font-size: 0.75rem;
  color: var(--text-secondary-dark);
  text-transform: uppercase;
  font-weight: 600;
}

/* --- About Timeline & Values --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border-light);
  top: 0; bottom: 0; left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-white);
  border: 3px solid var(--accent-teal);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left { left: 0; text-align: right; }
.timeline-right { left: 50%; }

.timeline-right::after { left: -8px; }

.timeline-content {
  padding: 1.5rem;
  background: var(--bg-slate-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.timeline-date {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
  .timeline-item::after { left: 23px; top: 15px; }
  .timeline-left { left: 0; }
  .timeline-right { left: 0; }
}

/* --- Team Members Grid --- */
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  aspect-ratio: 1;
  background-color: var(--bg-slate-light);
  position: relative;
  overflow: hidden;
}

.team-social-overlay {
  position: absolute;
  bottom: -50px; left: 0; width: 100%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: var(--transition-normal);
}

.team-card:hover .team-social-overlay {
  bottom: 0;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-teal);
  color: var(--bg-white);
  font-size: 0.9rem;
}

.social-circle:hover {
  background: var(--primary-navy);
}

.team-info {
  padding: 1.75rem;
}

.team-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.team-info span {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Service Engagement Process --- */
.process-row {
  margin-top: 4rem;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 1rem;
}

.step-num {
  font-family: var(--font-title);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-slate-light);
  color: var(--primary-navy);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 2rem auto;
  border: 2px solid var(--border-light);
  transition: var(--transition-normal);
}

.process-step:hover .step-num {
  background: var(--accent-teal);
  color: var(--bg-white);
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 8px var(--accent-teal-glow);
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
}

/* Arrow indicators for process on desktops */
.process-step::after {
  content: '→';
  position: absolute;
  right: -1.5rem;
  top: 30px;
  font-size: 1.75rem;
  color: var(--border-light);
}

.grid-5 .process-step:last-child::after {
  display: none;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 992px) {
  .grid-5 { grid-template-columns: 1fr; gap: 3rem; }
  .process-step::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -2rem; transform: translateX(-50%); }
  .process-step:last-child::after { display: none; }
}

/* --- Products Catalog --- */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 25%;
  background: var(--accent-teal);
  opacity: 0.35;
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.12), var(--shadow-lg);
  border-color: var(--accent-teal);
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(20, 184, 166, 0.04) 100%);
}

.product-card:hover::before {
  height: 100%;
  opacity: 1;
}

.btn-outline-teal {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  border-radius: 8px;
  padding: 0.65rem 0;
  transition: var(--transition-fast);
  background: transparent;
  text-decoration: none;
}

.btn-outline-teal:hover {
  background: var(--accent-teal);
  color: var(--bg-white) !important;
  box-shadow: 0 4px 15px var(--accent-teal-glow);
  transform: translateY(-2px);
}

.prod-badge {
  align-self: flex-start;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent-teal);
  background: var(--accent-teal-glow);
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 2rem;
}

.product-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-card .price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.product-card .price span {
  font-size: 1rem;
  color: var(--text-secondary-dark);
  font-weight: 500;
}

.product-card p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.prod-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.prod-features li {
  font-size: 0.95rem;
  color: var(--text-secondary-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prod-features li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 900;
}

/* --- Clients & Dynamic Testimonials --- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem;
  align-items: center;
  justify-items: center;
  opacity: 0.6;
}

.logo-item svg {
  height: 32px;
  fill: var(--primary-navy);
  transition: var(--transition-fast);
}

.logo-item:hover svg {
  fill: var(--accent-teal);
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Testimonial slider */
.testimonial-container {
  max-width: 800px;
  margin: 3.5rem auto 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-teal-glow);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.testimonial-slide blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-primary-dark);
  font-weight: 500;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-slate-light);
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--bg-white);
  background: var(--primary-navy);
}

.reviewer-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
}

.reviewer-role {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 700;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--accent-teal);
  width: 24px;
  border-radius: 5px;
}

/* --- Knowledge Hub / Blog --- */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-title);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
  color: var(--bg-white);
}

.search-bar {
  max-width: 450px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px var(--accent-teal-glow);
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.blog-card.hidden {
  display: none;
}

.blog-card-img {
  aspect-ratio: 16/10;
  background-color: var(--primary-navy-dark);
  color: var(--bg-white);
}

.blog-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-bottom: 1rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Contact & Dynamic FAQs --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3.5rem; }
}

.contact-info-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  margin-bottom: 2.5rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 3.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-slate-light);
  color: var(--accent-teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-detail-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contact Form */
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px var(--accent-teal-glow);
}

.form-alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.1);
  color: hsl(162, 84%, 30%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.1);
  color: hsl(0, 84%, 44%);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 4rem;
  max-width: 850px;
  margin: 4rem auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-trigger h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
  transition: var(--transition-fast);
}

.faq-trigger:hover h3 {
  color: var(--accent-teal);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary-navy);
  font-weight: 500;
  transition: var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding: 1rem 0 0.5rem 0;
  margin: 0;
  color: var(--text-secondary-dark);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-teal);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* --- Call To Action (CTA) --- */
.cta-block {
  background-color: var(--primary-navy-dark);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.cta-block::after {
  content: '';
  position: absolute;
  top: -50%; left: -30%; width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-layout {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-layout h2 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--bg-white);
  margin-bottom: 1.25rem;
}

.cta-layout p {
  color: var(--text-secondary-light);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* --- Modern Corporate Footer --- */
.site-footer {
  background-color: var(--bg-slate-dark);
  color: var(--text-secondary-light);
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  padding: 5rem 0 3.5rem 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
@media (max-width: 576px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-brand-logo {
  height: 52px;
  width: 220px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary-light);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-teal);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  padding: 0.85rem 1rem;
  color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-muted-light);
}

.newsletter-btn {
  background: var(--accent-teal);
  color: var(--bg-white);
  border: none;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--accent-teal-hover);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid var(--border-dark);
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a:hover {
  color: var(--accent-teal);
}

@media (max-width: 768px) {
  .footer-bottom-layout { flex-direction: column-reverse; gap: 1rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* --- Mobile Navigation Drawer --- */
@media (max-width: 992px) {
  .burger { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-slate-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 100px 3rem 3rem 3rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transition: right var(--transition-normal);
    z-index: 1050;
    gap: 0;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--bg-white);
    font-size: 1.25rem;
    display: block;
    padding: 0.5rem 0;
  }
  
  .nav-cta {
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  .navbar > .nav-cta {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
  
  /* Burger transition to 'X' */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--bg-white);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
    background: var(--bg-white);
  }
}

/* --- Overhaul Product & Services Styling Enhancements --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: 99px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  cursor: pointer;
  color: var(--primary-navy);
  transition: var(--transition-normal);
  outline: none;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--accent-teal);
  color: var(--bg-white);
  border-color: var(--accent-teal);
  box-shadow: 0 4px 15px var(--accent-teal-glow);
  transform: translateY(-2px);
}

/* Animations for Dynamic Filtering */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.hidden {
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Style tweaks for product lists */
.prod-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--accent-teal);
  background: var(--accent-teal-glow);
  border: 1px solid var(--accent-teal-border);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.product-card p {
  color: var(--text-secondary-dark);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Styled grid items and list tags */
.prod-features {
  list-style: none;
  margin-bottom: 2rem;
}

.prod-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary-dark);
  text-align: left;
}

.prod-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 900;
}

