/* ============================================
   WEBCART - Main Stylesheet
   Brand: Teal #03A4C1 + Black #0A0A0A
   Theme: Modern, Professional, AI-Company Ready
   Logo-Inspired Color System
============================================ */

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

:root {
  /* Brand Primary Colors (From Logo) */
  --primary: #03A4C1;           /* Main teal accent from logo */
  --primary-dark: #0285A4;      /* Darker teal for hover states */
  --primary-light: #B8E6F2;     /* Light teal background */
  --accent: #03A4C1;            /* Secondary cyan accent */
  --accent-light: #D4F0F7;      /* Light cyan background */
  
  /* Semantic Aliases */
  --teal: #03A4C1;              /* Keep for backward compatibility */
  --teal-dark: #0285A4;
  --teal-light: #B8E6F2;
  --teal-mid: #5EC9D8;
  
  /* Neutral & Text Colors */
  --black: #0a0a0a;             /* Deep black for text */
  --text-main: #0f172a;         /* Main text color (dark navy) */
  --text-secondary: #475569;    /* Secondary text (gray) */
  --text-light: #94a3b8;        /* Light text color */
  --text-color: #0f172a;
  
  /* Background Colors - Alternating */
  --bg-main: #ffffff;           /* Primary white background */
  --bg-light: #f8fafc;          /* Light blue-gray background */
  --bg-soft: #f1f5f9;           /* Softer gray background */
  
  /* Grays */
  --dark: #0a0a0a;
  --dark2: #1a1a1a;
  --gray-900: #1f1f1f;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-300: #bbbbbb;
  --gray-100: #f4f4f4;
  --border-color: #e2e8f0;      /* Light border color */
  --white: #ffffff;
  
  /* Typography */
  --font-display: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  
  /* UI */
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  transition: all 0.25s ease;
}

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

/* Global typography */
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { 
  font-family: var(--font-display); 
  letter-spacing: 0.5px; 
  line-height: 1.2; 
  color: var(--text-main);
}

/* Fixed font scale (desktop) */
h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--black); }
h2 { font-size: 2rem; font-weight: 600; line-height: 1.25; margin-bottom: 12px; color: var(--black); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; margin-bottom: 12px; color: var(--black); }
h4 { font-size: 1.25rem; font-weight: 500; line-height: 1.35; margin-bottom: 12px; color: var(--black); }
h5 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; margin-bottom: 12px; color: var(--black); }

p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.small { font-size: 0.875rem; }

/* -----------------------
   Card layout system
   ----------------------- */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}

.card {
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow); 
  border-color: var(--primary);
}

.card h3 { margin-bottom: 10px; color: var(--text-main); }
.card p { margin-bottom: 12px; color: var(--text-secondary); }
.card .btn, .card .card-link { margin-top: auto; }

/* Accent modifier */
.card--accent-top { border-top: 3px solid var(--primary); }

/* Stats grid small utility */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stat-box { 
  background: var(--bg-light); 
  border-radius: var(--radius); 
  padding: 20px; 
  text-align: center; 
  border: 1px solid var(--border-color);
}

/* Button group utility */
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; align-items: center; }

/* Ensure existing grids stretch cards */
.grid-2, .grid-3, .grid-4, .services-grid, .services-grid * { align-items: stretch; }
.grid-2 > *, .grid-3 > *, .grid-4 > *, .services-grid > * { height: 100%; display: flex; flex-direction: column; }

/* Ensure case/blog/service card variants use base spacing */
.service-card, .blog-card, .case-card {
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-main);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
}

/* Card section spacing */
.card-section { margin-bottom: 50px; }

.text-teal { color: var(--primary); }
.text-white { color: var(--white); }
.text-dark { color: var(--black); }

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 100px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s ease; letter-spacing: 0.01em;
  height: 48px; line-height: 1; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); 
  color: var(--white);
  box-shadow: 0 4px 15px rgba(3, 164, 193, 0.2);
}
.btn-primary:hover { 
  background: var(--primary-dark); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 25px rgba(3, 164, 193, 0.3);
}
.btn-outline {
  border: 2px solid var(--primary); 
  color: var(--primary);
  background: transparent;
  border-radius: 10px;
  height: 48px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-outline:hover { 
  background: var(--primary); 
  color: var(--white); 
  transform: translateY(-2px);
}
.hero-actions .btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.95);
  border-radius: 10px;
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
/* Page hero dark background outline button */
.page-hero .btn-outline,
.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.page-hero .btn-outline:hover,
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-dark {
  background: var(--black); 
  color: var(--white);
}
.btn-dark:hover { 
  background: var(--gray-900); 
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white); 
  color: var(--primary);
  border: 2px solid var(--white);
  border-radius: 10px;
  height: 48px;
}
.btn-white:hover { 
  background: rgba(255,255,255,0.9); 
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 2px; background: var(--primary);
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  opacity: 0;
  animation: navbarSlideDown 0.5s ease forwards;
}

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

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 0;
}

.navbar.scrolled .navbar-inner {
  height: 64px;
}

/* ---- NAV SECTIONS ---- */
.nav-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ---- LOGO ---- */
.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.navbar-logo:hover {
  transform: scale(1.02);
}

.navbar-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ---- NAV ITEMS & LINKS ---- */
.nav-item {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* Underline animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: calc(100% - 24px);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  color: currentColor;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* ---- DROPDOWN ---- */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 100;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.dropdown.mega {
  min-width: 600px;
  max-width: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 200;
}

/* Dropdowns controlled by JS .open class ONLY - no CSS :hover to prevent mixing */
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.nav-item.open .dropdown.mega {
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 18px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.dropdown-item:hover {
  background: #f5f7fa;
  padding-left: 22px;
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
}

.dropdown-item:hover .dropdown-icon svg {
  color: var(--white);
}

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-text span {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
  margin-top: 4px;
}

/* ---- CTA BUTTON ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  transition: all 0.3s ease;
  height: 48px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(3, 164, 193, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(3, 164, 193, 0.35);
  background: var(--primary-dark);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* ---- HAMBURGER MENU ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-section {
  margin-bottom: 24px;
}

.mobile-nav-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 0 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 8px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
  padding-left: 16px;
  border-left-color: var(--primary);
}

/* ---- HERO ---- */
.hero {
  display: flex; 
  align-items: flex-start;
  background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 50%, #0f172a 100%);
  position: relative; 
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute; 
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(3, 164, 193, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(3, 164, 193, 0.08) 0%, transparent 50%);
}

.hero-grid {
  position: absolute; 
  inset: 0; 
  opacity: 0.02;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; text-align: left; }
.hero-badge {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: rgba(3, 164, 193, 0.15); 
  border: 1px solid rgba(3, 164, 193, 0.35);
  border-radius: 100px; 
  padding: 6px 16px;
  font-size: 0.8rem; 
  font-weight: 500; 
  color: var(--accent); 
  margin-bottom: 28px;
}

.hero-badge-dot { 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: var(--primary); 
  animation: pulse 2s infinite; 
  display: inline-block; 
}

/* Hero Wrapper for Better Layout */
.hero-wrapper { 
  display: flex; 
  align-items: flex-start; 
  gap: 40px; 
  position: relative; 
  z-index: 2;
}
.hero-wrapper > div:first-child { 
  flex: 1; 
  min-width: 0; 
}
.hero-visual { 
  flex: 1; 
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image { 
  width: 100%; 
  max-width: 500px; 
  height: auto;
  opacity: 0.95; 
  transition: all 0.3s ease; 
}
.hero-image:hover { 
  opacity: 1; 
  transform: scale(1.02); 
}

/* Hero Vector Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  filter: drop-shadow(0 20px 40px rgba(3, 164, 193, 0.2));
  opacity: 0;
  animation: fadeInScale 1s ease-out 0.3s forwards;
}

.hero-shape-1 {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 5%;
  animation: fadeInScale 1s ease-out 0.3s forwards, float 6s ease-in-out 1.3s infinite;
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 2%;
  animation: fadeInScale 1s ease-out 0.5s forwards, float 7s ease-in-out 1.5s infinite;
  animation-direction: reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInScale 1s ease-out 0.4s forwards, float 8s ease-in-out 1.4s infinite;
}

.hero-shape-4 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  right: 10%;
  animation: fadeInScale 1s ease-out 0.6s forwards, float 7.5s ease-in-out 1.6s infinite;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Hero Content Animations */
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item { }
.stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white);
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ---- CARDS ---- */
.card {
  background: var(--bg-main); 
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color); 
  padding: 32px;
  transition: all 0.3s ease;
}
.card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
  border-color: var(--primary);
}
.card-icon {
  width: 52px; 
  height: 52px; 
  border-radius: 12px;
  background: var(--primary-light); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin-bottom: 20px; 
  transition: all 0.3s ease;
}
.card:hover .card-icon { background: var(--primary); }
.card-icon svg { width: 24px; height: 24px; color: var(--primary); transition: all 0.3s ease; }
.card:hover .card-icon svg { color: var(--white); }
.card h3 { margin-bottom: 12px; color: var(--text-main); }
.card p { font-size: 0.9rem; color: var(--text-secondary); }
.card-link {
  display: inline-flex; 
  align-items: center; 
  gap: 6px;
  color: var(--primary); 
  font-size: 0.875rem; 
  font-weight: 600;
  margin-top: 16px; 
  transition: all 0.3s ease;
}
.card-link:hover { gap: 10px; }
.card-link svg { width: 14px; height: 14px; }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.services-grid > * {
  flex: 1 1 320px;
  max-width: 380px;
}
.service-card, .industry-card, .case-card, .blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}
.service-card {
  width: 100%;
  background: var(--bg-main); 
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color); 
  padding: 28px;
  transition: all 0.3s ease; 
  position: relative; 
  overflow: hidden;
}
.service-card::before {
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  height: 3px;
  background: var(--primary); 
  transform: scaleX(0); 
  transition: transform 0.3s;
}
.service-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display); 
  font-size: 0.7rem; 
  font-weight: 700;
  color: var(--primary); 
  letter-spacing: 0.1em; 
  margin-bottom: 12px;
}

/* ---- PROCESS STEPS ---- */
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; 
  position: absolute; 
  top: 32px; 
  left: 0; 
  right: 0; 
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(3, 164, 193, 0.2) 100%);
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 64px; 
  height: 64px; 
  border-radius: 50%;
  background: var(--black); 
  border: 3px solid var(--primary);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-family: var(--font-display); 
  font-size: 1.1rem; 
  font-weight: 800;
  color: var(--primary); 
  margin: 0 auto 20px;
}
.process-step h4 { margin-bottom: 8px; font-size: 0.95rem; color: var(--text-main); }
.process-step p { font-size: 0.85rem; color: var(--text-secondary); }

/* ---- INDUSTRY & CASE CARD STYLES ---- */
.industry-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: all 0.3s ease;
  align-items: center;
  text-align: center;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.industry-card h3 { margin: 0 0 10px; }
.industry-card p { color: var(--text-secondary); }

.case-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.case-card-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.case-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.result-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.result-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.result-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--bg-light); 
  border-radius: var(--radius-lg);
  padding: 32px; 
  border: 1px solid transparent; 
  transition: all 0.3s ease;
}
.testimonial-card:hover { 
  border-color: var(--primary); 
  background: var(--bg-main); 
  box-shadow: var(--shadow);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; color: #FFC107; fill: #FFC107; }
.testimonial-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  background: var(--primary); 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-family: var(--font-display); 
  font-weight: 700; 
  color: var(--white); 
  font-size: 0.875rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.author-title { font-size: 0.8rem; color: var(--text-light); }

/* ---- DARK SECTION ---- */
.section-dark { background: var(--black); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark .section-label { }

/* ---- TEAL SECTION ---- */
.section-teal { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.section-teal h2, .section-teal p { color: var(--white); }
.section-teal .section-label { color: var(--white); }
.section-teal .section-label::before { background: var(--white); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--black); 
  border-radius: var(--radius-lg);
  padding: 72px 64px; 
  text-align: center;
  position: relative; 
  overflow: hidden;
  margin: 64px 0;
}
.cta-section::before {
  content: ''; 
  position: absolute; 
  top: -100px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 600px; 
  height: 300px;
  background: radial-gradient(ellipse, rgba(3, 164, 193, 0.25) 0%, transparent 70%);
}
.cta-section h2 { 
  color: var(--white); 
  margin-bottom: 16px; 
  position: relative;
}
.cta-section p { 
  color: rgba(255,255,255,0.7); 
  max-width: 500px; 
  margin: 0 auto 32px; 
  position: relative;
}
.cta-actions { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap; 
  position: relative;
}

/* ---- PARTNER LOGOS ---- */
.logos-strip {
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap; justify-content: center; opacity: 0.4;
  filter: grayscale(1);
}
.logo-item {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em;
}

/* ---- ACCORDION / FAQ ---- */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 20px 0;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--black); cursor: pointer; gap: 16px;
}
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer p { padding-top: 12px; font-size: 0.9rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--black);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

/* Hero background image layer */
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.45;
  z-index: 0;
}

/* Dark gradient overlay so left text always readable */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 26, 0.97) 0%,
    rgba(10, 14, 26, 0.88) 35%,
    rgba(10, 14, 26, 0.55) 60%,
    rgba(10, 14, 26, 0.20) 100%
  );
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  text-align: left;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.page-hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 720px; 
  text-align: left;
}
.page-hero h1 { 
  color: var(--white); 
  margin-bottom: 20px; 
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-hero p { 
  color: rgba(255,255,255,0.75); 
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex; 
  align-items: center; 
  gap: 8px;
  font-size: 0.8rem; 
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- FEATURE LIST ---- */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; 
  align-items: flex-start; 
  gap: 14px; 
  padding: 20px;
  border-radius: var(--radius); 
  background: var(--bg-light); 
  transition: all 0.3s ease;
}
.feature-item:hover { background: var(--primary-light); }
.feature-check {
  width: 24px; 
  height: 24px; 
  border-radius: 50%; 
  background: var(--primary);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; 
  margin-top: 2px;
}
.feature-check svg { width: 12px; height: 12px; color: var(--white); }
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--text-main); }
.feature-item p { font-size: 0.85rem; color: var(--text-secondary); }

/* ---- TWO COLUMN ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse .col-visual { order: -1; }
.col-visual {
  position: relative;
}
.visual-block {
  background: var(--black);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(3,164,193,0.10);
}
.visual-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(3, 164, 193, 0.18) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.visual-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: transform 0.4s ease;
  z-index: 0;
}
.visual-block:hover .visual-image {
  transform: scale(1.03);
}
.visual-block .visual-icon {
  z-index: 3;
}
.visual-accent {
  position: absolute; 
  bottom: -20px; 
  right: -20px;
  width: 120px; 
  height: 120px; 
  border-radius: 50%;
  background: var(--primary); 
  opacity: 0.15;
}
.visual-label {
  position: absolute; 
  bottom: 20px; 
  left: 20px;
  background: rgba(0,0,0,0.7); 
  backdrop-filter: blur(8px);
  border-radius: 8px; 
  padding: 12px 16px;
  font-family: var(--font-display); 
  font-size: 0.85rem; 
  font-weight: 600;
  color: var(--white); 
  border: 1px solid rgba(20, 184, 166, 0.3);
}
.visual-icon {
  font-size: 4rem; 
  position: relative; 
  z-index: 2;
}

/* ---- TAGS/CHIPS ---- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: var(--primary-light); 
  color: var(--primary-dark);
  border-radius: 100px; 
  padding: 4px 14px;
  font-size: 0.8rem; 
  font-weight: 500; 
  font-family: var(--font-display);
}

/* ---- CONTACT FORM ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; 
  font-size: 0.85rem; 
  font-weight: 500;
  color: var(--text-main); 
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; 
  padding: 14px 16px; 
  border-radius: var(--radius);
  border: 1.5px solid var(--border-color); 
  background: var(--bg-light);
  font-family: var(--font-body); 
  font-size: 0.95rem; 
  color: var(--text-main);
  transition: all 0.3s ease; 
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); 
  background: var(--white); 
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- FOOTER ---- */
.footer {
  background: #020617;
  color: var(--white);
  padding: 60px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
}

.footer-logo {
  width: auto;
  height: 80px;
  display: block;
  margin-bottom: 24px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(3, 164, 193, 0.1);
  border: 1px solid rgba(3, 164, 193, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
  display: block;
}

.footer-heading-spaced {
  margin-top: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-block-compact {
  gap: 8px;
}

.footer-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-detail {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ---- ANIMATIONS ---- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-fade-up-delay { animation: fadeUp 0.6s 0.2s ease both; }
.animate-fade-up-delay-2 { animation: fadeUp 0.6s 0.4s ease both; }

/* Stat Item Staggered Animations */
.animate-stat-1 { animation: fadeUp 0.7s 0.5s ease-out backwards; }
.animate-stat-2 { animation: fadeUp 0.7s 0.6s ease-out backwards; }
.animate-stat-3 { animation: fadeUp 0.7s 0.7s ease-out backwards; }
.animate-stat-4 { animation: fadeUp 0.7s 0.8s ease-out backwards; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ---- NUMBER COUNT ANIMATION ---- */
.count-num { font-variant-numeric: tabular-nums; }

/* ---- CHIP BADGES ---- */
.chip {
  display: inline-flex; 
  align-items: center; 
  gap: 6px;
  padding: 4px 12px; 
  border-radius: 100px;
  font-size: 0.75rem; 
  font-weight: 600; 
  font-family: var(--font-display);
}
.chip-teal { 
  background: var(--primary-light); 
  color: var(--primary-dark);
}
.chip-dark { 
  background: rgba(255,255,255,0.1); 
  color: rgba(255,255,255,0.7);
}
.chip-dot { 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: currentColor;
}

/* ---- GRID HELPERS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gap-sm { gap: 16px; }
.gap-lg { gap: 40px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-64 { margin-bottom: 64px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }

/* ---- INDUSTRY CARDS ---- */
.industry-card {
  border-radius: var(--radius-lg); 
  padding: 32px;
  position: relative; 
  overflow: hidden;
  background: var(--bg-main); 
  color: var(--text-main);
  min-height: 340px; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.industry-card::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(3, 164, 193, 0.08) 0%, transparent 65%);
  transition: all 0.3s ease;
}
.industry-card:hover::before { opacity: 1; }
.industry-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 16px 48px rgba(3, 164, 193, 0.12);
  border-color: var(--primary);
}
.industry-card-icon {
  font-size: 2.5rem; 
  margin-bottom: 20px; 
  position: relative; 
  z-index: 2;
  color: var(--primary);
}
.industry-card h3 { 
  color: var(--text-main); 
  position: relative; 
  z-index: 2; 
  margin-bottom: 10px;
}
.industry-card p { 
  color: var(--text-secondary); 
  font-size: 0.95rem;
 
  position: relative; 
  z-index: 2;
}

/* ---- CASE STUDY CARDS ---- */
.case-card {
  border-radius: var(--radius-lg); 
  overflow: hidden;
  border: 1px solid var(--border-color); 
  transition: all 0.3s ease;
  background: var(--bg-main);
}
.case-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg);
}
.case-card-header {
  background: var(--black); 
  padding: 40px 32px;
  min-height: 200px; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  position: relative; 
  overflow: hidden;
}
.case-card-header::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(20, 184, 166, 0.25) 0%, transparent 60%);
}
.case-card-logo {
  font-family: var(--font-display); 
  font-size: 1.3rem; 
  font-weight: 800;
  color: var(--white); 
  position: relative; 
  z-index: 2;
}
.case-card-tag {
  display: inline-flex; 
  align-items: center;
  background: rgba(20, 184, 166, 0.2); 
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 100px; 
  padding: 4px 12px;
  font-size: 0.75rem; 
  color: var(--primary);
  position: relative; 
  z-index: 2;
}
.case-card-body { padding: 28px 32px; }
.case-card-body h3 { margin-bottom: 10px; font-size: 1.1rem; color: var(--text-main); }
.case-card-body p { font-size: 0.875rem; margin-bottom: 20px; color: var(--text-secondary); }
.case-result { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.result-item { }
.result-num {
  font-family: var(--font-display); 
  font-size: 1.5rem; 
  font-weight: 800;
  color: var(--primary);
}
.result-label { font-size: 0.75rem; color: var(--text-light); }

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--primary-light); 
  border-radius: var(--radius-lg);
  padding: 32px; 
  border-left: 4px solid var(--primary);
}
.highlight-box h4 { 
  color: var(--primary-dark); 
  margin-bottom: 8px;
}
.highlight-box p { 
  font-size: 0.9rem; 
  color: var(--text-secondary);
}

/* ---- CAREER CARDS ---- */
.job-card {
  border: 1px solid var(--border-color); 
  border-radius: var(--radius);
  padding: 24px; 
  transition: all 0.3s ease; 
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  gap: 16px;
}
.job-card:hover { 
  border-color: var(--primary); 
  background: var(--primary-light);
}
.job-dept { 
  font-size: 0.75rem; 
  color: var(--primary); 
  font-weight: 600; 
  font-family: var(--font-display); 
  letter-spacing: 0.08em; 
  text-transform: uppercase;
}
.job-title { 
  font-family: var(--font-display); 
  font-size: 1.05rem; 
  font-weight: 700; 
  margin: 4px 0 8px;
  color: var(--text-main);
}
.job-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.job-meta-item { 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  font-size: 0.8rem; 
  color: var(--text-light);
}
.job-meta-item svg { width: 14px; height: 14px; }

/* ---- IMAGES & MEDIA ---- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading images */
img[loading="lazy"] {
  background: var(--bg-light);
}

/* Hero section image */
.hero-image {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Service card image */
.service-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px 8px 0 0;
  margin-bottom: 16px;
}

/* Blog featured image */
.blog-featured-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

.blog-card:hover .blog-featured-image {
  transform: scale(1.04);
}

/* Card top image */
.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 16px;
}

/* Case study preview */
.case-study-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

/* About section image */
.about-image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin-bottom: 24px;
}

/* Service icon SVG */
.service-icon-svg {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: block;
  opacity: 0.9;
}

/* Image with overlay */
.image-overlay {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
  pointer-events: none;
}

/* Responsive image container */
.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.two-col .about-image {
  max-width: 100%;
}

.about-image:hover {
  opacity: 1;
}

/* Case Study Card Images */
.case-card-image-container {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: -16px -16px 0 -16px;
}

.case-card-image-container .case-study-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-card:hover .case-card-image-container .case-study-image {
  opacity: 1;
  transform: scale(1.02);
}

/* Service Icon SVG */
.service-icon-svg {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.col-visual .service-icon-svg {
  max-width: 280px;
}

.col-visual .service-icon-svg:hover {
  opacity: 1;
}

/* Hero responsive adjustments */
@media (max-width: 1024px) {
  .hero-wrapper { flex-direction: column; gap: 32px; }
  .hero-wrapper > div:first-child { max-width: 100%; }
  .hero-visual { max-width: 100%; }
  .hero-image { max-height: 350px; object-fit: contain; }
}

@media (max-width: 768px) {
  .hero-wrapper { gap: 24px; }
  .hero-image { max-height: 280px; }
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .dropdown.mega { grid-template-columns: 1fr 1fr; min-width: 480px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse .col-visual { order: 0; }
  .service-icon-img { height: 360px; }
  .visual-block { height: 360px; }
  .page-hero { min-height: 420px; padding: 100px 0 60px; }
  .page-hero-img { object-position: 70% center; }
  .page-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(10,14,26,0.98) 0%,
      rgba(10,14,26,0.92) 50%,
      rgba(10,14,26,0.75) 100%
    );
  }
}

@media (max-width: 768px) {
  /* Navbar responsive */
  .nav-center { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .navbar-inner { padding: 0 24px; }
  .service-icon-img { height: 260px; border-radius: 14px; }
  .visual-block { height: 260px; border-radius: 14px; }
  .page-hero { min-height: 360px; padding: 90px 0 48px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .page-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10,14,26,0.95) 0%,
      rgba(10,14,26,0.90) 100%
    );
  }
  .navbar-logo img { height: 36px; }
  .dropdown.mega { grid-template-columns: 1fr; min-width: auto; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
  .hero-wrapper { flex-direction: column; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-shape-1, .hero-shape-2, .hero-shape-3, .hero-shape-4 { opacity: 0.3 !important; }
  .hero-shape-1 { width: 200px; height: 200px; }
  .hero-shape-2 { width: 140px; height: 140px; }
  .hero-shape-3 { width: 200px; height: 200px; }
  .hero-shape-4 { width: 180px; height: 180px; opacity: 0.15 !important; }
  .cta-section { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; width: 100%; }
  .hero-shape { display: none; }
  .hero-badge { font-size: 0.75rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 24px; flex-direction: column; }
  .stat-item { border-left: 2px solid rgba(20, 184, 166, 0.3); padding-left: 16px; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; }
}

/* ---- BLOG CARDS ---- */
.blog-card {
  background: var(--bg-main); 
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color); 
  overflow: hidden;
  transition: all 0.3s ease; 
  display: flex; 
  flex-direction: column;
  color: inherit;
}
.blog-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
  border-color: var(--primary);
}
.blog-card-img {
  width: 100%; 
  height: 200px; 
  overflow: hidden; 
  background: var(--black);
}
.blog-card-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  display: flex; 
  align-items: center; 
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
}
.blog-card-body { 
  padding: 24px; 
  flex: 1; 
  display: flex; 
  flex-direction: column;
}
.blog-card-meta { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin-bottom: 12px; 
  flex-wrap: wrap;
}
.blog-card-title { 
  font-family: var(--font-display); 
  font-size: 1.05rem; 
  font-weight: 700; 
  color: var(--text-main); 
  margin-bottom: 10px; 
  line-height: 1.3;
}
.blog-card-excerpt { 
  font-size: 0.875rem; 
  color: var(--text-secondary); 
  line-height: 1.6; 
  flex: 1;
}
.blog-card-link { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: var(--primary); 
  font-size: 0.82rem; 
  font-weight: 600; 
  margin-top: 16px; 
  transition: gap 0.2s;
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* ---- BLOG CONTENT (Article Body) ---- */
.blog-content { 
  font-size: 1rem; 
  line-height: 1.85; 
  color: var(--text-secondary);
}
.blog-content h1 { 
  font-size: 2rem; 
  margin: 40px 0 16px; 
  color: var(--black);
}
.blog-content h2 { 
  font-size: 1.5rem; 
  margin: 36px 0 14px; 
  color: var(--black); 
  border-bottom: 2px solid var(--primary-light); 
  padding-bottom: 8px;
}
.blog-content h3 { 
  font-size: 1.2rem; 
  margin: 28px 0 12px; 
  color: var(--text-main);
}
.blog-content p { margin-bottom: 20px; }
.blog-content ul, .blog-content ol { margin: 0 0 20px 24px; }
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote { 
  border-left: 4px solid var(--primary); 
  margin: 24px 0; 
  padding: 16px 20px; 
  background: var(--primary-light); 
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content blockquote p { 
  margin: 0; 
  color: var(--text-secondary); 
  font-style: italic;
}
.blog-content code { 
  background: var(--bg-light); 
  padding: 2px 7px; 
  border-radius: 5px; 
  font-size: 0.875rem; 
  font-family: 'Courier New', monospace; 
  color: var(--primary-dark);
}
.blog-content pre { 
  background: var(--black); 
  padding: 20px; 
  border-radius: var(--radius); 
  overflow-x: auto; 
  margin: 20px 0;
}
.blog-content pre code { 
  background: none; 
  color: rgba(255,255,255,0.85); 
  padding: 0; 
  font-size: 0.875rem;
}
.blog-content a { 
  color: var(--primary); 
  text-decoration: underline;
}
.blog-content a:hover { color: var(--primary-dark); }
.blog-content img { 
  max-width: 100%; 
  border-radius: var(--radius); 
  margin: 20px 0;
}
.blog-content hr { 
  border: none; 
  border-top: 2px solid var(--border-color); 
  margin: 32px 0;
}
.blog-content table { 
  width: 100%; 
  border-collapse: collapse; 
  margin: 20px 0;
}
.blog-content th { 
  background: var(--black); 
  color: var(--white); 
  padding: 12px 16px; 
  text-align: left; 
  font-size: 0.875rem;
}
.blog-content td { 
  padding: 12px 16px; 
  border-bottom: 1px solid var(--border-color); 
  font-size: 0.9rem;
}

/* ---- NAVBAR LOGO SIZE FIX ---- */
.navbar-logo img { height: 52px; width: auto; }

@media (max-width: 768px) {
  .blog-content h2 { font-size: 1.3rem; }
  .blog-card-img { height: 160px; }
}

@media (max-width: 900px) {
  .blog-sidebar { display: none; }
}

/* Hero sections - all text left aligned */
.page-hero .section-label,
.page-hero h1,
.page-hero p,
.hero .section-label,
.hero h1,
.hero p,
.hero-sub,
.hero-badge,
.hero-actions,
.hero-stats,
.page-hero-content * {
  text-align: left;
}
.page-hero .section-label { margin-left: 0; }

/* ---- LEADERSHIP CARDS ---- */
.leader-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
  cursor: default;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); border-color: var(--teal); }
.leader-card-featured .leader-img-wrap { aspect-ratio: 3/4; }
.leader-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--black);
}
.leader-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.5s ease;
}
.leader-card:hover .leader-img { transform: scale(1.04); }
.leader-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #111 100%);
  position: relative;
}
.leader-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(20, 184, 166, 0.12) 0%, transparent 65%);
}
.leader-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events: none;
}
.leader-info {
  padding: 18px 20px;
  background: var(--white);
}
.leader-card-featured .leader-info { padding: 22px 24px; }
.leader-name {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--black); margin-bottom: 5px;
  line-height: 1.2;
}
.leader-card-featured .leader-name { font-size: 1.1rem; }
.leader-role {
  font-size: 0.78rem; color: var(--teal);
  font-weight: 600; line-height: 1.4;
}
.leader-card-featured .leader-role { font-size: 0.82rem; }

/* Teal accent bar on hover */
.leader-card::before {
  content: ''; display: block;
  height: 3px; background: var(--teal);
  transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.leader-card:hover::before { transform: scaleX(1); }

@media (max-width: 900px) {
  .leader-card-featured { grid-column: span 1; }
}
@media (max-width: 768px) {
  /* override grid to 2 cols on mobile */
}

/* -----------------------
   Responsive typography
   ----------------------- */
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  body { line-height: 1.6; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}


/* ============================================
   QA FIXES - Applied per QA Report
============================================ */

/* Reduce excessive spacing on inner pages */
.page-hero + .section { padding-top: 48px; }
.section + .section { padding-top: 52px; }

/* Process steps - one horizontal line covering all 6 steps */
.process-steps {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 0 !important;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #03A4C1 0%, rgba(3,164,193,0.15) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

/* Button global alignment fix */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Card equal height fix */
.grid-4 .card,
.grid-3 .card,
.grid-2 .card {
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

/* Services grid cards - equal height */
.services-grid .service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Industry card icon background fix */
.industry-card-icon {
  background: rgba(3,164,193,0.15) !important;
}

/* Tech stack logos */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

/* Footer logo bigger */
.footer-logo {
  height: 80px !important;
  width: auto;
}

/* Hero canvas z-index fix */
.hero > * { position: relative; }
.hero { overflow: hidden; }

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .process-steps::before { display: none; }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Service icon images (JPG replacements for SVG placeholders) */
.service-icon-img {
  width: 100%;
  height: 420px;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(3,164,193,0.10);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-icon-img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 32px 72px rgba(0,0,0,0.22), 0 8px 24px rgba(3,164,193,0.16);
}
