:root {
  --primary: #003366;
  --primary-light: #0055a4;
  --accent: #e63946;
  --bg-light: #ffffff;
  --bg-neutral: #f8f9fa;
  --bg-dark: #e9ecef;
  --text-dark: #1a1a1a;
  --footer-bg: #1a1a1a;
  --radius: 20px;
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
  --font-heading: 'Georgia', serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --spacing: 1rem;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: calc(var(--spacing) * 0.5);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: var(--spacing);
  color: #333; 
  /* Ensure readability while allowing Tailwind text color overrides */
}

a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

/* Container Section Styling */
.section {
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section:nth-child(odd) {
  background-color: var(--bg-neutral);
}

.section:nth-child(even) {
  background-color: var(--bg-light);
}

/* Buttons - Soft & Organic Style */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px; /* Generous radius */
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d62839);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.1);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
}

/* Cards - Soft Shadows */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  color: var(--accent);
}

/* Forms */
.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
  color: #333;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.2);
}

/* Header Navigation */
.header-nav {
  background-color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero {
  background-color: var(--bg-neutral);
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-neutral) 30%);
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: #555;
  position: relative;
  z-index: 2;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: #888;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer h6 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: #bbb;
}

.footer a:hover {
  color: white;
}

/* Grid Helper for Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

/* Accessibility Focus */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Utility for text color override respecting the rule */
body .text-primary { color: var(--primary) !important; }
body .text-accent { color: var(--accent) !important; }
body .bg-primary { background-color: var(--primary) !important; }
body .bg-accent { background-color: var(--accent) !important; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .header-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* 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;
    }
}