/* Root Variables - Color Scheme */
:root {
  /* Primary Colors */
  --primary-color: #1a5f7a;
  --primary-dark: #0d3c4f;
  --primary-light: #2d7ea0;
  
  /* Secondary Colors */
  --secondary-color: #e4702a;
  --secondary-dark: #c65618;
  --secondary-light: #f78b4c;
  
  /* Tertiary Colors */
  --tertiary-color: #27ae60;
  --tertiary-dark: #1e8449;
  --tertiary-light: #2ecc71;
  
  /* Background Colors */
  --bg-color: #f7f9fc;
  --bg-dark: #e1e5eb;
  --bg-light: #ffffff;
  
  /* Text Colors */
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --text-white: #ffffff;
  --text-dark: #1a1a1a;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-dark));
  --gradient-light: linear-gradient(135deg, var(--bg-light), var(--bg-color));
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Card Shadow */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Border Radius */
  --border-radius-small: 5px;
  --border-radius-medium: 10px;
  --border-radius-large: 20px;
  --border-radius-xl: 30px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
}

/* Global Styles */
html, body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--spacing-sm);
}

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;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Glassmorphism Elements */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.glassmorphism-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: background var(--transition-medium);
}

.glassmorphism-footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: var(--spacing-lg) 0;
  color: var(--text-color);
}

.glassmorphism-button {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  padding: 10px 25px;
  border-radius: var(--border-radius-medium);
  font-weight: 600;
  transition: all var(--transition-fast);
  text-align: center;
  display: inline-block;
  cursor: pointer;
}

.glassmorphism-button:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.glassmorphism-button-secondary {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.glassmorphism-button-secondary:hover {
  background: rgba(0, 0, 0, 0.25);
}

.glassmorphism-button-small {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Header & Navigation */
.navbar {
  padding: 15px 0;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

.navbar-item {
  margin: 0 15px;
  color: var(--text-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

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

.navbar-burger span {
  background-color: var(--text-color);
  display: block;
  height: 1px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition-duration: 0.3s;
  transition-property: background-color, opacity, transform;
  transition-timing-function: ease-out;
  width: 16px;
}

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

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

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

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

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

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

/* 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: 0;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: var(--border-radius-large);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content .title,
.hero-content .subtitle,
.hero-description {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

/* Opportunities Section */
.opportunities-section {
  background-color: var(--bg-light);
}

.opportunities-section .title,
.opportunities-section .subtitle {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
  margin-bottom: var(--spacing-sm);
}

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-small);
}

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

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

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

.card .title {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

/* Statistics Section */
.statistics-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  padding: var(--spacing-xl) 0;
}

.statistics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-light);
  opacity: 0.85;
  z-index: -1;
}

.stat-card {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  font-family: 'Playfair Display', serif;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.stat-description {
  color: var(--text-light);
}

/* Resources Section */
.resources-section {
  background-color: var(--bg-color);
}

.resource-card {
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-fast);
}

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

.resource-card a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.resource-description {
  color: var(--text-light);
  margin-top: var(--spacing-xs);
}

/* Events Section */
.events-section {
  background-color: var(--bg-light);
}

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

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -3px;
  border-radius: 5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  margin-bottom: var(--spacing-lg);
}

.timeline-marker {
  position: absolute;
  left: 50px;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid var(--primary-light);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  padding: var(--spacing-md);
  position: relative;
  border-radius: var(--border-radius-medium);
}

.event-date {
  background: var(--gradient-primary);
  color: var(--text-white);
  border-radius: var(--border-radius-medium);
  text-align: center;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.event-date .month {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

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

.event-date .year {
  display: block;
  font-size: 1.2rem;
}

.location {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

.event-description {
  margin-bottom: var(--spacing-sm);
}

/* Team Section */
.team-section {
  background-color: var(--bg-color);
}

.team-section .card {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.team-section .card-image {
  margin-bottom: var(--spacing-sm);
}

.team-section .image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-sm);
}

.team-section .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-section .title {
  margin-bottom: 5px;
}

.team-section .subtitle {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-color);
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-light);
  opacity: 0.9;
  z-index: -1;
}

.testimonial-card {
  margin-bottom: var(--spacing-md);
}

.testimonial-content {
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  line-height: 1.8;
}

.testimonial-text::before {
  content: """;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: -15px;
  color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.author-position {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Success Stories Section */
.success-stories-section {
  background-color: var(--bg-light);
}

.success-card {
  margin-bottom: var(--spacing-md);
}

.success-card .card-image {
  margin-bottom: var(--spacing-sm);
}

.success-card .title {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.success-card p {
  margin-bottom: 5px;
}

.success-description {
  margin-top: var(--spacing-sm);
  color: var(--text-light);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-color);
}

.contact-info,
.contact-form {
  height: 100%;
}

.contact-info p {
  margin-bottom: var(--spacing-sm);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

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

.contact-form .title {
  margin-bottom: var(--spacing-md);
}

.field {
  margin-bottom: var(--spacing-md);
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-small);
  background-color: #fff;
  transition: border-color var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.select {
  position: relative;
  width: 100%;
}

.select::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: var(--spacing-lg) 0;
}

.footer .title {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-right: var(--spacing-sm);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--spacing-sm);
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

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

.is-fullwidth {
  width: 100%;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-end {
    display: flex;
    flex-direction: column;
  }
  
  .navbar-item {
    padding: 10px var(--spacing-sm);
    margin: 0;
  }
  
  .timeline::after {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    padding: var(--spacing-sm);
  }
  
  .hero-content .title {
    font-size: 2rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
  
  .contact-form, .contact-info {
    margin-bottom: var(--spacing-md);
  }
  
  .event-date {
    margin-bottom: var(--spacing-sm);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: var(--spacing-sm);
  }
}

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

.success-message {
  max-width: 600px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--border-radius-large);
  padding: var(--spacing-lg);
}

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: var(--spacing-md);
}

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--card-shadow);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn var(--transition-medium);
}

.animate-fadeInUp {
  animation: fadeInUp var(--transition-medium);
}

/* Image responsiveness */
.image img {
  max-width: 100%;
  height: auto;
}

.title:not(.is-spaced)+.subtitle {
    margin-top: 0 !important;
}

.card-content {
  padding: 0 !important;
}