/* ============================================
   NEXUS CONSULTING - Premium Website Styles
   ============================================ */

/* CSS Variables - Design System */
:root {
  /* Primary Colors */
  --primary-navy: #0a1628;
  --primary-charcoal: #1a1a2e;
  --primary-dark: #16213e;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-soft-grey: #f8f9fa;
  --bg-light: #f1f3f5;
  
  /* Accent Colors */
  --accent-teal: #00b4d8;
  --accent-teal-dark: #0096c7;
  --accent-gold: #ffd60a;
  --accent-blue: #4361ee;
  
  /* Text Colors */
  --text-primary: #0a1628;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --text-white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a1a2e 50%, #16213e 100%);
  --gradient-accent: linear-gradient(135deg, #00b4d8 0%, #4361ee 100%);
  --gradient-gold: linear-gradient(135deg, #ffd60a 0%, #ff9500 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-white: #0a1628;
  --bg-soft-grey: #1a1a2e;
  --bg-light: #16213e;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-light: #718096;
}

/* ============================================
   BASE STYLES
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white);
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Smooth scroll container */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background-color: var(--accent-teal);
  color: var(--text-white);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-teal);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) var(--space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: var(--space-md) var(--space-2xl);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
  color: var(--primary-navy);
}

[data-theme="dark"] .navbar.scrolled .nav-logo {
  color: var(--text-white);
}

.nav-logo span {
  color: var(--accent-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

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

.nav-links a:hover {
  color: var(--accent-teal);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  color: var(--text-white);
}

.navbar.scrolled .theme-toggle svg {
  color: var(--text-secondary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  margin: 5px 0;
  transition: all var(--transition-base);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--primary-navy);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--accent-teal);
  border: 2px solid var(--accent-teal);
}

.btn-outline:hover {
  background: var(--accent-teal);
  color: var(--text-white);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
}

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

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: var(--space-4xl) var(--space-xl);
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-teal);
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-full);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-teal), transparent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-soft-grey);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4d8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.about-content {
  position: relative;
}

.about-title {
  margin-bottom: var(--space-xl);
}

.about-text {
  margin-bottom: var(--space-xl);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-teal);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .about-floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-lg);
  }
}

.floating-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.floating-text strong {
  display: block;
  color: var(--text-primary);
}

.floating-text span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-white);
  position: relative;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

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

.service-card {
  background: var(--bg-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-soft-grey);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--gradient-accent);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-teal);
  transition: fill var(--transition-base);
}

.service-card:hover .service-icon svg {
  fill: white;
}

.service-title {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.service-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-teal);
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-base);
}

.service-link:hover {
  gap: var(--space-md);
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */

.value-prop {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.value-prop::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.value-prop::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.value-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.value-title {
  color: var(--text-white);
  margin-bottom: var(--space-xl);
}

.value-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3xl);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-item {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.value-item h4 {
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.value-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ============================================
   CASE STUDIES SECTION
   ============================================ */

.case-studies {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-soft-grey);
}

.case-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

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

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.case-image {
  height: 200px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--accent-teal);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-content {
  padding: var(--space-xl);
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.case-metric .number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.case-metric .symbol {
  font-size: 1.5rem;
  color: var(--accent-teal);
}

.case-metric .label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: var(--space-sm);
}

.case-title {
  margin-bottom: var(--space-sm);
}

.case-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 10%;
  left: 5%;
  font-family: var(--font-heading);
  font-size: 20rem;
  color: var(--accent-teal);
  opacity: 0.05;
  line-height: 1;
}

.testimonial-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-smooth);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 var(--space-xl);
}

.testimonial-content {
  background: var(--bg-soft-grey);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--accent-teal);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonial-dot.active {
  background: var(--accent-teal);
  transform: scale(1.2);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--gradient-primary);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.contact-content h2 {
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-teal);
}

.contact-text span {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact-text strong {
  color: var(--text-white);
}

.contact-form-container {
  background: var(--bg-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

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

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--bg-light);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color var(--transition-base);
  background: var(--bg-soft-grey);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  background: var(--bg-white);
}

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

.form-submit {
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--primary-navy);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent-teal);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--accent-teal);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-white);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-content {
    padding: var(--space-3xl) var(--space-lg);
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}