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

:root {
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(215, 25%, 20%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 20%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(215, 25%, 20%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(43, 96%, 56%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(214, 32%, 91%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(142, 71%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --ring: hsl(217, 91%, 60%);
  --chart-1: hsl(217, 91%, 60%);
  --chart-2: hsl(142, 71%, 45%);
  --chart-3: hsl(43, 96%, 56%);
  --chart-4: hsl(0, 84%, 60%);
  --chart-5: hsl(142, 71%, 45%);
  --sidebar: hsl(0, 0%, 100%);
  --sidebar-foreground: hsl(215, 25%, 20%);
  --sidebar-primary: hsl(217, 91%, 60%);
  --sidebar-primary-foreground: hsl(0, 0%, 100%);
  --sidebar-accent: hsl(214, 32%, 91%);
  --sidebar-accent-foreground: hsl(217, 91%, 60%);
  --sidebar-border: hsl(214, 32%, 91%);
  --sidebar-ring: hsl(217, 91%, 60%);
  --font-sans: Inter, sans-serif;
  --font-serif: Georgia, serif;
  --font-mono: Menlo, monospace;
  --radius: 0.5rem;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* Layout utilities */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Grid system */
.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Spacing utilities */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.p-24 { padding: 6rem; }
.p-32 { padding: 8rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Responsive utilities */
.hidden { display: none; }
.block { display: block; }

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Text utilities */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Color utilities */
.text-white { color: white; }
.text-slate-300 { color: hsl(215, 20%, 65%); }
.text-slate-600 { color: hsl(215, 16%, 47%); }
.text-slate-700 { color: hsl(215, 25%, 27%); }
.text-slate-800 { color: hsl(215, 25%, 20%); }
.text-slate-900 { color: hsl(215, 25%, 20%); }

.bg-white { background-color: white; }
.bg-slate-50 { background-color: hsl(210, 40%, 98%); }
.bg-slate-200 { background-color: hsl(214, 32%, 91%); }
.bg-slate-800 { background-color: hsl(215, 25%, 20%); }
.bg-slate-900 { background-color: hsl(215, 25%, 20%); }

.border-slate-200 { border-color: hsl(214, 32%, 91%); }

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: hsl(217, 91%, 55%);
  border-color: hsl(217, 91%, 55%);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: hsl(43, 96%, 51%);
  border-color: hsl(43, 96%, 51%);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-ghost:hover {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.btn-xl {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-md {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Card styles */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-content {
  padding: 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

.brand-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.navbar-nav {
  display: none;
  align-items: baseline;
  gap: 1rem;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

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

/* Mobile menu */
.mobile-menu-toggle {
  display: block;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: white;
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--foreground) 0%, hsl(215, 25%, 15%) 50%, var(--foreground) 100%);
  color: white;
  padding-top: 4rem;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 8rem 1rem;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(215, 20%, 65%);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 48rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Trust badges */
.trust-badges {
  background-color: white;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.trust-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Section styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Section backgrounds - Our Expert Services & Our Process */
.section-with-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-with-bg .container {
  position: relative;
  z-index: 1;
}

.section-services {
  background-image: url('/assets/images/background/lilitile-kitchen-9288111_1280.jpg');
}

.section-services::before {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.72) 0%, rgba(241, 245, 249, 0.78) 50%, rgba(226, 232, 240, 0.75) 100%);
}

.section-process {
  background-image: url('/assets/images/background/randyjost-architecture-5339245_1280.jpg');
}

.section-process::before {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.7) 0%, rgba(241, 245, 249, 0.76) 70%, rgba(226, 232, 240, 0.74) 100%);
}

.section-testimonials {
  background-image: url('/assets/images/background/gabedejong-ameland-5651866_1280.jpg');
}

.section-testimonials::before {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.72) 0%, rgba(241, 245, 249, 0.78) 50%, rgba(226, 232, 240, 0.75) 100%);
}

.section-contact {
  background-image: url('/assets/images/background/y_v_89-lake-7223904_1280.jpg');
}

.section-contact::before {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.72) 0%, rgba(241, 245, 249, 0.78) 50%, rgba(226, 232, 240, 0.75) 100%);
}

.section-gallery {
  background-image: url('/assets/images/background/652234-architecture-1719526_1280.jpg');
}

.section-gallery::before {
  background: linear-gradient(165deg, rgba(248, 250, 252, 0.72) 0%, rgba(241, 245, 249, 0.78) 50%, rgba(226, 232, 240, 0.75) 100%);
}

/* Service cards */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-row {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .services-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: scale(1.01);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.service-card.featured:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    line-height: 1.3;
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.service-features li {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 0.85rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Footer */
/* Scroll to top - public site */
.btn-scroll-top-public {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(217, 91%, 60%) 0%, hsl(221, 83%, 53%) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.btn-scroll-top-public.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-scroll-top-public:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
  color: #fff;
}

.btn-scroll-top-public i {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Footer with background and bubbles */
.footer {
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-with-bg {
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(15, 23, 42, 0.9) 100%);
}

.footer-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: footer-bubble-float 15s ease-in-out infinite;
}

.footer-bubble-1 { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; }
.footer-bubble-2 { width: 120px; height: 120px; top: 60%; left: 8%; animation-delay: -3s; }
.footer-bubble-3 { width: 60px; height: 60px; top: 25%; right: 12%; animation-delay: -5s; }
.footer-bubble-4 { width: 100px; height: 100px; top: 70%; right: 5%; animation-delay: -7s; }
.footer-bubble-5 { width: 45px; height: 45px; top: 40%; left: 25%; animation-delay: -2s; }
.footer-bubble-6 { width: 70px; height: 70px; top: 15%; right: 30%; animation-delay: -4s; }

@keyframes footer-bubble-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(10px, -15px) scale(1.05); opacity: 0.8; }
  66% { transform: translate(-8px, 10px) scale(0.95); opacity: 0.5; }
}

.footer-with-bg .footer-content {
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: hsl(215, 20%, 65%);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid hsl(215, 25%, 15%);
  padding-top: 1.5rem;
  text-align: center;
  color: hsl(215, 20%, 65%);
}

/* Social media icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 2rem;
  height: 2rem;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.social-icon:hover {
  color: white;
}

/* Utility classes */
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }

.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }

.w-full { width: 100%; }
.h-16 { height: 4rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }

/* Transform utilities */
.transform { transform: translateZ(0); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-white:hover { background-color: white; }
.hover\:text-slate-900:hover { color: hsl(215, 25%, 20%); }

/* Transition utilities */
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }

/* Focus utilities */
.focus\:outline-none:focus { outline: none; }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px var(--ring); }
.focus-visible\:ring-white:focus-visible { box-shadow: 0 0 0 2px white; }
.focus-visible\:ring-offset-2:focus-visible { box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px white; }
.focus-visible\:ring-offset-slate-900:focus-visible { box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px hsl(215, 25%, 20%); }

/* Border utilities */
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }

/* Opacity utilities */
.opacity-20 { opacity: 0.2; }

/* Z-index utilities */
.z-50 { z-index: 50; }

/* Backdrop utilities */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Shadow utilities */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* Before/After slider styles */
.before-after-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.before-image,
.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-image {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s ease;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: grab;
  z-index: 10;
}

.slider:active {
  cursor: grabbing;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px var(--ring);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: hsl(142, 71%, 45%, 0.1);
  border: 1px solid hsl(142, 71%, 45%);
  color: hsl(142, 71%, 45%);
}

.alert-error {
  background-color: hsl(0, 84%, 60%, 0.1);
  border: 1px solid hsl(0, 84%, 60%);
  color: hsl(0, 84%, 60%);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Responsive images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Text utilities */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

/* Background utilities */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-muted { background-color: var(--muted); }

/* Border utilities */
.border-primary { border-color: var(--primary); }
.border-secondary { border-color: var(--secondary); }
.border-accent { border-color: var(--accent); }

/* Hover states */
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-secondary:hover { background-color: var(--secondary); }
.hover\:bg-accent:hover { background-color: var(--accent); }

.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:text-accent:hover { color: var(--accent); }

/* Focus states */
.focus\:ring-primary:focus { box-shadow: 0 0 0 2px var(--ring); }
.focus\:ring-secondary:focus { box-shadow: 0 0 0 2px var(--secondary); }
.focus\:ring-accent:focus { box-shadow: 0 0 0 2px var(--accent); }

/* Process Section */
.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
    flex-shrink: 0;
}

.process-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.process-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    position: relative;
}

.process-step:nth-child(even) .process-content {
    text-align: right;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.process-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.process-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.process-step:nth-child(even) .process-features {
    justify-content: flex-end;
}

.process-feature {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* Responsive adjustments for process section */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 40px;
    }
    
    .process-step:nth-child(even) {
        flex-direction: column !important;
        align-items: flex-start;
    }
    
    .process-content {
        margin: 1rem 0 0 0;
        text-align: left !important;
    }
    
    .process-step:nth-child(even) .process-content {
        text-align: left !important;
    }
    
    .process-features {
        justify-content: flex-start !important;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.5rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Form improvements */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: white;
}

.form-input.compact,
.form-textarea.compact,
.form-select.compact {
    padding: 0.75rem;
    font-size: 0.95rem;
}

.form-textarea.compact {
    min-height: 6rem;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

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

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.95rem;
}



