/* CSS Variables for Consistent Theme */
:root {
  /* Primary Colors */
  --primary-color: #3B82F6;
  --primary-dark: #2563EB;
  --primary-light: #93C5FD;
  
  /* Secondary Colors */
  --secondary-color: #8B5CF6;
  --secondary-dark: #7C3AED;
  --secondary-light: #C4B5FD;
  
  /* Accent Colors */
  --accent-color: #10B981;
  --accent-dark: #059669;
  --accent-light: #6EE7B7;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-hero: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(139, 92, 246, 0.8));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  
  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--gray-700);
  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: 1rem;
  color: var(--gray-900);
}

.title.is-1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.title.is-2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.title.is-4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.title.is-5 {
  font-size: 1.25rem;
  font-weight: 500;
}

.subtitle {
  font-family: var(--font-body);
  color: var(--gray-600);
  font-weight: 400;
}

/* Global Button Styles */
.button, .btn, input[type="submit"] {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.button.is-primary, .btn.is-primary, .cta-button {
  background: var(--gradient-primary);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.button.is-primary:hover, .btn.is-primary:hover, .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

.button.is-outlined, .button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.button.is-outlined:hover, .button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.section {
  padding: var(--section-padding);
  position: relative;
}

/* Header Styles */
.futuristic-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

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

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

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Vision Section */
.vision-section {
  background: var(--gray-50);
}

.content-wrapper {
  padding: 2rem;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}

/* Statistics Section */
.stats-section {
  background: var(--gradient-primary);
  color: var(--white);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Success Stories Section */
.success-stories-section {
  background: var(--white);
}

.story-card {
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.story-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.story-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.story-card .title {
  color: var(--gray-900);
  margin-bottom: 1rem;
}

/* Case Studies Section */
.case-studies-section {
  background: var(--gray-50);
}

.case-studies-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--gray-50);
}

.accordion-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: var(--transition);
}

.accordion-item.active .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Resources Section */
.resources-section {
  background: var(--gray-50);
}

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

.resource-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.resource-link {
  margin-top: 1rem;
}

/* Community Section */
.community-section {
  background: var(--white);
}

/* Customer Stories Section */
.customer-stories-section {
  background: var(--gray-50);
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.testimonial-content {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.author-info .name {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.author-info .profession {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Sustainability Section */
.sustainability-section {
  background: var(--white);
}

/* Careers Section */
.careers-section {
  background: var(--gray-50);
}

.career-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

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

.career-description {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.career-requirements ul {
  list-style: none;
  padding: 0;
}

.career-requirements li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  position: relative;
  padding-left: 1.5rem;
}

.career-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-info {
  padding: 2rem 0;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-form {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.futuristic-input, .futuristic-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  font-family: var(--font-body);
}

.futuristic-input:focus, .futuristic-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.label {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  display: block;
}

/* Footer */
.futuristic-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 2rem;
}

.footer-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--gray-400);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-700);
}

.social-link:hover {
  color: var(--primary-light);
  border-color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.contact-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-700);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--gray-500);
}

/* Image Containers */
.image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.image-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

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

.success-content {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

/* Privacy and Terms Pages */
.legal-page {
  padding-top: 100px;
}

.legal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.legal-content h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-content p, .legal-content li {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.legal-content ul {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --container-padding: 1rem;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .button {
    width: 100%;
    max-width: 300px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-content {
    padding: 0 1rem 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .testimonial-card, .story-card, .career-card {
    padding: 1.5rem;
  }
}

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

.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift {
  transition: var(--transition);
}

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

/* Read More Links */
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-link:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

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

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