/**
 * Modern AI-Inspired Design System for SNP Consultants
 * Latest UI/UX with glassmorphism, gradients, and smooth animations
 */

/* Modern CSS Variables for Design System */
:root {
  /* Modern Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  
  /* Glassmorphism Colors */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Modern Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: #1a202c;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: var(--space-sm);
  color: #4a5568;
}

/* Modern Glassmorphism Components */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Modern Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--glass-bg);
  color: white;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Enhanced AI-Inspired Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.header.scrolled {
  padding: var(--space-xs) 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.header .container {
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  transition: all var(--transition-normal);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.logo:hover::after {
  width: 100%;
}

.header.scrolled .logo {
  color: #2d3748;
}

.logo img {
  /* larger logo while preserving aspect ratio */
  height: 64px;
  width: auto;
  max-width: 220px;
  margin-right: var(--space-sm);
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
  transition: height var(--transition-normal), transform var(--transition-normal);
}

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

/* Shrink logo slightly when header becomes compact on scroll */
.header.scrolled .logo img {
  height: 48px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo img {
    height: 50px;
  }
}

/* AI-Inspired Navigation */
.navbar {
  /* nav wrapper: holds the UL and the mobile toggle */
  display: flex;
  align-items: center;
  position: relative;
}

.navbar > ul {
  /* make the list of links a proper flex row so links align horizontally */
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar > ul > li {
  display: flex;
  align-items: center;
}

.navbar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateY(-50%);
}

.navbar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.navbar a::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 var(--transition-slow);
}

.navbar a:hover::before {
  left: 100%;
}

.header.scrolled .navbar a {
  color: #4a5568;
}

.navbar a:hover,
.navbar a.active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.header.scrolled .navbar a:hover,
.header.scrolled .navbar a.active {
  color: #2d3748;
  background: rgba(102, 126, 234, 0.1);
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
  border-radius: 2px;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* Enhanced Social Links */
.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 45px;
  height: 45px;
  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-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.social-link i {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.social-link:hover i {
  transform: scale(1.2);
}

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

/* Mobile Menu */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

/* hide the in-panel close button on desktop; show only on mobile via media query */
.nav-close {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  /* Mobile menu: fixed panel that slides in. Use a solid background on small screens for clarity */
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: #ffffff; /* static solid background for mobile */
    color: #2d3748;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: right var(--transition-normal);
    padding: calc(var(--space-md) + 10px) 16px;
    z-index: 1100;
  }

  .navbar.active {
    right: 0;
  }

  /* Make the UL stack vertically on mobile */
  .navbar > ul {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
    margin-top: var(--space-lg);
  }

  .navbar > ul > li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navbar a {
    font-size: 1.05rem;
    padding: var(--space-md) calc(var(--space-lg) / 1.5);
    color: #2d3748;
    width: 100%;
    text-align: center;
    background: transparent;
    border-radius: var(--radius-md);
  }

  .navbar a:hover,
  .navbar a.active {
    background: rgba(102,126,234,0.08);
    color: #1a202c;
  }

  /* Put social links at bottom of mobile nav */
  .navbar .social-links {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding: var(--space-md) 0;
  }

  /* mobile close button (inside the panel) */
  .nav-close {
    display: block;
    background: none;
    border: none;
    color: #2d3748;
    font-size: 1.4rem;
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 8px;
    cursor: pointer;
  }

  .nav-close i {
    pointer-events: none;
  }

  /* header background static on mobile (remove glass blur effect) */
  .header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* Modern Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center/cover;
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 920px;
  padding: 0 var(--space-md);
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* hero visual removed (image not used) */

/* Typewriter cursor styling */
.typewriter-cursor::after {
  content: '|';
  margin-left: 6px;
  display: inline-block;
  color: white;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.1%, 100% { opacity: 0; }
}

.hero-stats {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-visual {
    width: 220px;
    margin-top: var(--space-lg);
  }
}

.stat-item {
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number::after {
  content: '+';
  color: inherit;
  font-weight: 700;
  margin-left: 6px;
  font-size: 0.8em;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Modern Services Section */
.services {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* Enhanced AI-Inspired Service Cards */
.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card-image {
  width: 100%;
  height: 200px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover .service-card-image::before {
  opacity: 1;
}

.service-card-image svg {
  width: 80px;
  height: 80px;
  color: white;
  z-index: 2;
  position: relative;
  transition: all var(--transition-normal);
}

.service-card:hover .service-card-image svg {
  transform: scale(1.2);
}

.service-card h3 {
  color: #2d3748;
  margin-bottom: var(--space-md);
  text-align: center;
}

.service-card p {
  color: #4a5568;
  margin-bottom: var(--space-lg);
  text-align: center;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.service-features li {
  padding: var(--space-xs) 0;
  color: #4a5568;
  position: relative;
  padding-left: var(--space-md);
  font-size: 0.9rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #38a169;
  font-weight: bold;
}

.service-card .btn {
  align-self: center;
  margin-top: auto;
}

/* AI-Generated Background Patterns for Service Cards */
.service-card:nth-child(1) .service-card-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="a" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23a)"/></svg>');
}

.service-card:nth-child(2) .service-card-image {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="b" width="15" height="15" patternUnits="userSpaceOnUse"><polygon points="7.5,0 15,15 0,15" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23b)"/></svg>');
}

.service-card:nth-child(3) .service-card-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="c" width="25" height="25" patternUnits="userSpaceOnUse"><rect width="12.5" height="12.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23c)"/></svg>');
}

.service-card:nth-child(4) .service-card-image {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="d" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,0 L20,10 L10,20 L0,10 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23d)"/></svg>');
}

.service-card:nth-child(5) .service-card-image {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="e" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23e)"/></svg>');
}

.service-card:nth-child(6) .service-card-image {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="f" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="10" height="10" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23f)"/></svg>');
}

/* Modern About Section */
.about {
  padding: var(--space-2xl) 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text h3 {
  color: #2d3748;
  margin-bottom: var(--space-md);
}

.about-text p {
  color: #4a5568;
  margin-bottom: var(--space-md);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  padding: var(--space-sm);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-sm);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.about-visual {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: float 20s linear infinite;
}

/* Modern Contact Form */
.contact {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Modern Footer */
.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-info h3 {
  color: white;
  margin-bottom: var(--space-md);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-md);
}

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

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-section ul li a:hover {
  color: #4facfe;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--accent-gradient);
  transform: translateY(-2px);
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 1000;
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    position: static;
    transform: none;
    margin-top: var(--space-xl);
    gap: var(--space-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .whatsapp-float {
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
  }
  
  .service-card {
    padding: var(--space-lg);
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid #4facfe;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .scroll-indicator {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }
  
  body {
    background: white;
    color: black;
  }
}