:root {
  /* Color Variables */
  --primary-color: #4361ee;
  --primary-color-dark: #3a56d4;
  --secondary-color: #7209b7;
  --secondary-color-dark: #6008a0;
  --accent-color: #f72585;
  --accent-color-dark: #e0146f;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --info-color: #2196f3;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  --gradient-light: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  /* Shadows */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.07);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.05);
  
  /* Neomorphic Shadows */
  --nm-shadow-outset: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-shadow-pressed: inset 2px 2px 5px rgba(0, 0, 0, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark-color);
  background-color: #f5f5f7;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

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

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

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

/* Neomorphic Elements */
.neomorphic {
  background: #f5f5f7;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--nm-shadow-outset);
  transition: var(--transition-medium);
  overflow: hidden;
}

.neomorphic:hover {
  box-shadow: var(--nm-shadow-outset), 0 10px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.neomorphic-input {
  background: #f5f5f7;
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-inset);
  transition: var(--transition-medium);
  padding: 0.75rem 1rem;
}

.neomorphic-input:focus {
  box-shadow: var(--nm-shadow-pressed);
  outline: none;
}

/* Buttons */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:not(.is-outlined):not(.is-light):not(.is-white):not(.is-ghost):before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  transform: translateX(-100%) rotate(45deg);
  transition: var(--transition-medium);
}

.button:not(.is-outlined):not(.is-light):not(.is-white):not(.is-ghost):hover:before {
  transform: translateX(100%) rotate(45deg);
}

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

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

.button.is-rounded {
  border-radius: 100px;
}

.button.is-large {
  font-size: 1.2rem;
  height: 3.5rem;
  padding: 0 2rem;
}

.pulse-btn {
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(67, 97, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

/* Header/Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition-medium);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-medium);
}

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

.navbar-burger {
  height: 4rem;
}

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

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

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

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

.scroll-down {
  display: inline-block;
  animation: float 2s ease-in-out infinite;
}

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

/* Services Section */
.services-section {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.services-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: var(--spacing-md);
  transform-style: preserve-3d;
  transition: var(--transition-medium);
}

.services-section .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-section .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.services-section .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
}

.services-section .card-content h3 {
  margin-bottom: var(--spacing-sm);
}

/* Process Section */
.process-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: var(--gradient-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 20px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: var(--spacing-lg);
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 5px rgba(67, 97, 238, 0.2);
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -12px;
}

.timeline-content {
  position: relative;
  border-radius: var(--border-radius-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: var(--spacing-md);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: var(--spacing-md);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 19px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: var(--spacing-sm);
    margin-right: 0;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.portfolio-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.portfolio-section .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-section .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.portfolio-section .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
}

/* Resources Section */
.resources-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
}

.resources-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--spacing-md);
}

.resources-section .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
}

.resources-section .card-content h3 a {
  color: var(--primary-color);
  transition: var(--transition-medium);
}

.resources-section .card-content h3 a:hover {
  color: var(--primary-color-dark);
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.accordion {
  background-color: transparent;
}

.accordion-item {
  margin-bottom: var(--spacing-sm);
}

.accordion-header {
  background-color: #f5f5f7;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-outset);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-medium);
}

.accordion-header:hover {
  background-color: #f0f0f5;
}

.accordion-header h3 {
  margin: 0;
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-medium);
}

.accordion-item.active .accordion-header {
  background-color: var(--primary-color);
}

.accordion-item.active .accordion-header h3 {
  color: white;
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px;
  margin-top: var(--spacing-sm);
  box-shadow: var(--nm-shadow-inset);
  border-radius: var(--border-radius-md);
}

/* Instructors Section */
.instructors-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.instructors-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--spacing-md);
}

.instructors-section .card-image {
  overflow: hidden;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: var(--spacing-md) auto;
  border: 5px solid #fff;
  box-shadow: var(--shadow-medium);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.instructors-section .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
}

.instructors-section .card-content h3 {
  margin-bottom: var(--spacing-xs);
}

.instructors-section .card-content p.subtitle {
  margin-bottom: var(--spacing-sm);
  color: var(--gray-color);
}

/* Events Section */
.events-section {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.event-card {
  margin-bottom: var(--spacing-md);
}

.event-card .card-content {
  display: flex;
  padding: var(--spacing-md);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-md);
  color: white;
  margin-right: var(--spacing-md);
  box-shadow: var(--shadow-medium);
}

.event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: 700;
}

.event-details {
  flex: 1;
}

.event-details h3 {
  margin-bottom: var(--spacing-xs);
}

.event-details .subtitle {
  margin-bottom: var(--spacing-sm);
  color: var(--gray-color);
}

/* Success Stories Section */
.success-stories-section {
  padding: var(--spacing-xl) 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.testimonial-slide {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.testimonial-image {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: var(--shadow-medium);
}

.testimonial-content {
  padding: var(--spacing-sm);
}

.testimonial-author {
  color: var(--gray-color);
}

.stats-container {
  margin-top: var(--spacing-xl);
}

.stat-box {
  padding: var(--spacing-md);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 5px;
}

.stat-symbol {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 1rem;
  margin-top: var(--spacing-xs);
  color: var(--gray-color);
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.contact-info {
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.contact-item .icon {
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-form {
  height: 100%;
}

.social-media .buttons {
  justify-content: flex-start;
}

.social-media .button {
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

/* Footer */
.footer {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  background-color: #fafafa;
  border-top: 1px solid #eee;
}

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

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

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

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

.social-links {
  display: flex;
  flex-wrap: wrap;
}

.social-links a {
  margin-right: var(--spacing-md);
  color: var(--gray-color);
  transition: var(--transition-medium);
}

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

.copyright {
  border-top: 1px solid #eee;
  color: var(--gray-color);
}

/* Additional Pages */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.success-page .container {
  max-width: 600px;
  padding: var(--spacing-md);
}

.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-page .container,
.terms-page .container {
  max-width: 800px;
  padding: var(--spacing-md);
}

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

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: white;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0 !important;
  }
  
  .timeline-marker {
    left: 19px !important;
  }
  
  .timeline-content {
    margin-left: var(--spacing-sm) !important;
    margin-right: 0 !important;
  }
  
  .event-card .card-content {
    flex-direction: column;
  }
  
  .event-date {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .testimonial-slide .columns {
    flex-direction: column;
  }
  
  .testimonial-image {
    margin-bottom: var(--spacing-md);
  }
}

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

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

.has-text-accent {
  color: var(--accent-color) !important;
}

.has-background-primary {
  background-color: var(--primary-color) !important;
}

.has-background-secondary {
  background-color: var(--secondary-color) !important;
}

.has-background-accent {
  background-color: var(--accent-color) !important;
}

.has-background-gradient-primary {
  background: var(--gradient-primary) !important;
}

.has-background-gradient-secondary {
  background: var(--gradient-secondary) !important;
}

.has-background-gradient-accent {
  background: var(--gradient-accent) !important;
}

/* JavaScript Support */
.js-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-medium);
}

.js-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure card images are centered */
.card-image {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.card-image img {
  margin: 0 auto !important;
}