/* =========== ROOT VARIABLES =========== */
:root {
  /* Main color palette (Tetrad) */
  --primary-color: #6200EA;
  --primary-dark: #3700B3;
  --primary-light: #BB86FC;
  
  --secondary-color: #03DAC6;
  --secondary-dark: #018786;
  --secondary-light: #84FFFF;
  
  --tertiary-color: #FF5722;
  --tertiary-dark: #D84315;
  --tertiary-light: #FFAB91;
  
  --quaternary-color: #CDDC39;
  --quaternary-dark: #AFB42B;
  --quaternary-light: #E6EE9C;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --light-grey: #F5F5F5;
  --medium-grey: #E0E0E0;
  --dark-grey: #616161;
  --black: #121212;
  
  /* Text colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #FFFFFF;
  --text-dark: #212121;
  
  /* Background colors */
  --bg-primary: #F9F9F9;
  --bg-secondary: #FAFAFA;
  --bg-dark: #121212;
  
  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-xxxl: 64px;
  
  /* Fonts */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Line heights */
  --line-tight: 1.25;
  --line-normal: 1.5;
  --line-loose: 1.75;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
}

/* =========== RESET & BASE STYLES =========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--line-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-tight);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-md);
}

/* =========== CONTAINER & LAYOUT =========== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: var(--space-sm) auto 0;
  border-radius: var(--radius-full);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* =========== BUTTONS =========== */
.btn, 
button:not(.burger-menu):not(.faq-toggle):not(#accept-cookies),
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-base);
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 6px rgba(98, 0, 234, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before,
button:not(.burger-menu):not(.faq-toggle):not(#accept-cookies)::before,
input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn:hover::before,
button:not(.burger-menu):not(.faq-toggle):not(#accept-cookies):hover::before,
input[type="submit"]:hover::before {
  left: 100%;
}

.btn:hover,
button:not(.burger-menu):not(.faq-toggle):not(#accept-cookies):hover,
input[type="submit"]:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 10px rgba(98, 0, 234, 0.3);
  transform: translateY(-2px);
}

.btn:active,
button:not(.burger-menu):not(.faq-toggle):not(#accept-cookies):active,
input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(98, 0, 234, 0.2);
}

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

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 6px rgba(3, 218, 198, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  box-shadow: 0 6px 10px rgba(3, 218, 198, 0.3);
}

.btn-tertiary {
  background-color: var(--tertiary-color);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(255, 87, 34, 0.2);
}

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
  box-shadow: 0 6px 10px rgba(255, 87, 34, 0.3);
}

/* Text links */
.text-link {
  position: relative;
  font-weight: 500;
  color: var(--primary-color);
  padding-bottom: 2px;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

.text-link:hover::after {
  width: 100%;
}

/* =========== HEADER & NAVIGATION =========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.logo h1 {
  margin-bottom: 0;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  gap: var(--space-xl);
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width var(--transition-normal);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

/* =========== HERO SECTION =========== */
.hero {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: clamp(var(--text-lg), 3vw, var(--text-xl));
  margin-bottom: var(--space-xl);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* =========== CARDS & GRID LAYOUTS =========== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  text-align: center;
}

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

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

.card-content {
  padding: var(--space-xl);
  flex-grow: 1;
  width: 100%;
}

.card-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.card-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* =========== ERRORS SECTION =========== */
.errores {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-primary);
}

/* =========== RECURSOS SECTION =========== */
.recursos {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(98, 0, 234, 0.05), rgba(3, 218, 198, 0.05));
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.recurso-card {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recurso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.recurso-card h3 {
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.recurso-card p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

.recurso-card a {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.recurso-card a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

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

.recurso-card a:hover::after {
  width: 100%;
}

/* =========== STATISTICS SECTION =========== */
.estadisticas {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-secondary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-xl);
}

.stat-widget {
  background: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-widget:hover {
  transform: translateY(-5px);
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.stat-description {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

/* =========== TEAM SECTION =========== */
.equipo {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.05), rgba(205, 220, 57, 0.05));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.team-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.team-card h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.team-card .position {
  color: var(--tertiary-color);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.team-card .description {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
}

/* =========== BEHIND THE SCENES SECTION =========== */
.behind-scenes {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-primary);
}

.scenes-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
}

.scene-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.scene-card:nth-child(even) {
  direction: rtl;
}

.scene-card:nth-child(even) .scene-content {
  direction: ltr;
}

.scene-card .image-container {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

.scene-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.scene-content p {
  color: var(--text-secondary);
}

/* =========== INSTRUCTORS SECTION =========== */
.instructores {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(98, 0, 234, 0.05), rgba(3, 218, 198, 0.05));
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.instructor-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.instructor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.instructor-card h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.instructor-card .specialization {
  color: var(--tertiary-color);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.instructor-card .description {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
}

/* =========== SUSTAINABILITY SECTION =========== */
.sostenibilidad {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-secondary);
}

.sustainability-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.sustainability-image {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

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

.sustainability-text h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.sustainability-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* =========== AWARDS SECTION =========== */
.premios {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.05), rgba(205, 220, 57, 0.05));
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.award-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.award-card .image-container {
  width: 200px;
  height: 200px;
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.award-card:hover img {
  transform: scale(1.1);
}

.award-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.award-card .award-year {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--tertiary-color);
  margin-bottom: var(--space-md);
}

.award-card .award-description {
  color: var(--text-secondary);
}

/* =========== HISTORY SECTION =========== */
.historia {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xxl);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(98, 0, 234, 0.2);
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

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

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.timeline-content p {
  color: var(--text-secondary);
}

/* =========== CONTACT SECTION =========== */
.contacto {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(98, 0, 234, 0.05), rgba(3, 218, 198, 0.05));
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-info {
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.contact-info p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.contact-info strong {
  color: var(--text-dark);
  font-weight: 700;
}

.social-links h4 {
  color: var(--primary-color);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--primary-color);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}

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

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

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

.contact-form {
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--medium-grey);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* =========== FOOTER =========== */
.footer {
  padding-top: var(--space-xxl);
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.footer-logo p {
  color: var(--medium-grey);
}

.footer-links h3,
.footer-newsletter h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

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

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

.footer-links a {
  color: var(--medium-grey);
  transition: color var(--transition-fast);
}

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

.footer-newsletter p {
  color: var(--medium-grey);
  margin-bottom: var(--space-md);
}

.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-newsletter input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.footer-newsletter input::placeholder {
  color: var(--medium-grey);
}

.footer-newsletter input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer-newsletter .btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--medium-grey);
  margin-bottom: 0;
}

.footer-bottom .social-links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom .social-links a {
  color: var(--medium-grey);
  transition: color var(--transition-fast);
}

.footer-bottom .social-links a:hover {
  color: var(--white);
}

/* =========== OTHER PAGES =========== */
/* About Page */
.about-hero,
.contact-hero,
.privacy-hero,
.terms-hero {
  position: relative;
  padding: 180px 0 100px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--white);
}

.mission-content,
.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xxxl);
}

.mission-image,
.vision-image {
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.mission-content:hover .mission-image img,
.vision-content:hover .vision-image img {
  transform: scale(1.05);
}

.mission-text h3,
.vision-text h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.mission-text p,
.vision-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--text-secondary);
}

.team-tabs {
  margin-top: var(--space-xl);
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tab-button:hover {
  background-color: rgba(98, 0, 234, 0.1);
}

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

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.contact-cta,
.privacy-cta,
.terms-cta {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before,
.privacy-cta::before,
.terms-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('image/cta-pattern.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}

.cta-content .btn {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-content .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Contact Page */
.contact-info-section,
.contact-form-section {
  padding: var(--space-xxxl) 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-info-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.contact-info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.form-image {
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.map-section {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-secondary);
}

.map-container {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: var(--space-xl);
}

.map-info {
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  max-width: 400px;
  border: 1px solid var(--glass-border);
}

.map-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.map-info p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-info strong {
  color: var(--text-dark);
}

.map-info .btn {
  margin-top: var(--space-sm);
}

.faq-section {
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(98, 0, 234, 0.05), rgba(3, 218, 198, 0.05));
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.faq-question {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: var(--text-lg);
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-question h3 {
  color: var(--primary-color);
}

.faq-toggle {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary-color);
  transition: transform var(--transition-normal);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  display: none;
}

.faq-answer p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

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

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

/* Privacy & Terms Pages */
.privacy-content,
.terms-content {
  padding: var(--space-xxxl) 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.privacy-section,
.terms-section {
  margin-bottom: var(--space-xl);
}

.privacy-section:last-child,
.terms-section:last-child {
  margin-bottom: 0;
}

.privacy-section h2,
.terms-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.privacy-section h3,
.terms-section h3 {
  color: var(--tertiary-color);
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: var(--text-xl);
}

.privacy-section p,
.terms-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.privacy-section ul,
.terms-section ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.privacy-section li,
.terms-section li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Success Page */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxxl) 0;
  background: linear-gradient(135deg, rgba(98, 0, 234, 0.05), rgba(3, 218, 198, 0.05));
}

.success-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  animation: fadeInUp 0.8s ease-out;
}

.success-icon {
  margin: 0 auto var(--space-lg);
  width: 150px;
  height: 150px;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.success-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.success-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.related-content {
  padding: var(--space-xxxl) 0;
  background-color: var(--bg-secondary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.related-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-card .image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.related-card h3 {
  padding: var(--space-md) var(--space-md) var(--space-xs);
  color: var(--primary-color);
  text-align: center;
}

.related-card p {
  padding: 0 var(--space-md);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
}

.related-card .text-link {
  margin: 0 auto var(--space-md);
}

.newsletter-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: var(--white);
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 300px;
  padding: 0.75rem var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
  background-color: var(--tertiary-color);
  color: var(--white);
}

.newsletter-form .btn:hover {
  background-color: var(--tertiary-dark);
}

.newsletter-privacy {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.newsletter-privacy a {
  color: var(--white);
  text-decoration: underline;
}

/* Cookie Consent */
#cookie-consent {
  animation: fadeInUp 0.8s ease-out;
}

#cookie-consent p {
  margin-bottom: var(--space-sm);
}

/* =========== ANIMATIONS =========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

/* =========== MEDIA QUERIES =========== */
@media (max-width: 1200px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }
}

@media (max-width: 992px) {
  .scene-card,
  .sustainability-content,
  .contact-container,
  .mission-content,
  .vision-content,
  .contact-form-container {
    grid-template-columns: 1fr;
  }
  
  .scene-card:nth-child(even) {
    direction: ltr;
  }
  
  .scene-card .image-container,
  .sustainability-image,
  .mission-image,
  .vision-image {
    margin-bottom: var(--space-lg);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --space-xxl: 32px;
    --space-xxxl: 48px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-normal);
    z-index: 1001;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .burger-menu {
    display: flex;
    z-index: 1002;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom .social-links {
    justify-content: center;
  }
  
  .map-overlay {
    justify-content: center;
  }
  
  .map-info {
    width: 90%;
  }
  
  .success-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .success-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  :root {
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --text-xl: 1.125rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .section-title {
    margin-bottom: var(--space-lg);
  }
  
  .section-description {
    margin-bottom: var(--space-lg);
  }
  
  .card-content {
    padding: var(--space-lg);
  }
  
  .card-image {
    height: 200px;
  }
  
  .team-card .image-container,
  .instructor-card .image-container {
    height: 250px;
  }
  
  .form-image {
    min-height: 300px;
  }
  
  .newsletter-form input {
    min-width: 100%;
  }
}

/* Additional styles for privacy and terms pages */
.privacy-content,
.terms-content {
  padding-top: 150px;
}

/* Adjustments for about, contact, privacy, terms hero sections */
.about-hero,
.contact-hero,
.privacy-hero,
.terms-hero {
  margin-top: 0;
}