/* Elegant & Minimal CSS - Distinctive Corporate Design */

/* CSS Variables - Defining the unique design system */
:root {
  /* Core Colors */
  --primary-blue: #2563eb;
  --secondary-slate: #64748b;
  --deep-navy: #1e293b;
  --warm-gray: #6b7280;
  --soft-white: #ffffff;
  
  /* Section Backgrounds */
  --bg-slate-50: #f8fafc;
  --bg-white: #ffffff;
  --bg-slate-100: #f1f5f9;
  
  /* Enhanced Palette for Depth */
  --accent-gold: #d4af37;
  --accent-sage: #87a96b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Typography Scale */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'system-ui', sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-full: 9999px;
  
  /* Shadow System - Elegant and Subtle */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Typography - Elegant Hierarchy */
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 1.125rem;
  background-color: var(--soft-white);
}

/* Elegant Serif Typography for Headings */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: 1.875rem;
  color: var(--primary-blue);
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

h5, h6 {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Paragraph and Text Elements */
p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Elegant Links - Underlined Style */
a {
  color: var(--primary-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:hover {
  border-bottom-color: var(--primary-blue);
  color: var(--accent-sage);
}

/* Distinctive Section System */
.section {
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

.section:nth-child(odd) {
  background-color: var(--bg-slate-50);
}

.section:nth-child(even) {
  background-color: var(--bg-white);
}

.section:nth-child(3n) {
  background-color: var(--bg-slate-100);
}

/* Elegant Cards with Subtle Depth */
.card {
  background: var(--soft-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 99, 235, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-sage) 100%);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

/* Pill-Shaped Buttons - Elegant Design */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
  color: var(--soft-white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-primary::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-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--soft-white);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  padding: 0.875rem 2rem;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--soft-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Elegant Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--soft-white);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Navigation - Elegant & Minimal */
.nav {
  background: var(--soft-white);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  margin-bottom: 0;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--bg-slate-50);
  color: var(--primary-blue);
}

/* Footer - Distinctive Dark Design */
.footer {
  background: var(--deep-navy);
  color: #cbd5e1;
  padding: var(--space-xl) var(--space-md) var(--space-md);
  margin-top: var(--space-2xl);
}

.footer h4 {
  color: var(--soft-white);
  margin-bottom: var(--space-sm);
}

.footer a {
  color: #cbd5e1;
  border-bottom: 1px solid transparent;
}

.footer a:hover {
  color: var(--soft-white);
  border-bottom-color: var(--soft-white);
}

/* Hero Section - Dramatic & Elegant */
.hero {
  background: linear-gradient(135deg, var(--bg-slate-50) 0%, var(--bg-slate-100) 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Utility Classes - Clean & Functional */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--space-md) * -0.5);
}

.col {
  flex: 1;
  padding: 0 calc(var(--space-md) * 0.5);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.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); }

/* Elegant List Styles */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .row {
    flex-direction: column;
  }
  
  .col {
    margin-bottom: var(--space-md);
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .card {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 3rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  body {
    font-size: 1rem;
  }
}

/* Focus States - Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
  background: rgba(37, 99, 235, 0.2);
  color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-slate-50);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}


/* 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;
    }
}