/* === CSS Variables === */
:root {
  /* Color scheme - Monochromatic with eco-minimalism */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --primary-light: #5dade2;
  --primary-lighter: #aed6f1;
  --primary-lightest: #ebf5fb;
  
  --neutral-dark: #333333;
  --neutral: #666666;
  --neutral-light: #999999;
  --neutral-lighter: #cccccc;
  --neutral-lightest: #f7f7f7;
  
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  
  /* Glassmorphism effects */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* === Base Styles === */
body {
  font-family: 'Lato', sans-serif;
  color: var(--neutral-dark);
  background-color: var(--neutral-lightest);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

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

/* === Glassmorphism Card Styles === */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--glass-shadow);
}

/* === Button Styles (Global) === */
.button {
  transition: background-color var(--transition-normal), transform var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
}

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

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

/* === Header & Navigation === */
.navbar {
  background-color: transparent;
  transition: background-color var(--transition-normal);
  padding: var(--spacing-sm) 0;
}

.navbar.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-normal);
}

/* === Hero Section === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-body {
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(18, 34, 255, 0.811) 0%, rgba(4, 116, 202, 0.801) 100%);
}

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

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  margin-top: var(--spacing-md);
}

/* === Instructors/Team Section === */
#instructors .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

#instructors .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#instructors .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

#instructors .image-container {
  width: 100%;
  height: 100%;
}

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

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

#instructors .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: var(--spacing-lg);
}

/* === Behind The Scenes Section === */
#behind-the-scenes .content {
  padding: var(--spacing-lg);
}

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

.timeline-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 4px;
  background: var(--primary-lighter);
  border-radius: var(--radius-lg);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--primary-lighter);
}

.timeline-content {
  background: var(--neutral-lightest);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* === Clientele Section === */
#clientele .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  margin-bottom: var(--spacing-lg);
  filter: grayscale(100%);
  transition: filter var(--transition-normal), transform var(--transition-normal);
}

#clientele .client-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.testimonial-card {
  position: relative;
  padding: var(--spacing-lg);
  background-color: var(--primary-lightest);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: var(--primary-lighter);
  opacity: 0.3;
}

/* === Pricing/Services Section === */
#pricing .price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

#pricing .price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#pricing .card-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

#pricing .image-container {
  width: 100%;
  height: 100%;
}

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

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

#pricing .card-content {
  flex: 1;
  padding: var(--spacing-lg);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: var(--spacing-md) 0;
}

.service-features {
  list-style: none;
  margin: var(--spacing-lg) 0;
  padding: 0;
  text-align: left;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: var(--spacing-sm);
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* === External Resources Section === */
#recursos .resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

#recursos .resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#recursos .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

#recursos .image-container {
  width: 100%;
  height: 100%;
}

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

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

#recursos .card-content {
  flex: 1;
  padding: var(--spacing-lg);
  text-align: center;
}

/* === News Section === */
#news .news-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

#news .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#news .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

#news .image-container {
  width: 100%;
  height: 100%;
}

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

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

#news .card-content {
  flex: 1;
  padding: var(--spacing-lg);
}

#news .date {
  color: var(--neutral-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

/* === Careers Section === */
#careers .content {
  padding: var(--spacing-lg);
}

.job-card {
  background-color: var(--neutral-lightest);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === Contact Section === */
.contact-info {
  padding: var(--spacing-lg);
}

.info-item h3 {
  color: var(--primary-color);
}

.contact-form-container {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Footer === */
.footer {
  background-color: var(--neutral-dark);
  color: white;
  padding: var(--spacing-xl) 0;
}

.footer h3 {
  color: white;
}

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

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

.footer-links a {
  color: var(--neutral-lighter);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: white;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.social-links li {
  margin-right: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.social-links a {
  color: var(--neutral-lighter);
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

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

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* === Success Page === */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--primary-lightest);
  text-align: center;
  padding: var(--spacing-xl);
}

.success-container {
  margin: auto;
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* === Privacy & Terms Pages === */
.privacy-content,
.terms-content {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

/* === Responsive Design === */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .timeline-container:before {
    left: 15px;
  }
  
  .timeline-marker {
    width: 16px;
    height: 16px;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

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

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

/* Stagger children animations */
.stagger-children > * {
  opacity: 0;
  animation: fadeIn var(--transition-normal) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }

/* === Utility Classes === */
.text-center {
  text-align: center;
}

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

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

.bg-light {
  background-color: var(--neutral-lightest);
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.rounded {
  border-radius: var(--radius-md);
}

.overflow-hidden {
  overflow: hidden;
}