/* CSS Variables for Design System */
:root {
  /* Color Palette */
  --primary-color: #2C5F7C;
  --secondary-color: #A8DADC;
  --background-color: #FFFFFF;
  --footer-bg-color: #1A365D;
  --button-color: #2C5F7C;
  --section-bg-1: #F8F9FA;
  --section-bg-2: #FFFFFF;
  --section-bg-3: #E8F4F8;
  
  /* Soft & Organic Gradients */
  --primary-gradient: linear-gradient(135deg, #2C5F7C 0%, #3D7BA0 100%);
  --soft-gradient: linear-gradient(135deg, #F8F9FA 0%, #E8F4F8 100%);
  --accent-gradient: linear-gradient(45deg, #A8DADC 0%, #2C5F7C 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius - Generous & Soft */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Soft Shadows */
  --shadow-soft: 0 10px 30px -10px rgba(44, 95, 124, 0.15);
  --shadow-hover: 0 20px 40px -15px rgba(44, 95, 124, 0.25);
  --shadow-card: 0 8px 25px -8px rgba(44, 95, 124, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-quick: all 0.2s ease-out;
}

/* Base Typography */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-color);
  color: var(--primary-color);
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}

/* Typography Hierarchy - Premium Minimalist */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-quick);
}

a:hover {
  color: var(--button-color);
  opacity: 0.8;
}

/* Full-Width Premium Layout */
* {
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Override container constraints for full-width design */
.container,
.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Section Backgrounds */
.section-bg-light {
  background-color: var(--section-bg-1);
}

.section-bg-white {
  background-color: var(--section-bg-2);
}

.section-bg-soft {
  background: var(--soft-gradient);
}

/* Hero Section - Full Screen Premium */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, 
    rgba(44, 95, 124, 0.05) 0%, 
    rgba(168, 218, 220, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Premium Buttons with Gradients */
.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-secondary {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: calc(var(--space-sm) - 2px) var(--space-lg);
  border-radius: var(--radius-lg);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Soft & Organic Cards */
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(44, 95, 124, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-premium {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(44, 95, 124, 0.08);
  position: relative;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-gradient);
}

.card-premium:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

/* Header - Sophisticated Minimalist */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 95, 124, 0.1);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

/* Navigation */
.nav-link {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: var(--transition-quick);
  text-decoration: none;
  color: var(--primary-color);
}

.nav-link:hover {
  background: var(--soft-gradient);
  color: var(--primary-color);
}

/* Forms - Sophisticated */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid rgba(44, 95, 124, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-quick);
  background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 124, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer - Premium Dark */
.footer {
  background: var(--footer-bg-color);
  color: white;
  padding: var(--space-2xl) 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer-section h4 {
  color: white;
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-primary {
  background: var(--primary-gradient);
}

.bg-soft {
  background: var(--soft-gradient);
}

/* Spacing Utilities */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.py-xl { padding: var(--space-xl) 0; }
.py-2xl { padding: var(--space-2xl) 0; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .card-premium {
    padding: var(--space-xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(168, 218, 220, 0.3), 
    transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Smooth Scroll Offset for Fixed Header */
section {
  scroll-margin-top: 80px;
}


/* 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;
    }
}