/* Base Styles - mimicking Tailwind utilities */
:root {
  --primary: #34373E;
  --primary-light: rgba(52, 55, 62, 0.9);
  --secondary: #F49200;
  --secondary-light: rgba(244, 146, 0, 0.9);
  --white: #FAF9F6;
  --black: #222222;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #222222;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--neutral-800);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Custom Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.z-50 {
  z-index: 50;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.h-auto {
  height: auto;
}

.h-64 {
  height: 16rem;
}

.h-80 {
  height: 20rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-24 {
  padding-top: 6rem;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.space-x-3 {
  gap: 0.75rem;
}

.space-x-4 {
  gap: 1rem;
}

.space-x-8 {
  gap: 2rem;
}

.space-y-2 {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}

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

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

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.text-center {
  text-align: center;
}

.font-serif {
  font-family: 'Libre Baskerville', serif;
}

.font-sans {
  font-family: 'Source Sans Pro', sans-serif;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.leading-tight {
  line-height: 1.25;
}

.text-white {
  color: var(--white);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-neutral-600 {
  color: var(--neutral-600);
}

.text-neutral-700 {
  color: var(--neutral-700);
}

.bg-white {
  background-color: var(--white);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-neutral-100 {
  background-color: var(--neutral-100);
}

.bg-neutral-200 {
  background-color: var(--neutral-200);
}

.bg-neutral-300 {
  background-color: var(--neutral-300);
}

.bg-opacity-20 {
  opacity: 0.2;
}

.bg-opacity-30 {
  opacity: 0.3;
}

.bg-opacity-90 {
  opacity: 0.9;
}

.text-opacity-80 {
  opacity: 0.8;
}

.text-opacity-90 {
  opacity: 0.9;
}

.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-white {
  border-color: var(--white);
}

.border-neutral-300 {
  border-color: var(--neutral-300);
}

.border-opacity-20 {
  border-opacity: 0.2;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.overflow-hidden {
  overflow: hidden;
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.focus\:outline-none:focus {
  outline: none;
}

.focus\:ring-2:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--secondary-light);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:bg-opacity-90:hover {
  background-opacity: 0.9;
}

.hover\:bg-opacity-30:hover {
  background-opacity: 0.3;
}

.hover\:text-secondary:hover {
  color: var(--secondary);
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:underline:hover {
  text-decoration: underline;
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.object-cover {
  object-fit: cover;
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.italic {
  font-style: italic;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.max-w-3xl {
  max-width: 48rem;
}

/* Section Padding */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Custom Components Styles */
.hero-gradient {
  background: linear-gradient(rgba(52, 55, 62, 0.85), rgba(52, 55, 62, 0.85));
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Libre Baskerville', serif;
  position: absolute;
  top: -1rem;
  left: 1rem;
  font-size: 5rem;
  color: rgba(244, 146, 0, 0.2);
  z-index: 0;
}

.practice-card:hover {
  transform: translateY(-5px);
}

.mobile-menu {
  transition: transform 0.3s ease-in-out;
  transform: translateX(-100%);
}

.mobile-menu.open {
  transform: translateX(0);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 146, 0, 0.3);
}

/* Toast styles */
.toast {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
  background-color: #10b981;
  color: white;
}

.toast.error {
  background-color: #ef4444;
  color: white;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-close {
  margin-left: 1rem;
  cursor: pointer;
}

/* Responsive Grid */
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:space-y-0 {
    gap: 0;
  }
  
  .sm\:space-x-4 {
    gap: 1rem;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:w-1/2 {
    width: 50%;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:order-1 {
    order: 1;
  }
  
  .md\:order-2 {
    order: 2;
  }
  
  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .md\:pt-0 {
    padding-top: 0;
  }
  
  .md\:mb-0 {
    margin-bottom: 0;
  }
  
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:text-2xl {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
}