/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== THEME & ANIMATION VARIABLES ===== */
:root {
  /* Animation & Easing */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-apple: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-epic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Light Theme (Default) */
  --bg-color: #ffffff;
  --bg-secondary-color: #f8f9ff;
  --text-color: #1a1a1a;
  --text-secondary-color: #666;
  --heading-color: #1a1a1a;
  --accent-color-1: #667eea;
  --accent-color-2: #764ba2;
  --accent-gradient: linear-gradient(
    135deg,
    var(--accent-color-1) 0%,
    var(--accent-color-2) 100%
  );
  --card-bg-color: #ffffff;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --card-border-color: rgba(0, 0, 0, 0.05);
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --navbar-scrolled-bg: rgba(255, 255, 255, 0.9);
  --navbar-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --navbar-border: 1px solid rgba(255, 255, 255, 0.18);
  --hero-overlay-gradient: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.7) 0%,
    rgba(118, 75, 162, 0.7) 100%
  );
  --hero-text-color: #ffffff;
  --btn-secondary-border: 2px solid rgba(255, 255, 255, 0.8);
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.1);
  --btn-secondary-hover-border: #ffffff;
  --btn-secondary-final-bg: #ffffff;
  --btn-secondary-final-text: #2c3e50;
  --scroll-arrow-color: rgba(255, 255, 255, 0.8);
  --bar-color: #1a1a1a;
  --section-divider-gradient: linear-gradient(45deg, #3498db, #2980b9);

  /* Footer */
  --footer-bg: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  --footer-text-color: #bdc3c7;
  --footer-heading-color: #ffffff;
  --footer-link-hover-color: #667eea;
  --footer-border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode {
  --bg-color: #0d1117;
  --bg-secondary-color: #161b22;
  --text-color: rgba(255, 255, 255, 0.85);
  --text-secondary-color: #8b949e;
  --heading-color: #ffffff;
  --accent-color-1: #7f5af0;
  --accent-color-2: #2cb67d;
  --card-bg-color: #161b22;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --card-border-color: rgba(255, 255, 255, 0.1);
  --navbar-bg: rgba(13, 17, 23, 0.85);
  --navbar-scrolled-bg: rgba(13, 17, 23, 0.85);
  --navbar-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --navbar-border: 1px solid rgba(255, 255, 255, 0.1);
  --hero-overlay-gradient: linear-gradient(
    135deg,
    rgba(127, 90, 240, 0.65) 0%,
    rgba(44, 182, 125, 0.65) 100%
  );
  --hero-text-color: #ffffff;
  --btn-secondary-border: 2px solid rgba(255, 255, 255, 0.7);
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.1);
  --btn-secondary-hover-border: #ffffff;
  --btn-secondary-final-bg: transparent;
  --btn-secondary-final-text: #ffffff;
  --scroll-arrow-color: rgba(255, 255, 255, 0.7);
  --bar-color: #ffffff;
  --section-divider-gradient: var(--accent-gradient);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background: var(--bg-color);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== APPLE-LIKE ANIMATIONS ===== */
/* Epic Animation Variables */
:root {
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-apple: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-epic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Hero Content Epic Animations */
.hero-content {
  opacity: 0;
  transform: translate3d(0, 100px, -50px) rotateX(10deg);
  transition: all 1.6s var(--ease-epic);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hero-content.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

.hero-title,
.hero-subtitle,
.hero-description,
.hero-buttons {
  opacity: 0;
  transform: translate3d(0, 80px, -40px) rotateX(15deg) scale(0.9);
  transition: all 1.4s var(--ease-epic);
  transform-style: preserve-3d;
}

.hero-title.animate-in,
.hero-subtitle.animate-in,
.hero-description.animate-in,
.hero-buttons.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
}

/* Navbar Scroll Animation */
.navbar {
  transition: all 0.3s var(--ease-out-expo);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: var(--navbar-scrolled-bg) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--navbar-shadow);
  border-bottom: var(--navbar-border);
}

/* Parallax and 3D transforms */
.hero-video-container {
  will-change: transform;
  transform-style: preserve-3d;
}

.parallax-element {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Section Animation Styles */
section {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Service Cards Epic Enhanced */
.service-card {
  transition: all 0.5s var(--ease-epic);
  will-change: transform, box-shadow, filter;
  transform-origin: center center;
  transform-style: preserve-3d;
  perspective: 1000px;
  backface-visibility: hidden;
}

.service-card:hover {
  transform: translate3d(0, -15px, 10px) rotateY(2deg) scale(1.05);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15), 0 0 40px rgba(0, 158, 195, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  filter: brightness(1.05);
}

/* Customer Cards Epic Enhanced */
.customer-card {
  transition: all 0.4s var(--ease-epic);
  will-change: transform, box-shadow, filter;
  transform-style: preserve-3d;
  perspective: 1000px;
  backface-visibility: hidden;
}

.customer-card:hover {
  transform: translate3d(0, -12px, 8px) rotateY(-2deg) scale(1.03);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12), 0 0 30px rgba(0, 158, 195, 0.15);
  filter: brightness(1.03);
}

/* Button Epic Enhancements */
.btn {
  transition: all 0.4s var(--ease-epic);
  transform-origin: center;
  will-change: transform, box-shadow, filter;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.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 var(--ease-out-expo);
}

.btn:hover {
  transform: translate3d(0, -5px, 5px) rotateY(2deg) scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 158, 195, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.1) saturate(1.2);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translate3d(0, -2px, 2px) scale(1.02);
  transition: all 0.15s var(--ease-in-out-quart);
}

/* Scroll Indicator Epic Animation */
.scroll-indicator {
  opacity: 0;
  transform: translate3d(0, 50px, 0) scale(0.5);
  transition: all 1.2s var(--ease-bounce);
  filter: drop-shadow(0 5px 15px rgba(0, 158, 195, 0.3));
}

.scroll-indicator.animate-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: epic-float 3s ease-in-out infinite;
}

@keyframes epic-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(0, 158, 195, 0.4));
  }
}

/* Section Enhancement with Epic Perspective */
section {
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 2000px;
}

/* Add Epic Glow Effects */
.section-title {
  transition: all 0.3s var(--ease-out-expo);
}

.section-title:hover {
  text-shadow: 0 0 20px rgba(0, 158, 195, 0.3);
  transform: translateY(-2px);
}

/* Hero Video Enhancements */
.hero-video-container {
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  perspective: 1000px;
}

#hero-player {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-video-overlay {
  will-change: opacity;
  transition: opacity 0.3s var(--ease-out-expo);
}

/* Section Enhancement */
.section-header {
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.section-title {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Enhanced Interactions */
.nav-link {
  transition: all 0.3s var(--ease-out-expo);
  transform: translate3d(0, 0, 0);
}

.nav-link:hover {
  transform: translate3d(0, -2px, 0);
}

/* Trust indicators animations */
.trust-item {
  transition: all 0.3s var(--ease-out-expo);
  will-change: transform;
}

.trust-item:hover {
  transform: translate3d(0, -5px, 0) scale(1.02);
}

/* Contact form enhancements */
.form-group input,
.form-group textarea {
  transition: all 0.3s var(--ease-out-expo);
  will-change: transform;
}

.form-group input:focus,
.form-group textarea:focus {
  transform: translate3d(0, -2px, 0);
}

/* Image optimizations */
img {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* GPU acceleration for key elements */
.hero,
.about,
.services,
.customers,
.contact {
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Enhanced mobile performance */
@media (max-width: 768px) {
  .hero-video-container {
    transform: none !important;
    will-change: auto;
  }

  .service-card:hover,
  .customer-card:hover {
    transform: translate3d(0, -4px, 0);
  }

  .btn:hover {
    transform: translate3d(0, -2px, 0) scale(1.02);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--navbar-border);
  box-shadow: var(--navbar-shadow);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  box-shadow: var(--navbar-shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo h2 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--bar-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay-gradient);
  z-index: 2;
}

#hero-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--hero-text-color);
  max-width: 900px;
  padding: 0 2rem;
  animation: heroFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 180px;
  letter-spacing: 0.5px;
}

.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.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--hero-text-color);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--hero-text-color);
  border: var(--btn-secondary-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover-bg);
  border-color: var(--btn-secondary-hover-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
  background: var(--btn-secondary-final-bg);
  color: var(--btn-secondary-final-text);
  transform: translateY(-2px);
}

body.dark-mode .btn-secondary:hover {
  background: var(--btn-secondary-hover-bg);
  color: var(--btn-secondary-final-text);
  transform: translateY(-2px);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  background: var(--scroll-arrow-color);
  position: relative;
  border-radius: 2px;
}

.scroll-arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--scroll-arrow-color);
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary-color);
  margin-bottom: 2rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--section-divider-gradient);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary-color);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 120px 0;
  background: var(--bg-secondary-color);
  position: relative;
  overflow: hidden;
}

.about::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 1000 100" fill="%23f0f0f0"><polygon points="0,0 1000,20 1000,100 0,100"/></svg>')
    repeat-x;
  opacity: 0.1;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text {
  animation: slideInLeft 0.8s ease forwards;
}

.about-description {
  font-size: 1.15rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 400;
}

.about-image {
  position: relative;
  animation: slideInRight 0.8s ease forwards;
}

.about-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: var(--accent-gradient);
  transition: transform 0.3s ease;
}

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

/* ===== SERVICES SECTION ===== */
.services {
  padding: 120px 0;
  background: var(--bg-color);
  position: relative;
}

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

.service-card {
  background: var(--card-bg-color);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--card-border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 2.2rem;
  color: white;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.service-description {
  color: var(--text-secondary-color);
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

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

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-color);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

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

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 120px 0;
  background: var(--bg-secondary-color);
  position: relative;
}

.contact::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 1000 100" fill="%23f0f0f0"><polygon points="0,0 1000,20 1000,100 0,100"/></svg>')
    repeat-x;
  opacity: 0.1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.5rem;
}

.contact-details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-secondary-color);
  font-size: 1rem;
}

.social-media {
  margin-top: 2rem;
  background: var(--card-bg-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
}

.social-media h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.social-media h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

.social-icon i {
  color: white;
}

.contact-form-container {
  background: var(--card-bg-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--card-border-color);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  background: var(--bg-color);
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color-1);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: var(--card-bg-color);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text-color);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--footer-heading-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--footer-text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--footer-text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-section ul li a:hover {
  color: var(--footer-link-hover-color);
  transform: translateX(5px);
}

.footer-section i {
  margin-right: 0.8rem;
  color: var(--accent-color-1);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--footer-border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--footer-text-color);
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal {
  flex: 1;
  min-width: 300px;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.legal-links a,
.legal-links .link-button {
  color: var(--footer-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.legal-links .link-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.legal-links a:hover,
.legal-links .link-button:hover {
  color: var(--accent-color-1);
  text-decoration: underline;
}

.legal-links .separator {
  color: var(--footer-text-color);
  opacity: 0.5;
}

/* GDPR Consent Checkbox Styles */
.consent-group {
  margin: 1.5rem 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.consent-checkbox {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-text {
  color: var(--text-secondary-color);
  line-height: 1.6;
}

.consent-text a {
  color: var(--accent-color-2);
  text-decoration: underline;
  transition: color 0.2s;
}

.consent-text a:hover {
  color: var(--accent-color-1);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    width: 100%;
  }

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .legal-links .separator {
    display: none;
  }
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }
}

@media screen and (max-width: 968px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .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(9px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .hero-subtitle {
    font-size: clamp(1.3rem, 4vw, 2rem);
  }

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

  .btn {
    min-width: 200px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-form-container {
    padding: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }

  .nav-logo h2 {
    font-size: 1.6rem;
  }

  .nav-menu {
    top: 70px;
    background-color: white;
    padding: 2rem 0;
  }

  .hero {
    padding-top: 70px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .about,
  .services,
  .contact {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }

  .footer {
    padding: 60px 0 20px;
  }

  .footer-content {
    gap: 2rem;
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    min-width: 160px;
    width: 100%;
    max-width: 300px;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 2rem;
  }

  .contact-item {
    padding: 1.5rem;
    gap: 1rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem 1rem;
  }

  .social-media {
    padding: 1.5rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }
}

/* ===== CUSTOMERS SECTION ===== */
.customers {
  padding: 120px 0;
  background: var(--bg-secondary-color);
  position: relative;
  overflow: hidden;
}

.customers::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 1000 100" fill="%23f0f0f0"><polygon points="0,0 1000,20 1000,100 0,100"/></svg>')
    repeat-x;
  opacity: 0.05;
}

.customers-content {
  position: relative;
  z-index: 1;
}

.featured-customer {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding: 3rem;
  background: var(--card-bg-color);
  border-radius: 25px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.featured-customer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.customer-logo {
  text-align: center;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.customer-logo-img {
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  background: var(--accent-gradient);
  border-radius: 15px;
  padding: 1rem;
}

.customer-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.customer-type {
  font-size: 1.1rem;
  color: var(--text-secondary-color);
  margin-bottom: 2rem;
  font-weight: 500;
}

.customer-testimonial {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  font-style: italic;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-color-1);
  padding-left: 2rem;
  position: relative;
}

.customer-testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color-1);
  position: absolute;
  left: -1rem;
  top: -1rem;
  font-family: serif;
  opacity: 0.3;
}

.customer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.customer-stat {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.stat-value {
  display: block;
  font-size: 1.1rem;
  color: var(--heading-color);
  font-weight: 600;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.customer-card {
  background: var(--card-bg-color);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.customer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.customer-card:hover::before {
  transform: scaleX(1);
}

.customer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.customer-logo-small {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.customer-card:hover .customer-logo-small {
  transform: scale(1.1) rotate(5deg);
}

.customer-logo-small i {
  font-size: 2rem;
  color: white;
}

.customer-logo-img-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.customer-card:hover .customer-logo-img-small {
  transform: scale(1.05);
}

.customer-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.customer-card p {
  color: var(--text-secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.customer-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.customer-rating span:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary-color);
  font-weight: 500;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card-bg-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon i {
  font-size: 1.5rem;
  color: white;
}

.trust-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.trust-content p {
  color: var(--text-secondary-color);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== ENHANCED FORM STYLES ===== */

/* Loading state for submit button */
.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  color: white;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Form validation styles */
.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
  background-color: #fdf2f2;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea {
  border-color: #27ae60;
  background-color: #f2fdf2;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group .error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group .success-message {
  color: #27ae60;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Floating label effect */
.form-group.focused label {
  transform: translateY(-25px) scale(0.9);
  color: #667eea !important;
}

.form-group label {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top left;
}

/* Enhanced notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #3498db;
  color: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  max-width: 400px;
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-color: rgba(255, 255, 255, 0.2);
}

.notification-error {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-color: rgba(255, 255, 255, 0.2);
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notification-message {
  flex: 1;
  font-weight: 500;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.notification-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Slide in animation for notifications */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.notification {
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.removing {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form input enhancements */
.form-group input:hover,
.form-group textarea:hover {
  border-color: #b8c5f2;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8899a6;
  opacity: 1;
}

/* Enhanced form container on focus */
.contact-form-container:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Progress indicator for multi-step forms (future enhancement) */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.form-progress-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6c757d;
  position: relative;
}

.form-progress-step.active {
  background: #667eea;
  color: white;
}

.form-progress-step.completed {
  background: #27ae60;
  color: white;
}

/* Character counter for textarea */
.char-counter {
  text-align: right;
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.char-counter.warning {
  color: #f39c12;
}

.char-counter.error {
  color: #e74c3c;
}

/* Honeypot field (hidden spam protection) */
input[name="bot-field"],
input[name="website"],
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

/* Form submission feedback */
.form-feedback {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 1rem;
  display: none;
}

.form-feedback.success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-feedback.error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===== THEME SWITCHER ===== */
.theme-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
}

.switch .input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #73c0fc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  border-radius: 20px;
  left: 2px;
  bottom: 2px;
  z-index: 2;
  background-color: #e8e8e8;
  transition: 0.4s;
}

.sun svg {
  position: absolute;
  top: 6px;
  left: 36px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.moon svg {
  fill: #73c0fc;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.sun svg {
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.moon svg {
  animation: tilt 5s linear infinite;
}

@keyframes tilt {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.input:checked + .slider {
  background-color: #183153;
}

.input:focus + .slider {
  box-shadow: 0 0 1px #183153;
}

.input:checked + .slider:before {
  transform: translateX(30px);
}

/* ===== NEON CHECKBOX (GDPR Consent) ===== */
.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.neon-checkbox {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --primary-light: #88a0ff;
  --size: 30px;
  position: relative;
  width: var(--size);
  height: var(--size);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
}

.neon-checkbox input {
  display: none;
}

.neon-checkbox__frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.neon-checkbox__box {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 2px solid var(--primary-dark);
  transition: all 0.4s ease;
}

[data-theme="dark"] .neon-checkbox__box {
  background: rgba(0, 0, 0, 0.6);
}

.neon-checkbox__check-container {
  position: absolute;
  inset: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neon-checkbox__check {
  width: 80%;
  height: 80%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.neon-checkbox__glow {
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: var(--primary);
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.2);
  transition: all 0.4s ease;
}

.neon-checkbox__borders {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
}

.neon-checkbox__borders span {
  position: absolute;
  width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.neon-checkbox__borders span:nth-child(1) {
  top: 0;
  left: -100%;
  animation: borderFlow1 2s linear infinite;
}

.neon-checkbox__borders span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 1px;
  height: 40px;
  animation: borderFlow2 2s linear infinite;
}

.neon-checkbox__borders span:nth-child(3) {
  bottom: 0;
  right: -100%;
  animation: borderFlow3 2s linear infinite;
}

.neon-checkbox__borders span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 1px;
  height: 40px;
  animation: borderFlow4 2s linear infinite;
}

.neon-checkbox__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.neon-checkbox__rings {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.neon-checkbox__rings .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0;
  transform: scale(0);
}

.neon-checkbox__sparks span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
}

/* Hover Effects */
.neon-checkbox:hover .neon-checkbox__box {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Checked State */
.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__box {
  border-color: var(--primary);
  background: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"]
  .neon-checkbox
  input:checked
  ~ .neon-checkbox__frame
  .neon-checkbox__box {
  background: rgba(102, 126, 234, 0.3);
}

.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__check {
  stroke-dashoffset: 0;
  transform: scale(1.1);
}

.neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__glow {
  opacity: 0.3;
}

.neon-checkbox
  input:checked
  ~ .neon-checkbox__frame
  .neon-checkbox__borders
  span {
  opacity: 1;
}

/* Particle Animations */
.neon-checkbox
  input:checked
  ~ .neon-checkbox__frame
  .neon-checkbox__particles
  span {
  animation: particleExplosion 0.6s ease-out forwards;
}

.neon-checkbox
  input:checked
  ~ .neon-checkbox__frame
  .neon-checkbox__rings
  .ring {
  animation: ringPulse 0.6s ease-out forwards;
}

.neon-checkbox
  input:checked
  ~ .neon-checkbox__frame
  .neon-checkbox__sparks
  span {
  animation: sparkFlash 0.6s ease-out forwards;
}

/* Animations */
@keyframes borderFlow1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes borderFlow2 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(200%);
  }
}

@keyframes borderFlow3 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}

@keyframes borderFlow4 {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-200%);
  }
}

@keyframes particleExplosion {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(
        calc(-50% + var(--x, 20px)),
        calc(-50% + var(--y, 20px))
      )
      scale(0);
    opacity: 0;
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes sparkFlash {
  0% {
    transform: rotate(var(--r, 0deg)) translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(var(--r, 0deg)) translateX(30px) scale(0);
    opacity: 0;
  }
}

/* Particle Positions */
.neon-checkbox__particles span:nth-child(1) {
  --x: 25px;
  --y: -25px;
}
.neon-checkbox__particles span:nth-child(2) {
  --x: -25px;
  --y: -25px;
}
.neon-checkbox__particles span:nth-child(3) {
  --x: 25px;
  --y: 25px;
}
.neon-checkbox__particles span:nth-child(4) {
  --x: -25px;
  --y: 25px;
}
.neon-checkbox__particles span:nth-child(5) {
  --x: 35px;
  --y: 0px;
}
.neon-checkbox__particles span:nth-child(6) {
  --x: -35px;
  --y: 0px;
}
.neon-checkbox__particles span:nth-child(7) {
  --x: 0px;
  --y: 35px;
}
.neon-checkbox__particles span:nth-child(8) {
  --x: 0px;
  --y: -35px;
}
.neon-checkbox__particles span:nth-child(9) {
  --x: 20px;
  --y: -30px;
}
.neon-checkbox__particles span:nth-child(10) {
  --x: -20px;
  --y: 30px;
}
.neon-checkbox__particles span:nth-child(11) {
  --x: 30px;
  --y: 20px;
}
.neon-checkbox__particles span:nth-child(12) {
  --x: -30px;
  --y: -20px;
}

/* Spark Rotations */
.neon-checkbox__sparks span:nth-child(1) {
  --r: 0deg;
  top: 50%;
  left: 50%;
}
.neon-checkbox__sparks span:nth-child(2) {
  --r: 90deg;
  top: 50%;
  left: 50%;
}
.neon-checkbox__sparks span:nth-child(3) {
  --r: 180deg;
  top: 50%;
  left: 50%;
}
.neon-checkbox__sparks span:nth-child(4) {
  --r: 270deg;
  top: 50%;
  left: 50%;
}

/* Ring Delays */
.neon-checkbox__rings .ring:nth-child(1) {
  animation-delay: 0s;
}
.neon-checkbox__rings .ring:nth-child(2) {
  animation-delay: 0.1s;
}
.neon-checkbox__rings .ring:nth-child(3) {
  animation-delay: 0.2s;
}

/* Update existing consent styles to work with new layout */
.consent-group .consent-text {
  cursor: pointer;
  flex: 1;
}

.consent-group .consent-text a {
  color: var(--accent-color-2);
  text-decoration: underline;
  transition: color 0.2s;
}

.consent-group .consent-text a:hover {
  color: var(--accent-color-1);
}
