/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Sage Color Palette */
  --sage-50: #f6f7f6;
  --sage-100: #e3e7e3;
  --sage-200: #c7d2c7;
  --sage-300: #a3b5a3;
  --sage-400: #7a927a;
  --sage-500: #5a7a5a;
  --sage-600: #4a6b4a;
  --sage-700: #3d5a3d;
  --sage-800: #334a33;
  --sage-900: #2a3d2a;
  --sage-950: #1a251a;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding-y: 5rem; /* py-20 */
  --section-padding-x: 1rem; /* px-4 */
  --sm-px: 1.5rem; /* sm:px-6 */
  --lg-px: 2rem; /* lg:px-8 */
  --border-radius-base: 0.5rem; /* rounded-lg */
  --border-radius-full: 9999px; /* rounded-full */
  --transition-duration: 0.3s;
  --transition-timing-function: ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--sage-800);
  background-color: #ffffff;
  font-feature-settings: "rlig" 1, "calt" 1;
}

.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--sage-500);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border-width: 0;
  clip: rect(0, 0, 0, 0);
  top: 1rem;
  left: 1rem;
  background: var(--sage-600);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-base);
  z-index: 1000;
  transition: top var(--transition-duration) var(--transition-timing-function);
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  white-space: normal;
  clip: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.5rem); /* backdrop-blur-sm */
  border-bottom: 1px solid var(--sage-200);
  transition: background-color var(--transition-duration) var(--transition-timing-function);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem; /* h-16 */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
}

.logo-img {
  height: 2.5rem; /* h-10 */
  width: auto;
}

.logo-text {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: var(--sage-800);
}

.desktop-nav {
  display: flex;
  gap: 2rem; /* space-x-8 */
}

.nav-link {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  transition: color var(--transition-duration) var(--transition-timing-function);
  color: var(--sage-800);
  padding: 0.25rem 0.5rem; /* px-2 py-1 */
  border-radius: 0.125rem; /* rounded-sm */
  position: relative;
  text-decoration: none; /* Ensure no underline by default */
}

.nav-link:hover {
  color: var(--sage-600);
}

.nav-link.active {
  color: var(--sage-600);
  border-bottom: 2px solid var(--sage-600);
}

.mobile-menu-btn {
  display: none; /* Hidden by default, shown on md:hidden */
  background: none;
  border: none;
  padding: 0.25rem; /* p-1 */
  height: auto;
  color: var(--sage-800);
  cursor: pointer;
}

.mobile-nav {
  display: none; /* Hidden by default, shown when active */
  padding-top: 1rem; /* py-4 */
  padding-bottom: 1rem;
  border-top: 1px solid var(--sage-200);
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem; /* px-4 py-2 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  transition: background-color var(--transition-duration) var(--transition-timing-function), color
    var(--transition-duration) var(--transition-timing-function);
  color: var(--sage-800);
  text-decoration: none;
}

.mobile-nav-link:hover {
  background-color: var(--sage-50);
}

.mobile-nav-link.active {
  color: var(--sage-600);
  background-color: var(--sage-50);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem; /* px-8 py-3 */
  border: none;
  border-radius: var(--border-radius-base);
  font-weight: 600; /* font-semibold */
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-duration) var(--transition-timing-function), color
    var(--transition-duration) var(--transition-timing-function), border-color var(--transition-duration)
    var(--transition-timing-function);
  font-size: 1.125rem; /* text-lg */
}

.btn-primary {
  background-color: var(--sage-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--sage-700);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--sage-800);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* bg-black/40 */
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 56rem; /* max-w-4xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 1.5rem; /* mb-6 */
  line-height: 1.25; /* leading-tight */
}

.hero-subtitle {
  display: block;
  color: var(--sage-300);
}

.hero-text {
  font-size: 1.25rem; /* text-xl */
  margin-bottom: 2rem; /* mb-8 */
  max-width: 42rem; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625; /* leading-relaxed */
}

.hero-buttons {
  display: flex;
  flex-direction: column; /* flex-col */
  gap: 1rem; /* gap-4 */
  justify-content: center;
}

/* Section Styles */
section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem; /* mb-16 */
}

.section-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: var(--sage-800);
  margin-bottom: 1rem; /* mb-4 */
}

.section-text {
  font-size: 1.125rem; /* text-lg */
  color: var(--sage-600);
  max-width: 42rem; /* max-w-2xl */
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services {
  background-color: var(--sage-50);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
}

.service-card {
  background-color: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-base);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
  transition: box-shadow var(--transition-duration) var(--transition-timing-function), transform
    var(--transition-duration) var(--transition-timing-function);
}

.service-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); /* hover:shadow-lg */
  transform: translateY(-0.25rem); /* hover:translate-y-1 */
}

.service-image {
  position: relative;
  height: 12rem; /* h-48 */
  overflow: hidden;
  border-top-left-radius: var(--border-radius-base);
  border-top-right-radius: var(--border-radius-base);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-duration) var(--transition-timing-function);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 1rem; /* p-4 */
  text-align: center;
}

.service-icon {
  height: 3rem; /* h-12 */
  width: 3rem; /* w-12 */
  color: var(--sage-600);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; /* mb-4 */
}

.service-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
}

.service-text {
  color: var(--sage-600);
  font-size: 0.875rem; /* text-sm */
}

/* About Section */
.about {
  background-color: white;
}

.thought-bubble-container {
  position: relative;
}

.thought-bubble-grid {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
  align-items: center;
  min-height: 31.25rem; /* min-h-[500px] */
}

.person-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.person-image img {
  width: 12.5rem; /* w-50 */
  height: 15rem; /* h-60 */
  object-fit: cover;
  border-radius: var(--border-radius-full);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); /* shadow-lg */
  border: 4px solid var(--sage-200);
}

.person-info {
  text-align: center;
  margin-top: 1rem; /* mt-4 */
}

.person-name {
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  font-size: 1.125rem; /* text-lg */
}

.person-role {
  font-size: 0.875rem; /* text-sm */
  color: var(--sage-600);
}

.person-detail {
  font-size: 0.75rem; /* text-xs */
  color: var(--sage-500);
  font-style: italic;
  margin-top: 0.25rem; /* mt-1 */
}

.bubble-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thought-bubble {
  position: relative;
  max-width: 25rem; /* max-w-md */
  margin-left: auto;
  margin-right: auto;
  animation: fadeInBubble 0.6s ease-out;
}

.bubble-content {
  background: linear-gradient(135deg, var(--sage-50) 0%, white 100%);
  border: 2px solid var(--sage-200);
  border-radius: 1.5625rem; /* 25px */
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.speaker-label {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  color: var(--sage-600);
  margin-bottom: 1rem; /* mb-4 */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thought-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--sage-700);
  text-align: center;
  margin: 0;
}

/* Bubble Tails */
.bubble-tail {
  position: absolute;
  bottom: -0.9375rem; /* -15px */
  width: 0;
  height: 0;
}

.bubble-tail.left {
  left: 1.875rem; /* 30px */
  border-left: 0.9375rem solid transparent; /* 15px */
  border-right: 0.9375rem solid transparent; /* 15px */
  border-top: 0.9375rem solid var(--sage-200); /* 15px */
}

.bubble-tail.left::before {
  content: "";
  position: absolute;
  top: -1.0625rem; /* -17px */
  left: -0.8125rem; /* -13px */
  border-left: 0.8125rem solid transparent; /* 13px */
  border-right: 0.8125rem solid transparent; /* 13px */
  border-top: 0.8125rem solid white; /* 13px */
}

.bubble-tail.right {
  right: 1.875rem; /* 30px */
  border-left: 0.9375rem solid transparent; /* 15px */
  border-right: 0.9375rem solid transparent; /* 15px */
  border-top: 0.9375rem solid var(--sage-200); /* 15px */
}

.bubble-tail.right::before {
  content: "";
  position: absolute;
  top: -1.0625rem; /* -17px */
  left: -0.8125rem; /* -13px */
  border-left: 0.8125rem solid transparent; /* 13px */
  border-right: 0.8125rem solid transparent; /* 13px */
  border-top: 0.8125rem solid white; /* 13px */
}

.bubble-tail.center {
  left: 50%;
  transform: translateX(-50%);
  border-left: 0.9375rem solid transparent; /* 15px */
  border-right: 0.9375rem solid transparent; /* 15px */
  border-top: 0.9375rem solid var(--sage-200); /* 15px */
}

.bubble-tail.center::before {
  content: "";
  position: absolute;
  top: -1.0625rem; /* -17px */
  left: -0.8125rem; /* -13px */
  border-left: 0.8125rem solid transparent; /* 13px */
  border-right: 0.8125rem solid transparent; /* 13px */
  border-top: 0.8125rem solid white; /* 13px */
}

/* Navigation Buttons */
.bubble-controls {
  display: flex;
  align-items: center;
  gap: 1rem; /* gap-4 */
  margin-top: 2rem; /* mt-8 */
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem; /* w-12 */
  height: 3rem; /* h-12 */
  background: var(--sage-600);
  color: white;
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: background-color var(--transition-duration) var(--transition-timing-function), transform
    var(--transition-duration) var(--transition-timing-function), box-shadow var(--transition-duration)
    var(--transition-timing-function);
  box-shadow: 0 4px 12px rgba(74, 107, 74, 0.3);
}

.nav-btn:hover {
  background: var(--sage-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 107, 74, 0.4);
}

.nav-btn:active {
  transform: translateY(0);
}

/* Bubble Dots */
.bubble-dots {
  display: flex;
  gap: 0.5rem; /* gap-2 */
  align-items: center;
}

.bubble-dot {
  width: 0.75rem; /* 12px */
  height: 0.75rem; /* 12px */
  border-radius: var(--border-radius-full);
  border: none;
  background: var(--sage-300);
  cursor: pointer;
  transition: background-color var(--transition-duration) var(--transition-timing-function), transform
    var(--transition-duration) var(--transition-timing-function);
}

.bubble-dot.active {
  background: var(--sage-600);
  transform: scale(1.3);
}

.bubble-dot:hover {
  background: var(--sage-500);
}

.bubble-counter {
  text-align: center;
  margin-top: 1rem; /* mt-4 */
}

.counter-text {
  font-size: 0.875rem; /* text-sm */
  color: var(--sage-500);
}

/* Timeline Styles */
.timeline-section {
  margin-top: 4rem; /* mt-16 */
  padding-top: 2rem; /* pt-8 */
  border-top: 1px solid var(--sage-200);
}

.timeline-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  text-align: center;
  margin-bottom: 2rem; /* mb-8 */
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* gap-8 */
  max-width: 62.5rem; /* max-w-1000px */
  margin-left: auto;
  margin-right: auto;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 7.5rem; /* 120px */
}

.timeline-year {
  background: var(--sage-600);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem; /* 20px */
  font-weight: 600; /* font-semibold */
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 0.5rem; /* mb-2 */
  box-shadow: 0 2px 8px rgba(74, 107, 74, 0.3);
}

.timeline-content {
  font-size: 0.8rem;
  color: var(--sage-600);
  line-height: 1.4;
}

/* Blog Section */
.blog {
  background-color: var(--sage-50);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
}

.blog-card {
  background-color: white;
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-base);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
  transition: box-shadow var(--transition-duration) var(--transition-timing-function), transform
    var(--transition-duration) var(--transition-timing-function);
}

.blog-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); /* hover:shadow-lg */
  transform: translateY(-0.25rem); /* hover:translate-y-1 */
}

.blog-image {
  position: relative;
  height: 12rem; /* h-48 */
  overflow: hidden;
  border-top-left-radius: var(--border-radius-base);
  border-top-right-radius: var(--border-radius-base);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-duration) var(--transition-timing-function);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem; /* p-6 */
}

.blog-date {
  display: flex;
  align-items: center;
  font-size: 0.875rem; /* text-sm */
  color: var(--sage-500);
  margin-bottom: 0.5rem; /* mb-2 */
}

.blog-date i {
  height: 1rem; /* h-4 */
  width: 1rem; /* w-4 */
  margin-right: 0.5rem; /* mr-2 */
}

.blog-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  transition: color var(--transition-duration) var(--transition-timing-function);
}

.blog-card:hover .blog-title {
  color: var(--sage-600);
}

.blog-excerpt {
  color: var(--sage-600);
  margin-bottom: 1rem; /* mb-4 */
}

.blog-card .btn {
  padding: 0;
  background: none;
  border: none;
  color: var(--sage-600);
  font-size: 1rem;
  font-weight: 500;
}

.blog-card .btn:hover {
  color: var(--sage-800);
  background: none;
}

.blog-card .btn i {
  height: 1rem;
  width: 1rem;
  margin-left: 0.5rem;
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 3rem; /* gap-12 */
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* space-y-8 */
}

.contact-card {
  border: 1px solid var(--sage-200);
  border-radius: var(--border-radius-base);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
  padding: 1rem; /* p-4 */
}

.contact-card h3.contact-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  display: flex;
  align-items: center;
  margin-bottom: 1rem; /* mb-4 */
}

.contact-card h3.contact-title i {
  height: 1.25rem; /* h-5 */
  width: 1.25rem; /* w-5 */
  margin-right: 0.5rem; /* mr-2 */
}

.contact-card .contact-subtitle {
  color: var(--sage-600);
  margin-bottom: 1.5rem; /* mb-6 */
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space-y-6 */
}

.location {
  border-bottom: 1px solid var(--sage-200);
  padding-bottom: 1rem; /* pb-4 */
}

.location:last-child {
  border-bottom: none;
}

.location h4 {
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  margin-bottom: 0.5rem; /* mb-2 */
}

.location p {
  color: var(--sage-600);
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 0.5rem; /* mb-2 */
}

.location .hours {
  font-size: 0.75rem; /* text-xs */
  color: var(--sage-500);
}

.location .closed-text {
  color: #dc2626; /* text-red-600 */
  font-weight: 500; /* font-medium */
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.contact-item {
  display: flex;
  align-items: center;
  color: var(--sage-600);
}

.contact-item i {
  height: 1.25rem; /* h-5 */
  width: 1.25rem; /* w-5 */
  margin-right: 0.75rem; /* mr-3 */
  color: var(--sage-500);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* space-y-6 */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 1rem; /* gap-4 */
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: var(--sage-700);
  margin-bottom: 0.5rem; /* mb-2 */
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  border: 1px solid var(--sage-300);
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
  font-family: inherit;
  transition: border-color var(--transition-duration) var(--transition-timing-function), box-shadow
    var(--transition-duration) var(--transition-timing-function);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(90, 122, 90, 0.1); /* focus:ring-sage-500 */
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem; /* space-x-3 */
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem; /* mt-1 */
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--sage-300);
  border-radius: 0.25rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: background-color var(--transition-duration) var(--transition-timing-function), border-color
    var(--transition-duration) var(--transition-timing-function);
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--sage-600);
  border-color: var(--sage-600);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "✔"; /* Unicode checkmark */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
}

.checkbox-group label {
  font-size: 0.875rem; /* text-sm */
  color: var(--sage-600);
  line-height: 1.5; /* leading-relaxed */
  margin-bottom: 0; /* Override default label margin */
}

.checkbox-group label a {
  color: var(--sage-800);
  text-decoration: underline;
}

.form-message {
  padding: 1rem; /* p-4 */
  border-radius: 0.375rem; /* rounded-md */
  font-weight: 500;
}

.form-message.success {
  background-color: #dcfce7; /* bg-green-50 */
  border: 1px solid #bbf7d0; /* border-green-200 */
  color: #166534; /* text-green-800 */
}

.form-message.error {
  background-color: #fef2f2; /* bg-red-50 */
  border: 1px solid #fecaca; /* border-red-200 */
  color: #dc2626; /* text-red-600 */
}

/* Footer */
.footer {
  background-color: var(--sage-800);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
  padding-top: 3rem; /* py-12 */
  padding-bottom: 3rem;
}

.footer-main {
  /* md:col-span-2 */
}

.sub-bar {
  background-color: #f5e7e0; /* Helle Hintergrundfarbe */
  color: #7c4f25;            /* Gut sichtbare Schriftfarbe */
  text-align: center;        
  padding: 8px 0;
  font-weight: bold;
  font-size: 1.1em;
  /* Optional: Schatten/Trennlinie für Abgrenzung */
  border-bottom: 2px solid #e3c7aa;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
  margin-bottom: 1rem; /* mb-4 */
}

.footer-logo {
  height: 2rem; /* h-8 */
  width: auto;
  filter: brightness(0) invert(1); /* brightness-0 invert */
}

.footer-brand-text {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
}

.footer-description {
  color: var(--sage-300);
  margin-bottom: 1.5rem; /* mb-6 */
  max-width: 28rem; /* max-w-md */
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
  color: var(--sage-300);
}

.footer-contact-item {
  display: flex;
  align-items: center;
}

.footer-contact-item i {
  height: 1rem; /* h-4 */
  width: 1rem; /* w-4 */
  margin-right: 0.5rem; /* mr-2 */
}

.footer-nav h4,
.footer-legal h4 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem; /* mb-4 */
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}

.footer-nav a,
.footer-legal a {
  color: var(--sage-300);
  text-decoration: none;
  transition: color var(--transition-duration) var(--transition-timing-function);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: white;
}

/* Legal Pages */
.legal-pages {
  margin-top: 4rem; /* mt-16 */
  padding-top: 2rem; /* pt-8 */
  border-top: 1px solid var(--sage-700);
}

.legal-section {
  margin-bottom: 3rem; /* mb-12 */
}

.legal-section h2 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 1.5rem; /* mb-6 */
}

.legal-content {
  display: grid;
  grid-template-columns: 1fr; /* grid-cols-1 */
  gap: 2rem; /* gap-8 */
  color: var(--sage-300);
}

.legal-column h3,
.privacy-section h3 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: white;
  margin-bottom: 0.75rem; /* mb-3 */
}

.privacy-section {
  margin-bottom: 1rem; /* space-y-4 */
}

.footer-bottom {
  padding-top: 2rem; /* pt-8 */
  border-top: 1px solid var(--sage-700);
  text-align: center;
  color: var(--sage-400);
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 1rem; /* bottom-4 */
  left: 1rem; /* left-4 */
  right: 1rem; /* right-4 */
  z-index: 50; /* z-50 */
  max-width: 28rem; /* md:max-w-md */
  margin-left: auto; /* md:left-auto */
  margin-right: 1rem; /* md:right-4 */
  background-color: white;
  border: 1px solid var(--sage-200);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); /* shadow-lg */
  border-radius: var(--border-radius-base);
}

.cookie-content {
  display: flex;
  align-items: flex-start; /* items-start */
  gap: 0.75rem; /* space-x-3 */
  padding: 1rem; /* p-4 */
}

.cookie-icon {
  height: 1.5rem; /* h-6 */
  width: 1.5rem; /* w-6 */
  color: var(--sage-600);
  flex-shrink: 0;
  margin-top: 0.25rem; /* mt-1 */
}

.cookie-text {
  flex: 1; /* flex-1 */
}

.cookie-text h3 {
  font-weight: 600; /* font-semibold */
  color: var(--sage-800);
  margin-bottom: 0.5rem; /* mb-2 */
}

.cookie-text p {
  font-size: 0.875rem; /* text-sm */
  color: var(--sage-600);
  margin-bottom: 1rem; /* mb-4 */
}

.cookie-buttons {
  display: flex;
  flex-direction: column; /* flex-col */
  gap: 0.5rem; /* gap-2 */
}

.cookie-buttons .btn {
  font-size: 0.875rem; /* text-sm */
  padding: 0.5rem 1rem; /* size="sm" */
}

.cookie-buttons .btn-primary {
  background-color: var(--sage-600);
  color: white;
}

.cookie-buttons .btn-primary:hover {
  background-color: var(--sage-700);
}

.cookie-buttons .btn-secondary {
  background-color: transparent;
  border: 1px solid var(--sage-300);
  color: var(--sage-600);
}

.cookie-buttons .btn-secondary:hover {
  background-color: var(--sage-50);
}

.cookie-close {
  padding: 0.25rem; /* p-1 */
  height: auto;
  background: none;
  border: none;
  color: var(--sage-400);
  cursor: pointer;
  transition: color var(--transition-duration) var(--transition-timing-function);
}

.cookie-close:hover {
  color: var(--sage-600);
}

.cookie-close i {
  height: 1rem; /* h-4 */
  width: 1rem; /* w-4 */
}

/* Animations */
@keyframes fadeInBubble {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  /* sm breakpoint */
  .container {
    padding-left: var(--sm-px);
    padding-right: var(--sm-px);
  }
  .hero-title {
    font-size: 3rem; /* md:text-6xl */
  }
  .hero-text {
    font-size: 1.5rem; /* md:text-2xl */
  }
  .hero-buttons {
    flex-direction: row; /* sm:flex-row */
  }
  .cookie-buttons {
    flex-direction: row; /* sm:flex-row */
  }
}

@media (min-width: 768px) {
  /* md breakpoint */
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .section-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
  .contact-content {
    grid-template-columns: repeat(2, 1fr); /* lg:grid-cols-2 */
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr; /* md:grid-cols-4, md:col-span-2 for main */
  }
  .legal-content {
    grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
  }
  .cookie-notice {
    left: auto;
    right: 1rem;
  }
}

@media (min-width: 1024px) {
  /* lg breakpoint */
  .container {
    padding-left: var(--lg-px);
    padding-right: var(--lg-px);
  }
  .services-grid {
    grid-template-columns: repeat(4, 1fr); /* lg:grid-cols-4 */
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr); /* lg:grid-cols-3 */
  }
  .thought-bubble-grid {
    grid-template-columns: 1fr 2fr 1fr; /* lg:grid-cols-3 */
  }
  .person-container.person-left {
    align-items: flex-end; /* lg:items-end */
  }
  .person-container.person-right {
    align-items: flex-start; /* lg:items-start */
  }
  .thought-bubble {
    max-width: 21.875rem; /* max-w-[350px] */
  }
  .bubble-content {
    padding: 1.5rem;
  }
  .thought-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  /* Mobile specific styles */
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-nav.active {
    display: flex;
    flex-direction: column;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .about-team {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .legal-content {
    grid-template-columns: 1fr;
  }
  .cookie-notice {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
  .thought-bubble {
    max-width: 18.75rem; /* 300px */
  }
  .bubble-content {
    padding: 1.25rem;
  }
  .thought-text {
    font-size: 0.9rem;
  }
  .nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .timeline {
    gap: 1rem;
  }
  .timeline-item {
    min-width: 6.25rem; /* 100px */
  }
}

@media (max-width: 479px) {
  /* Smaller mobile devices */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .hero-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 1.5rem;
  }
  .thought-bubble {
    max-width: 17.5rem; /* 280px */
  }
  .bubble-content {
    padding: 1rem;
  }
  .speaker-label {
    font-size: 0.8rem;
  }
  .thought-text {
    font-size: 0.85rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .cookie-notice,
  .mobile-menu-btn {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-bg {
    display: none;
  }

  .hero-content {
    color: var(--sage-800);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .section-text,
  .service-text,
  .blog-excerpt {
    color: var(--sage-800);
  }

  .footer-description,
  .footer-contact-item {
    color: var(--sage-100);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
