/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --accent-color: #ec4899;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --background-dark: #111827;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Monaco, "Cascadia Code", monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
}

.title-accent {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-logo i,
.nav-logo .logo-icon {
  font-size: 1.75rem;
}

.logo-image {
  height: 2rem;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.1) saturate(1.2);
  transform: rotate(-2deg);
}

.nav-logo:hover .logo-image {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.3) saturate(1.4);
}

.logo-icon {
  transition: transform 0.3s ease;
  filter: brightness(1.1) saturate(1.2);
  transform: rotate(-2deg);
}

.nav-logo:hover .logo-icon {
  transform: scale(1.1) rotate(5deg);
  filter: brightness(1.3) saturate(1.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="80" r="2.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="1.2" fill="rgba(255,255,255,0.06)"/></svg>')
    repeat;
  animation: float 20s linear infinite;
}

.hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.9),
    rgba(79, 70, 229, 0.8)
  );
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: white;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title-main {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #ffffff, #a8b2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #a8b2ff;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  position: relative;
  animation: pulse 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-logo-image {
  width: 70%;
  height: auto;
  filter: brightness(1.2) saturate(1.3)
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.hero-logo:hover .hero-logo-image {
  transform: scale(1.1) rotate(5deg);
}

.hero-fox {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  position: relative;
  animation: pulse 3s ease-in-out infinite;
}

.hero-fox::before {
  content: "🦊";
  font-size: 10rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  filter: brightness(1.2) saturate(1.3);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  opacity: 0.7;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* About Section */
.about {
  padding: 8rem 0;
  background: var(--background-alt);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-specialties {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.specialty {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.specialty:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.specialty i {
  color: var(--primary-color);
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.badge i {
  font-size: 2rem;
  color: var(--primary-color);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-content h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.badge-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Services Section */
.services {
  padding: 8rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.service-features span {
  background: var(--background-alt);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Portfolio Section */
.portfolio {
  padding: 8rem 0;
  background: var(--background-alt);
  overflow: hidden;
}

.portfolio-slider {
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  scroll-snap-type: x mandatory;
  align-items: stretch;
  padding-left: 2rem;
}

.portfolio-track:active {
  cursor: grabbing;
}

.portfolio-item {
  min-width: 400px;
  max-width: 450px;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  scroll-snap-align: start;
  margin: 0 auto;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.before-after {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before,
.after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before {
  z-index: 1;
}

.after {
  z-index: 2;
  width: 50%;
}

.before img,
.after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  z-index: 3;
  cursor: ew-resize;
  transition: background-color 0.3s ease;
}

.slider-handle:hover {
  background: #4338ca;
}

.slider-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-handle:hover::before {
  background: #4338ca;
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-tags span {
  background: var(--background-alt);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-btn {
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Process Section */
.process {
  padding: 8rem 0;
  background: white;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2rem;
  background: var(--background-alt);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-icon {
  margin: 2rem auto 1rem;
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.75rem;
  box-shadow: var(--shadow-md);
}

.process-step h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.step-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.step-features i {
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background: var(--background-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-content p {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.author-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background: white;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 1.5rem;
  margin-bottom: 3rem;
  justify-content: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background-alt);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-height: 80px;
  width: 100%;
  box-sizing: border-box;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.method-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.method-content h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.method-content span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contact Form Styles */
.contact-form-container {
  margin: 3rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  background: var(--background-alt);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: white;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group 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.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 0;
  width: 100%;
}

.checkbox-text {
  display: inline;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  margin-top: 0;
  margin-right: 0.75rem;
}

.checkbox-text {
  display: inline;
  flex: 1;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--accent-color);
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  min-height: 1.2rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit .btn-primary {
  min-width: 200px;
  position: relative;
}

.form-submit .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.contact-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.contact-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e5e5;
}

.contact-divider span {
  background: white;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Honeypot (verstecktes Feld für Spam-Schutz) */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Footer Section */
.footer {
  background: var(--background-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo .logo-image {
  height: 2rem;
  width: auto;
  filter: brightness(1.2);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: 3rem;
  justify-content: flex-end;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* WhatsApp Sticky Button */
.whatsapp-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.whatsapp-btn {
  width: 4rem;
  height: 4rem;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #20c55e;
  transform: scale(1.1);
}

/* Responsive Design für Kontaktformular */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-container {
    margin: 2rem 0;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .contact-methods {
    max-width: 380px;
    margin: 0 auto;
    padding: 0 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .logo-image {
    height: 1.5rem;
  }

  .footer-logo .logo-image {
    height: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-top: 120px; /* Add space to prevent navbar overlap */
  }
  .hero-stats {
    justify-content: center;
  }

  .hero-logo {
    width: 250px;
    height: 250px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 380px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-item {
    min-width: 300px;
    max-width: 350px;
    margin: 0 auto;
  }

  .portfolio-track {
    gap: 1rem;
    justify-content: flex-start;
    padding-left: 0.75rem;
    align-items: center;
  }

  .portfolio-slider {
    overflow: hidden;
  }

  .whatsapp-sticky {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-btn {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .hero-fox {
    width: 250px;
    height: 250px;
  }

  .hero-fox::before {
    font-size: 6rem;
    transform: translate(-50%, -50%) rotate(-5deg);
    filter: brightness(1.2) saturate(1.3);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
  .portfolio-item {
    min-width: 280px;
    max-width: 320px;
    margin: 0 auto;
  }
  .portfolio-track {
    gap: 0.75rem;
    padding-left: 0.75rem;
  }

  .portfolio-slider {
    overflow: hidden;
  }

  .trust-badges {
    gap: 1rem;
  }
  .badge {
    padding: 1rem;
  }

  /* Improve mobile hero spacing */
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero-container {
    padding: 2rem 1rem;
  }
  /* Improve mobile contact method styling */
  .contact-method {
    padding: 1.25rem;
    gap: 0.75rem;
    min-height: 70px;
  }

  .method-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .method-content h4 {
    font-size: 1rem;
  }

  .method-content span {
    font-size: 0.9rem;
  }

  .contact-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  /* Improve mobile footer spacing */
  .footer {
    padding: 2rem 0 1rem;
  }
  .footer-content {
    gap: 1.5rem;
  }

  /* Better section padding for mobile */
  .about,
  .services,
  .portfolio,
  .process,
  .testimonials,
  .contact {
    padding: 4rem 0;
  }

  /* Improve mobile section titles */
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .whatsapp-sticky,
  .scroll-indicator {
    display: none;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* Desktop enhancements for contact section */
@media (min-width: 1200px) {
  .contact-methods {
    grid-template-columns: repeat(3, 320px);
    gap: 2rem;
    max-width: 1040px;
  }

  .contact-content {
    max-width: 900px;
  }
}
