:root {
  /* Primary Colors */
  --primary-color: #3273dc;
  --primary-dark: #1a4b94;
  --primary-light: #4a89e8;
  --primary-lighter: #e6f0ff;
  
  /* Monochromatic Scheme */
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #999999;
  --very-light-gray: #f0f0f0;
  
  /* Accent Colors */
  --accent-color: #209cee;
  --accent-dark: #0f7cbe;
  --success-color: #48c774;
  --warning-color: #ffdd57;
  --danger-color: #ff3860;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #444444;
  --text-light: #ffffff;
  
  /* Shadows */
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  --button-shadow: 0 4px 6px rgba(50, 115, 220, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  
  /* Section Spacing */
  --section-spacing: 5rem;
  --element-spacing: 2rem;
}

/* Typography */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

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

.title.is-2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

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

.title.is-4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.title.is-5 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
}

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

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

.has-text-white {
  color: #ffffff !important;
}

/* Layout */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color var(--transition-medium);
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

.navbar.is-transparent {
  background-color: transparent;
}

.navbar-brand .logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.navbar-item {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 70%;
}

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

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

.navbar-menu.is-active {
  box-shadow: var(--card-shadow);
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
}

/* Buttons */
.button {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-medium);
  transition: all var(--transition-medium);
  box-shadow: var(--button-shadow);
  border: none;
  height: auto;
  min-height: 2.5rem;
}

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

.button.is-primary:hover,
.button.is-primary:focus {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(50, 115, 220, 0.3);
}

.button.is-light {
  background-color: var(--very-light-gray);
  color: var(--text-dark);
}

.button.is-light:hover,
.button.is-light:focus {
  background-color: var(--light-gray);
  color: var(--text-dark);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-light.is-outlined {
  color: white;
  border-color: white;
}

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

.button.is-large {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
}

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.8s ease;
}

.animated-button:hover::before {
  left: 100%;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero .subtitle {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.2s ease;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s ease;
}

.hero .buttons {
  animation: fadeInUp 1.6s ease;
}

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

/* Services Section */
.services-section {
  background-color: white;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: none;
}

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

.service-card .card-image {
  overflow: hidden;
}

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

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

.service-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card .title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card .content {
  flex-grow: 1;
}

/* Statistics Section */
.statistics-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0;
}

.statistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.statistics-section .container {
  position: relative;
  z-index: 2;
}

.statistic-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-medium);
  padding: 2rem;
  text-align: center;
  color: white;
  height: 100%;
  transition: transform var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.stat-description {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Case Studies Section */
.case-studies-section {
  background-color: var(--very-light-gray);
}

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

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

.timeline-item {
  position: relative;
  margin: 2rem 0;
}

.timeline-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--primary-lighter);
  transition: background-color var(--transition-medium);
}

.timeline-item:hover .timeline-marker {
  background-color: var(--primary-dark);
}

.timeline-content {
  width: 45%;
  padding: 0 20px;
  position: relative;
  left: 55%;
}

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

.case-study-card {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  border: none;
}

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

.case-study-card .card-image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

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

.case-study-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.case-study-card .title {
  color: var(--text-dark);
}

.case-study-card .subtitle {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

.instructor-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border: none;
}

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

.instructor-card .card-image {
  overflow: hidden;
}

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

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

.instructor-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.instructor-card .title {
  margin-bottom: 0.5rem;
}

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

/* Testimonials Section */
.testimonials-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonial-carousel {
  padding: 2rem 0;
}

.testimonial-item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-medium);
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-medium);
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  color: white;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  position: absolute;
  left: -0.5rem;
  top: -1.5rem;
  color: var(--primary-light);
  opacity: 0.4;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid white;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-position {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Partners Section */
.partners-section {
  background-color: white;
  padding: 4rem 0;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium);
}

.partner-logo:hover {
  transform: scale(1.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition-medium), opacity var(--transition-medium);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

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

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border: none;
}

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

.resource-card .card-image {
  overflow: hidden;
}

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

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

.resource-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.resource-card .button {
  margin-top: auto;
}

/* Contact Section */
.contact-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-form-card {
  background-color: white;
  border-radius: var(--radius-medium);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: none;
}

.contact-form-card .card-content {
  padding: 2rem;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.input, .textarea, .select select {
  border-radius: var(--radius-small);
  border: 1px solid var(--light-gray);
  box-shadow: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
}

.select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--primary-color);
}

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

.footer .title {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p {
  margin-bottom: 0.75rem;
}

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

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

.footer a {
  color: var(--primary-lighter);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: white;
}

.social-links a {
  display: block;
  padding: 0.25rem 0;
  color: var(--primary-lighter);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  color: white;
  transform: translateX(5px);
}

/* Success Page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--primary-lighter);
  text-align: center;
  padding: 2rem;
}

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

.success-page .title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.success-page .subtitle {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-medium);
}

/* Privacy & Terms Pages */
.content-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.content-page .title {
  margin-bottom: 2rem;
}

.content-page h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.content-page h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.content-page p {
  margin-bottom: 1.5rem;
}

/* Cookie Consent */
#cookie-consent {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

#accept-cookies {
  transition: background-color var(--transition-fast);
}

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

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    left: 80px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    left: 80px;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding: 6rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .contact-form-card .card-content {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morphing-shape {
  animation: morphing 8s ease-in-out infinite;
  border: 3px solid var(--primary-color);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  height: 15rem;
  width: 15rem;
  position: absolute;
  right: 5%;
  top: 20%;
  z-index: -1;
  opacity: 0.1;
}