:root {
  /* Color Palette */
  --primary-color: #6a3de8;
  --primary-color-dark: #4922b0;
  --secondary-color: #3ecfb2;
  --secondary-color-dark: #2ca58e;
  --accent-color: #ff6b6b;
  --accent-color-dark: #e84545;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #9a67ff);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #65e6c9);
  --gradient-accent: linear-gradient(135deg, var(--accent-color), #ff9e9e);
  
  /* Text Colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --text-muted: #888888;
  
  /* Background Colors */
  --bg-light: #f9f9f9;
  --bg-dark: #202025;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-dark: rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 15px;
  --radius-xl: 25px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.2);
  
  /* Glassmorphism */
  --glass-background: rgba(255, 255, 255, 0.25);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-blur: 10px;
  
  /* Animation Speeds */
  --transition-fast: 0.2s;
  --transition-medium: 0.4s;
  --transition-slow: 0.7s;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--primary-color);
  transition: color var(--transition-fast) ease;
}

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

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

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

/* Buttons */
.button {
  transition: all var(--transition-medium) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-color-dark), var(--primary-color));
  transform: translateY(-2px);
}

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

.button.is-light:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  transform: translateY(-2px);
}

.button:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: var(--radius-full);
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
  z-index: -1;
}

.button:hover:after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(100, 100);
    opacity: 0;
  }
}

/* Glassmorphic Elements */
.glassmorphic-card {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
  overflow: hidden;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.glassmorphic-button {
  backdrop-filter: blur(5px);
  border: var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: var(--glass-border);
}

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

.navbar-item {
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast) ease;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

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

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services-section {
  background: var(--bg-light);
}

.progress-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.progress-item {
  text-align: center;
  width: 23%;
  margin-bottom: var(--spacing-md);
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  background: conic-gradient(var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.progress-circle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: white;
  border-radius: var(--radius-full);
}

.progress-value {
  position: relative;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Card Styling */
.card {
  transition: transform var(--transition-medium) ease, box-shadow var(--transition-medium) ease;
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

.card-content {
  padding: var(--spacing-md);
  text-align: center;
}

.card .title {
  margin-bottom: var(--spacing-xs);
}

.card .subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

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

.timeline {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
}

.timeline-marker {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-content {
  width: 45%;
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-content .heading {
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: var(--spacing-xs);
}

/* Workshop Cards */
.workshops-section .card {
  height: 100%;
}

.workshop-card .card-image {
  height: 200px;
}

.workshop-details {
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-sm) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.workshop-details p {
  margin-bottom: var(--spacing-xs);
}

/* Resources Section */
.resources-section {
  color: var(--text-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.resource-card {
  height: 100%;
  text-align: left;
}

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

.resource-list li {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
  position: relative;
}

.resource-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.resource-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast) ease;
}

.resource-list a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.gallery-container {
  margin-top: var(--spacing-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-sm);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  transform: translateY(100%);
  transition: transform var(--transition-medium) ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  margin: 0;
}

/* News Section */
.news-section {
  color: var(--text-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-card {
  height: 100%;
}

.news-card .card-image {
  height: 200px;
}

.news-date {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

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

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

.map-container {
  overflow: hidden;
  border-radius: var(--radius-md);
}

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

.contact-form .field {
  margin-bottom: var(--spacing-sm);
}

.contact-form .button {
  margin-top: var(--spacing-md);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer .title {
  color: var(--text-light);
}

.footer p, .footer a {
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

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

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

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

.social-links p {
  margin-bottom: var(--spacing-xs);
}

.social-links a {
  position: relative;
  padding-left: var(--spacing-md);
}

.social-links a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

.social-links a[href*="facebook"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23888" d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"/></svg>');
}

.social-links a[href*="twitter"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23888" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>');
}

.social-links a[href*="instagram"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23888" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>');
}

.social-links a[href*="linkedin"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23888" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>');
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-light);
  padding: var(--spacing-xl) 0;
}

.success-content {
  text-align: center;
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

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

.terms-content, .privacy-content {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 1023px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .progress-item {
    width: 48%;
  }
}

@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .progress-item {
    width: 100%;
  }
  
  .column.is-one-third,
  .column.is-one-quarter {
    width: 100%;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-medium) ease forwards;
}

/* Custom Cursor (Optional) */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="7" fill="%236a3de8" opacity="0.5"/></svg>'), auto;
}

a, button, .card, .timeline-marker {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="%236a3de8" stroke-width="2" fill="transparent"/><circle cx="12" cy="12" r="6" fill="%236a3de8" opacity="0.5"/></svg>'), pointer;
}

/* ScrollReveal Animation Styles */
.reveal {
  opacity: 0;
  visibility: hidden;
}