/* Root Variables */
:root {
  /* Primary Colors */
  --primary-color: #4a6bff;
  --primary-light: #7a8fff;
  --primary-dark: #2e50e0;
  
  /* Secondary Colors */
  --secondary-color: #ff5a8c;
  --secondary-light: #ff7ea6;
  --secondary-dark: #e34375;
  
  /* Accent Colors */
  --accent-color: #00d1b2;
  --accent-light: #20f3d3;
  --accent-dark: #00a890;
  
  /* Neutral Colors */
  --dark: #222233;
  --dark-medium: #444455;
  --medium: #6c6c7c;
  --light-medium: #9c9cad;
  --light: #e6e6f0;
  --white: #ffffff;
  
  /* Shadow & Depth */
  --shadow-sm: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.8);
  --shadow-md: 5px 5px 10px rgba(0, 0, 0, 0.15), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --shadow-lg: 10px 10px 20px rgba(0, 0, 0, 0.2), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 3px 3px 6px rgba(0, 0, 0, 0.1), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.section {
  padding: 5rem 1.5rem;
}

.section:nth-of-type(odd) {
  background-color: var(--white);
}

.section:nth-of-type(even) {
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography Enhancement */
.title.is-1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

.title.is-2 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.title.is-2:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.title.is-3 {
  font-size: 2.2rem;
}

.title.is-4 {
  font-size: 1.8rem;
}

.subtitle {
  font-family: var(--font-body);
  font-weight: 500;
}

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

/* Neuromorphic Styles */
.card, .feature-card, .testimonial-card, .workshop-card, .contact-form-card, .contact-info-card {
  background: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Buttons */
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.8rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

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

.button.is-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 107, 255, 0.3);
}

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

.button.is-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 90, 140, 0.3);
}

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

.button.is-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 209, 178, 0.3);
}

.button.is-rounded {
  border-radius: var(--radius-full);
}

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
}

.button.is-fullwidth {
  width: 100%;
  display: block;
  text-align: center;
}

/* Form Elements */
.input, .textarea, .select select {

  background: var(--white);
  border: none;
  box-shadow: var(--shadow-inset);
  border-radius: var(--radius-md);
  padding: 0.3rem;
  transition: box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  box-shadow: var(--shadow-inset), 0 0 0 2px var(--primary-light);
  outline: none;
}

.label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.field {
  margin-bottom: 1.5rem;
}

.select:after {
  border-color: var(--primary-color);
}

.checkbox {
  cursor: pointer;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  max-width: max-content;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

.logo .icon {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

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

.navbar-menu {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.navbar-item {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: rgba(74, 107, 255, 0.1);
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark);
  display: block;
  height: 2px;
  width: 24px;
  position: absolute;
  left: calc(50% - 12px);
  transition: all var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  margin-top: 0;
  padding-top: 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 107, 255, 0.6), rgba(255, 90, 140, 0.6));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.hero .button {
  margin-top: 1.5rem;
}

/* Mission Section */
.mission-image-container {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Methodology Section */
.timeline {
  position: relative;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-left: 45px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

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

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.methodology-image-container {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.feature-card {
  height: 100%;
}

.feature-card .card-image {
  height: 220px;
}

/* Awards Section */
.award-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.award-item.active {
  opacity: 1;
  transform: translateY(0);
}

.award-item:hover {
  transform: translateY(-5px);
}

.award-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Testimonials Section */
.testimonial-card {
  height: 100%;
}

.testimonial-card .media-left .image {
  margin-right: 1rem;
}

.testimonial-card .media-left img {
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.testimonial-card .media-content {
  overflow: hidden;
}

/* Events Calendar */
.events-calendar {
  margin-top: 2rem;
}

.event-item {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.event-item.active {
  opacity: 1;
  transform: translateY(0);
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  min-width: 120px;
  text-align: center;
}

.event-date .month {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.event-date .year {
  font-size: 1rem;
}

.event-details {
  padding: 1.5rem;
  flex: 1;
}

/* Partners Section */
.partner-item {
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.partner-item.active {
  opacity: 1;
  transform: translateY(0);
}

.partner-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1rem;
  transition: transform var(--transition-medium);
}

.partner-item:hover img {
  transform: scale(1.1);
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-medium);
}

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

.faq-item h3 {
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h3:after {
  content: '+';
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

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

/* Contact Section */
.contact-info-card, .contact-form-card {
  height: 100%;
}

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

/* Resource Section */
.resource-card {
  height: 100%;
  transition: transform var(--transition-medium);
}

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

.resource-card .title {
  font-size: 1.3rem;
}

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

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

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo .logo {
  color: var(--white);
}

.footer-logo .logo .icon {
  color: var(--primary-light);
}

.footer-logo .logo-text {
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.footer .title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

.footer-social a {
  color: var(--light-medium);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--light-medium);
}

/* Workshop Section */
.workshop-card {
  height: 100%;
}

.workshop-card .card-image {
  height: 220px;
}

/* Cookie Consent */
#cookie-consent {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

#accept-cookies {
  background: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.7rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

#accept-cookies:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.success-content {
  max-width: 800px;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.privacy-content, .terms-content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3rem; }

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-brand{
  width: 100%;
}
  .title.is-1 {
    font-size: 3rem;
  }
  
  .title.is-2 {
    font-size: 2.4rem;
  }
  
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-item {
    width: 100%;
    padding: 0.8rem 1rem;
    margin: 0;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .event-item {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-around;
  }
  
  .event-date .day {
    margin: 0 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 10px;
  }
  
  .timeline-item {
    padding-left: 35px;
  }
  
  .timeline-marker {
    width: 20px;
    height: 20px;
  }
  
  .event-date {
    min-height: auto;
  }
}

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

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }