
/* Base styles */
:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  --radius: 0.5rem;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: #f9fafb;
  color: #1f2937;
}

/* Provider detail hero section layout */
.provider-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.provider-info-section {
  width: 100%;
}

.provider-contact-section {
  width: 100%;
}

@media (min-width: 1024px) {
  .provider-hero-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Contact Page Styles */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background-color: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #1e40af;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.contact-submit-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #dbeafe;
  border-radius: 0.5rem;
  color: #1e40af;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.contact-info-value a {
  color: #1e40af;
  transition: color 0.2s ease;
}

.contact-info-value a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.opening-hours {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.opening-hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.opening-hours-item:last-child {
  border-bottom: none;
}

.opening-hours-day {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

.opening-hours-time {
  font-size: 0.875rem;
  color: #1e40af;
  font-weight: 500;
}

.opening-hours-time.closed {
  color: #ef4444;
}

.quick-contact {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
}

.quick-contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.quick-contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.quick-contact-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quick-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Magazine specific styles */
.magazine-header {
  margin-bottom: 3rem;
  text-align: center;
}

.magazine-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1rem;
}

.magazine-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Article cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1), 0 4px 6px 0 rgba(0, 0, 0, 0.05);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: #1e40af;
}

.article-excerpt {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-categories {
  margin-bottom: 1rem;
}

.category-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
}

.article-author {
  font-weight: 500;
  color: #4b5563;
}

.article-date {
  color: #9ca3af;
}

/* Sidebar */
.magazine-sidebar {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.sidebar-header {
  background-color: #1e40af;
  color: white;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.sidebar-content {
  padding: 1.5rem;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.category-item:last-child {
  border-bottom: none;
}

.category-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s ease;
}

.category-link:hover {
  color: #1e40af;
}

.category-count {
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
}

.page-item {
  display: flex;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  min-width: 2.5rem;
  height: 2.5rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #374151;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-link:hover {
  background-color: #f9fafb;
  border-color: #1e40af;
  color: #1e40af;
}

.page-item.active .page-link {
  background-color: #1e40af;
  border-color: #1e40af;
  color: white;
}

/* Article detail page */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-detail-meta {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.article-featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.article-detail-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

.article-detail-content p {
  margin-bottom: 1.5rem;
}

.article-detail-content h2,
.article-detail-content h3,
.article-detail-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* Author bio */
.author-bio {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  margin-top: 3rem;
}

.author-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2rem;
}

.author-details h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.author-details p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.author-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background-color: #f9fafb;
  color: #1e40af;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.author-link:hover {
  background-color: #1e40af;
  color: white;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: #d1d5db;
}

.breadcrumb-item a {
  color: #1e40af;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #1d4ed8;
}

.breadcrumb-item.active {
  color: #374151;
  font-weight: 500;
}

/* ... keep existing code (utility classes and other styles) */

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

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

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

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

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

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

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

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

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

.mt-12 {
  margin-top: 3rem;
}

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

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

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

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

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

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

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

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.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-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.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-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

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

.pt-0 {
  padding-top: 0;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

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

.text-xs {
  font-size: 0.75rem;
}

.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;
}

.font-medium {
  font-weight: 500;
}

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

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

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

.leading-none {
  line-height: 1;
}

/* Colors */
.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-900 {
  background-color: #111827;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-primary {
  background-color: #1e40af;
}

.bg-primary-light\/10 {
  background-color: rgba(59, 130, 246, 0.1);
}

.text-white {
  color: #ffffff;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.text-primary {
  color: #1e40af;
}

.text-primary-light {
  color: #3b82f6;
}

.text-white\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.border {
  border-width: 1px;
}

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

.border-b {
  border-bottom-width: 1px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-700 {
  border-color: #374151;
}

.border-primary {
  border-color: #1e40af;
}

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

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

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

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Specific component styles */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 1rem !important;
  font-weight: 500 !important;
  transition-property: background-color, border-color, color !important;
  transition-duration: 150ms !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary {
  background-color: #1e40af;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: rgba(30, 64, 175, 0.9);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #e5e7eb !important;
}

.btn-outline:hover {
  background-color: #f3f4f6;
}

.btn-ghost {
  background-color: transparent;
}

.btn-ghost:hover {
  background-color: #f3f4f6;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary {
  --tw-gradient-stops: #1e40af, var(--tw-gradient-to, rgba(30, 64, 175, 0));
}

.to-primary-light {
  --tw-gradient-to: #3b82f6;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #dbeafe;
  color: #1e40af;
}

.price-tag {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f97316;
}

.form-select {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 200px;
  max-width: 300px;
}

.select-input {
  display: block;
  width: 100%;
  min-width: 200px;
  max-width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #374151;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5em 1.5em;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

select option {
  padding: 8px;
  white-space: normal;
}

.hidden {
  display: none;
}

.flex-grow {
  flex-grow: 1;
}

.overflow-hidden {
  overflow: hidden;
}

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

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

.hover\:bg-white\/90:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.hover\:bg-primary\/90:hover {
  background-color: rgba(30, 64, 175, 0.9);
}

.hover\:bg-primary-light\/10:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

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

.hover\:text-white:hover {
  color: #ffffff;
}

.hover\:text-primary:hover {
  color: #1e40af;
}

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

/* Grid */
.grid {
  display: grid;
}

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

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:items-center {
    align-items: center;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .magazine-title {
    font-size: 3rem;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-title {
    font-size: 3rem;
  }

  .quick-contact-buttons {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-select {
    min-width: 250px;
  }
  
  .md\:text-3xl {
    font-size: 1.875rem;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .contact-info-grid {
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
  }
  
  .form-select {
    min-width: 300px;
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .magazine-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Address cards container */
.address-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Add radio button styles */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-option input[type="radio"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid #1e40af;
  border-radius: 50%;
  outline: none;
  margin: 0;
}

.radio-option input[type="radio"]:checked {
  background-color: #1e40af;
  box-shadow: inset 0 0 0 2px white;
}

.radio-option label {
  font-size: 0.875rem;
  cursor: pointer;
}

/* Add tab styles */
.tabs {
  margin-bottom: 1.5rem;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 500px;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-trigger.active {
  background-color: #1e40af;
  color: white;
}

/* Homepage tiles - collision‑free, modern */
.tiles-section { padding-top: 1rem; }
.tiles-section .tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .tiles-section .tiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tiles-section .tile-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1.75rem;
  box-shadow: 0 8px 24px rgba(17,24,39,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(6px);
  display: block;
}
.tiles-section .tile-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6, #22d3ee);
}
.tiles-section .tile-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17,24,39,0.18); border-color: #bfdbfe; }

.tiles-section .tile-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 150px; }
.tiles-section .tile-text { max-width: 70%; }
.tiles-section .tile-label { color: #94a3b8; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.tiles-section .tile-title { color: #0f172a; font-weight: 800; font-size: 1.375rem; line-height: 1.2; }
@media (min-width: 1024px) { .tiles-section .tile-title { font-size: 1.5rem; } }
.tiles-section .tile-subtitle { color: #64748b; max-width: 30ch; }
.tiles-section .tile-icon { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; background: radial-gradient(120% 120% at 30% 20%, #dbeafe 0%, #bfdbfe 40%, #93c5fd 100%); color: #1e40af; border: 1px solid #bfdbfe; box-shadow: 0 10px 24px rgba(59,130,246,.35), inset 0 1px 0 rgba(255,255,255,.7); transition: transform .2s ease, box-shadow .2s ease; flex-shrink: 0; }
.tiles-section .tile-card:hover .tile-icon { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 34px rgba(59,130,246,.4); }

  grid-template-columns: 1fr;
  gap: 1rem;
}
.address-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.address-item .address-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.2fr 1.4fr 1.2fr auto;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 1024px) {
  .address-item .address-content { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
}
@media (max-width: 640px) {
  .address-item .address-content { grid-template-columns: 1fr; }
}

.field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.field-value { font-weight: 500; color: #374151; }
.field-value-primary { font-weight: 700; color: #1e40af; }
.field-subtitle { color: #6b7280; font-size: 0.875rem; }
.price-value { font-size: 1.125rem; font-weight: 700; color: #111827; }

.service-icons { display: flex; gap: 0.375rem; align-items: center; color: #1e40af; }

.address-actions { display: flex; gap: 0.5rem; justify-content: flex-end; }
.address-actions .btn-primary, .address-actions .btn-secondary {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.address-actions .btn-secondary {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1e40af;
}
.address-actions .btn-secondary:hover { background: #f9fafb; }

/* Hero polish (optional, matches design) */
.hero-section {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 3rem 0;
}
.hero-title { font-weight: 800; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.hero-features { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; color: rgba(255,255,255,0.9); margin-top: 1rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; }
