/* CSS Variables for Theme */
:root {
  /* Primary Colors */
  --primary-color: #3e6e9a;
  --primary-dark: #2c5072;
  --primary-light: #5a8bba;
  
  /* Accent Colors */
  --accent-color: #e67e22;
  --accent-dark: #c26819;
  --accent-light: #f39c12;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e0e0e0;
  --neutral-400: #bdbdbd;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  --overlay-dark: rgba(0, 0, 0, 0.5);
  --overlay-light: rgba(255, 255, 255, 0.85);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  
  /* 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.14);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.16);
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html, body {
  font-family: 'Roboto', sans-serif;
  color: var(--neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', 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;
}

/* Button Styles */
.button {
  transition: all var(--transition-normal);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button:active::before {
  width: 300px;
  height: 300px;
}

/* Navbar Styles */
.navbar {
  box-shadow: var(--shadow-sm);
  background-color: var(--neutral-100);
  transition: background-color var(--transition-normal);
}

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

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

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.hero-body {
  position: relative;
  z-index: 1;
}

.hero .title,
.hero .subtitle,
.hero-description {
  color: var(--neutral-100);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Vision Section */
.vision-section {
  background-color: var(--neutral-200);
  padding: var(--spacing-xl) 0;
}

.vision-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.vision-card .card-image {
  width: 100%;
  overflow: hidden;
}

.vision-card .image {
  overflow: hidden;
  transition: transform var(--transition-slow);
}

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

.vision-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

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

/* Process Section */
.process-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--spacing-xl) 0;
}

.process-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-section .title,
.process-section .subtitle {
  color: var(--neutral-100);
}

.timeline {
  position: relative;
  margin: var(--spacing-xl) 0;
}

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

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

.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--neutral-100);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  margin-left: 55%;
}

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

.timeline .card {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Workshops Section */
.workshops-section {
  background-color: var(--neutral-100);
  padding: var(--spacing-xl) 0;
}

.workshop-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.workshop-card .card-image {
  width: 100%;
  overflow: hidden;
}

.workshop-card .image {
  overflow: hidden;
  transition: transform var(--transition-slow);
}

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

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

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

.workshop-details {
  margin-top: auto;
}

/* Resources Section */
.resources-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--spacing-xl) 0;
}

.resources-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

.resources-section .container {
  position: relative;
  z-index: 1;
}

.resources-section .title,
.resources-section .subtitle {
  color: var(--neutral-100);
}

.resource-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

.resource-card ul {
  padding-left: var(--spacing-md);
}

.resource-card li {
  margin-bottom: var(--spacing-sm);
}

.resource-card a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
  display: inline-block;
  position: relative;
}

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

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

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

/* Press Section */
.press-section {
  background-color: var(--neutral-200);
  padding: var(--spacing-xl) 0;
}

.press-card {
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.press-card .card-image {
  width: 100%;
  overflow: hidden;
}

.press-card .image {
  overflow: hidden;
  transition: transform var(--transition-slow);
}

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

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

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

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

/* Contact Section */
.contact-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: var(--spacing-xl) 0;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
}

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

.contact-section .title,
.contact-section .subtitle,
.contact-info h3,
.contact-form h3,
.contact-info p,
.contact-form label {
  color: var(--neutral-100);
}

.contact-info {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  backdrop-filter: blur(5px);
}

.contact-form {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  backdrop-filter: blur(5px);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

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

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

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

.footer a {
  color: var(--neutral-400);
  transition: color var(--transition-normal);
  position: relative;
  display: inline-block;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--neutral-100);
  transition: width var(--transition-normal);
}

.footer a:hover {
  color: var(--neutral-100);
}

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

.social-links a {
  padding-left: 30px;
  position: relative;
}

.social-links a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-links a[href*="facebook"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%239e9e9e"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg>');
}

.social-links a[href*="twitter"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%239e9e9e"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z"></path></svg>');
}

.social-links a[href*="instagram"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%239e9e9e"><rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line></svg>');
}

.social-links a[href*="linkedin"]:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%239e9e9e"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>');
}

.social-links a:hover:before {
  filter: brightness(2);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: var(--spacing-lg);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--neutral-200);
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-xl);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.terms-content,
.privacy-content {
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .timeline:before {
    left: 40px;
  }
  
  .timeline-marker {
    left: 40px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .vision-card,
  .workshop-card,
  .press-card {
    margin-bottom: var(--spacing-lg);
  }
}

@media screen and (max-width: 576px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .buttons.is-centered {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons.is-centered .button {
    margin: 0.5rem 0;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease;
}

.slide-in-left {
  animation: slideInLeft 1s ease;
}

.slide-in-right {
  animation: slideInRight 1s ease;
}

.slide-in-up {
  animation: slideInUp 1s ease;
}

/* Utilities */
.read-more {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding-bottom: 2px;
}

.read-more:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.read-more:hover:after {
  transform: translateX(0);
}

.text-center {
  text-align: center;
}

.margin-auto {
  margin: 0 auto;
}

.container {
  padding-inline: 12px;
}