/* CSS Variables for Retro Analog Color Scheme */
:root {
  /* Primary Analog Colors */
  --primary-coral: #FF6B6B;
  --primary-orange: #FF8E53;
  --primary-yellow: #FFD93D;
  
  /* Secondary Analog Colors */
  --secondary-pink: #FF9FF3;
  --secondary-peach: #FFAD5A;
  --secondary-cream: #FFF2CC;
  
  /* Accent Colors */
  --accent-purple: #9B59B6;
  --accent-violet: #8E44AD;
  --accent-magenta: #E91E63;
  
  /* Neutral Colors */
  --dark-primary: #2C3E50;
  --dark-secondary: #34495E;
  --dark-accent: #1A252F;
  --light-primary: #FFFFFF;
  --light-secondary: #F8F9FA;
  --light-accent: #ECF0F1;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-orange) 50%, var(--primary-yellow) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-pink) 0%, var(--primary-coral) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-violet) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
  
  /* Typography */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius for Biomorphic Design */
  --radius-sm: 15px;
  --radius-md: 25px;
  --radius-lg: 35px;
  --radius-xl: 50px;
  
  /* Shadows for 3D Effects */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
  --shadow-3d: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

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

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
  line-height: 1.7;
}

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

a:hover {
  color: var(--accent-purple);
  transform: translateY(-2px);
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

/* Global Button Styles */
.btn, button, input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before, button::before, input[type='submit']::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-slow);
  z-index: -1;
}

.btn:hover::before, button:hover::before, input[type='submit']:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-3d);
}

.btn-secondary {
  background: transparent;
  color: var(--light-primary);
  border: 2px solid var(--light-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--light-primary);
  color: var(--primary-coral);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.btn-pricing {
  background: var(--gradient-secondary);
  color: var(--light-primary);
  width: 100%;
  margin-top: var(--spacing-md);
}

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

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar {
  padding: var(--spacing-sm) 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-primary);
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-coral);
  margin: 3px 0;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  text-align: center;
}

.hero-content {
  margin-bottom: var(--spacing-xxl);
}

.hero-title {
  color: var(--light-primary) !important;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: var(--light-primary) !important;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.stat-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  transition: var(--transition-normal);
}

.stat-widget:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--light-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* History Section */
.history-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-primary);
}

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

.history-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--dark-secondary);
}

.progress-indicator {
  margin-top: var(--spacing-lg);
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--light-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  transition: width 2s ease-in-out;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

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

.progress-label {
  display: block;
  margin-top: var(--spacing-xs);
  font-weight: 600;
  color: var(--primary-coral);
}

.history-image {
  text-align: center;
}

.history-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-slow);
}

.history-image img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* Services Section */
.services-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-secondary);
}

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

/* Global Card Styles */
.card {
  background: var(--light-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-3d);
}

.card-image {
  width: 100%;
  height: 200px;
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  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 h3 {
  color: var(--dark-primary);
  margin-bottom: var(--spacing-sm);
}

.card-content p {
  color: var(--dark-secondary);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.team-role {
  color: var(--primary-coral);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

/* Resources Section */
.resources-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-secondary);
}

.resources-content p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xl);
  color: var(--dark-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.resource-card {
  background: var(--light-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

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

.resource-card h3 {
  color: var(--dark-primary);
  margin-bottom: var(--spacing-sm);
}

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

.resource-link {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--gradient-accent);
  color: var(--light-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Pricing Section */
.pricing-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--light-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--light-accent);
}

.pricing-card.featured {
  border-color: var(--primary-coral);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: var(--spacing-md);
  right: -30px;
  background: var(--gradient-primary);
  color: var(--light-primary);
  padding: var(--spacing-xs) var(--spacing-xl);
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.pricing-card.featured:hover {
  transform: translateY(-5px) scale(1.05);
}

.price-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.price-header h3 {
  color: var(--dark-primary);
  margin-bottom: var(--spacing-sm);
}

.price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin-bottom: var(--spacing-xs);
}

.price-period {
  color: var(--dark-secondary);
  font-size: 0.9rem;
}

.price-features ul {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.price-features li {
  padding: var(--spacing-xs) 0;
  color: var(--dark-secondary);
  position: relative;
  padding-left: var(--spacing-md);
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-coral);
  font-weight: 600;
}

/* Accolades Section */
.accolades-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-secondary);
}

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

.accolades-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--dark-secondary);
}

.accolades-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-primary);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-secondary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--light-primary);
  cursor: pointer;
  margin: 0;
  position: relative;
  user-select: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: var(--spacing-md);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: var(--spacing-md);
  margin: 0;
  color: var(--dark-secondary);
  line-height: 1.7;
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-secondary);
}

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

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

.contact-item h3 {
  color: var(--primary-coral);
  margin-bottom: var(--spacing-xs);
}

.contact-item p {
  color: var(--dark-secondary);
  margin: 0;
}

.contact-form-container {
  background: var(--light-primary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--dark-primary);
}

.form-group input,
.form-group textarea {
  padding: var(--spacing-sm);
  border: 2px solid var(--light-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-normal);
  background: var(--light-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--light-primary);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--light-primary);
  margin-bottom: var(--spacing-md);
}

.footer-section p {
  color: var(--light-secondary);
  line-height: 1.6;
}

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

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

.footer-section ul li a {
  color: var(--light-secondary);
  transition: var(--transition-normal);
}

.footer-section ul li a:hover {
  color: var(--primary-coral);
  padding-left: var(--spacing-xs);
}

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

.social-links a {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: var(--primary-coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.footer-bottom p {
  color: var(--light-secondary);
  margin: 0;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  padding: var(--spacing-md);
}

.success-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-xxl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3d);
  backdrop-filter: blur(20px);
  max-width: 600px;
}

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

.success-content p {
  color: var(--dark-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}

/* Privacy and Terms Pages */
.content-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xxl);
  background: var(--light-primary);
  min-height: 100vh;
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  color: var(--dark-primary);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.content-page h2 {
  color: var(--primary-coral);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.content-page p,
.content-page li {
  color: var(--dark-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.content-page ul {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

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

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

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

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --spacing-xxl: 2rem;
    --spacing-xl: 1.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg) 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: var(--spacing-md);
  }

  .history-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .accolades-content {
    grid-template-columns: 1fr;
  }

  .accolades-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-widget {
    padding: var(--spacing-sm);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .card {
    padding: var(--spacing-md);
  }

  .success-content {
    padding: var(--spacing-lg);
  }

  .contact-form-container {
    padding: var(--spacing-md);
  }
}

/* Animation Enhancements for Animate.css Integration */
.animate__animated {
  --animate-duration: 1s;
  --animate-delay: 0s;
}

.animate__fadeInUp {
  --animate-duration: 1.2s;
}

.animate__fadeInLeft {
  --animate-duration: 1s;
  --animate-delay: 0.2s;
}

.animate__fadeInRight {
  --animate-duration: 1s;
  --animate-delay: 0.4s;
}

/* Parallax Effect */
@media (min-width: 769px) {
  .hero-section {
    background-attachment: fixed;
  }
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
}

/* 3D Transform Effects */
.transform-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.rotate-3d:hover {
  transform: rotateY(10deg) rotateX(10deg);
}

/* Biomorphic Shapes */
.biomorphic {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform-origin: left;
  z-index: 9999;
}