/* Variables */
:root {
  /* Analog color scheme with retro feel */
  --primary-color: #e9654c;
  --primary-dark: #c94235;
  --primary-light: #ff8a73;
  --secondary-color: #e9984c;
  --secondary-dark: #c97b35;
  --secondary-light: #ffb473;
  --tertiary-color: #e9c44c;
  --tertiary-dark: #c9a635;
  --tertiary-light: #ffe273;
  
  /* Neutral colors */
  --dark: #333333;
  --darker: #222222;
  --light: #f4f4f4;
  --lighter: #ffffff;
  --medium: #888888;
  
  /* Dimensions */
  --header-height: 70px;
  --container-max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light);
}

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

.section {
  padding: 5rem 1.5rem;
}

.section.is-medium {
  padding: 6rem 1.5rem;
}

/* Adaptive typography */
@media screen and (min-width: 769px) {
  .title.is-1 {
    font-size: 3.5rem;
  }
  
  .title.is-2 {
    font-size: 2.8rem;
  }
  
  .title.is-3 {
    font-size: 2.2rem;
  }
  
  .title.is-4 {
    font-size: 1.8rem;
  }
  
  .subtitle.is-3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2.2rem;
  }
  
  .title.is-3 {
    font-size: 1.8rem;
  }
  
  .title.is-4 {
    font-size: 1.5rem;
  }
  
  .subtitle.is-3 {
    font-size: 1.6rem;
  }
}

/* Button styles */
.button {
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

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

.button.is-outlined.is-light {
  border-color: var(--lighter);
  color: var(--lighter);
}

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

/* Header */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  height: var(--header-height);
  transition: all 0.3s ease;
}

.navbar-item {
  font-weight: 600;
  color: var(--dark);
  transition: color 0.3s ease;
}

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

.navbar-burger {
  height: auto;
}

.navbar-brand .title {
  margin-bottom: 0;
}

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

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--lighter) !important;
  text-shadow: var(--text-shadow);
}

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

.arrow-down {
  margin-bottom: 2rem;
}

.arrow-down span {
  display: block;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--lighter);
  border-right: 2px solid var(--lighter);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-20px) rotate(45deg);
  }
  60% {
    transform: translateY(-10px) rotate(45deg);
  }
}

/* Custom slider */
.custom-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 2rem 0;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
  min-width: 100%;
  padding: 0 15px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.prev-button,
.next-button {
  background-color: var(--primary-color);
  color: var(--lighter);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.prev-button:hover,
.next-button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  height: 100%;
  margin-bottom: 2rem;
}

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

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

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

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

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

.card-content .content {
  color: var(--dark);
}

/* Resource cards */
.resource-card .card-image {
  height: 220px;
}

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

/* Media cards */
.media-card .card-image {
  height: 250px;
}

/* Instructor cards */
.instructor-card .card-image {
  height: 300px;
}

.instructor-card .card-image img {
  border-radius: 0;
}

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

/* Statistics section */
.stat-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--lighter);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: all 0.3s ease;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--darker);
}

.stat-description {
  color: var(--dark);
  font-size: 0.95rem;
}

/* FAQ section */
.faq-container {
  width: 100%;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: var(--lighter);
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--lighter);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(233, 101, 76, 0.05);
}

.faq-question h3 {
  margin-bottom: 0;
  padding-right: 40px;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.is-active .faq-answer {
  transition: max-height 0.5s cubic-bezier(0.5, 0, 1, 0);
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

/* Contact section */
.contact-form-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contact-info {
  padding: 1rem 0;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

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

.contact-map {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.field {
  margin-bottom: 1.5rem;
}

.input, .textarea {
  border-radius: var(--border-radius);
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.input:focus, .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(233, 101, 76, 0.2);
}

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

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

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

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

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

.footer-links a, .footer-social a {
  color: var(--medium);
  transition: color 0.3s ease;
  text-decoration: none;
}

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

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

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

/* Timeline container */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

/* Success page */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

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

.success-title {
  margin-bottom: 1.5rem;
}

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* Additional pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-page .container, .terms-page .container {
  max-width: 800px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .card-image {
    height: 200px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-title {
    font-size: 1rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Cookie consent */
#cookieConsent {
  border-radius: 0;
  font-family: 'Lato', sans-serif;
}

#cookieConsent p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

#cookieConsent a {
  text-decoration: underline;
}

#acceptCookies {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#acceptCookies:hover {
  background-color: #3d8cd7;
}

/* AOS animations customization */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Read more links */
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.navbar-burger{
  display: none;
}