/* CSS Variables */
:root {
  /* Primary Colors */
  --primary-color: #3273dc;
  --primary-color-dark: #2760c3;
  --primary-color-light: #4a89e8;
  
  /* Secondary Colors */
  --secondary-color: #e67e22;
  --secondary-color-dark: #d35400;
  --secondary-color-light: #f39c12;
  
  /* Complementary Colors */
  --complementary-color: #8e44ad;
  --complementary-color-dark: #7d3c98;
  --complementary-color-light: #9b59b6;
  
  /* Neutral Colors */
  --light-color: #f5f5f5;
  --light-color-alt: #eaeaea;
  --dark-color: #333333;
  --dark-color-alt: #4a4a4a;
  
  /* Text Colors */
  --text-color: #4a4a4a;
  --text-color-light: #7a7a7a;
  --text-color-dark: #2a2a2a;
  --text-color-inverse: #ffffff;
  
  /* Background Colors */
  --bg-color: #ffffff;
  --bg-color-alt: #f5f5f5;
  
  /* Border Colors */
  --border-color: #dbdbdb;
  --border-color-dark: #b5b5b5;
  
  /* Shadow */
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --box-shadow-large: 0 5px 15px rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Font Families */
  --heading-font: 'Raleway', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-huge: 3rem;
  
  /* Border Radius */
  --border-radius-sm: 3px;
  --border-radius-md: 6px;
  --border-radius-lg: 12px;
  --border-radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Global Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text-color-dark);
  font-weight: 600;
  margin-top: 0;
}

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

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

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

.button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-family: var(--heading-font);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
}

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

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

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

.button.is-light:hover {
  background-color: var(--light-color-alt);
  color: var(--primary-color-dark);
  text-decoration: none;
}

.button.is-large {
  font-size: var(--font-size-lg);
  padding: 0.75rem 2rem;
}

input, select, textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-family: var(--body-font);
  font-size: var(--font-size-md);
  width: 100%;
  transition: border-color var(--transition-fast);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: var(--box-shadow);
}

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

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

.navbar-item {
  color: var(--text-color);
  margin: 0 0.75rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-burger {
  display: none;
  cursor: pointer;
}

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

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 4rem 0;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.buttons {
  margin-top: 2rem;
}

/* Statistics */
.statistics-container {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(5px);
}

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

.counter {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* About Section */
#about {
  padding: 5rem 0;
}

#about .title {
  margin-bottom: 3rem;
}

#about p {
  margin-bottom: 1.5rem;
  font-size: var(--font-size-md);
}

#about .image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-large);
}

/* Process Section */
#process {
  padding: 5rem 0;
  background-color: var(--bg-color-alt);
}

#process .title {
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
}

.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius-round);
  background-color: var(--primary-color);
  color: white;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

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

.timeline-content {
  flex-grow: 1;
}

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

.timeline-content p {
  margin-bottom: 0;
}

/* Projects Section */
#projects {
  padding: 5rem 0;
}

#projects .title {
  margin-bottom: 3rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  margin-bottom: 2rem;
  background-color: white;
}

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

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

.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;
  width: 100%;
  text-align: left;
}

.card-content .title {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.5rem;
}

/* Partners Section */
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 1rem;
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-medium);
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Team Section */
#team {
  padding: 5rem 0;
}

#team .title {
  margin-bottom: 3rem;
}

#team .card-image {
  height: 300px;
}

#team .card-content .title {
  font-size: var(--font-size-xl);
  margin-bottom: 0.5rem;
}

#team .card-content .subtitle {
  font-size: var(--font-size-md);
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

/* Clientele Section */
#clientele {
  padding: 5rem 0;
  background-color: var(--bg-color-alt);
}

#clientele .title {
  margin-bottom: 3rem;
}

.testimonials {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--box-shadow);
}

.testimonial-slide {
  text-align: center;
  padding: 1rem;
}

.testimonial-content {
  position: relative;
  padding: 1rem;
}

.testimonial-content::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-color-light);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
}

/* Community Section */
.section {
  padding: 5rem 0;
}

.section .title {
  margin-bottom: 3rem;
}

.section .image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-large);
}

/* Events Section */
.event-card {
  display: flex;
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

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

.event-details .title {
  font-size: var(--font-size-xl);
  margin-bottom: 0.5rem;
}

.event-location {
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.event-description {
  margin-bottom: 1rem;
}

/* Contact Section */
#contact {
  padding: 5rem 0;
}

#contact .title {
  margin-bottom: 3rem;
}

.contact-info {
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

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

.contact-item .icon {
  color: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}

.contact-item .content {
  flex-grow: 1;
}

.contact-item .content .title {
  margin-bottom: 0.5rem;
}

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

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

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

.footer p {
  margin-bottom: 1rem;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer ul li a:hover {
  color: white;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.social-links a:hover {
  color: white;
  transform: translateY(-3px);
}

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

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-large);
}

/* Privacy and Terms Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-end {
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }

  .navbar-item {
    padding: 0.75rem 0;
    margin: 0;
  }

  .navbar-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 3rem;
    height: 3rem;
    margin-left: auto;
  }

  .navbar-burger span {
    display: block;
    width: 25px;
    height: 2px;
    margin-bottom: 5px;
    background-color: var(--text-color);
    transition: all var(--transition-medium);
  }

  .navbar-burger.is-active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .navbar-burger.is-active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero .title {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-marker {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    min-width: auto;
    padding: 1rem;
    flex-direction: row;
    justify-content: center;
  }

  .event-day {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }

  .event-month {
    font-size: 1rem;
    margin-top: 0;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-item .icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .footer .column {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-body {
    padding: 2rem 0;
    min-height: auto;
  }

  .statistics-container {
    padding: 1.5rem;
  }

  .counter {
    font-size: 2rem;
  }

  .partner-logo {
    height: 80px;
    margin-bottom: 1rem;
  }

  .testimonials {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 1.5rem;
  }
}

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

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

/* Utilities */
.has-text-centered {
  text-align: center;
}

.has-text-left {
  text-align: left;
}

.has-text-right {
  text-align: right;
}

.has-text-white {
  color: white !important;
}

.has-background-light {
  background-color: var(--bg-color-alt);
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

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

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

.mb-4 {
  margin-bottom: 1rem;
}

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

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

.pb-5 {
  padding-bottom: 1.5rem;
}