/* Root Variables */
:root {
  /* Primary Colors - Futuristic Biomorphic */
  --primary-color: #3e8ed0;
  --primary-dark: #2b74b6;
  --primary-light: #68a4db;
  
  /* Complementary Color Scheme */
  --secondary-color: #d0693e;
  --secondary-dark: #b65327;
  --secondary-light: #db8b68;
  
  /* Neutral Colors */
  --neutral-dark: #2c3e50;
  --neutral-medium: #7f8c8d;
  --neutral-light: #ecf0f1;
  
  /* Accent Colors */
  --accent-color-1: #42b883;
  --accent-color-2: #9c27b0;
  
  /* Gradient Colors */
  --gradient-start: rgba(62, 142, 208, 0.8);
  --gradient-end: rgba(208, 105, 62, 0.9);
  
  /* Text Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #95a5a6;
  
  /* Shadow Values */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Biomorphic Design Elements */
  --blob-shape: 70% 30% 50% 50% / 30% 50% 70% 70%;
  --blob-rotation: rotate(25deg);
  
  /* Card Styles */
  --card-padding: 1.5rem;
  --card-bg: #ffffff;
}

/* Typography */
body {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--neutral-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.title.is-1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  color: var(--primary-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Global Styles */
.container {
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Cards */
.card {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--card-bg);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  margin-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-content {
  padding: var(--card-padding);
  width: 100%;
}

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

.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

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

/* Buttons */
.button {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  z-index: -1;
}

.button:hover:before {
  width: 100%;
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-secondary {
  background-color: var(--secondary-color);
  border-color: transparent;
  color: white;
}

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
}

.button.is-outlined.is-light {
  border-color: var(--text-light);
  color: var(--text-light);
}

.button.is-outlined.is-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(62, 142, 208, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(62, 142, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(62, 142, 208, 0);
  }
}

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

.navbar {
  padding: 0.5rem 0;
}

.navbar-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--neutral-dark);
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 2rem;
}

/* Particles Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Vision Section */
.vision-section {
  background-color: white;
  position: relative;
}

.vision-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.vision-cards {
  margin-top: 3rem;
}

.vision-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.vision-card .image-container {
  height: 200px;
}

.vision-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.vision-card .title {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Innovation Section */
.innovation-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.innovation-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(62, 142, 208, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.innovation-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.innovation-timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 2;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0.45rem;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: var(--primary-light);
}

.timeline-content {
  padding: 0 1rem;
}

.timeline-content .title {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.timeline-content .image-container {
  margin-top: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.timeline-content .image-container img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

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

.toggle-container {
  margin-top: 4rem;
}

.toggle-title {
  margin-bottom: 2rem;
  text-align: center;
}

.toggles {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.toggle-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.toggle-item:last-child {
  border-bottom: none;
}

.toggle-input {
  display: none;
}

.toggle-label {
  display: block;
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-fast);
}

.toggle-label:hover {
  background-color: rgba(62, 142, 208, 0.05);
}

.toggle-label::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.toggle-input:checked + .toggle-label::after {
  transform: translateY(-50%) rotate(45deg);
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
  padding: 0 1.5rem;
}

.toggle-input:checked ~ .toggle-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* Press Section */
.press-section {
  background-color: white;
}

.press-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.press-cards {
  margin-bottom: 3rem;
}

.press-card {
  height: 100%;
}

.press-card .image-container {
  height: 200px;
}

.press-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.external-resources {
  margin-top: 4rem;
  text-align: center;
}

.resources-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.resource-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  background-color: #f5f5f5;
  color: var(--text-dark);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.resource-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.webinars-section {
  margin-top: 4rem;
}

.webinar-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.webinar-date {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Customer Stories Section */
.customer-stories-section {
  background-color: #f9f9f9;
  position: relative;
}

.customer-stories-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: rgba(208, 105, 62, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.customer-stories-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.stories-container {
  margin-top: 3rem;
}

.story-card {
  margin-bottom: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.story-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

/* Instructors Section */
.instructors-section {
  background-color: white;
}

.instructors-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.instructors-container {
  margin-top: 3rem;
}

.instructor-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instructor-card .image-container {
  height: 350px;
  width: 100%;
}

.instructor-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card .title {
  color: var(--primary-dark);
}

.instructor-card .subtitle {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Success Stories Section */
.success-stories-section {
  background-color: #f9f9f9;
}

.success-stories-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.success-stories-container {
  margin-top: 3rem;
}

.success-story-card {
  margin-bottom: 2.5rem;
}

.success-story-card .image-container {
  margin-top: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 300px;
}

.success-story-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-story-card .title {
  color: var(--primary-dark);
}

/* Contact Section */
.contact-section {
  background-color: white;
  position: relative;
}

.contact-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.contact-info-card, .contact-form-card {
  height: 100%;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.contact-list li strong {
  color: var(--primary-dark);
  margin-right: 0.5rem;
}

.contact-form .button {
  margin-top: 1rem;
}

.newsletter-section {
  margin-top: 4rem;
}

.newsletter-card {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: white;
}

.newsletter-card .title {
  color: white;
}

.newsletter-form {
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: white;
}

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

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

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

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

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

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

.footer-social li {
  margin-bottom: 0.75rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 1rem auto 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-container {
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color-1);
  margin-bottom: 2rem;
}

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

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 1rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .resource-link {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .resources-links {
    flex-direction: column;
  }
  
  .resource-link {
    width: 100%;
  }
}

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

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

/* Particle Animation */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: particleAnimation 15s infinite ease-in-out;
}

@keyframes particleAnimation {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(50px, 25px, 0) rotate(90deg);
  }
  50% {
    transform: translate3d(0, 50px, 0) rotate(180deg);
  }
  75% {
    transform: translate3d(-50px, 25px, 0) rotate(270deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(360deg);
  }
}

/* Additional Utility Classes */
.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

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

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

/* Specific Overrides for Bulma */
.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.navbar-item:hover {
  background-color: transparent;
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.125em rgba(62, 142, 208, 0.25);
}

.button.is-light {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.button.is-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}