/* Variables */
:root {
  /* Primary Colors */
  --primary-color: #1c7ed6;
  --primary-color-light: #3b95e3;
  --primary-color-dark: #1566b1;
  
  /* Secondary Colors */
  --secondary-color: #fd7e14;
  --secondary-color-light: #ff9a47;
  --secondary-color-dark: #e06500;
  
  /* Accent Colors */
  --accent-color-1: #39a275;
  --accent-color-2: #e64980;
  --accent-color-3: #8c7ae6;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color-3));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color-2));
  --gradient-dark: linear-gradient(135deg, rgba(33, 37, 41, 0.95), rgba(52, 58, 64, 0.9));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

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

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

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

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

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

.has-text-white {
  color: var(--neutral-100) !important;
}

.has-shadow {
  box-shadow: var(--shadow-md);
}

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

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

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

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand h1 {
  margin-bottom: 0;
  color: var(--primary-color);
}

.navbar-item {
  color: var(--neutral-700);
  font-family: var(--font-heading);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--neutral-800);
}

/* 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: -1;
  transform: translateZ(0);
}

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

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

.hero .title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease-out forwards;
}

.scroll-indicator {
  width: 6px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  margin-top: 8px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  75% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Buttons */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.8s ease;
}

.button:hover::after {
  left: 100%;
}

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

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

.button.is-outlined.is-light {
  background-color: transparent;
  border-color: var(--neutral-100);
  color: var(--neutral-100);
}

.button.is-outlined.is-light:hover {
  background-color: var(--neutral-100);
  color: var(--neutral-800);
}

.button.is-large {
  font-size: 1.1rem;
  height: 3.2rem;
  padding: 0 1.75rem;
}

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

.button.is-primary.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--neutral-100);
}

.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(28, 126, 214, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(28, 126, 214, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(28, 126, 214, 0);
  }
}

/* Process Section */
.process-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-100);
}

.process-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.process-card {
  height: 100%;
  padding: 2.5rem 2rem;
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

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

.process-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--neutral-100);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.progress-container {
  width: 100%;
  margin: 1rem 0;
}

.progress {
  height: 0.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress.is-primary::-webkit-progress-value {
  background-color: var(--primary-color);
}

.progress.is-primary::-moz-progress-bar {
  background-color: var(--primary-color);
}

/* Projects Section */
.projects-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-200);
}

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

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

.card-image {
  position: relative;
  overflow: hidden;
}

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

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

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

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

.card-content h3 {
  margin-bottom: 0.5rem;
}

.card-content .subtitle {
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

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

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

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-100);
}

.testimonial-intro {
  max-width: 900px;
  margin: 0 auto 3rem;
}

.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card .image-container {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.testimonial-card .image-container img {
  border-radius: 50%;
}

/* Resources Section */
.resources-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-200);
}

.resource-card {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Events Section */
.events-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-100);
}

.event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-date {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.event-date .icon {
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-200);
}

.team-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-links a {
  font-size: 1.2rem;
  color: var(--neutral-600);
  margin: 0 0.5rem;
  transition: color var(--transition-fast);
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-100);
}

.contact-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--neutral-200);
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.input, .textarea, .select select {
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-400);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(28, 126, 214, 0.2);
}

.textarea {
  min-height: 120px;
}

.control.has-icons-left .icon {
  height: 2.5rem;
}

/* Contact Page Styles */
.contact-page-section {
  padding: 7rem 1.5rem 5rem;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-info-item .icon {
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-info-text h4 {
  margin-bottom: 0.5rem;
}

.location-card .card-image {
  height: 250px;
}

/* Offices Section */
.offices-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-200);
}

.office-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.office-card .address, .office-card .phone, .office-card .email {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.office-card .icon {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 1.5rem;
  background-color: var(--neutral-100);
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--neutral-200);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
}

.faq-question .icon {
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* About Page Styles */
.history-section, .mission-vision-section, .values-section, .methodology-section {
  padding: 5rem 1.5rem;
}

.history-section {
  background-color: var(--neutral-100);
}

.mission-vision-section {
  background-color: var(--neutral-200);
}

.values-section {
  background-color: var(--neutral-100);
}

.methodology-section {
  background-color: var(--neutral-200);
}

.mission-card, .vision-card {
  height: 100%;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.mission-card {
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color-dark));
  color: var(--neutral-100);
}

.vision-card {
  background: linear-gradient(135deg, var(--secondary-color-light), var(--secondary-color-dark));
  color: var(--neutral-100);
}

.value-card {
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--neutral-100);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.methodology-steps {
  margin-top: 3rem;
}

.methodology-step {
  display: flex;
  margin-bottom: 2.5rem;
}

.step-number {
  flex: 0 0 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--neutral-100);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 50%;
  margin-right: 1.5rem;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-bottom: 0.75rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.cta-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-400);
  padding: 4rem 1.5rem 2rem;
}

.footer h3, .footer h4 {
  color: var(--neutral-100);
}

.footer a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

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

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

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

.footer .social-links a {
  font-size: 1rem;
  margin-right: 1rem;
}

/* Success Page */
.success-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 5rem;
  background-color: var(--neutral-100);
}

.success-card {
  padding: 3rem 2rem;
  background-color: var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

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

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.resources-success-section, .contact-info-success-section {
  padding: 5rem 1.5rem;
}

.resources-success-section {
  background-color: var(--neutral-200);
}

.contact-info-success-section {
  background-color: var(--neutral-100);
}

.social-links-container {
  text-align: center;
}

/* Privacy & Terms Pages */
.privacy-section, .terms-section {
  padding: 7rem 1.5rem 5rem;
  background-color: var(--neutral-100);
}

.legal-content h2 {
  margin-top: 2.5rem;
  color: var(--primary-color);
}

.legal-content p, .legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
}

.legal-content strong {
  color: var(--neutral-800);
}

/* Parallax Effect */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Responsive */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .navbar-menu {
    background-color: var(--neutral-100);
    box-shadow: var(--shadow-md);
  }
  
  .methodology-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .success-actions {
    flex-direction: column;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .button.is-large {
    height: 2.8rem;
    font-size: 1rem;
  }
  
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-info-item .icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

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

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

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Styles */
.modal-card-head, .modal-card-foot {
  background-color: var(--neutral-200);
}

.modal-card-title {
  color: var(--primary-color);
}

.modal-card-body {
  padding: 1.5rem;
}

.modal-card-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.modal-card-body .content h4 {
  color: var(--primary-color);
  margin-top: 1.5rem;
}

.close-modal:hover {
  background-color: var(--neutral-300);
}