:root {
  --primary-color: #1a202c;
  --secondary-color: #4a5568;
  --accent-color: #3182ce;
  --background-color: #ffffff;
  --footer-bg-color: #2d3748;
  --section-bg-1: #ffffff;
  --section-bg-2: #f7fafc;
  --section-bg-3: #ffffff;
  
  /* Soft & Organic Variables */
  --radius-soft: 16px;
  --radius-softer: 20px;
  --radius-round: 24px;
  --shadow-soft: 0 10px 30px -10px rgba(26, 32, 44, 0.15);
  --shadow-hover: 0 15px 35px -10px rgba(26, 32, 44, 0.25);
  --shadow-subtle: 0 4px 15px -5px rgba(26, 32, 44, 0.1);
  
  /* Typography Scale */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Organic Gradients */
  --gradient-primary: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  --gradient-soft: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  --gradient-accent: linear-gradient(135deg, #3182ce 0%, #5a67d8 100%);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  color: var(--primary-color);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--secondary-color);
  font-weight: 400;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #2c5282;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Buttons - Organic & Soft Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  border: none;
  border-radius: var(--radius-soft);
  font-family: var(--font-base);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover:before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-secondary {
  background: var(--section-bg-2);
  color: var(--primary-color);
  border: 1px solid rgba(74, 85, 104, 0.2);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--font-size-base);
  border-radius: var(--radius-softer);
}

.btn-sm {
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--font-size-xs);
}

/* Cards - Organic Design */
.card {
  background: var(--background-color);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(74, 85, 104, 0.08);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(74, 85, 104, 0.1);
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  background: var(--section-bg-2);
  border-top: 1px solid rgba(74, 85, 104, 0.1);
}

.card-title {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--primary-color);
}

.card-text {
  color: var(--secondary-color);
  margin: 0;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-elevated {
  box-shadow: var(--shadow-hover);
}

/* Forms - Organic Style */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--primary-color);
  font-size: var(--font-size-sm);
}

.form-control {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid rgba(74, 85, 104, 0.15);
  border-radius: var(--radius-soft);
  font-size: var(--font-size-base);
  font-family: var(--font-base);
  background: var(--background-color);
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--secondary-color);
  opacity: 0.7;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234a5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-sm) center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: var(--space-2xl);
}

/* Navigation */
.navbar {
  background: var(--background-color);
  box-shadow: var(--shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

/* Sections */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--gradient-soft);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -var(--space-sm);
}

.col {
  flex: 1;
  padding: 0 var(--space-sm);
}

.col-12 { width: 100%; }
.col-11 { width: 91.666%; }
.col-10 { width: 83.333%; }
.col-9 { width: 75%; }
.col-8 { width: 66.666%; }
.col-7 { width: 58.333%; }
.col-6 { width: 50%; }
.col-5 { width: 41.666%; }
.col-4 { width: 33.333%; }
.col-3 { width: 25%; }
.col-2 { width: 16.666%; }
.col-1 { width: 8.333%; }

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--section-bg-2); }

.rounded { border-radius: var(--radius-soft); }
.rounded-lg { border-radius: var(--radius-softer); }
.rounded-xl { border-radius: var(--radius-round); }

.shadow { box-shadow: var(--shadow-soft); }
.shadow-lg { box-shadow: var(--shadow-hover); }
.shadow-sm { box-shadow: var(--shadow-subtle); }

/* Footer */
.footer {
  background: var(--footer-bg-color);
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg) 0;
}

.footer-section {
  margin-bottom: var(--space-xl);
}

.footer-title {
  color: white;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-xs);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

/* Footer text */
.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

/* Social links in footer */
.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233182ce' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-lg);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--secondary-color);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Alert/Message Components */
.alert {
  padding: var(--space-lg);
  border-radius: var(--radius-soft);
  margin-bottom: var(--space-lg);
  border-left: 4px solid;
}

.alert-info {
  background: rgba(49, 130, 206, 0.1);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.alert-success {
  background: rgba(72, 187, 120, 0.1);
  border-color: #48bb78;
  color: var(--primary-color);
}

.alert-warning {
  background: rgba(237, 137, 54, 0.1);
  border-color: #ed8936;
  color: var(--primary-color);
}

.alert-danger {
  background: rgba(245, 101, 101, 0.1);
  border-color: #f56565;
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .col-sm-12 { width: 100%; }
  .col-sm-6 { width: 50%; }
  .col-sm-4 { width: 33.333%; }
  .col-sm-3 { width: 25%; }
  
  .row {
    margin: 0 -var(--space-xs);
  }
  
  .col {
    padding: 0 var(--space-xs);
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
  
  .card-body {
    padding: var(--space-md);
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Focus States for Accessibility */
button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
}

.loading:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animation on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--section-bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}