:root {
  /* Primary Colors (Split-Complementary) */
  --primary-color: #4c72b0;
  --primary-dark: #345a96;
  --primary-light: #6a8dc4;
  --accent-color-1: #e84e4e;
  --accent-color-2: #50c878;
  --accent-color-dark: #c53030;
  --accent-color-2-dark: #3ca760;

  /* Neutral Colors */
  --light-color: #f5f7fa;
  --light-gray: #e1e5eb;
  --medium-gray: #9ba5b5;
  --dark-gray: #4a5568;
  --dark-color: #2d3748;
  
  /* Neumorphism Shadows */
  --nm-shadow-light: 10px 10px 20px rgba(166, 180, 200, 0.7), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --nm-shadow-dark: 5px 5px 10px rgba(0, 0, 0, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.05);
  --nm-shadow-inset: inset 5px 5px 10px rgba(166, 180, 200, 0.7), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  
  /* Typography */
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Nunito', sans-serif;
  
  /* Transitions */
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow: all 0.8s ease;
  
  /* Sizing */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
}

.title, .subtitle {
  font-family: var(--heading-font);
}

p {
  margin-bottom: 1.5rem;
}

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

section {
  padding: 5rem 0;
  position: relative;
}

.section {
  padding: 5rem 1.5rem;
}

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

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

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

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

.navbar-burger {
  height: 4rem;
}

/* Neumorphic Elements */
.neumorph-card {
  border-radius: var(--border-radius-md);
  background: var(--light-color);
  box-shadow: var(--nm-shadow-light);
  transition: var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neumorph-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(166, 180, 200, 0.8), -15px -15px 30px rgba(255, 255, 255, 0.9);
}

.neumorph-input, .neumorph-textarea, .neumorph-select {
  border: none !important;
  background: var(--light-color) !important;
  box-shadow: var(--nm-shadow-inset) !important;
  border-radius: var(--border-radius-sm) !important;
  transition: var(--transition-fast) !important;
}

.neumorph-input:focus, .neumorph-textarea:focus {
  box-shadow: var(--nm-shadow-dark) !important;
  outline: none !important;
}

/* Buttons */
.button {
  font-family: var(--heading-font);
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

.hero-body {
  z-index: 1;
  padding: 6rem 1.5rem;
}

.hero .progress-container {
  padding: 2rem;
}

.hero .progress-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero .progress-item span {
  font-family: var(--heading-font);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.hero .progress-item .percentage {
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 1rem;
}

.hero .progress {
  height: 0.75rem;
  flex-grow: 1;
  margin: 0 1rem;
}

/* Mission Section */
#mision {
  position: relative;
}

#mision .image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--nm-shadow-light);
}

#mision .content {
  padding: 0 2rem;
}

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

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

.timeline-item {
  padding: 2rem 3rem;
  position: relative;
  width: 50%;
  margin-left: auto;
}

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

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  right: -10px;
  z-index: 2;
}

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

.timeline-content {
  padding: 2rem;
  background: var(--light-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nm-shadow-light);
  transition: var(--transition-medium);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px rgba(166, 180, 200, 0.8), -15px -15px 30px rgba(255, 255, 255, 0.9);
}

/* Innovation Section */
#innovacion .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

#innovacion .card-image img {
  transition: var(--transition-medium);
}

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

/* Case Studies Section */
#casos .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#casos .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

/* Instructors Section */
#instructores .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#instructores .card-image {
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

#instructores .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Pricing Section */
.pricing-card {
  position: relative;
  text-align: center;
  padding: 1rem;
}

.pricing-card.is-popular {
  transform: scale(1.05);
  z-index: 2;
  border: 2px solid var(--primary-color);
}

.popular-tag {
  position: absolute;
  top: 0;
  right: 2rem;
  background-color: var(--accent-color-1);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price {
  margin: 2rem 0;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  line-height: 1;
}

.price .amount {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
}

.price .period {
  font-size: 1rem;
  color: var(--medium-gray);
}

.features {
  margin: 2rem 0;
}

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

.feature-item .icon {
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* Contact Section */
#contacto .contact-info {
  margin-top: 2rem;
}

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

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

.contact-form .field {
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.footer-links li a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.footer .contact-item {
  margin-bottom: 0.75rem;
  color: var(--light-gray);
  flex-direction: column;
  align-items: flex-start;
}

.contact-item strong {
  color: #fff;
}

.footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.footer .social-links a {
  color: var(--light-color);
  transition: var(--transition-fast);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.footer .social-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-light);
  transition: var(--transition-fast);
}

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

.footer .social-links a:hover::after {
  width: 100%;
}

.copyright {
  margin-top: 3rem;
  color: var(--medium-gray);
  font-size: 0.9rem;
}

/* 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-md);
  background-color: var(--light-color);
  box-shadow: var(--nm-shadow-light);
}

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

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


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

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

.float-animation {
  animation: float 5s ease-in-out infinite;
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    margin-right: 0;
  }
  
  .timeline-marker {
    left: 2rem;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: 2rem;
  }
  
  .pricing-card.is-popular {
    transform: scale(1);
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-body {
    padding: 4rem 1.5rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
  
  #mision .content {
    padding: 2rem 0 0;
  }
}

/* Cookie Consent Styles */
#cookieConsentPopup {
  animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

#acceptCookies {
  background-color: var(--accent-color-2);
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-fast);
}

#acceptCookies:hover {
  background-color: var(--accent-color-2-dark);
}

/* Card alignment fixes */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image figure {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}