:root {
  /* Primary Design System - Bridging Corporate Minimalism with Organic Softness */
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --background-white: #ffffff;
  --background-light: #f8fafc;
  --background-lighter: #f1f5f9;
  --footer-bg: #1f2937;
  
  /* Soft & Organic Color Palette */
  --soft-cream: #fefcf3;
  --organic-sage: #6b7280;
  --organic-mint: #10b981;
  --organic-lavender: #8b5cf6;
  
  /* Typography System - Round & Friendly */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-rounding: 8px;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius - Generous Softness */
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Soft Shadow System */
  --shadow-soft-sm: 0 4px 16px -4px rgba(30, 58, 138, 0.12);
  --shadow-soft-md: 0 8px 24px -6px rgba(30, 58, 138, 0.15);
  --shadow-soft-lg: 0 12px 32px -8px rgba(30, 58, 138, 0.18);
  --shadow-organic: 0 10px 30px -10px rgba(100, 116, 139, 0.25);
}

/* Base Typography - Clean Professional with Friendly Touch */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--primary-color);
  background-color: var(--background-white);
  margin: 0;
  padding: 0;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Typography Hierarchy - Refined Corporate with Organic Feel */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-color);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-color);
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--secondary-color);
  font-weight: 400;
}

/* Link Styling - Professional with Soft Touch */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-sm);
}

a:hover {
  color: var(--primary-light);
  background-color: rgba(30, 58, 138, 0.05);
  padding: 2px 4px;
}

/* Button System - Corporate Elegance with Organic Curves */
.btn-primary, 
.btn-primary:link, 
.btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft-sm);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
  color: white;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft-sm);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--organic-sage));
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--organic-sage), var(--secondary-color));
}

/* Card System - Modern Corporate with Organic Softness */
.card {
  background: var(--background-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-sm);
  padding: var(--space-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(30, 58, 138, 0.08);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-lg);
  border-color: rgba(30, 58, 138, 0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--organic-mint));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

/* Container System - Full Width Elegance */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-md);
}

/* Section Background Alternation */
section:nth-child(even) {
  background-color: var(--background-light);
}

section:nth-child(4n) {
  background-color: var(--background-lighter);
}

/* Header Styling - Clean Corporate */
header {
  background: var(--background-white);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-menu a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(30, 58, 138, 0.08);
  color: var(--primary-light);
}

/* Footer Styling - Dark Elegant */
footer {
  background: var(--footer-bg);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-section a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Form Elements - Professional with Organic Touch */
input, 
textarea, 
select {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--background-white);
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--primary-color);
}

/* Hero Section - Minimalist with Impact */
.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--soft-cream) 0%, var(--background-white) 100%);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: var(--organic-sage);
}

/* Grid System - Modern Layout */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Utilities - Professional Helpers */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.py-xl {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .nav-menu {
    gap: var(--space-sm);
  }
  
  .hero {
    padding: var(--space-lg) 0;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Animation & Interaction Enhancements */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scale-hover {
  transition: transform 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.02);
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Custom Scrollbar - Subtle Elegance */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}


/* 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;
    }
}