:root {
  --color-primary: #5DADE2;
  --color-secondary: #A9DFBF;
  --color-background: #FAFDFB;
  --color-footer-bg: #34495E;
  --color-button: #5DADE2;
  --color-text-dark: #34495E;
  --color-text-light: #F0F8F6;
  --color-neutral-light: #F0F8F6;
  --color-neutral-medium: #E8F6F3;
  --color-neutral-dark: #DDF2F8;

  --font-family-primary: 'Montserrat', sans-serif;
  --font-family-secondary: 'Quicksand', sans-serif;

  --border-radius-base: 0.5rem; /* rounded-lg */
  --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);

  --spacing-unit: 1rem; /* Base spacing unit */
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: var(--font-family-secondary);
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-background);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
  color: var(--color-text-dark);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  line-height: 1.2;
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.6rem;
  font-weight: 500;
}

p {
  margin-bottom: 1em;
  font-size: 1.1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1em;
  padding-left: 0;
}

li {
  margin-bottom: 0.5em;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(to right, var(--color-background), var(--color-neutral-light));
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.header .logo img {
  height: 50px; /* Adjust as needed */
  display: block;
}

.header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header nav a {
  font-family: var(--font-family-primary);
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.3rem;
}

.header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.header nav a:hover::after {
  width: 100%;
}

/* Section Styling */
.section {
  padding: 6rem 2rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.section:nth-of-type(even) {
  background-color: var(--color-neutral-light);
}

.section:nth-of-type(odd) {
  background-color: var(--color-background);
}

/* Unique organic shape separator for sections */
.section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Height of the wave */
  background:
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path fill="%23F0F8F6" fill-opacity="1" d="M0,64L48,80C96,96,192,128,288,117.3C384,107,480,53,576,48C672,43,768,85,864,90.7C960,96,1056,64,1152,64C1248,64,1344,96,1392,112L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat center bottom;
  background-size: cover;
  transform: translateY(100%); /* Start below the section */
  transition: transform 0.5s ease-out;
  z-index: 1;
  pointer-events: none;
}

.section:nth-of-type(even)::before {
  background:
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 120" xmlns="http://www.w3.org/2000/svg"><path fill="%23FAFDFB" fill-opacity="1" d="M0,64L48,80C96,96,192,128,288,117.3C384,107,480,53,576,48C672,43,768,85,864,90.7C960,96,1056,64,1152,64C1248,64,1344,96,1392,112L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat center bottom;
  background-size: cover;
}

/* This is a placeholder for the actual Alpine.js triggered animation */
/* A real implementation would use x-intersect or similar */
.section.is-visible::before {
  transform: translateY(0);
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius-base);
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-button);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn-secondary:hover {
  background-color: #92c4a9; /* Slightly darker secondary */
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius-base);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-family-secondary);
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-neutral-dark);
  border-radius: var(--border-radius-base);
  font-family: var(--font-family-secondary);
  font-size: 1rem;
  color: var(--color-text-dark);
  background-color: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.2); /* Soft focus ring */
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-md);
}

/* Alpine.js specific styles */
[x-cloak] {
  display: none !important;
}

/* Footer Styles */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text-light);
  padding: 4rem 2rem;
  text-align: center;
  font-family: var(--font-family-secondary);
}

.footer a {
  color: var(--color-secondary);
}

.footer a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.footer .social-links {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer .social-links a {
  display: inline-block;
  margin: 0 0.8rem;
  font-size: 1.5rem;
  color: var(--color-neutral-light);
  transition: color 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--color-primary);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  .header nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .header nav a {
    font-size: 1rem;
  }
  .section {
    padding: 4rem 1rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  p {
    font-size: 1rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .footer {
    padding: 3rem 1rem;
  }
}


/* 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;
    }
}