:root {
  --primary-color: #2C7A7B;
  --secondary-color: #38B2AC;
  --background-color: #FFFFFF;
  --footer-bg-color: #2D3748;
  --button-color: #2C7A7B;
  --section-bg-1: #F7FAFC;
  --section-bg-2: #FFFFFF;
  --section-bg-3: #EDF2F7;
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --text-light: #A0AEC0;
  --border-light: #E2E8F0;
  --shadow-soft: 0 10px 30px -10px rgba(44, 122, 123, 0.2);
  --shadow-medium: 0 15px 35px -10px rgba(44, 122, 123, 0.25);
  --shadow-strong: 0 25px 50px -15px rgba(44, 122, 123, 0.3);
  --border-radius-sm: 16px;
  --border-radius-md: 20px;
  --border-radius-lg: 24px;
  --gradient-primary: linear-gradient(135deg, #2C7A7B 0%, #38B2AC 100%);
  --gradient-soft: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
  --transition-soft: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Typography with round, friendly feel */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Custom Button Styles - Organic & Soft */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: var(--transition-soft);
  position: relative;
  overflow: hidden;
  min-height: 52px;
  text-align: center;
}

.btn::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.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #234E4F 0%, #2C9B98 100%);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--border-light);
}

.btn-ghost:hover {
  background: var(--section-bg-1);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* Card Components - Organic Shapes */
.card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: var(--transition-soft);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.card-alt {
  background: var(--gradient-soft);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
}

.card-alt::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(56, 178, 172, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Section Backgrounds - Organic & Soft */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--section-bg-1);
}

.section:nth-child(3n) {
  background: var(--section-bg-3);
}

.section-white {
  background: var(--section-bg-2);
}

.section-gradient {
  background: var(--gradient-soft);
  position: relative;
}

.section-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Hero Section - Premium & Immersive */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(56, 178, 172, 0.1) 0%, transparent 50%);
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(2deg); }
}

.hero-content {
  color: white;
  z-index: 2;
  position: relative;
}

.hero h1 {
  -webkit-text-fill-color: white;
  background: none;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Navigation - Clean & Organic */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-soft);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-soft);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--section-bg-1);
}

.nav-link.active {
  color: var(--primary-color);
  background: var(--section-bg-1);
}

/* Footer - Professional & Dark */
.footer {
  background: var(--footer-bg-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
}

.footer h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-soft);
}

.footer a:hover {
  color: var(--secondary-color);
}

/* Form Elements - Soft & Friendly */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  transition: var(--transition-soft);
  background: white;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Container Override for Full Width */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .container {
    max-width: 100% !important;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 100% !important;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Grid and Layout Utilities */
.grid-organic {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex-organic {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.flex-organic > * {
  flex: 1;
  min-width: 250px;
}

/* Typography Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-soft {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Interactive Elements */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--section-bg-1);
  color: var(--primary-color);
  border-radius: var(--border-radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--primary-color);
}

.badge-soft {
  background: var(--section-bg-1);
  color: var(--text-secondary);
  border-color: var(--border-light);
}

/* Animations and Micro-interactions */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.animate-pulse {
  animation: pulse-soft 2s infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Accessibility and Focus States */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.2);
}

/* Loading and Skeleton States */
.skeleton {
  background: linear-gradient(90deg, var(--section-bg-1) 25%, var(--section-bg-3) 50%, var(--section-bg-1) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Alpine.js Integration States */
[x-cloak] {
  display: none !important;
}

[x-show].fade-enter,
[x-if].fade-enter {
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-soft);
}

[x-show].fade-enter-active,
[x-if].fade-enter-active {
  opacity: 1;
  transform: translateY(0);
}

[x-show].fade-leave,
[x-if].fade-leave {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-soft);
}

[x-show].fade-leave-active,
[x-if].fade-leave-active {
  opacity: 0;
  transform: translateY(-10px);
}

/* Image and Media */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
}

.video-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--section-bg-1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Utility Classes */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-strong { box-shadow: var(--shadow-strong); }

.border-radius-sm { border-radius: var(--border-radius-sm); }
.border-radius-md { border-radius: var(--border-radius-md); }
.border-radius-lg { border-radius: var(--border-radius-lg); }

.backdrop-blur {
  backdrop-filter: blur(10px);
}

.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-soft {
  background: var(--gradient-soft);
}


/* 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;
    }
}