/* Variables */
:root {
  /* Primary Colors (Analogous color scheme) */
  --primary-color: #3b82f6; /* Main blue */
  --secondary-color: #2563eb; /* Darker blue */
  --accent-color: #1e40af; /* Even darker blue for accents */
  --accent-warm: #f59e0b; /* Warm accent for contrast */

  /* Background Colors */
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --bg-dark: #1f2937;
  --bg-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  
  /* Text Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --text-link: var(--primary-color);
  
  /* UI Elements */
  --border-radius: 8px;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  --transition-default: all 0.3s ease;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  transition: var(--transition-default);
}

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

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

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

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

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

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

.navbar-item {
  margin-left: 1.5rem;
  font-weight: 600;
  transition: var(--transition-default);
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.navbar-burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 9px;
  left: 0;
  transform: rotate(0);
  transition: all 0.25s ease-in-out;
}

.navbar-burger span:nth-child(1) {
  top: 0;
}

.navbar-burger span:nth-child(2) {
  top: 10px;
}

.navbar-burger span:nth-child(3) {
  top: 20px;
}

.navbar-burger.is-active span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

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

.navbar-burger.is-active span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 80px; /* Account for fixed header */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: -1;
}

.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--spacing-xl) 0;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.hero p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button Styles */
.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-default);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0.5rem;
}

.button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--text-light);
}

.button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-outlined.is-light {
  color: var(--text-light);
  border-color: var(--text-light);
}

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

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

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

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -0.5rem;
}

/* Section Styles */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--bg-light);
}

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

.title.is-2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

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

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

.title.is-5 {
  font-size: 1.25rem;
}

.subtitle {
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: var(--spacing-md);
}

/* Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}

.column {
  flex: 1;
  padding: 1rem;
  min-width: 300px;
}

.column.is-full {
  flex: 0 0 100%;
}

.column.is-half {
  flex: 0 0 calc(50% - 2rem);
}

.column.is-one-third {
  flex: 0 0 calc(33.3333% - 2rem);
}

.column.is-two-thirds {
  flex: 0 0 calc(66.6666% - 2rem);
}

.column.is-one-quarter {
  flex: 0 0 calc(25% - 2rem);
}

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

/* Card Styles */
.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition-default);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.card-content p {
  flex: 1;
}

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

.methodology-section .card {
  text-align: center;
}

.methodology-section .card-image {
  height: 250px;
}

/* Awards Section */
.awards-section {
  background-color: var(--bg-white);
}

.awards-section .media {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.awards-section .media-left {
  margin-right: var(--spacing-sm);
}

.awards-section .media-content {
  flex: 1;
}

.awards-section .image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
}

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

/* External Resources */
.external-resources {
  background-color: var(--bg-light);
}

.external-resources .card {
  height: 100%;
}

.external-resources .card a {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-default);
}

.external-resources .card a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Sustainability Section */
.sustainability-section {
  background-color: var(--bg-white);
}

.sustainability-section .image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: var(--spacing-md);
}

.sustainability-section .image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sustainability-section .image-container:hover img {
  transform: scale(1.03);
}

.sustainability-section ul {
  list-style-type: none;
  margin-bottom: var(--spacing-md);
}

.sustainability-section ul li {
  position: relative;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.sustainability-section ul li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.contact-section form {
  background-color: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

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

.label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.control {
  position: relative;
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  transition: var(--transition-default);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
  outline: none;
}

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

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

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input {
  margin-right: 0.5rem;
}

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

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

.footer h3 {
  color: var(--text-light);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

.footer ul li a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.footer .social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-default);
  display: inline-block;
  margin-right: var(--spacing-sm);
}

.footer .social-links a:hover {
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-light);
  padding: var(--spacing-sm);
  z-index: 9999;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  margin-right: var(--spacing-md);
}

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

.success-icon {
  margin: 0 auto var(--spacing-md);
  max-width: 150px;
}

.success-section .notification {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-md);
}

/* Privacy & Terms Pages */
.content {
  padding-top: 100px;
}

.content h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.content ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.content ul li {
  margin-bottom: var(--spacing-xs);
}

/* Timeline */
.timeline {
  position: relative;
  margin: var(--spacing-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 7px;
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--spacing-md);
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

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

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

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

.has-text-white-bis {
  color: rgba(255, 255, 255, 0.9) !important;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

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

.is-size-4 {
  font-size: 1.5rem;
}

.is-size-5 {
  font-size: 1.25rem;
}

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

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    padding: var(--spacing-md);
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-item {
    margin: 0 0 var(--spacing-sm) 0;
  }
  
  .navbar-burger {
    display: block;
  }

  .column.is-half,
  .column.is-one-third,
  .column.is-two-thirds,
  .column.is-one-quarter {
    flex: 0 0 100%;
  }

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

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

@media screen and (max-width: 768px) {
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-slideUp {
  animation: slideUp 0.8s ease forwards;
}

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