/* Enhanced SELMCORP Styles with Fixed Responsiveness and Navigation */

:root {
  /* Enhanced Color System */
  --primary-color: #5e2b97;
  --primary-light: #7c4db3;
  --primary-dark: #4a1f7a;
  --accent-color: #c39af1;
  --accent-light: #d4b8f4;
  --accent-dark: #a578e8;
  --secondary-accent: #00f5ff;
  --secondary-accent-dark: #00d4e6;
  
  /* Backgrounds */
  --bg-color: #ffffff;
  --bg-secondary: #fafbfc;
  --bg-tertiary: #f5f7fa;
  --card-bg: rgba(255, 255, 255, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  /* Text Colors */
  --text-color: #1a202c;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --text-muted: #a0aec0;
  
  /* Interactive Elements */
  --border-color: rgba(255, 255, 255, 0.15);
  --shadow-light: rgba(94, 43, 151, 0.08);
  --shadow-medium: rgba(94, 43, 151, 0.15);
  --shadow-heavy: rgba(94, 43, 151, 0.25);
  --shadow-glow: rgba(195, 154, 241, 0.4);
  
  /* Animation Variables */
  --animation-speed: 0.3s;
  --animation-curve: cubic-bezier(0.4, 0, 0.2, 1);
  --bounce-curve: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Responsive Variables */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-padding: clamp(15px, 4vw, 20px);
}

[data-theme="dark"] {
  --bg-color: #0a0e1a;
  --bg-secondary: #121829;
  --bg-tertiary: #1a2332;
  --card-bg: rgba(26, 35, 50, 0.4);
  --glass-bg: rgba(26, 35, 50, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  --text-color: #f7fafc;
  --text-secondary: #e2e8f0;
  --text-light: #cbd5e0;
  --text-muted: #a0aec0;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-heavy: rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: clamp(14px, 2vw, 16px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  transition: all var(--animation-speed) var(--animation-curve);
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: clamp(70px, 12vh, 90px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Glassmorphism Utility Class */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: clamp(15px, 3vw, 20px);
  box-shadow: 
    0 8px 32px var(--shadow-light),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, 
    var(--bg-color) 0%, 
    var(--bg-secondary) 50%, 
    var(--bg-tertiary) 100%);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 20s infinite linear;
  will-change: transform;
}

.shape-1 {
  width: clamp(60px, 12vw, 100px);
  height: clamp(60px, 12vw, 100px);
  background: var(--primary-color);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: clamp(80px, 15vw, 150px);
  height: clamp(80px, 15vw, 150px);
  background: var(--accent-color);
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: clamp(50px, 10vw, 80px);
  height: clamp(50px, 10vw, 80px);
  background: var(--secondary-accent);
  top: 40%;
  left: 70%;
  animation-delay: -10s;
}

.shape-4 {
  width: clamp(70px, 14vw, 120px);
  height: clamp(70px, 14vw, 120px);
  background: var(--primary-light);
  top: 80%;
  left: 30%;
  animation-delay: -15s;
}

@keyframes floatShape {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* FIXED NAVIGATION - Consistent Across All Pages */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-bottom: 1px solid var(--glass-border);
  z-index: 9999;
  transition: all var(--animation-speed) var(--animation-curve);
  box-shadow: 0 2px 20px var(--shadow-light);
  padding: 0;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px var(--shadow-medium);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-color);
  transition: all var(--animation-speed) var(--animation-curve);
  z-index: 10001;
  text-decoration: none;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.logo,
.logo-animated {
  width: clamp(35px, 6vw, 45px);
  height: clamp(35px, 6vw, 45px);
  border-radius: 50%;
  transition: all var(--animation-speed) var(--bounce-curve);
  box-shadow: 0 4px 20px var(--shadow-glow);
}

.logo:hover,
.logo-animated:hover {
  transform: rotate(360deg) scale(1.1);
}

.brand-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  transition: all var(--animation-speed) var(--animation-curve);
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all var(--animation-speed) var(--animation-curve);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: all var(--animation-speed) var(--animation-curve);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(94, 43, 151, 0.05);
}

/* Dropdown styles */
.dropdown,
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-icon,
.dropdown-toggle i {
  transition: transform var(--animation-speed) var(--animation-curve);
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

.dropdown:hover .dropdown-icon,
.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-content,
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 220px;
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all var(--animation-speed) var(--animation-curve);
  box-shadow: 0 12px 40px var(--shadow-medium);
  z-index: 10002;
  display: block;
}

.dropdown:hover .dropdown-content,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-link,
.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--animation-speed) var(--animation-curve);
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
}

.dropdown-link:hover,
.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(94, 43, 151, 0.1);
  color: var(--primary-color);
  border-left-color: var(--accent-color);
  transform: translateX(5px);
}

/* Controls section */
.nav-controls {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1rem);
  z-index: 10001;
}

.theme-toggle {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  padding: clamp(0.5rem, 1.5vw, 0.6rem);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--animation-speed) var(--animation-curve);
  width: clamp(38px, 8vw, 42px);
  height: clamp(38px, 8vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--shadow-glow);
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 3vw, 1.8rem);
  border-radius: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  white-space: nowrap;
  min-height: clamp(40px, 8vh, 50px);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-glow);
}

.cta-arrow {
  transition: transform var(--animation-speed) var(--animation-curve);
  font-size: 0.9rem;
}

.cta-btn:hover .cta-arrow {
  transform: translateX(3px);
}

/* Mobile Menu Toggle */
.hamburger,
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all var(--animation-speed) var(--animation-curve);
  z-index: 10001;
  background: none;
  border: none;
}

.hamburger:hover,
.mobile-toggle:hover {
  background: rgba(94, 43, 151, 0.1);
}

.hamburger span,
.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all var(--animation-speed) var(--animation-curve);
}

.hamburger.active span:nth-child(1),
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2),
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3),
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Floating Globe - Responsive */
.globe-bounce {
  position: fixed;
  width: clamp(35px, 8vw, 50px);
  height: clamp(35px, 8vw, 50px);
  border-radius: 50%;
  top: 15px;
  left: 15px;
  background: radial-gradient(circle at 35% 30%,
            rgba(255,255,255,0.95) 0%,
            rgba(195,154,241,0.9) 20%,
            rgba(94,43,151,0.8) 50%,
            rgba(94,43,151,0.1) 100%);
  box-shadow:
    0 0 20px rgba(195,154,241,0.6),
    0 0 40px rgba(94,43,151,0.3),
    inset 0 0 10px rgba(255,255,255,0.2);
  z-index: 9998;
  pointer-events: none;
  animation: pulseGlow 3s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(195,154,241,0.6), 0 0 40px rgba(94,43,151,0.3);
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 0 30px rgba(195,154,241,0.8), 0 0 60px rgba(94,43,151,0.4);
  }
}

/* Hero Section - Fixed for Mobile */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vh, 4rem) 0 clamp(2rem, 5vh, 4rem);
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: clamp(2px, 0.5vw, 4px);
  height: clamp(2px, 0.5vw, 4px);
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: floatParticle 8s infinite linear;
  will-change: transform, opacity;
}

.particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; animation-delay: 2s; }
.particle:nth-child(3) { left: 60%; animation-delay: 4s; }
.particle:nth-child(4) { left: 80%; animation-delay: 6s; }
.particle:nth-child(5) { left: 10%; animation-delay: 1s; }

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: scale(1);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(0);
    opacity: 0;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2.5vw, 1.2rem);
  border-radius: 50px;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.badge-text {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.title-line {
  display: block;
  overflow: hidden;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.4s both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-light);
  margin-top: 0.5rem;
}

.hero-cta {
  padding-top: 0cm;
  padding-block: 1cm;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 1s ease-out 0.8s both;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--animation-speed) var(--bounce-curve);
  box-shadow: 0 4px 20px var(--shadow-glow);
  width: 100%;
  max-width: 280px;
  text-align: center;
  min-height: clamp(50px, 10vh, 60px);
}

.btn-primary:hover {

  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-glow);
}

.btn-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  filter: blur(10px);
  transition: opacity var(--animation-speed) ease;
}

.btn-primary:hover .btn-glow {
  opacity: 0.6;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  text-align: center;
  min-height: clamp(50px, 10vh, 60px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--animation-speed) ease;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

.hero-visual {
  position: relative;
  height: clamp(300px, 50vh, 600px);
  animation: fadeInUp 1s ease-out 0.5s both;
  order: -1;
}

.hero-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-item {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: clamp(0.6rem, 2vw, 1rem) clamp(0.8rem, 2.5vw, 1.5rem);
  border-radius: clamp(12px, 3vw, 20px);
  animation: float 4s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 0 8px 32px var(--shadow-light);
  will-change: transform;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: clamp(0.8rem, 2vw, 1rem);
}

.tech-item i {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--accent-color);
}

.float-item:nth-child(1) { top: 10%; left: 10%; }
.float-item:nth-child(2) { top: 30%; right: 10%; }
.float-item:nth-child(3) { bottom: 30%; left: 10%; }
.float-item:nth-child(4) { bottom: 10%; right: 20%; }

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  50% { 
    transform: translateY(-25px) rotate(2deg);
  }
}

.hero-orb {
  width: clamp(200px, 40vw, 300px);
  height: clamp(200px, 40vw, 300px);
  position: relative;
  margin: 0 auto;
}
.orb-inner {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(195,154,241,0.8) 0%, 
    rgba(94,43,151,0.4) 70%, 
    transparent 100%);
  border-radius: 50%;
  animation: orbPulse 4s ease-in-out infinite;
  filter: blur(1px);
  will-change: transform, opacity;
}

.orb-ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  animation: orbRotate 10s linear infinite;
  will-change: transform;
}

.ring-1 {
  inset: -20px;
  border-color: rgba(195,154,241,0.3);
  animation-duration: 8s;
}

.ring-2 {
  inset: -40px;
  border-color: rgba(94,43,151,0.2);
  animation-duration: 12s;
  animation-direction: reverse;
}

.ring-3 {
  inset: -60px;
  border-color: rgba(0,245,255,0.1);
  animation-duration: 15s;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes orbRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 2s ease-out 1s both;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  animation: scrollMove 2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.8rem;
  color: var(--text-light);
  writing-mode: vertical-lr;
  text-orientation: mixed;
}

@keyframes scrollMove {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* Section Styles - Enhanced for Mobile */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  animation: fadeInUp 1s ease-out;
}

.section-badge {
 
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2.5vw, 1rem);
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  color: var(--accent-color);
}

.section-title {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.2;
}

.section-subtitle {
  padding-bottom: 1.5cm;
  padding-top: 0.5cm;
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* About Mini Section */
.about-mini {
  background: var(--bg-secondary);
  padding: var(--section-padding) 0;
}

/* Services Preview Section - Fixed Grid */
.services-preview {
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.service-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px var(--shadow-medium);
}

.service-icon {
  width: clamp(60px, 12vw, 70px);
  height: clamp(60px, 12vw, 70px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: clamp(15px, 3vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: white;
  position: relative;
  transition: all var(--animation-speed) var(--bounce-curve);
  flex-shrink: 0;
}

.icon-bg {
  position: absolute;
  inset: -5px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: clamp(20px, 4vw, 25px);
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: opacity var(--animation-speed) ease;
}

.service-card:hover .icon-bg {
  opacity: 0.4;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.service-content h4 {
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--animation-speed) var(--animation-curve);
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-top: auto;
}

.service-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.service-link i {
  transition: transform var(--animation-speed) var(--animation-curve);
}

.service-link:hover i {
  transform: translateX(3px);
}

.card-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: clamp(17px, 4vw, 22px);
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity var(--animation-speed) ease;
}

.service-card:hover .card-glow {
  opacity: 0.3;
}

/* Portfolio Preview */
.portfolio-preview {
  padding: var(--section-padding) 0;
}

/* Why Choose Section - Fixed Grid */
.why-choose {
  padding: var(--section-padding) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.why-card {
  text-align: center;
  padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px var(--shadow-medium);
}

.why-icon {
  width: clamp(70px, 14vw, 80px);
  height: clamp(70px, 14vw, 80px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2rem);
  color: white;
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  flex-shrink: 0;
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px var(--shadow-glow);
}

.why-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.3rem);
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
}

.why-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-color);
}

/* CTA Section - Fixed Layout */
.cta-section {
  padding: clamp(3rem, 6vw, 4rem) 0;
  background: var(--bg-secondary);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(2rem, 5vw, 3rem);
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cta-text p {

  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.cta-bg-glow {
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at 70% 30%, 
    rgba(195,154,241,0.1) 0%, 
    transparent 50%);
  z-index: -1;
}

/* Footer - Enhanced for Mobile */
.footer {
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: clamp(3rem, 6vw, 4rem) 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary-color), 
    var(--accent-color), 
    transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: clamp(40px, 8vw, 45px);
  height: clamp(40px, 8vw, 45px);
  border-radius: 50%;
  transition: transform var(--animation-speed) var(--bounce-curve);
}

.footer-brand img:hover {
  transform: rotate(360deg) scale(1.1);
}

.footer-brand h3 {
  color: var(--primary-color);
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  font-weight: 700;
}

.footer-section {
  min-width: 0;
}

.footer-section h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--animation-speed) var(--animation-curve);
  position: relative;
  padding-left: 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  display: block;
}

.footer-section a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: all var(--animation-speed) var(--animation-curve);
  color: var(--accent-color);
}

.footer-section a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-section a:hover {
  color: var(--primary-color);
  padding-left: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  width: clamp(42px, 8vw, 45px);
  height: clamp(42px, 8vw, 45px);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--animation-speed) ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px var(--shadow-glow);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 0.5rem;
  transition: all var(--animation-speed) var(--animation-curve);
}

.newsletter-form:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(94, 43, 151, 0.1);
}

.newsletter-form input {
  flex: 1;
  padding: clamp(0.6rem, 2vw, 0.75rem) 1rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-color);
  font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--text-light);
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: clamp(0.6rem, 2vw, 0.75rem);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--animation-speed) var(--bounce-curve);
  width: 100%;
  height: clamp(40px, 8vw, 45px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--shadow-glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Mobile Navigation Improvements */
@media screen and (max-width: 1024px) {
  .nav-menu {
    gap: 1.5rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* Show mobile toggle */
  .hamburger,
  .mobile-toggle {
    display: flex;
  }
  
  /* Hide desktop CTA button on mobile */
  .cta-btn {
    display: none;
  }
  
  /* Mobile menu styles */
  .nav-menu {
    position: fixed;
    top: clamp(70px, 12vh, 90px);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: none;
    border-right: none;
    flex-direction: column;
    padding: 2rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--animation-speed) var(--bounce-curve);
    box-shadow: 0 20px 60px var(--shadow-heavy);
    z-index: 10000;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    gap: 0;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-menu .nav-link {
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0;
  }
  
  .nav-menu .nav-link::before {
    display: none;
  }
  
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(94, 43, 151, 0.1);
    border-radius: 0;
  }
  
  /* Mobile dropdown */
  .dropdown-menu,
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(94, 43, 151, 0.05);
    margin-top: 0.5rem;
    border-radius: 0;
    display: none;
  }
  
  .dropdown-menu.active,
  .dropdown-content.active {
    display: block;
  }
  
  .dropdown-item {
    padding: 0.75rem 3rem;
    font-size: 1rem;
  }
  
  /* Hero Adjustments */
  .hero {
    padding-top: clamp(1rem, 3vh, 2rem);
  }
  
  .hero-visual {
    order: -1;
    height: clamp(250px, 35vh, 400px);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-stats {
    
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .stat-item {
    min-width: auto;
  }
  
  /* Floating elements - reduce on mobile */
  .float-item:nth-child(3),
  .float-item:nth-child(4) {
    display: none;
  }
  
  .float-item:nth-child(1) {
    top: 5%;
    left: 5%;
  }
  
  .float-item:nth-child(2) {
    top: 20%;
    right: 5%;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    min-height: 250px;
  }
  
  /* Why grid */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .why-card {
    min-height: 220px;
  }
  
  /* Footer improvements */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section a {
    text-align: center;
    display: inline-block;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  /* Globe positioning for mobile */
  .globe-bounce {
    top: 10px;
    left: 10px;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --section-padding: clamp(2rem, 6vw, 4rem);
    --container-padding: 15px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0.8rem 1rem;
  }
  
  .nav-brand {
    font-size: 1.2rem;
  }
  
  .logo,
  .logo-animated {
    width: 35px;
    height: 35px;
  }
  
  .theme-toggle {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  
  body {
    padding-top: 70px;
  }
  
  .hero-visual {
    height: 250px;
  }
  
  .hero-orb {
    width: 180px;
    height: 180px;
  }
  
  .orb-ring {
    display: none;
  }
  
  .float-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .float-item i {
    font-size: 1rem;
  }
  
  .service-card,
  .why-card {
    padding: 1.5rem;
  }
  
  .cta-content {
    padding: 2rem 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  /* Reduce animations on very small screens */
  .shape-3,
  .shape-4 {
    display: none;
  }
  
  .particle:nth-child(4),
  .particle:nth-child(5) {
    display: none;
  }
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--animation-curve);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s var(--animation-curve);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s var(--animation-curve);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s var(--bounce-curve);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.1), 
    transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .why-card:hover {
    transform: none;
  }
  
  .service-card,
  .why-card {
    transition: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .navbar {
    background: var(--bg-color);
    border-bottom: 2px solid var(--text-color);
  }
  
  .nav-link {
    border: 1px solid transparent;
  }
  
  .nav-link:hover,
  .nav-link.active {
    border-color: var(--primary-color);
  }
  
  :root {
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.3);
  }
  
  [data-theme="dark"] {
    --glass-bg: rgba(0, 0, 0, 0.9);
    --glass-border: rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion support
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-shapes,
  .hero-particles,
  .globe-bounce {
    display: none;
  }
  
  .navbar,
  .nav-link,
  .dropdown-menu,
  .mobile-toggle span,
  .logo,
  .logo-animated {
    transition: none;
  }
  
  .logo:hover,
  .logo-animated:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar {
    display: none;
  }
  
  body {
    padding-top: 0;
    background: white;
    color: black;
  }
  
  .globe-bounce,
  .floating-shapes,
  .hero-particles,
  .cta-section,
  .footer {
    display: none;
  }
  
  .glassmorphism {
    background: white;
    border: 1px solid #ccc;
  }
}

/* Service Page Specific Styles */
.service-hero {
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}



.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 50px;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--primary-color);
}

.service-badge i {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--accent-color);
}

/* Features Section */
.features-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(1.5rem, 4vw, 2rem);
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px var(--shadow-medium);
}

.feature-icon {
  width: clamp(60px, 12vw, 70px);
  height: clamp(60px, 12vw, 70px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: clamp(15px, 3vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: white;
  transition: all var(--animation-speed) var(--bounce-curve);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1rem;
}

/* Case Study Section */
.case-study-section {
  padding: var(--section-padding) 0;
}

.case-study-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: clamp(20px, 4vw, 25px);
  padding: clamp(2rem, 5vw, 3rem);
  margin: 2rem 0;
}

.case-study-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.case-study-image {
  width: clamp(120px, 20vw, 150px);
  height: clamp(120px, 20vw, 150px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: white;
  margin-bottom: 1.5rem;
}

.case-study-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.metric-label {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: var(--text-light);
  margin-top: 0.25rem;
}

.case-study-content h3 {
  font-size: clamp(1.4rem, 3vw, 1.6rem);
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.case-study-section {
  margin-bottom: 1.5rem;
}

.case-study-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.case-study-section h4 i {
  color: var(--accent-color);
}

.case-study-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all var(--animation-speed) var(--animation-curve);
}

.case-study-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

/* Process Section */
.process-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: clamp(20px, 4vw, 30px);
  top: clamp(60px, 10vh, 80px);
  bottom: clamp(60px, 10vh, 80px);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
  z-index: 1;
}

.process-step {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.step-number {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 20px var(--shadow-glow);
}

.step-content {
  flex: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(1.5rem, 4vw, 2rem);
}

.step-content h3 {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.step-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-deliverables span {
  background: rgba(94, 43, 151, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: clamp(0.8rem, 1.8vw, 0.85rem);
  font-weight: 500;
}

/* Why Choose Section Enhancements */
.why-choose-section {
  padding: var(--section-padding) 0;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.why-choose-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-feature i {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  color: var(--accent-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.why-feature div h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.why-feature div p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.why-choose-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.achievement-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

.achievement-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: clamp(15px, 3vw, 20px);
  padding: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  transition: all var(--animation-speed) var(--bounce-curve);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-medium);
}

.achievement-card i {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.achievement-card h4 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.achievement-card p {
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  line-height: 1.5;
}

/* CTA Section Enhancements */
.cta-title {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
}

.cta-subtitle {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.btn-lg {
  padding: clamp(1rem, 3vw, 1.2rem) clamp(1.8rem, 4vw, 2.2rem);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  min-height: clamp(55px, 10vh, 65px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--animation-speed) var(--bounce-curve);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--animation-speed) ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

.cta-note i {
  color: var(--accent-color);
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
  .case-study-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-timeline::before {
    left: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .process-step {
    gap: 1rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .step-content {
    padding: 1.5rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
  }
  
  .achievement-cards {
    gap: 1rem;
  }
  
  .achievement-card {
    padding: 1.5rem;
  }
}

/* Additional responsive enhancements for service pages */
@media screen and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .feature-card {
    min-height: 280px;
  }
}

@media screen and (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    min-height: 250px;
    padding: 1.5rem;
  }
  
  .service-hero {
    min-height: 70vh;
  }
}
