/* ============================================
   VARIABLES & ROOT SETTINGS
============================================ */
:root {
  /* Primary Colors */
  --primary-color: #1c7c54;
  --primary-light: #3a9c74;
  --primary-dark: #14634a;
  
  /* Secondary Colors */
  --secondary-color: #2c3e50;
  --secondary-light: #34495e;
  --secondary-dark: #1a252f;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f7f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Accent Colors */
  --accent-blue: #3498db;
  --accent-amber: #f39c12;
  --accent-red: #e74c3c;
  
  /* 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);
  
  /* 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);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-rounded: 50%;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* ============================================
   GLOBAL STYLES
============================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--neutral-700);
  background-color: var(--neutral-200);
  line-height: 1.6;
}

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

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 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* ============================================
   NAVBAR STYLES
============================================ */
.navbar {
  transition: background-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.navbar.is-transparent {
  background-color: transparent !important;
}

.navbar.scrolled {
  background-color: var(--neutral-100) !important;
  box-shadow: var(--shadow-md);
}

.navbar-item {
  font-weight: 600;
  transition: color var(--transition-fast);
}

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

/* ============================================
   BUTTON STYLES
============================================ */
.button {
  font-weight: 600;
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

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

.button:active {
  transform: translateY(0);
}

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

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

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

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

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero .title, 
.hero .subtitle {
  color: var(--neutral-100) !important;
}

.hero-body {
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.hero p {
  color: var(--neutral-100);
  font-size: 1.125rem;
  max-width: 600px;
}

.hero .buttons {
  margin-top: var(--spacing-lg);
}

/* ============================================
   STATISTICS SECTION
============================================ */
.statistics-section {
  background-color: var(--neutral-100);
}

.statistics-section .title.is-2 {
  margin-bottom: var(--spacing-xl);
  color: var(--secondary-dark);
}

.stat-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: var(--spacing-sm) 0;
  font-family: 'Oswald', sans-serif;
}

.stat-description {
  color: var(--neutral-600);
  text-align: center;
}

/* ============================================
   PROJECTS SECTION
============================================ */
.projects-section {
  background-color: var(--neutral-200);
  position: relative;
  overflow: hidden;
}

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

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  width: 1px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-content {
  padding-left: 3rem;
}

.timeline .card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.timeline .card-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

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

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

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

.timeline .card-content {
  padding: var(--spacing-lg);
}

.timeline .tag {
  margin-right: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}

/* ============================================
   RESOURCES SECTION
============================================ */
.resources-section {
  background-color: var(--neutral-100);
}

.resource-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.resource-card h3 a {
  color: var(--secondary-dark);
  transition: color var(--transition-fast);
}

.resource-card h3 a:hover {
  color: var(--primary-color);
}

.resource-card p {
  color: var(--neutral-600);
  flex-grow: 1;
}

/* ============================================
   TESTIMONIALS SECTION
============================================ */
.testimonials-section {
  background-color: var(--neutral-200);
  position: relative;
}

.testimonial-card {
  background-color: var(--neutral-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.testimonial-card .image-container {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-rounded);
  overflow: hidden;
  margin: 0 auto var(--spacing-md);
  border: 3px solid var(--primary-color);
}

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

.testimonial-text {
  color: var(--neutral-700);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.rating {
  color: var(--accent-amber);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

/* ============================================
   PRICING SECTION
============================================ */
.pricing-section {
  background-color: var(--neutral-100);
  position: relative;
}

.pricing-card {
  background-color: var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  background-color: var(--primary-light);
  color: var(--neutral-100);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  padding: var(--spacing-lg);
  text-align: center;
  background-color: rgba(0, 0, 0, 0.05);
}

.pricing-card.featured .pricing-header {
  background-color: var(--primary-dark);
}

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

.pricing-card.featured .title {
  color: var(--neutral-100);
}

.price {
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: var(--spacing-sm);
}

.currency {
  font-size: 1rem;
  font-weight: 600;
  margin-right: 4px;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Oswald', sans-serif;
}

.period {
  font-size: 0.875rem;
  color: var(--neutral-600);
  margin-left: 4px;
}

.pricing-card.featured .period {
  color: var(--neutral-300);
}

.pricing-features {
  padding: var(--spacing-lg);
  flex-grow: 1;
}

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

.pricing-features li {
  padding: var(--spacing-xs) 0;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.6rem;
  font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
  color: var(--neutral-100);
}

.pricing-footer {
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: rgba(0, 0, 0, 0.03);
}

.pricing-card.featured .pricing-footer {
  background-color: var(--primary-color);
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-section {
  background-color: var(--neutral-200);
}

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

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

.contact-item strong {
  color: var(--secondary-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-form-container {
  background-color: var(--neutral-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.image-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--spacing-md);
}

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

/* ============================================
   FOOTER STYLES
============================================ */
.footer {
  background-color: var(--secondary-dark);
  color: var(--neutral-300);
  padding: var(--spacing-xl) 0;
}

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

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

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

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

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.social-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
  font-weight: 600;
  position: relative;
  padding-bottom: 0.25rem;
}

.social-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: width var(--transition-normal);
}

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

.social-links a:hover::after {
  width: 100%;
}

.newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--neutral-100);
}

.newsletter .input::placeholder {
  color: var(--neutral-500);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  color: var(--neutral-500);
}

/* ============================================
   COOKIE CONSENT
============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--neutral-800);
  color: var(--neutral-200);
  padding: var(--spacing-md);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

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

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

/* ============================================
   ADDITIONAL PAGES
============================================ */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--neutral-200);
}

.privacy-page, 
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
  background-color: var(--neutral-200);
}

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

/* ============================================
   GLASSMORPHISM EFFECTS
============================================ */
.glass-effect {
  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);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
============================================ */
@media screen and (max-width: 1023px) {
  .timeline-marker {
    left: 1rem;
  }
  
  .timeline-content {
    padding-left: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .timeline-marker {
    display: none;
  }
  
  .timeline-content {
    padding-left: 0;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
  
  .contact-form-container {
    margin-top: var(--spacing-lg);
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-normal) ease-out forwards;
}

/* ============================================
   UTILITY CLASSES
============================================ */
.text-center {
  text-align: center;
}

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

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

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

.mb-3 {
  margin-bottom: 1rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}