:root {
  /* Neomorphism base colors */
  --primary-color: #4a7c59;
  --primary-light: #6a9c79;
  --primary-dark: #355c42;
  
  --secondary-color: #8c5e58;
  --secondary-light: #ac7e78;
  --secondary-dark: #6c3e38;
  
  /* Neutral color scheme */
  --neutral-100: #ffffff;
  --neutral-200: #f7f7f7;
  --neutral-300: #e6e6e6;
  --neutral-400: #d1d1d1;
  --neutral-500: #ababab;
  --neutral-600: #757575;
  --neutral-700: #545454;
  --neutral-800: #333333;
  --neutral-900: #1a1a1a;
  
  /* Dynamic color transitions */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-neutral: linear-gradient(135deg, var(--neutral-700), var(--neutral-800));
  
  /* Shadow variables for neomorphism */
  --shadow-small: 3px 3px 6px rgba(0, 0, 0, 0.15), -3px -3px 6px rgba(255, 255, 255, 0.1);
  --shadow-medium: 5px 5px 10px rgba(0, 0, 0, 0.15), -5px -5px 10px rgba(255, 255, 255, 0.1);
  --shadow-large: 10px 10px 20px rgba(0, 0, 0, 0.15), -10px -10px 20px rgba(255, 255, 255, 0.1);
  --shadow-inset: inset 3px 3px 6px rgba(0, 0, 0, 0.15), inset -3px -3px 6px rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html, body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-200);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

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

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

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

/* Button styles - Global */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-small);
}

.button:hover, .button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.button:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-small);
}

.button.is-primary {
  background: var(--gradient-primary);
  color: var(--neutral-100);
  border: none;
}

.button.is-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.button.is-light {
  background: var(--neutral-100);
  color: var(--primary-color);
  border: 1px solid var(--neutral-300);
}

.button.is-light:hover {
  background: var(--neutral-200);
}

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

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

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

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

/* Card styles */
.card {
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

.header.is-transparent {
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(var(--neutral-900), 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.navbar-item {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

@media screen and (max-width: 1023px) {
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--neutral-900);
    padding: 1rem 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    width: 100%;
  }
  
  .navbar-item {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--neutral-100);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-md);
  min-height: 80vh;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--neutral-100) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

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

.hero-foot {
  position: relative;
  z-index: 1;
  padding-bottom: var(--spacing-lg);
}

.arrow-down {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* About Section */
#about {
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

#about::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

/* Projects Section */
#projects {
  position: relative;
}

#projects .title {
  position: relative;
  display: inline-block;
}

#projects .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

/* Methodology Section */
.timeline {
  position: relative;
  margin: var(--spacing-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--primary-light);
}

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

.timeline-marker {
  position: absolute;
  top: 6px;
  left: 15px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  transition: transform var(--transition-medium), background-color var(--transition-medium);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.5);
  background-color: var(--primary-light);
}

.timeline-content {
  position: relative;
  padding: var(--spacing-lg);
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

.timeline-item:hover .timeline-content {
  transform: translateX(10px);
}

/* Portfolio Section */
#portfolio .card-image {
  height: 250px;
  overflow: hidden;
}

#portfolio .card-image img {
  transition: transform var(--transition-slow);
}

#portfolio .card:hover .card-image img {
  transform: scale(1.1);
}

/* Behind the Scenes Section */
#behind-scenes {
  position: relative;
  overflow: hidden;
}

#behind-scenes::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  z-index: -1;
  transform: translate(50%, -50%);
}

/* News Section */
#news .card {
  transform-origin: center bottom;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

#news .card:hover {
  transform: translateY(-10px) scale(1.02);
}

#news .subtitle {
  color: var(--neutral-600);
}

#news .button.is-outlined {
  margin-top: auto;
}

/* Awards Section */
#awards .box {
  padding: var(--spacing-lg);
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

#awards img {
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-medium);
}

#awards .box:hover img {
  transform: scale(1.1);
}

/* FAQ Section */
.faq-item {
  padding: var(--spacing-lg);
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.faq-item h3 {
  position: relative;
  padding-left: var(--spacing-lg);
  cursor: pointer;
}

.faq-item h3::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-item:hover h3::before {
  transform: translateX(5px);
}

/* Contact Form Section */
#contact .box {
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
}

.input, .textarea {
  background-color: var(--neutral-200);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-inset);
  transition: all var(--transition-fast);
}

.input:focus, .textarea:focus {
  outline: none;
  box-shadow: var(--shadow-inset), 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.checkbox {
  cursor: pointer;
}

/* Map Section */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
  background: var(--neutral-800);
  color: var(--neutral-100);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

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

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

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

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg) 0;
}

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

.footer .social-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
}

.footer .social-links a:hover {
  text-decoration: underline;
  transform: translateY(-2px);
  display: inline-block;
}

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

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

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

.privacy-page main .container, .terms-page main .container {
  background: var(--neutral-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-medium);
}

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

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-xxl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mb-6 { margin-bottom: var(--spacing-xxl); }

.py-6 { padding-top: var(--spacing-xxl); padding-bottom: var(--spacing-xxl); }

.h-full {
  height: 100%;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 40px;
  }
  
  .timeline-marker {
    left: 10px;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .button {
    padding: 0.5rem 1rem;
  }
}

/* Animation styles for morphing effect */
@keyframes morphBackground {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.morph-background {
  animation: morphBackground 15s ease-in-out infinite;
}

/* Page transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust for fixed header */
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
  box-shadow: var(--shadow-medium);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
}

/* Additional utilities */
.is-relative {
  position: relative;
}

.read-more {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-weight: 500;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.read-more::after {
  content: '→';
  margin-left: var(--spacing-xs);
  transition: transform var(--transition-fast);
  display: inline-block;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  transform: translateX(5px);
}

/* Tag styles */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag.is-success {
  background-color: var(--primary-light);
  color: var(--neutral-100);
}

.tag.is-info {
  background-color: #3e8ed0;
  color: var(--neutral-100);
}

/* Box styles */
.box {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.subtitle:not(.is-spaced)+.title {
    margin-top: 0;
}
.navbar-menu.is-active a {
  color: #fff !important;
}