@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary-red: #C00C22;
  --primary-red-hover: #E02C42;
  --primary-red-active: #A00B1A;
  --dark-grey: #4A4A4A;
  --light-grey: #A0A0A0;
  --off-white: #F7F7F7;
  --accent-blue: #3D8BBA;
  --white: #FFFFFF;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --header-height-desktop: 80px;
  --header-height-tablet: 70px;
  --header-height-mobile: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-grey);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-desktop);
  background: var(--white);
  z-index: 1000;
  transition: all var(--transition-medium);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header.shrink {
  height: 64px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 48px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: all var(--transition-medium);
}

.header.shrink .logo-img {
  height: 50px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-grey);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-red);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dark-grey);
  transition: color var(--transition-fast);
}

.phone-link:hover {
  color: var(--primary-red);
}

.phone-icon {
  width: 18px;
  height: 18px;
  fill: var(--primary-red);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--primary-red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 12, 34, 0.3);
}

.btn-primary:active {
  background: var(--primary-red-active);
  transform: scale(0.98);
}

.btn-primary:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--primary-red);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--primary-red);
  color: var(--white);
}

.btn-secondary:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-grey);
  transition: all var(--transition-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: right var(--transition-medium);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--dark-grey);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 32px;
  padding: 80px 20px;
}

.mobile-menu .nav-link {
  font-size: 24px;
}

.mobile-menu .btn-primary {
  margin-top: 20px;
  width: 100%;
  max-width: 280px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height-desktop);
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #2d5a7e 50%, var(--dark-grey) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  font-size: 16px;
  padding: 16px 40px;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark-grey);
  color: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-white {
  background: var(--white);
}

.section-title {
  font-size: 2.25rem;
  color: var(--dark-grey);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--light-grey);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Problem/Solution Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.problem-side, .solution-side {
  padding: 40px;
}

.problem-side {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
}

.solution-side {
  background: linear-gradient(135deg, var(--white), #f0f7fb);
}

.problem-side h3, .solution-side h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.problem-side p, .solution-side p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.approach-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.approach-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-blue), #5ba3d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.approach-card h4 {
  margin-bottom: 12px;
  color: var(--dark-grey);
}

.approach-card p {
  color: var(--light-grey);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-color: var(--primary-red);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-red);
}

.service-card h4 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--light-grey);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  background: var(--off-white);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark-grey);
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-red);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-grey);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--primary-red);
  transform: scale(1.2);
}

/* Why Choose AMR */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.why-choose-card {
  padding: 24px;
  border-left: 3px solid var(--primary-red);
  background: var(--white);
}

.why-choose-card h4 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-choose-card svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-blue);
  flex-shrink: 0;
}

.why-choose-card p {
  color: var(--light-grey);
  font-size: 0.95rem;
}

/* Knowledge Cards */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.knowledge-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
}

.knowledge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.knowledge-card-content {
  padding: 24px;
}

.knowledge-card h4 {
  margin-bottom: 12px;
}

.knowledge-card p {
  color: var(--light-grey);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.knowledge-link {
  color: var(--primary-red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.knowledge-link:hover {
  text-decoration: underline;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary-red);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary-red);
}

.cta-banner .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* Locations Short */
.locations-short {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-item {
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all var(--transition-fast);
}

.location-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.location-item h4 {
  color: var(--primary-red);
  margin-bottom: 8px;
}

.location-item p {
  color: var(--light-grey);
  font-size: 0.9rem;
}

.map-container {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-grey);
}

/* Footer */
.footer {
  background: var(--dark-grey);
  color: var(--light-grey);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary-red);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--light-grey);
}

.social-link:hover svg {
  fill: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--primary-red);
}

/* Page Hero (for internal pages) */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height-desktop);
  background: linear-gradient(135deg, var(--accent-blue), #2d5a7e);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* About Page Styles */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-content h3 {
  margin-bottom: 20px;
}

.story-content p {
  color: var(--light-grey);
  line-height: 1.8;
}

.story-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.story-image img {
  width: 100%;
  height: auto;
}

/* Mission Values */
.mission-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mission-statement p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark-grey);
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-red), #e8455a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.value-card h4 {
  margin-bottom: 8px;
}

.value-card p {
  color: var(--light-grey);
  font-size: 0.9rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.team-card:hover .team-bio {
  opacity: 1;
  transform: translateY(0);
}

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--transition-fast);
}

.team-card:hover .team-image img {
  filter: grayscale(30%);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h4 {
  margin-bottom: 4px;
}

.team-info p {
  color: var(--primary-red);
  font-size: 0.9rem;
}

.team-bio {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(192,12,34,0.95), rgba(192,12,34,0.8));
  color: var(--white);
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-red);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--light-grey);
  font-size: 1rem;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.testimonial-full-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-full-card .testimonial-quote {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-full-card .testimonial-author {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
}

.testimonial-condition {
  color: var(--light-grey);
  font-size: 0.85rem;
}

/* Services Page */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.condition-card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #eee;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.condition-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.condition-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.condition-icon svg {
  width: 100%;
  height: 100%;
}

.condition-card h4 {
  margin-bottom: 8px;
}

.condition-card p {
  color: var(--light-grey);
  font-size: 0.9rem;
}

/* Therapy Modality Rows */
.therapy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.therapy-row:nth-child(even) .therapy-image {
  order: 2;
}

.therapy-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.therapy-image img {
  width: 100%;
  height: auto;
}

.therapy-content h3 {
  margin-bottom: 16px;
}

.therapy-content p {
  color: var(--light-grey);
  line-height: 1.7;
}

/* Patient Education */
.education-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.education-point {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.education-point svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-blue);
  flex-shrink: 0;
}

.education-point h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.education-point p {
  font-size: 0.9rem;
  color: var(--light-grey);
}

/* Knowledge Base Page */
.search-section {
  margin-bottom: 48px;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 16px 24px 16px 56px;
  border: 2px solid #eee;
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.search-bar svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: var(--light-grey);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.category-card svg {
  width: 40px;
  height: 40px;
  fill: var(--accent-blue);
  margin-bottom: 12px;
}

.category-card h4 {
  font-size: 0.95rem;
}

/* Article Cards */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.article-image {
  height: 200px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.article-content {
  padding: 24px;
}

.article-content h4 {
  margin-bottom: 12px;
}

.article-content p {
  color: var(--light-grey);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--accent-blue);
}

/* Locations Page */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 48px;
}

.location-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all var(--transition-medium);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.location-image {
  height: 200px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.location-details {
  padding: 24px;
}

.location-details h3 {
  margin-bottom: 16px;
  color: var(--primary-red);
}

.location-address {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 16px;
}

.location-address svg {
  width: 20px;
  height: 20px;
  fill: var(--light-grey);
  flex-shrink: 0;
}

.location-address p {
  color: var(--light-grey);
  font-size: 0.95rem;
}

.location-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.location-phone svg {
  width: 20px;
  height: 20px;
  fill: var(--light-grey);
}

.location-phone a {
  color: var(--accent-blue);
  font-weight: 600;
}

.location-hours {
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.location-hours p {
  font-size: 0.9rem;
  color: var(--light-grey);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.contact-form-container h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-blue), #5ba3d4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.contact-card h4 {
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--light-grey);
  font-size: 0.95rem;
}

.contact-card a {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Emergency Note */
.emergency-note {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
}

.emergency-note svg {
  width: 24px;
  height: 24;
  fill: #856404;
  flex-shrink: 0;
}

.emergency-note h4 {
  color: #856404;
  margin-bottom: 4px;
}

.emergency-note p {
  color: #856404;
  font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-section {
  margin-top: 60px;
}

.faq-section h3 {
  margin-bottom: 32px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-grey);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--light-grey);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--light-grey);
  line-height: 1.7;
}

/* Contact Map */
.contact-map {
  margin-top: 60px;
}

.contact-map h3 {
  margin-bottom: 24px;
}

.map-container-large {
  height: 450px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  border-radius: 16px;
  overflow: hidden;
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Button pulse animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.active {
  display: block;
}

.form-success svg {
  width: 80px;
  height: 80px;
  fill: var(--accent-blue);
  margin-bottom: 20px;
}

.form-success h3 {
  color: var(--dark-grey);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--light-grey);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* Responsive Styles - Tablet */
@media (max-width: 1023px) {
  :root {
    --header-height-desktop: var(--header-height-tablet);
  }
  
  .header-inner {
    padding: 0 24px;
  }
  
  .nav, .header-actions {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .problem-solution {
    grid-template-columns: 1fr;
  }
  
  .locations-short {
    grid-template-columns: 1fr;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .therapy-row {
    grid-template-columns: 1fr;
  }
  
  .therapy-row:nth-child(even) .therapy-image {
    order: 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Styles - Mobile */
@media (max-width: 767px) {
  :root {
    --header-height-desktop: var(--header-height-mobile);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .hero, .page-hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
  
  .services-grid,
  .approach-grid,
  .knowledge-grid,
  .team-grid,
  .values-grid,
  .conditions-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .mission-statement p {
    font-size: 1rem;
  }
  
  .team-bio {
    display: none;
  }
  
  .team-card .team-bio {
    display: block;
    position: static;
    opacity: 1;
    transform: none;
    background: var(--primary-red);
    color: var(--white);
  }
}
