:root {
  /* Primary Colors */
  --primary-color: #5d9cec;
  --primary-dark: #4a7fc6;
  --primary-light: #8ab5f2;
  
  /* Secondary Colors */
  --secondary-color: #f7c38a;
  --secondary-dark: #e0a96d;
  --secondary-light: #ffd6a7;
  
  /* Accent Colors */
  --accent-color: #a885e2;
  --accent-dark: #8a6bc0;
  --accent-light: #c5a8f0;
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-footer: #1f2937;
  
  /* Text Colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  
  /* Border & Shadow */
  --border-color: #e6e6e6;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

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

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
  border: none;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-light {
  background-color: var(--bg-white);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.button.is-light:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-large {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* Form Elements */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: 'Rubik', sans-serif;
  transition: border-color var(--transition-fast);
  margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand h1 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  display: flex;
  align-items: center;
}

.navbar-item {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--text-primary);
  display: block;
  height: 2px;
  left: calc(50% - 10px);
  position: absolute;
  transform-origin: center;
  transition: all var(--transition-fast);
  width: 20px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 7px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50%);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 7px);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-white);
}

.hero .title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s var(--transition-slow) forwards;
}

.hero .subtitle {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s var(--transition-slow) 0.2s forwards;
  opacity: 0;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s var(--transition-slow) 0.4s forwards;
  opacity: 0;
}

.hero .buttons {
  animation: fadeInUp 1s var(--transition-slow) 0.6s forwards;
  opacity: 0;
}

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

/* Services Section */
.section {
  padding: var(--space-xl) 0;
}

.section .title {
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section .title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

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

.card-content .title {
  text-align: left;
  margin-top: 0;
}

.card-content .title:after {
  margin-left: 0;
}

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

.card-content .button {
  align-self: flex-end;
}

/* Research Section */
.has-background-light {
  background-color: ;
}

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

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background-color: var(--primary-light);
}

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

.timeline-marker {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transform: translateY(6px);
}

.timeline-content {
  background-color: var(--bg-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-content .title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-align: left;
}

.timeline-content .title:after {
  display: none;
}

/* Instructors Section */
.columns.is-multiline {
  margin: -1rem;
}

.column {
  padding: 1rem;
}

/* Testimonial Section */
.testimonial {
  background-color: var(--bg-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: 2rem;
}

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

.testimonial .image-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.testimonial .has-text-weight-bold {
  font-weight: 700;
  margin-bottom: 0;
}

/* Contact Section */
.box {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
}

.info-item {
  margin-bottom: 1rem;
}

.info-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.has-addons {
  display: flex;
}

.control {
  flex: 1;
}

/* Footer */
.footer {
  background-color: grey !important;
  color: var(--text-white);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer .title:after {
  background-color: var(--text-white);
  margin-left: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

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

.footer ul li a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--text-white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: var(--text-light);
  transition: color var(--transition-fast);
  margin-right: 1rem;
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

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

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

/* About Page */
.about-page {
  padding-top: 80px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    padding: 0.75rem 0;
    width: 100%;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .column.is-one-third {
    width: 100%;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
}

/* Additional Utilities */
.has-text-centered {
  text-align: center;
}

.has-text-weight-bold {
  font-weight: 700;
}

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

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

.is-size-6 {
  font-size: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

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

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

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 1s var(--transition-normal) forwards;
  opacity: 0;
}

.animate-slide-up {
  animation: slideUp 0.6s var(--transition-slow) forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s var(--transition-slow) forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s var(--transition-slow) forwards;
  opacity: 0;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Image Style Refinements */
img {
  display: block;
  max-width: 100%;
  height: auto;
}