/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors - Analogous Color Scheme */
  --primary-color: #00E5FF;
  --primary-dark: #00B8CC;
  --primary-light: #4FFFB0;
  
  /* Secondary Colors */
  --secondary-color: #00BCD4;
  --secondary-dark: #0097A7;
  --secondary-light: #B2EBF2;
  
  /* Accent Colors */
  --accent-color: #1DE9B6;
  --accent-dark: #00BFA5;
  --accent-light: #A7FFEB;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #212529;
  --black: #000000;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  --gradient-light: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,249,250,0.8) 100%);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Border Radius */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 229, 255, 0.1);
  --shadow-md: 0 8px 30px rgba(0, 229, 255, 0.2);
  --shadow-lg: 0 20px 60px rgba(0, 229, 255, 0.3);
  --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
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); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--medium-gray);
  font-weight: 400;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* Read More Links */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  transition: var(--transition-normal);
  position: relative;
}

.read-more::after {
  content: '→';
  transition: var(--transition-normal);
}

.read-more:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ===== GLOBAL BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

button, input[type='submit'] {
  font-family: var(--font-heading);
  transition: var(--transition-normal);
}

/* ===== UTILITIES ===== */
.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  z-index: 1;
}

.parallax-bg .container {
  position: relative;
  z-index: 2;
}

/* ===== PARTICLES ANIMATION ===== */
.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particles-bg::before,
.particles-bg::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: particles 20s linear infinite;
}

.particles-bg::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particles-bg::after {
  top: 60%;
  left: 80%;
  animation-delay: 10s;
}

@keyframes particles {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50px) scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.card-content h3,
.card-content h4,
.card-content h5 {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
}

.card-content p {
  flex: 1;
  margin-bottom: var(--spacing-md);
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  transition: var(--transition-normal);
  z-index: 1000;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--dark-gray);
  padding: var(--spacing-xs) var(--spacing-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}

.hero-title {
  color: var(--white) !important;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  color: var(--white) !important;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.4s both;
}

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

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-toggle {
  margin-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.toggle-input {
  display: none;
}

.toggle-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background: var(--medium-gray);
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.toggle-label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.toggle-input:checked + .toggle-label {
  background: var(--primary-color);
}

.toggle-input:checked + .toggle-label::after {
  transform: translateX(30px);
}

/* ===== WORKSHOPS SECTION ===== */
.workshops {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* ===== METHODOLOGY SECTION ===== */
.methodology {
  background: var(--dark-gray);
  color: var(--white);
}

.methodology .section-title {
  color: var(--white);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.methodology .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.methodology-step {
  text-align: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  height: 100%;
  transition: var(--transition-normal);
}

.methodology-step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 auto var(--spacing-md);
}

.methodology-step h4 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.methodology-step p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-align: center;
}

.testimonial-card .card-content p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.testimonial-card .card-content p::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: -10px;
}

.testimonial-card h5 {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

.testimonial-card span {
  color: var(--primary-color);
  font-weight: 500;
}

/* ===== CAREERS SECTION ===== */
.careers {
  background: var(--light-gray);
}

.career-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
}

.career-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

/* ===== RESOURCES SECTION ===== */
.resources {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.resource-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-align: center;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
}

.resource-card h4 {
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
}

.resource-card p {
  margin-bottom: var(--spacing-lg);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--light-gray);
}

.contact-form-wrapper {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.form-control {
  padding: 12px 16px;
  border: 2px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

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

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer h5,
.footer h6 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  z-index: -1;
}

.social-links a:hover {
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-links a:hover::before {
  left: 0;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: var(--spacing-lg) 0 var(--spacing-md);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  text-align: center;
}

.success-content {
  color: var(--white);
  max-width: 600px;
  padding: var(--spacing-xl);
}

.success-content h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  color: var(--dark-gray);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.legal-content h1:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--spacing-md);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
}

.legal-content li {
  margin-bottom: var(--spacing-xs);
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  background: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(20px);
  border-top: 2px solid var(--primary-color);
}

.cookie-consent p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --spacing-xxl: 3rem;
    --spacing-xl: 2rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .contact-form-wrapper {
    padding: var(--spacing-md);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .methodology-step {
    margin-bottom: var(--spacing-md);
  }
  
  .card-image {
    height: 200px;
  }
  
  .legal-content {
    padding: var(--spacing-md);
    margin: var(--spacing-sm);
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Focus styles for accessibility */
button:focus,
.btn:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0066CC;
    --secondary-color: #004499;
    --accent-color: #00AA66;
  }
}