:root {
  /* Triadic color scheme */
  --primary-color: #3e8ed0;
  --secondary-color: #d03e8e;
  --tertiary-color: #8ed03e;
  
  /* Darker and lighter variants */
  --primary-dark: #2c6ba0;
  --primary-light: #63a8e0;
  --secondary-dark: #a02c6b;
  --secondary-light: #e063a8;
  --tertiary-dark: #6ba02c;
  --tertiary-light: #a8e063;
  
  /* Neutral colors */
  --dark: #232323;
  --light: #f5f5f5;
  --gray: #888888;
  --light-gray: #e0e0e0;
  
  /* Shadows for neumorphism */
  --nm-shadow-light: 10px 10px 20px rgba(0, 0, 0, 0.05);
  --nm-shadow-dark: -10px -10px 20px rgba(255, 255, 255, 0.1);
  --nm-shadow-inset-light: inset 10px 10px 20px rgba(0, 0, 0, 0.05);
  --nm-shadow-inset-dark: inset -10px -10px 20px rgba(255, 255, 255, 0.1);
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-light));
  
  /* Animation settings */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Border radius */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Typography */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

/* Base styles */
html, body {
  font-family: var(--body-font);
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

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

.subtitle {
  color: var(--gray);
}

/* Common Components */
.section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

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

/* Neumorphic Card Styles */
.card {
  background: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-light), var(--nm-shadow-dark);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.08), -15px -15px 30px rgba(255, 255, 255, 0.15);
}

.card-image {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

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

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

.card-content {
  padding: 2rem;
  width: 100%;
  flex: 1;
}

/* Button Styles */
.button {
  font-family: var(--heading-font);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
  transform: skewX(-15deg);
}

.button:hover::before {
  transform: translateX(200%) skewX(-15deg);
}

.button.is-primary {
  background: var(--gradient-primary);
  border: none;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  box-shadow: 0 5px 15px rgba(62, 142, 208, 0.4);
}

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

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

.button.is-light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

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

/* Navbar Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  color: var(--dark);
}

.navbar-burger:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

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

.hero .title,
.hero .subtitle,
.hero p {
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-stats {
  margin-top: 3rem;
}

.stat-item {
  margin-bottom: 1.5rem;
}

.stat-label {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.progress-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.stat-value {
  font-size: 1rem;
  font-weight: bold;
}

/* Instructors Section */
.instructors-section {
  background-color: var(--light);
}

.instructor-card {
  height: 100%;
}

.instructor-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Resources Section */
.resources-section {
  background-color: var(--light);
  position: relative;
}

.resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, transparent 25%),
              radial-gradient(circle at 20% 80%, var(--tertiary-light) 0%, transparent 25%);
  opacity: 0.1;
  z-index: -1;
}

.resource-card {
  height: 100%;
  transition: transform var(--transition-fast);
}

.resource-card:hover {
  transform: translateY(-10px);
}

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

.story-card {
  height: 100%;
}

.story-impact {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

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

.impact-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}

.impact-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* External Resources Section */
.external-resources-section {
  background-color: var(--light);
  position: relative;
}

.external-resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(62, 142, 208, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.external-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Events Section */
.events-section {
  background-color: var(--light);
}

.event-card {
  height: 100%;
  position: relative;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  box-shadow: var(--nm-shadow-light);
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  text-transform: uppercase;
}

.event-meta {
  margin-bottom: 0.5rem;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.event-meta .icon {
  margin-right: 0.5rem;
}

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

.community-card {
  height: 100%;
}

.community-stats {
  padding: 2rem 0;
}

.stat-widget {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-light), var(--nm-shadow-dark);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-widget .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-widget .stat-label {
  font-size: 1rem;
  color: var(--gray);
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--light);
}

.portfolio-card {
  height: 100%;
}

/* Awards Section */
.awards-section {
  background-color: var(--light);
  position: relative;
}

.awards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, var(--tertiary-light) 0%, transparent 20%),
              radial-gradient(circle at 90% 90%, var(--secondary-light) 0%, transparent 20%);
  opacity: 0.1;
  z-index: -1;
}

.award-card {
  height: 100%;
}

/* Research Section */
.research-section {
  background-color: var(--light);
}

.research-card {
  height: 100%;
}

/* Blog Section */
.blog-section {
  background-color: var(--light);
}

.blog-card {
  height: 100%;
}

.blog-date {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(208, 62, 142, 0.05) 0%, transparent 50%);
  z-index: -1;
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--nm-shadow-inset-light);
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

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

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer .title {
  color: white;
}

.footer p {
  color: var(--light-gray);
}

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

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

.footer-links a {
  color: var(--light-gray);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  color: var(--light-gray);
  margin-bottom: 0.8rem;
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: white;
}

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

/* Cookie Consent */
#cookie-consent {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#cookie-consent p {
  margin-bottom: 1rem;
}

#cookie-consent a {
  color: var(--primary-light);
}

#accept-cookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--primary-dark);
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--light);
  box-shadow: var(--nm-shadow-light), var(--nm-shadow-dark);
}

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

/* Privacy and Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-light), var(--nm-shadow-dark);
}

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

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(20px);
  }
  75% {
    transform: translateY(20px) translateX(10px);
  }
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--light);
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .event-date {
    width: 70px;
    height: 70px;
  }
  
  .event-date .day {
    font-size: 1.8rem;
  }
  
  .event-date .month {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1.5rem;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
  
  .title.is-4 {
    font-size: 1.5rem;
  }
  
  .image-container {
    height: 250px;
  }
  
  .instructor-stats, 
  .story-impact {
    flex-direction: column;
  }
  
  .stat, 
  .impact-stat {
    margin-bottom: 1rem;
  }
  
  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .social-links a {
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button.is-large {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .image-container {
    height: 200px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .event-date {
    width: 60px;
    height: 60px;
  }
  
  .event-date .day {
    font-size: 1.6rem;
  }
  
  .event-date .month {
    font-size: 0.8rem;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease forwards;
}

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

.pulse {
  animation: pulse 2s infinite;
}

/* Read more link styling */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.read-more:hover {
  color: var(--primary-dark);
}

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