/* Modern Design Enhancements for Wizard Labz */

/* ===== Google Fonts - Modern Font Stack ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables for Modern Color Scheme ===== */
:root {
  --primary-color: #eeac14;
  --primary-dark: #d49812;
  --primary-light: #f5c04a;
  --primary-gradient: linear-gradient(135deg, #eeac14 0%, #f5c04a 100%);
  --secondary-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --accent-gradient: linear-gradient(135deg, #eeac14 0%, #f5c04a 100%);
  --dark-gradient: linear-gradient(135deg, #232526 0%, #414345 100%);
  --navy-blue: #2c3e50;
  --dark-navy: #1a252f;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 15px 45px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 25px 60px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(238, 172, 20, 0.4);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ===== Smooth Scroll Behavior ===== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Fixed background that always covers the viewport */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 100% 100%;
  z-index: -2;
}

/* Subtle twinkling stars effect on background */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(238, 172, 20, 0.7), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 160px 120px, rgba(238, 172, 20, 0.6), transparent),
    radial-gradient(1px 1px at 50px 150px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 180px 50px, rgba(238, 172, 20, 0.5), transparent),
    radial-gradient(1px 1px at 10px 100px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 120px 180px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 70px 10px, rgba(238, 172, 20, 0.5), transparent),
    radial-gradient(1px 1px at 200px 140px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 250px 90px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 300px 60px, rgba(238, 172, 20, 0.6), transparent),
    radial-gradient(1px 1px at 350px 170px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 400px 30px, rgba(255, 255, 255, 0.4), transparent);
  background-size: 450px 200px;
  background-repeat: repeat;
  animation: twinkle 4s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes twinkle {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.5;
  }
}

/* ===== Modern Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

/* ===== Enhanced Header with Glass Morphism ===== */
.menu-sticked header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.menu-sticked.scrolled header {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.logo img {
  transition: transform var(--transition-normal);
  filter: brightness(0) invert(1);
}

.logo:hover img {
  transform: scale(1.05);
}

.titleLogo {
  color: #ffffff;
  font-weight: 800;
  transition: all var(--transition-normal);
}

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

/* ===== Modern Button Styles ===== */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-soft);
  text-transform: uppercase;
  font-size: 0.875rem;
}

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

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

.btn-primary,
.btn-primary.btn-sm {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  color: #1a1a2e;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary.btn-sm:hover,
.btn-primary:focus,
.btn-primary.btn-sm:focus {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(238, 172, 20, 0.4);
}

.btn-outline-primary {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--primary-gradient) border-box;
  color: var(--primary-dark);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #1a1a2e;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(238, 172, 20, 0.4);
}

/* ===== Modern Hero Section ===== */
.hero-home {
  position: relative;
  height: auto;
  min-height: auto;
  display: block;
  background: transparent !important;
  background-image: none !important;
  overflow: hidden;
}

/* Override original main.css ::before and ::after overlays */
.hero-home::before {
  display: none !important;
  content: none !important;
}

.hero-home::after {
  display: none !important;
  content: none !important;
}

.hero-home > .container {
  width: 100%;
}

.hero-home > .container > .row {
  width: 100%;
}

.hero-home .hero-home__container {
  width: 100%;
  margin-bottom: 0 !important;
}

.hero-home .hero-home__container .hero-home__container-centered {
  min-height: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated geometric shapes in hero */
.hero-home::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(238, 172, 20, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(238, 172, 20, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 40% 80%, rgba(245, 192, 74, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 70% 20%, rgba(238, 172, 20, 0.12) 0%, transparent 30%);
  animation: heroFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, 2%) rotate(1deg); }
  50% { transform: translate(0, 4%) rotate(0deg); }
  75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

/* Animated particles/stars effect */
.hero-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(238, 172, 20, 0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 50px 160px, rgba(238, 172, 20, 0.6), transparent),
    radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(238, 172, 20, 0.5), transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(3px 3px at 200px 50px, rgba(238, 172, 20, 0.7), transparent),
    radial-gradient(2px 2px at 250px 100px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(238, 172, 20, 0.5), transparent),
    radial-gradient(2px 2px at 350px 80px, rgba(255, 255, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 400px 200px;
  animation: sparkle 8s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes sparkle {
  0% { transform: translateY(0); opacity: 0.6; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-200px); opacity: 0.6; }
}

.hero-home__title {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  max-width: 850px;
  margin: 0 auto;
}

/* Brand name - WizardLabZ */
.hero-home__brand {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400;
  color: white;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: uppercase;
  gap: 3.5rem;
}

.hero-logo {
  height: clamp(4rem, 10vw, 7rem);
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* Animated Z */
.subZ {
  display: inline-block;
  background: linear-gradient(45deg, #eeac14, #f5c04a, #eeac14);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite, gradientText 3s ease infinite;
  position: relative;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(238, 172, 20, 0.6)); }
  50% { filter: drop-shadow(0 0 30px rgba(238, 172, 20, 1)); }
}

/* Gold text accent for tagline */
.text-gold {
  color: #eeac14;
  -webkit-text-fill-color: #eeac14;
}

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

/* Override main.css huge font size */
.hero-home .hero-home__container .hero-home__text-biger,
.hero-home__text-biger {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem) !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: 0;
  line-height: 1.4 !important;
  position: relative;
  text-transform: none !important;
  margin: 0.75rem auto 0;
  max-width: 700px;
}

/* Remove the underline animation for cleaner look */
.hero-home__text-biger::after {
  display: none;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(238, 172, 20, 0.6)); }
  50% { filter: drop-shadow(0 0 30px rgba(238, 172, 20, 1)); }
}

.hero-home__description {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 650px;
  margin: 1.5rem auto;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

/* Hero CTAs container */
.hero-home__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero-home hr {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border: none;
  margin: 1.5rem auto;
  border-radius: 2px;
  animation: fadeInUp 1s ease-out 0.3s both;
  box-shadow: 0 0 20px rgba(238, 172, 20, 0.5);
  position: relative;
  z-index: 2;
}

@keyframes pulseWidth {
  0%, 100% { width: 60px; opacity: 0.9; }
  50% { width: 80px; opacity: 1; }
}

.hero-home .btn {
  animation: fadeInUp 1s ease-out 0.4s both;
  font-size: 0.85rem;
  padding: 0.875rem 1.75rem;
  position: relative;
  z-index: 2;
}

.hero-home .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: #1a1a2e;
  border: none;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(238, 172, 20, 0.35);
}

.hero-home .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 15px 45px rgba(238, 172, 20, 0.5);
}

.hero-home .btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 600;
  box-shadow: none;
}

.hero-home .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* ===== Floating Animation for Hero Elements ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== Modern Section Styling ===== */
section {
  position: relative;
  padding: var(--spacing-xl) 0;
  transition: all var(--transition-normal);
}

section.works {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
}

section.about {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

section.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(238, 172, 20, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

/* About Section Story Styling */
.about-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.about-story {
  padding: 2rem 0;
}

.about-story p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.about-story p:last-of-type {
  margin-bottom: 0;
}

.about-location {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 1rem !important;
  margin-top: 2rem !important;
}

section.service {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

section.service::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(238, 172, 20, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* Improve Services text contrast */
section.service .title-section__light p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

section.service .title-section__light h2 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== Enhanced Title Sections ===== */
.title-section__dark h2,
.title-section__light h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.title-section__dark h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.title-section__dark:hover h2::after {
  width: 100px;
}

.title-section__light h2 {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.title-section__light p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.title-section__light h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 2px;
  transition: width var(--transition-normal);
  box-shadow: 0 0 15px rgba(238, 172, 20, 0.5);
}

.title-section__light:hover h2::after {
  width: 100px;
}

.title-section__background {
  opacity: 0.03;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Modern Service Cards Grid ===== */
.service--container .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 0 1rem 0;
  margin-top: 1rem;
}

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

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

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

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

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card__icon i {
  font-size: 1.5rem;
  color: white;
}

.service-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.service-card__problem {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.service-card__result {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* ===== How We Work / Process Section ===== */
.how-we-work {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  padding: 5rem 0;
}

.process-intro {
  font-size: 1.2rem;
  color: #555;
  margin-top: 1rem;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(238, 172, 20, 0.2) 100%);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}

.process-step__number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(238, 172, 20, 0.35);
  position: relative;
  z-index: 2;
}

.process-step__content {
  flex: 1;
  padding-top: 0.5rem;
}

.process-step__content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.process-step__content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.process-step:hover .process-step__number {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.process-step:hover .process-step__content h4 {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .process-timeline::before {
    left: 25px;
  }
  
  .process-step__number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 1.2rem;
  }
  
  .process-step {
    gap: 1.5rem;
  }
  
  .process-step__content h4 {
    font-size: 1.1rem;
  }
}

/* ===== Case Studies Teaser Section ===== */
.case-studies-teaser {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  padding: 5rem 0;
}

.case-studies-intro {
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
  max-width: 700px;
}

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

.case-study-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.case-study-card__industry {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.case-study-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.case-study-card__outcome {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.5rem;
}

.case-study-card__link {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.case-study-card__link:hover {
  color: #1a1a2e;
  gap: 0.75rem;
}

.case-study-card--cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-color: transparent;
}

.case-study-card--cta .case-study-card__industry {
  color: var(--primary-color);
}

.case-study-card--cta .case-study-card__title {
  color: white;
}

.case-study-card--cta .case-study-card__outcome {
  color: rgba(255, 255, 255, 0.8);
}

.case-study-card--cta .case-study-card__link {
  color: var(--primary-color);
}

.case-study-card--cta .case-study-card__link:hover {
  color: white;
}

/* ===== Testimonials with Modern Glass Effect ===== */
.testimonials {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 172, 20, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.testimonials:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border-color: rgba(238, 172, 20, 0.5);
}

.testimonials__content blockquote {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #ffffff;
  font-style: italic;
  position: relative;
  padding: var(--spacing-md);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.testimonials__content blockquote p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.9;
}

.testimonials__content blockquote::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -20px;
  left: -10px;
  color: rgba(238, 172, 20, 0.4);
  font-family: Georgia, serif;
}

.blockquote-footer {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-top: var(--spacing-md);
  font-style: normal;
  font-size: 1.1rem;
}

.blockquote-footer::before {
  content: '— ';
}

/* ===== Follow Us Section Enhancement ===== */
.follow-us__social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: var(--primary-dark);
  margin: 0 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-soft);
  font-size: 1.25rem;
}

.follow-us__social-links a:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(238, 172, 20, 0.4);
}

.upwork-icon {
  font-family: 'Neue Montreal', 'Gotham', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}

.follow-us__social-links a:hover .upwork-icon {
  color: white;
}

/* ===== Contact Section Modernization ===== */
.contact {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

.contact__description {
  text-align: center;
  padding: var(--spacing-md) 0;
}

.contact__description p {
  font-size: 1.25rem;
  color: #2d3748;
  line-height: 1.8;
  font-weight: 500;
}

.contact__mail a {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.contact__mail a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

.contact__mail a:hover::after {
  width: 100%;
}

/* Improve title contrast in dark sections */
.title-section__dark h2 {
  color: #1a1a2e;
  font-weight: 800;
}

.title-section__dark p {
  color: #2d3748;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ===== Sponsors Section with Hover Effects ===== */
.sponsors img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
  max-width: 100%;
  padding: var(--spacing-sm);
}

.sponsors img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* ===== Modern Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(238, 172, 20, 0.2);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .footer-brand img {
  height: 35px;
  filter: brightness(0) invert(1);
}

.site-footer .footer-brand span {
  font-family: 'Oswald', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.site-footer .footer-brand .subZ {
  color: var(--primary-color);
}

.site-footer .footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer .footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer .footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.site-footer .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.site-footer .footer-social a:hover {
  background: var(--primary-color);
  color: #0f0f1a;
}

.site-footer .footer-social a.upwork-icon {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-footer .footer-copyright {
  text-align: right;
}

.site-footer .footer-copyright p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.site-footer .footer-location {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .site-footer .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .site-footer .footer-copyright {
    text-align: center;
  }
  
  .site-footer .footer-social {
    justify-content: center;
  }
}

/* ===== Modal Enhancements with Glass Effect ===== */
.ModalContact .modal-dialog {
  max-width: 600px;
}

.ModalContact .modal-content {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(238, 172, 20, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(238, 172, 20, 0.15);
  overflow: hidden;
}

.ModalContact .modal-header {
  background: linear-gradient(135deg, rgba(238, 172, 20, 0.2) 0%, rgba(245, 192, 74, 0.1) 100%);
  border-bottom: 1px solid rgba(238, 172, 20, 0.3);
  padding: var(--spacing-md) var(--spacing-lg);
}

.ModalContact .modal-title {
  font-weight: 700;
  font-size: 1.75rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ModalContact .modal-body {
  padding: var(--spacing-lg);
  background: transparent;
}

.ModalContact .form-control {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  transition: all var(--transition-normal);
  font-size: 1rem;
  color: #ffffff;
}

.ModalContact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ModalContact .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(238, 172, 20, 0.2), 0 0 20px rgba(238, 172, 20, 0.15);
  outline: none;
  color: #ffffff;
}

.ModalContact .form-group label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ModalContact .form-check-label {
  color: rgba(255, 255, 255, 0.85);
}

.ModalContact .form-check-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ModalContact .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.ModalContact .btn-outline-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border: none;
  color: #1a1a2e;
  font-weight: 700;
  padding: 1rem 2rem;
  box-shadow: 0 10px 30px rgba(238, 172, 20, 0.3);
}

.ModalContact .btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(238, 172, 20, 0.4);
}

.ModalContact .close {
  color: #ffffff;
  text-shadow: none;
  opacity: 0.8;
  transition: all var(--transition-normal);
}

.ModalContact .close:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: rotate(90deg);
}

/* Default modal styles for non-contact modals */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-large);
  overflow: hidden;
}

.modal-header {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
}

.modal-title {
  font-weight: 700;
  font-size: 1.75rem;
}

.modal-body {
  padding: var(--spacing-lg);
}

.form-control {
  border-radius: var(--radius-sm);
  border: 2px solid #e2e8f0;
  padding: 0.75rem 1rem;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(238, 172, 20, 0.1);
  outline: none;
}

.form-group label {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

/* ===== Animations for Scroll ===== */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Loader Modernization ===== */
.loader {
  background: var(--primary-gradient);
}

.loader__background {
  background: var(--primary-gradient) !important;
  transition: opacity 2s ease-out !important;
}

.body--loaded .loader__background {
  opacity: 0;
  transition: opacity 2s ease-out !important;
}

.body--loaded .loader {
  visibility: hidden;
  transition: visibility 0s 2.2s !important;
}

.loader__spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

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

/* ===== Experience Cards ===== */
.experience-highlights {
  margin-top: 2rem;
}

.experience-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid rgba(238, 172, 20, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(238, 172, 20, 0.15);
  border-color: var(--primary-color);
}

.experience-card i {
  font-size: 2rem;
  color: var(--primary-color);
  min-width: 50px;
  text-align: center;
}

.experience-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a2e;
  line-height: 1.4;
}

/* ===== Tech Stack ===== */
.tech-stack {
  padding: 2rem 0;
}

.tech-stack__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.tech-stack__logos {
  gap: 1.5rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
  min-width: 100px;
}

.tech-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(238, 172, 20, 0.15);
}

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

.tech-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

/* ===== Credibility Section ===== */
.credibility-section {
  max-width: 800px;
}

.credibility-headline h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.credibility-stories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.credibility-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}

.credibility-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.credibility-icon {
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
}

.credibility-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
  font-weight: 400;
}

/* ===== Responsive Enhancements ===== */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }

  section {
    padding: var(--spacing-lg) 0;
  }

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

  .hero-home .hero-home__container .hero-home__text-biger,
  .hero-home__text-biger {
    font-size: clamp(0.95rem, 4vw, 1.25rem) !important;
    line-height: 1.4 !important;
    padding: 0 0.5rem;
  }

  .hero-home__description {
    font-size: 0.9rem;
    padding: 0 1rem;
    line-height: 1.6;
  }

  .hero-home hr {
    margin: 1rem auto;
    width: 50px;
  }

  .hero-home__ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .hero-home__ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-home .btn {
    font-size: 0.8rem;
    padding: 0.75rem 1.25rem;
  }

  .services-description__screen {
    margin-bottom: var(--spacing-md);
  }

  .slider-nav-services > div {
    margin-bottom: var(--spacing-md);
  }
}

/* ===== Accessibility Improvements ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Ripple Effect ===== */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== Custom Cursor Hover States ===== */
@media (min-width: 992px) {
  body.custom-cursor-enabled {
    cursor: none;
  }
  
  body.custom-cursor-enabled a,
  body.custom-cursor-enabled button,
  body.custom-cursor-enabled .btn {
    cursor: none;
  }
}

/* ===== Skeleton Loading Animation ===== */
.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 0px,
    #e0e0e0 40px,
    #f0f0f0 80px
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Enhanced Focus States for Accessibility ===== */
a:focus,
button:focus,
.btn:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(238, 172, 20, 0.5);
  outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
  .menu-sticked,
  .btn,
  .follow-us__social-links,
  footer,
  .back-to-top,
  .scroll-progress,
  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 35, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(238, 172, 20, 0.3);
  padding: 1.25rem 2rem;
  z-index: 99999;
  transition: all 0.3s ease;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 300px;
}

.cookie-icon {
  font-size: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.cookie-consent-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-text p strong {
  color: white;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-decline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.cookie-btn-decline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--primary-color), #f5c542);
  color: #0f0f23;
  border: none;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(238, 172, 20, 0.4);
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1rem;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-consent-text {
    flex-direction: column;
    align-items: center;
  }
  
  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
  }
}
