/* Modern CSS Reset and Variables */
:root {
  --primary: #1e3a5f;
  --primary-light: #2d5a87;
  --primary-dark: #0f1419;
  --accent: #16a085;
  --accent-light: #48c9b0;
  --accent-dark: #138d75;
  --secondary: #27ae60;
  --secondary-light: #58d68d;
  --tertiary: #f39c12;
  --tertiary-light: #f7dc6f;
  --warm: #e67e22;
  --warm-light: #f8c471;
  --dark: #1e3a5f;
  --gray-50: #f8fafb;
  --gray-100: #f1f5f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #64748b;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px 0 rgba(30, 58, 95, 0.1), 0 1px 2px 0 rgba(30, 58, 95, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(30, 58, 95, 0.1), 0 2px 4px -1px rgba(30, 58, 95, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(30, 58, 95, 0.1), 0 4px 6px -2px rgba(30, 58, 95, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(30, 58, 95, 0.1), 0 10px 10px -5px rgba(30, 58, 95, 0.04);
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Source Sans Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Crimson Text', Georgia, serif;
}

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

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

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

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-lg);
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.025em;
}

.logo:hover {
  color: var(--accent-light);
}

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

.nav-links li a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent-light);
}

#toggle,
.burger {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    background: var(--primary);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    justify-content: flex-start;
    gap: 1.5rem;
  }
  
  #toggle:checked ~ .nav-links {
    right: 0;
  }
  
  .burger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    padding: 0.5rem;
    transition: var(--transition);
  }
  
  .burger:hover {
    color: var(--accent-light);
  }
  
  .nav-links li a {
    font-size: 1.125rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
}

/* Hero Section - Clean Structure */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 100px 0 120px;
  position: relative;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 85%, rgba(22, 160, 133, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(30, 58, 95, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  padding: 0 2rem 8rem;
  position: relative;
  z-index: 2;
  animation: heroSlideIn 1.2s ease-out;
  max-width: 600px;
}

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

.hero-badge {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.025em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(22, 160, 133, 0.1), transparent);
  transform: rotate(45deg);
  opacity: 0;
}

.hero-badge:hover::before {
  animation: shine 0.6s ease-out;
}

.hero-badge.visible::before {
  animation: shine 0.6s ease-out;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 160, 133, 0.2);
}

.hero h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--gray-600);
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 100%;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  min-height: 5.4rem; /* Space for 2 lines: 1.2 line-height * 2.25rem font-size * 2 lines */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 2.47rem; /* Space for 2 lines: 1.3 line-height * 0.95rem font-size * 2 lines */
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-image-professional {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 500px;
  height: 600px;
}

.hero-image-professional img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--white);
  display: block;
  transition: transform 0.3s ease;
  opacity: 1 !important;
}

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

.professional-placeholder {
  width: 280px;
  height: 350px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--white);
  position: relative;
  overflow: hidden;
}

.professional-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 160, 133, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
}

.placeholder-label {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.placeholder-icon {
  font-size: 4rem;
  opacity: 0.6;
  position: relative;
  z-index: 2;
}

/* Desktop floating elements container */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 4;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(30, 58, 95, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.floating-card:hover {
  transform: scale(1.05);
}

/* Desktop floating card positions */
.floating-card.contract {
  top: 15%;
  right: 5%;
  animation-delay: 0s;
}

.floating-card.funding {
  bottom: 40%;
  left: 5%;
  animation-delay: 2s;
}

.floating-card.ip {
  bottom: 15%;
  right: 8%;
  animation-delay: 4s;
}

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

@keyframes floatMobile {
  0%, 100% {
    transform: scale(0.7) translateY(0px) rotate(0deg);
  }
  50% {
    transform: scale(0.7) translateY(-15px) rotate(1deg);
  }
}

@keyframes floatMobileCenter {
  0%, 100% {
    transform: translateX(-50%) scale(0.7) translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) scale(0.7) translateY(-15px) rotate(1deg);
  }
}

.floating-card .card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.floating-card .card-text {
  display: flex;
  flex-direction: column;
}

.floating-card .card-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.floating-card .card-text span {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

@media (hover: hover) {
  .btn:hover::before {
    left: 100%;
  }
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

@media (hover: hover) {
  .btn.primary:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
}

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

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

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
  }
  
  .hero-buttons .btn {
    flex: 1;
    max-width: 150px;
    font-size: 0.85rem;
    padding: 0.7rem 0.8rem;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--gray-50);
}

/* Services Showcase Section */
.services-showcase {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 0 0 8rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.services-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(22, 160, 133, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.services-intro {
  text-align: center;
  margin-bottom: 5rem;
  padding-top: 6rem;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.intro-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(22, 160, 133, 0.1), transparent);
  transform: rotate(45deg);
  opacity: 0;
}

.intro-badge:hover::before {
  animation: shine 0.6s ease-out;
}

.intro-badge.visible::before {
  animation: shine 0.6s ease-out;
}

@keyframes shine {
  0% { 
    opacity: 0;
    transform: translateX(-100%) translateY(-100%) rotate(45deg); 
  }
  50% { 
    opacity: 1;
    transform: translateX(0%) translateY(0%) rotate(45deg); 
  }
  100% { 
    opacity: 0;
    transform: translateX(100%) translateY(100%) rotate(45deg); 
  }
}

.intro-badge:hover span {
  transform: scale(1.05);
}

.intro-badge.variant-blue {
  color: var(--white);
  border-color: var(--white);
}

.intro-badge.variant-blue::before {
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.intro-badge.variant-blue:hover span {
  transform: scale(1.05);
}

.intro-badge.variant-blue-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.intro-badge.variant-blue-outline::before {
  background: linear-gradient(45deg, transparent, rgba(30, 58, 95, 0.1), transparent);
}

.intro-badge.variant-blue-outline:hover span {
  transform: scale(1.05);
}

.intro-badge.variant-green {
  color: var(--accent);
  border-color: var(--accent);
}

.intro-badge.variant-green:hover span {
  transform: scale(1.05);
}

.intro-badge.variant-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.intro-badge.variant-secondary::before {
  background: linear-gradient(45deg, transparent, rgba(108, 117, 125, 0.1), transparent);
}

.intro-badge.variant-secondary:hover span {
  transform: scale(1.05);
}

/* Hover animations for intro badges */
.intro-badge span {
  transition: transform 0.3s ease;
}

.services-intro h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.services-intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
  align-items: start;
}

@media (min-width: 769px) {
  .services-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.services-description {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.services-description h3 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.services-description p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.services-description ul {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.services-description ul li {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 0;
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
}

.services-description ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--accent-light);
  font-weight: bold;
  font-size: 1.1rem;
}

.services-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-point {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.service-point:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.point-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 160, 133, 0.2);
  border-radius: 50%;
  border: 2px solid rgba(22, 160, 133, 0.3);
}

.point-content {
  flex: 1;
}

.point-content h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
}

.point-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Services Grid Responsive */
@media (max-width: 1024px) {
  .services-grid {
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2.5rem 2rem;
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .services-showcase {
    padding: 0 0 6rem;
  }
  
  .services-container {
    padding: 0 1.5rem;
  }
  
  .services-intro {
    margin-bottom: 3rem;
    padding-top: 4rem;
  }
  
  .services-layout {
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .services-description {
    padding: 2rem 1.5rem;
  }
  
  .services-description h3 {
    font-size: 1.5rem;
  }
  
  .service-point {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .service-point:hover {
    transform: translateY(-5px);
  }
  
  .point-number {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .point-content h4 {
    font-size: 1.125rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
}

/* Cards Grid - Centered Layout */
.cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
  width: 100%;
  margin-top: 3rem;
}

/* Why Cards Section - Same approach as testimonials */
.why-cards-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin-top: 3rem;
}

/* Center cards only on desktop */
@media (min-width: 769px) {
  .why-cards-container {
    justify-content: center;
  }
}

.why-cards-container::-webkit-scrollbar {
  height: 4px;
}

.why-cards-container::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 2px;
}

.why-cards-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

.why-cards-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.why-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  min-width: 320px;
  width: 320px;
  flex-shrink: 0;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .why-card:hover::before {
    transform: scaleX(1);
  }
  
  .why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
  }
}

.why-card-icon {
  margin-bottom: 1.5rem;
}

.why-card-icon span {
  font-size: 3rem;
  display: block;
}

.why-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.why-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
}

.card {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  text-align: center;
  min-width: 280px;
  width: 280px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Add transform transitions only for hover-capable devices */
@media (hover: hover) {
  .card {
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }
}

.card-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.icon-placeholder {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  position: relative;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.placeholder-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.icon-placeholder.brain {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 139, 250, 0.1) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.icon-placeholder.lightning {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
  border-color: rgba(59, 130, 246, 0.2);
}

.icon-placeholder.chat {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.icon-placeholder.money {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.icon-placeholder.target {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
  border-color: rgba(239, 68, 68, 0.2);
}

.icon-placeholder.phone {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-color: rgba(16, 185, 129, 0.2);
}

.icon-placeholder.shield {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 139, 250, 0.1) 100%);
  border-color: rgba(139, 92, 246, 0.2);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 158, 46, 0.02) 0%, rgba(26, 54, 93, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .card:hover::before {
    transform: scaleX(1);
  }

  .card:hover::after {
    opacity: 1;
  }
}

/* Disable card hover effects on touch devices to prevent scaling issues */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
  }
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* Testimonials Showcase Section */
.testimonials-showcase {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(22, 160, 133, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(39, 174, 96, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.testimonials-intro .intro-badge {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.testimonials-intro h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.testimonials-intro p {
  color: var(--gray-600);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.testimonials-scroll-container {
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
}

.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.testimonials-grid::-webkit-scrollbar {
  height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  min-height: 200px;
  min-width: 320px;
  width: 320px;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.testimonial-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  transform: scale(1.02);
  z-index: 2;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.testimonial-card.featured::before {
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--secondary) 100%);
}

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

.testimonial-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background: radial-gradient(circle at 70% 30%, var(--accent) 0%, transparent 70%);
  transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-bg {
  opacity: 0.1;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card.featured .quote-mark {
  color: rgba(255, 255, 255, 0.3);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: auto;
  flex: 1;
}

.testimonial-card.featured .testimonial-content p {
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.testimonial-card.featured .testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.testimonial-card.featured .author-avatar {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.author-info {
  flex: 1;
}

.author-info strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.testimonial-card.featured .author-info strong {
  color: var(--white);
}

.author-info > span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.testimonial-card.featured .author-info > span {
  color: rgba(255, 255, 255, 0.8);
}

.company-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial-card.featured .company-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.testimonials-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--gray-200);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Testimonials Responsive */
@media (max-width: 1024px) {
  .testimonials-grid {
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
    min-height: 250px;
  }
  
  .testimonials-stats {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .testimonials-showcase {
    padding: 6rem 0;
  }
  
  .testimonials-container {
    padding: 0 1.5rem;
  }
  
  .testimonials-intro {
    margin-bottom: 3rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card.featured {
    transform: none;
    order: -1;
  }
  
  .testimonial-card.featured:hover {
    transform: translateY(-5px);
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
    min-height: 220px;
  }
  
  .testimonials-stats {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .quote-mark {
    font-size: 3rem;
    top: 0.5rem;
    left: 1rem;
  }
}

/* Service Packages - Accordion Style */
.packages-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.package-item {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.package-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.package-item:hover::before {
  transform: scaleX(1);
}

.package-item.popular {
  border-color: var(--accent);
  transform: scale(1.02);
  z-index: 2;
}

.package-item.popular::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
}

.package-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.package-item.popular:hover {
  transform: scale(1.02) translateY(-2px);
}

.package-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.package-header:hover {
  background: rgba(22, 160, 133, 0.02);
}

.package-title {
  flex: 1;
  position: relative;
}

.package-title h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.package-title p {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.popular-badge {
  position: absolute;
  top: -0.5rem;
  right: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.package-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0 2rem;
}

.price-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.package-toggle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 2px solid var(--gray-200);
}

.package-item:hover .package-toggle {
  background: var(--accent);
  border-color: var(--accent);
}

.package-item:hover .toggle-icon {
  color: var(--white);
}

.package-item.active .package-toggle {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.package-item.active .toggle-icon {
  color: var(--white);
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-600);
  transition: var(--transition);
  line-height: 1;
}

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

.package-item.active .package-content {
  max-height: 600px;
}

.package-description {
  padding: 0 2.5rem 2.5rem;
  border-top: 1px solid var(--gray-200);
  background: rgba(22, 160, 133, 0.01);
}

.package-description p {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.package-description ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.package-description ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  padding-left: 2rem;
  color: var(--gray-700);
  line-height: 1.6;
  transition: var(--transition);
}

.package-description ul li:last-child {
  border-bottom: none;
}

.package-description ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}

.package-description ul li:hover {
  background: rgba(22, 160, 133, 0.03);
  padding-left: 2.5rem;
}

.package-action {
  margin-top: 2rem;
  text-align: center;
}

.package-action .btn {
  min-width: 200px;
}

/* Legacy packages grid for backward compatibility */
.packages {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 3rem;
}

.package {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 2px solid var(--gray-200);
  overflow: hidden;
}

.package::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.package:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.package h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.package ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.package ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  padding-left: 2rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.package ul li:last-child {
  border-bottom: none;
}

.package ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive packages accordion */
@media (max-width: 768px) {
  .packages-accordion {
    margin-top: 2rem;
  }
  
  .package-header {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .package-price {
    align-items: flex-start;
    margin: 0;
  }
  
  .package-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .toggle-icon {
    font-size: 1.25rem;
  }
  
  .package-description {
    padding: 0 1.5rem 1.5rem;
  }
  
  .package-title h3 {
    font-size: 1.25rem;
  }
  
  .price {
    font-size: 1.75rem;
  }
  
  .popular-badge {
    position: static;
    display: inline-block;
    margin-top: 0.5rem;
  }
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(214, 158, 46, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.cta .btn {
  position: relative;
  z-index: 2;
}

/* Sub Hero */
.sub-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  padding-top: calc(80px + 6rem);
}

.sub-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.sub-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 1.5rem;
  font-family: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-600);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 3rem;
}

.contact-form button {
  width: 100%;
  margin-top: 1rem;
}

/* Contact page layout - simple and clean */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Fix cards - force them to use full width and align properly */
.contact-layout .cards {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
}

.contact-layout .card {
  width: 100% !important;
  margin: 0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* Footer */
footer {
  background: var(--gray-800);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 0;
}

footer p {
  color: var(--gray-300);
  margin: 0;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .packages {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* About Section Responsive */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .about-content > div:first-child {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .about-content img {
    height: 250px !important;
  }
}

/* Services Points Horizontal Scroll on Mobile */
@media (max-width: 768px) {
  .services-carousel.services-points {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0 2rem;
    margin: 0 0.3rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-x;
  }
  
  .services-carousel .service-point {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    flex-direction: column;
    padding: 2rem 1.5rem;
    cursor: grab;
    user-select: none;
  }
  
  .services-carousel .service-point:active {
    cursor: grabbing;
  }
  
  .services-carousel::-webkit-scrollbar {
    display: none;
  }
  
  
  @keyframes slideInFromRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .carousel-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
  }
}

/* Hide carousel navigation on desktop */
@media (min-width: 769px) {
  .carousel-nav {
    display: none;
  }
}

/* Mobile Hero - Clean Structure */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 100px;
  }
  
  .hero-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  
  .hero-content {
    order: 2;
    padding: 2rem 1.5rem 8rem;
    text-align: center;
  }
  
  .hero-visual {
    order: 1;
    width: 100vw;
    height: 300px;
    margin-left: calc(-50vw + 50%);
    position: relative;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .hero-image-professional {
    width: 100%;
    height: 100%;
  }
  
  .hero-image-professional img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    border: 3px solid var(--white);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
    display: block;
  }
  
  /* Mobile floating card overrides */
  .floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }
  
  .floating-card.contract {
    top: 25px !important;
    left: 25px !important;
    right: auto !important;
    bottom: auto !important;
    animation: floatMobile 6s ease-in-out infinite;
    animation-delay: 0s;
  }
  
  .floating-card.funding {
    top: 25px !important;
    right: 25px !important;
    left: auto !important;
    bottom: auto !important;
    animation: floatMobile 6s ease-in-out infinite;
    animation-delay: 2s;
  }
  
  .floating-card.ip {
    bottom: 25px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    animation: floatMobileCenter 6s ease-in-out infinite;
    animation-delay: 4s;
  }
  
  .hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
  }
  
  .stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero-buttons .btn {
    flex: 1;
    max-width: 170px;
  }
    animation: none;
  }
  
  /* Mobile floating elements container */
  .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 4;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .packages {
    grid-template-columns: 1fr;
  }
  
  .card,
  .package {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 0;
  }
  
  .cta {
    padding: 4rem 1rem;
  }
  
  .sub-hero {
    padding: 6rem 1rem 3rem;
  }
  
  
  /* Marijn's story section responsive */
  .section .container > div[style*="grid-template-columns: 1fr 300px"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .section .container > div[style*="grid-template-columns: 1fr 300px"] > div[style*="position: sticky"] {
    position: static !important;
    order: -1;
  }
  
  .section .container > div[style*="grid-template-columns: 1fr 300px"] > div[style*="position: sticky"] > div {
    max-width: 250px;
    margin: 0 auto;
  }
  
  .section .container > div[style*="grid-template-columns: 1fr 300px"] > div[style*="position: sticky"] > div > div[style*="height: 350px"] {
    height: 280px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  
  .hero {
    padding: 5rem 1rem 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Smooth scrolling and performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Unique Proposition / Comparison Section */
.unique-proposition {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
}

.unique-proposition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(22, 160, 133, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(39, 174, 96, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.unique-proposition .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.unique-proposition .section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 1rem 0 2rem;
  width: 100%;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.comparison-grid::-webkit-scrollbar {
  height: 8px;
}

.comparison-grid::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 4px;
}

.comparison-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.comparison-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

.comparison-side {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 300px;
  flex: 1;
  max-width: 500px;
  scroll-snap-align: start;
}

.comparison-side.traditional {
  border-color: #e74c3c;
}

.comparison-side.traditional::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

.comparison-side.marijn {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--white) 0%, rgba(22, 160, 133, 0.02) 100%);
}

.comparison-side.marijn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.comparison-side h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
}

.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background: rgba(248, 250, 252, 0.5);
  transition: var(--transition);
}

.comparison-item:hover {
  background: rgba(248, 250, 252, 0.8);
  transform: translateX(5px);
}

.comparison-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.comparison-item div {
  flex: 1;
}

.comparison-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.comparison-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  min-height: 2.85rem; /* Space for 2 lines: 1.5 line-height * 0.95rem font-size * 2 lines */
  display: flex;
  align-items: flex-start;
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 1rem;
}

.vs-divider span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  font-family: var(--font-serif);
}

.vs-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  z-index: 1;
}

/* Responsive comparison grid */
@media (max-width: 1024px) {
  .comparison-grid {
    gap: 1.5rem;
  }
  
  .comparison-side {
    padding: 2rem 1.5rem;
    min-width: 280px;
  }
}

/* Before/After Comparison - Desktop: Side by Side */
.comparison-slider-container {
  display: flex;
  max-width: 900px;
  margin: 3rem auto;
  gap: 2rem;
  align-items: stretch;
}

.comparison-content-static {
  display: contents; /* Let children be direct flex items */
}

.comparison-side-static {
  flex: 1;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
}

.comparison-side-static:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.traditional-side {
  background: #fff5f5;
  border-color: #e74c3c;
}

.rinck-side {
  background: #f0fdf4;
  border-color: var(--accent);
}

/* Hide mobile-only elements on desktop */
.comparison-divider {
  display: none;
}

/* Remove old divider line */

.comparison-side-static h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
}

.comparison-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.comparison-item .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.comparison-item div {
  flex: 1;
}

.comparison-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.comparison-item p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
  min-height: 2.85rem; /* Space for 2 lines: 1.5 line-height * 0.95rem font-size * 2 lines */
  display: flex;
  align-items: flex-start;
}

/* Vertical Divider with Drag Handle */
.comparison-divider {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  cursor: ew-resize;
  z-index: 10;
  user-select: none;
  transition: left 0.1s ease;
}

.divider-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--gray-300);
  transform: translateX(-50%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  cursor: ew-resize;
}

.divider-handle:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) scale(1.1);
}

.handle-arrows {
  display: flex;
  gap: 1px;
  font-size: 10px;
  color: var(--gray-500);
  font-weight: bold;
  line-height: 1;
}

.divider-handle:hover .handle-arrows {
  color: var(--accent);
}

@media (max-width: 768px) {
  /* Mobile: Switch to draggable slider */
  .comparison-slider-container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    margin: 2rem auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
  }
  
  .comparison-content-static {
    display: block; /* Override desktop display: contents */
    position: relative;
    width: 100%;
    height: 600px;
  }
  
  .comparison-side-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
    box-shadow: none; /* Remove desktop shadow */
  }
  
  .comparison-side-static:hover {
    transform: none; /* Remove desktop hover */
    box-shadow: none;
  }
  
  .traditional-side {
    z-index: 1;
  }
  
  .rinck-side {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease;
  }
  
  /* Show mobile divider */
  .comparison-divider {
    display: block;
  }
}
  
  .comparison-side-static h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .comparison-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .comparison-item .icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
  }
  
  .comparison-item strong {
    font-size: 1rem;
  }
  
  .comparison-item p {
    font-size: 0.9rem;
    min-height: 2.7rem; /* Adjusted for smaller mobile font size */
  }
}

@media (max-width: 480px) {
  .comparison-side {
    padding: 1.5rem 1rem;
  }
  
  .comparison-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .comparison-item .icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
  }
  
  .comparison-item strong {
    font-size: 1rem;
  }
  
  .comparison-item p {
    font-size: 0.9rem;
    min-height: 2.7rem; /* Adjusted for smaller mobile font size */
  }
  
  .comparison-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .comparison-dot {
    width: 10px;
    height: 10px;
  }
  
  .swipe-indicator {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

/* FAQ Accordion Styles */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  border-color: #16a085;
  box-shadow: 0 4px 12px rgba(22, 160, 133, 0.15);
}

.faq-item.active {
  border-color: #16a085;
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.2);
}

.faq-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.faq-header:hover {
  background-color: #f8fafc;
}

.faq-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: #16a085;
  border-color: #16a085;
  transform: rotate(45deg);
}

.faq-toggle .toggle-icon {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4a5568;
  transition: color 0.3s ease;
}

.faq-item.active .faq-toggle .toggle-icon {
  color: white;
}

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

.faq-item.active .faq-content {
  max-height: 1000px;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.faq-answer p {
  margin: 1rem 0;
  color: #4a5568;
  line-height: 1.6;
}

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.faq-answer ul li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #4a5568;
  line-height: 1.5;
}

.faq-answer ul li::before {
  content: "•";
  color: #16a085;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

@media (max-width: 768px) {
  .faq-header {
    padding: 1.25rem;
  }
  
  .faq-header h3 {
    font-size: 1.125rem;
  }
  
  .faq-toggle {
    width: 28px;
    height: 28px;
  }
  
  .faq-toggle .toggle-icon {
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .burger,
  .btn,
  .cta {
    display: none;
  }
  
  .hero {
    background: none;
    color: var(--dark);
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}
