:root {
  --health-primary: #16a34a; /* Darker Green (Green 600) */
  --health-primary-dark: #059669; /* Darker Green (Green 700) */
  --health-text-dark: #2d3748; /* Gray 800 */
  --health-text-light: #718096; /* Gray 500 */
  --health-bg-light: #f7fafc; /* Gray 100 */
  --health-white: #ffffff;
  --font-body: 'Manrope', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Ensure consistent box model */
}

body {
  font-family: var(--font-body);
  color: var(--health-text-dark);
  background-color: var(--health-bg-light);
  transition: filter 0.3s ease-in-out;
  line-height: 1.6;
  padding-top: 0; /* No top header to account for */
}

main {
  /* Ensure default margin on main element is removed */
  display: block;
  margin-top: 0;
  padding-top: 0;
}

#main-content {
  padding-bottom: 64px; /* Height of bottom nav (h-16 = 64px) */
  margin-top: 0;
  padding-top: 0;
}

#main-content.blur {
  filter: blur(5px);
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Header & Off-Canvas Menu (Removed Header, these styles might not be needed) --- */
/* Old header styles, kept for reference if other elements rely on them indirectly */
.site-icon-wrapper {
  background-color: var(--health-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.75rem;
}

.site-icon-wrapper svg {
  stroke: none;
  fill: var(--health-white);
}

.form-input,
.form-select,
.form-textarea {
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: #d1d5db;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box; /* Added to prevent overflow */
  min-width: 0; /* Allow element to shrink in flex/grid containers */
}

/* Aggressive reset for date and time inputs to prevent overflow */
.form-input[type='date'],
.form-input[type='time'] {
  -webkit-appearance: none; /* Remove default browser styling */
  -moz-appearance: none;
  appearance: none;
  /* Ensure no internal padding/border pushing it out - inherit from .form-input first */
  /* padding: 0.75rem 1rem; */
  /* box-sizing: border-box; */
  width: 100%; /* Explicitly set width to 100% */
  overflow: hidden; /* Hide any internal overflow */
  white-space: nowrap; /* Prevent internal text wrapping that could expand width */
  text-overflow: ellipsis; /* Truncate if still overflowing internally */
}

.form-input[type='time']::-webkit-calendar-picker-indicator,
.form-input[type='date']::-webkit-calendar-picker-indicator {
  background: none;
  display: none;
  -webkit-appearance: none;
}
.form-select {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: block; /* Ensure it behaves as a block element */
  appearance: none; /* Remove default browser styling */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234b5563'%3e%3cpath d='M7 7l3-3 3 3m0 6l-3 3-3-3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem; /* Add padding for the custom arrow */
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  --tw-ring-color: var(--health-primary);
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width)
    var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width))
    var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  border-color: var(--health-primary);
  outline: none;
}

/* --- Hero Section --- */
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section h2,
.hero-section p {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.font-playfair-display {
  font-family: var(--font-heading);
}

.gradient-button {
  background-image: linear-gradient(to right, var(--health-primary), var(--health-primary-dark));
  color: var(--health-white);
  padding: 1.2rem 3rem;
  border-radius: 9999px; /* Pill shape */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3); /* Updated from teal to green */
}

.gradient-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4); /* Updated from teal to green */
}

.btn-primary {
  background-image: linear-gradient(to right, var(--health-primary), var(--health-primary-dark));
  color: var(--health-white);
  padding: 0.75rem 1.5rem; /* Adjusted padding */
  border-radius: 9999px; /* Pill shape */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px; /* Slightly reduced letter spacing */
  transition: all 0.3s ease;
  display: inline-flex; /* Use inline-flex for better icon alignment */
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
  border: none; /* Ensure no default button border */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
  cursor: pointer;
}

.btn-secondary {
  background-color: transparent;
  color: var(--health-primary); /* Green text */
  border: 2px solid var(--health-primary); /* Green outline */
  padding: 0.75rem 1.5rem; /* Adjusted padding */
  border-radius: 9999px; /* Pill shape */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex; /* Use inline-flex for better icon alignment */
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--health-primary); /* Solid green background on hover */
  color: var(--health-white); /* White text on hover */
  box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
  transform: translateY(-2px);
  cursor: pointer;
}

/* Small Button */
.btn-sm {
  padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
  font-size: 0.875rem; /* text-sm */
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Info Button */
.btn-info {
  background-image: linear-gradient(to right, #3b82f6, #2563eb); /* Blue tones */
  color: var(--health-white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
  border: none;
}
.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  cursor: pointer;
}

/* Warning Button */
.btn-warning {
  background-image: linear-gradient(to right, #f59e0b, #d97706); /* Orange tones */
  color: var(--health-white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
  border: none;
}
.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
  cursor: pointer;
}

/* Danger Button */
.btn-danger {
  background-image: linear-gradient(to right, #ef4444, #dc2626); /* Red tones */
  color: var(--health-white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
  border: none;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  cursor: pointer;
}

.scroll-mt {
  scroll-margin-top: 80px;
}

/* --- Sections General --- */
section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

@media (max-width: 767px) {
  /* Small screens / Mobile devices */
  section {
    padding-top: 3rem; /* Reduce padding for mobile */
    padding-bottom: 3rem; /* Reduce padding for mobile */
  }
  section h2 {
    font-size: 2rem; /* Reduce font size for mobile */
  }
  .hero-section {
    min-height: 400px; /* Adjust hero height for mobile */
  }
  .hero-section h2 {
    font-size: 3rem; /* Adjust hero title font size for mobile */
  }
  .hero-section p {
    font-size: 1rem; /* Adjust hero paragraph font size for mobile */
  }
}

/* --- Services Section (Now Unified Card Style) --- */
.service-card {
  background-color: var(--health-white);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  margin: 0 auto 1.5rem auto;
  background-color: #dcfce7; /* Changed from Teal 50 to Green 50 */
  color: var(--health-primary-dark); /* Remains Green 700 */
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* --- Image Overlay Section --- */
.why-stratea-image-overlay {
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  color: var(--health-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.why-stratea-image-overlay h2,
.why-stratea-image-overlay p {
  color: var(--health-white);
}

/* --- Contact Form --- */
.contact-form {
  background-color: var(--health-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-group {
  margin-bottom: 1.75rem;
}
.contact-form .form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--health-text-dark);
}
.contact-form .form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.contact-form .form-input:focus {
  outline: none;
  border-color: var(--health-primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* --- Footer --- */
footer {
  background-color: var(--health-white);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid #e5e7eb;
}

footer p,
footer a {
  color: var(--health-text-light);
}

footer a:hover {
  color: var(--health-primary);
}

html, body {
  overflow-y: auto !important;
}
