:root {
  /* Colors - Blue/Red Light Theme */
  --clr-primary: #007CF0; /* Electric Blue */
  --clr-primary-dark: #0F172A; /* Deep Navy for text/structure */
  --clr-accent: #FF0F7B; /* Vibrant Red */
  --clr-accent-hover: #E11D48;
  --clr-secondary: #E2E8F0; /* Light border gray */
  --clr-bg: #FAFAFA; /* Off-white background */
  --clr-bg-alt: #FFFFFF; /* Pure white for cards */
  --clr-text: #334155; /* Slate gray text */
  --clr-text-light: #64748B;
  --clr-white: #ffffff;
  
  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Outfit', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  font-weight: 300;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--clr-primary-dark);
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

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

/* Typography Utilities */
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem); /* Fluid scaling */
  font-weight: 200;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--clr-text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons - Sleek Pill shape */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #333333;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  border: 1px solid var(--clr-secondary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

/* Cards - Thin borders, no heavy bg */
.card {
  background: var(--clr-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-secondary);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Header & Nav - Glassmorphism */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.header.scrolled, .header-solid {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
}

.header.scrolled .logo, .header-solid .logo {
  color: var(--clr-primary);
}

.logo img {
  transition: filter 0.3s ease;
}

.header.scrolled .logo {
  color: var(--clr-primary);
}

.logo span {
  color: var(--clr-accent);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-links a {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--clr-white);
  position: relative;
  opacity: 0.85;
  white-space: nowrap;
  transition: color 0.3s ease, opacity 0.2s ease;
}

.header.scrolled .nav-links a, .header-solid .nav-links a {
  color: var(--clr-text);
}

.nav-links a:hover {
  opacity: 1;
}

/* Portal link (always accent-colored) */
.nav-portal-link {
  font-weight: 500;
  color: var(--clr-primary) !important;
}
.header:not(.scrolled) .nav-portal-link {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.header.header-light .nav-portal-link {
  color: #fff !important;
  text-shadow: none;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-white);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.2s ease;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 1rem;
  color: var(--clr-text) !important;
  font-size: 0.9rem !important;
  border-radius: 8px;
  transition: background 0.15s;
  white-space: nowrap;
  opacity: 1 !important;
}
.nav-dropdown-menu a:hover {
  background: rgba(0, 124, 240, 0.06);
  color: var(--clr-primary) !important;
}
.nav-dropdown-menu a i {
  font-size: 1.1rem;
  color: var(--clr-primary);
  width: 20px;
  text-align: center;
}

/* Header over dark/blue sections */
.header.scrolled.header-light {
  background-color: rgba(0, 124, 240, 0.85);
  border-bottom-color: rgba(255,255,255,0.1);
}
.header.scrolled.header-light .nav-links a {
  color: rgba(255,255,255,0.9);
}
.header.scrolled.header-light .nav-links a:hover {
  color: #fff;
}
.header.scrolled.header-light .mobile-menu-btn {
  color: #fff;
}
.header.scrolled.header-light .logo img {
  filter: brightness(0) invert(1);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--clr-white);
}

.header.scrolled .mobile-menu-btn, .header-solid .mobile-menu-btn {
  color: var(--clr-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--clr-white);
  padding-top: 80px;
  overflow: hidden;
  background-color: #0B192C; /* Fallback while videos load */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.hero-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.85) 0%, rgba(11, 25, 44, 0.5) 100%);
  z-index: 2;
}

.relative-z {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--clr-white);
  font-size: clamp(2.5rem, 8vw, 4.5rem); /* Fluid typography */
  font-weight: 200;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* Trust Bar */
.trust-bar {
  background-color: #fafafa;
  padding: 3rem 0;
  border-bottom: 1px solid var(--clr-secondary);
}

.trust-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.4;
}

.trust-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: all var(--transition-normal);
}

.trust-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-secondary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Service Card Links */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  z-index: 1;
}

/* Static Gradient Border */
.gradient-border-card {
  border: 1px solid transparent;
  border-radius: 12px;
  position: relative;
  background: var(--clr-white);
}

.gradient-border-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px; /* Slightly larger to fit around */
  padding: 2px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1; /* Always visible */
  pointer-events: none;
  z-index: 10;
}

.service-card-link:hover .gradient-border-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 124, 240, 0.15);
}

/* Card Arrow */
.card-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(0,124,240,0.05);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.service-card-link:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,124,240,0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0,124,240,0.08), rgba(255,15,123,0.05));
  color: var(--clr-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
}

.service-card-link:hover .service-icon {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,124,240,0.25);
}

/* Why Choose Us - Now Dark Theme Vercel style */
.why-us {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.why-us .section-title {
  color: var(--clr-white);
}

.why-us .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.stat-number {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}

/* Portfolio Preview */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--clr-secondary);
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
  color: var(--clr-white);
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* CTA Banner */
.cta-banner {
  background: #fafafa;
  border-top: 1px solid var(--clr-secondary);
  border-bottom: 1px solid var(--clr-secondary);
  color: var(--clr-text);
  text-align: center;
  padding: 6rem 0;
}

.cta-banner h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--clr-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer h4 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

.footer-links a:hover {
  color: var(--clr-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

/* Floating WhatsApp */
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: transform var(--transition-fast);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

/* Responsive */
@media (max-width: 992px) {
  .about-preview {
    grid-template-columns: 1fr;
  }
  .about-img {
    margin-top: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    transform: none;
    width: 80%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    transition: right var(--transition-normal);
  }
  
  .nav-links.active {
    right: 0;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links a {
    color: var(--clr-text);
    font-size: 1.2rem;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  .nav-dropdown-toggle {
    font-size: 1.2rem;
    color: var(--clr-text);
  }
  .nav-dropdown-menu a {
    font-size: 1rem !important;
    padding: 0.4rem 0.5rem;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 1.5rem;
  }
}

/* Timeline Process Section */
.timeline-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 1500px; /* Provides expansive horizontal space for the nodes */
  margin: 5rem auto; /* Perfectly centers the wrapper in the full-width section */
  padding-left: 80px;
  padding-right: 280px; /* Guarantees Node 5 text stays strictly inside the screen */
  box-sizing: border-box;
  justify-content: space-between;
  min-height: 450px;
}
.timeline-line {
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 2px;
  background: #000;
  z-index: 1;
}
.timeline-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-node {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3;
}
.timeline-stem {
  position: absolute;
  width: 1px; background: #ccc;
  left: 50%;
  z-index: 2;
}
.step-top .timeline-stem {
  bottom: 50%; height: 80px; 
}
.step-bottom .timeline-stem {
  top: 50%; height: 80px;
}
.timeline-content {
  position: absolute;
  left: 50%;
}
.step-top .timeline-content {
  bottom: calc(50% + 40px);
}
.step-bottom .timeline-content {
  top: calc(50% + 40px);
}

.step-left {
  position: absolute;
  right: 100%;
  height: 100%;
  text-align: right;
  padding-right: 15px;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.step-bottom .step-left {
  justify-content: flex-start;
}
.step-number {
  font-size: 3rem; font-weight: 700; line-height: 0.8; color: #000;
  width: max-content;
}
.step-top .step-number {
  margin-bottom: -5px;
}
.step-bottom .step-number {
  margin-top: -5px;
}

.step-right {
  text-align: left;
  padding-left: 15px;
  padding-right: 65px; /* Creates a dedicated safe zone for the circular image */
  position: relative;
  width: 250px;
  box-sizing: border-box; /* Critically prevents the padding from expanding the width */
}
.step-title {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: #000;
}
.step-desc p {
  font-size: 0.85rem; color: #666; margin-bottom: 0.5rem; line-height: 1.4;
}
.step-meta {
  font-size: 0.85rem; font-weight: 600; color: #000;
}
.step-image {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  filter: grayscale(100%); position: absolute;
  z-index: 10;
  right: 0px; /* Sits perfectly in the 65px padding zone */
}
.step-top .step-image {
  bottom: 0px;
}
.step-bottom .step-image {
  top: 0px;
}

@media (max-width: 1200px) {
  .timeline-wrapper {
    flex-direction: column; margin: 2rem 0; gap: 4rem; padding: 0 20px;
    width: 100%; left: auto; transform: none;
  }
  .timeline-line {
    width: 2px; height: 100%; left: 30px; top: 0;
  }
  .timeline-step {
    width: 100%; min-height: 100px;
  }
  .timeline-node {
    left: 30px; top: 0; transform: translate(-50%, 0);
  }
  .timeline-stem { display: none; }
  .timeline-content {
    position: relative; left: 80px; bottom: auto !important; top: auto !important; transform: none; width: calc(100% - 100px);
  }
  .step-left { 
    position: relative; right: auto; height: auto; border-right: none; 
    text-align: left; padding: 0; margin-bottom: 1rem; justify-content: flex-start; 
  }
  .step-number { font-size: 2rem; margin: 0 !important; }
  .step-right { padding: 0; width: 100%; }
  .step-image { display: none; }
}

/* Dark Theme Overrides for Process Section */
#process .section-title, 
#process .section-subtitle, 
#process .step-number, 
#process .step-title, 
#process .step-meta {
  color: #ffffff;
}
#process .step-desc p {
  color: #cbd5e1;
}
#process .timeline-line {
  background: rgba(255, 255, 255, 0.1);
}
#process .timeline-stem {
  background: rgba(255, 255, 255, 0.2);
}
#process .step-left {
  border-right-color: rgba(255, 255, 255, 0.2);
}


/* ===========================
   PREMIUM PROCESS SECTION
   =========================== */

/* Section Background */
.process-section {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, #060c1a 100%);
  position: relative;
  overflow: hidden;
}

.process-section .section-title {
  color: #fff;
}
.process-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,124,240,0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255,15,123,0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Badge above title */
.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.process-badge i {
  color: var(--clr-accent);
}

/* Phase Labels */
.process-phase-label {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

.process-phase-label span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.process-phase-label i {
  color: var(--clr-primary);
}

/* ---- ALTERNATING TIMELINE ---- */
.pro-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Central spine */
.pro-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-accent));
  border-radius: 4px;
  opacity: 0.6;
}

/* Each timeline item */
.pro-timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 3rem;
  box-sizing: border-box;
}

/* Dot on spine */
.pro-timeline-item::before {
  content: '';
  position: absolute;
  top: 18px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(0,124,240,0.15), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 2;
}

/* Connector arm */
.pro-timeline-item::after {
  content: '';
  position: absolute;
  top: 24px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,124,240,0.2), rgba(255,15,123,0.2));
  z-index: 1;
}

/* Left-aligned items */
.pro-left {
  left: 0;
  text-align: right;
}
.pro-left::before {
  right: -8px;
}
.pro-left::after {
  right: 0;
}

/* Right-aligned items */
.pro-right {
  left: 50%;
  text-align: left;
}
.pro-right::before {
  left: -8px;
}
.pro-right::after {
  left: 0;
}

/* The Card */
.pro-timeline-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1), border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.pro-timeline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pro-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,124,240,0.1), 0 4px 12px rgba(0,0,0,0.05);
  border-color: rgba(0,124,240,0.15);
}

.pro-timeline-card:hover::before {
  opacity: 1;
}

/* Left items: reverse flex so icon goes right */
.pro-left .pro-timeline-card {
  flex-direction: row-reverse;
}

/* Icon Circle */
.pro-card-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,124,240,0.1), rgba(255,15,123,0.08));
  color: var(--clr-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pro-timeline-card:hover .pro-card-icon {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: white;
  transform: scale(1.1);
}

/* Card Body */
.pro-card-body {
  flex: 1;
}

.pro-stage-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.pro-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--clr-primary-dark);
  font-weight: 600;
}

.pro-card-body p {
  margin: 0 0 0.8rem;
  color: var(--clr-text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Output Tags */
.pro-output-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pro-left .pro-output-tags {
  justify-content: flex-end;
}

.pro-output-tags span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(0,124,240,0.08), rgba(255,15,123,0.06));
  color: var(--clr-primary);
  border: 1px solid rgba(0,124,240,0.12);
  transition: background 0.2s ease;
}

.pro-output-tags span:hover {
  background: linear-gradient(135deg, rgba(0,124,240,0.15), rgba(255,15,123,0.12));
}

/* ---- HSE & QA BOTTOM STRIP ---- */
.process-bottom-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.process-bottom-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-bottom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pbc-icon-wrap {
  width: 56px; height: 56px; min-width: 56px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: #fff;
}

.hse-card .pbc-icon-wrap {
  background: linear-gradient(135deg, var(--clr-primary), #0ea5e9);
}

.qa-card .pbc-icon-wrap {
  background: linear-gradient(135deg, var(--clr-accent), #f97316);
}

.pbc-body {
  flex: 1;
}

.pbc-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.pbc-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--clr-primary-dark);
}

.pbc-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  color: #fff;
}

.hse-card .pbc-badge {
  background: linear-gradient(135deg, var(--clr-primary), #0ea5e9);
}

.qa-card .pbc-badge {
  background: linear-gradient(135deg, var(--clr-accent), #f97316);
}

.pbc-body > p {
  margin: 0 0 1rem;
  color: var(--clr-text-light);
  font-size: 0.9rem;
}

.pbc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hse-card .pbc-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(0,124,240,0.07);
  color: var(--clr-primary);
  border: 1px solid rgba(0,124,240,0.12);
}

.qa-card .pbc-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255,15,123,0.07);
  color: var(--clr-accent);
  border: 1px solid rgba(255,15,123,0.12);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  /* Stack to single column */
  .pro-timeline::before {
    left: 20px;
  }

  .pro-timeline-item {
    width: 100%;
    padding: 0 0 2rem 52px;
    text-align: left;
  }

  .pro-left, .pro-right {
    left: 0;
    text-align: left;
  }

  .pro-timeline-item::before {
    left: 12px;
  }

  .pro-timeline-item::after {
    left: 28px;
    width: 16px;
  }

  .pro-left .pro-timeline-card {
    flex-direction: row;
  }

  .pro-left .pro-output-tags {
    justify-content: flex-start;
  }

  .process-bottom-strip {
    grid-template-columns: 1fr;
  }

  .process-bottom-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* FAQ Styles */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-category {
  margin-bottom: 3rem;
}
.faq-category-title {
  font-size: 1.8rem;
  color: var(--clr-primary-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 124, 240, 0.1);
  padding-bottom: 0.5rem;
  font-weight: 300;
}
.faq-item {
  background: white;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0,124,240,0.08);
  border-color: rgba(0,124,240,0.2);
}
.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  color: var(--clr-primary-dark);
  font-size: 1.1rem;
}
.faq-question i {
  color: var(--clr-primary);
  transition: transform 0.3s ease;
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--clr-text-light);
  line-height: 1.6;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.2rem;
  max-height: 500px;
}
.service-img-hover:hover {
  transform: scale(1.05);
}
.service-card-link:hover .service-img-hover {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .detailed-service {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}


/* Inverter Table Styles */
.specs-table-wrapper {
      overflow-x: auto;
      margin-top: 3rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      border-radius: 12px;
    }
    .specs-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 800px;
    }
    .specs-table th, .specs-table td {
      padding: 1.5rem;
      text-align: center;
      border-bottom: 1px solid var(--clr-secondary);
    }
    .specs-table th {
      background: var(--clr-primary);
      color: white;
      font-weight: 500;
    }
    .specs-table th:first-child {
      text-align: left;
      background: var(--clr-primary-dark);
    }
    .specs-table td:first-child {
      text-align: left;
      font-weight: 500;
      color: var(--clr-primary-dark);
      background: var(--clr-bg);
    }
.load-guide-section { padding: 6rem 0; }

.service-img-hover-large { transform: scale(1.25); }
.service-card-link:hover .service-img-hover-large { transform: scale(1.35); }
