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

:root {
  --green: #7cb342;
  --green-dark: #558b2f;
  --green-light: #aed581;
  --beige-lightest: #f7f3ef;
  --beige-light: #f0e9e0;
  --beige: #e8dfd3;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-600: #718096;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--beige-lightest);
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gray-800);
  font-size: 1.25rem;
  font-weight: 300;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.highlight {
  color: var(--green);
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--green);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--green);
  color: white;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-secondary:hover {
  background: var(--beige-light);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--beige-light), var(--beige));
  padding: 5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about-intro {
  padding: 5rem 0;
  background: white;
}

.about-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--beige-light);
  border-radius: 1rem;
  border: 1px solid var(--beige);
}

.about-card p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--beige-lightest);
}

.services h2,
.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--beige);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-content .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: white;
  border: 1px solid var(--beige);
  border-radius: 1rem;
  padding: 2rem;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-700);
}

.price-item span:last-child {
  font-weight: 600;
  color: var(--gray-800);
}

.price-item small {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 400;
}

.pricing-note {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.addon-price {
  text-align: center;
  margin: 2rem 0;
}

.large-price {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--green);
}

.price-note {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.insurance-card {
  background: var(--beige-lightest);
  border: 1px solid var(--beige);
  border-radius: 1rem;
  padding: 2rem;
}

.insurance-card h3 {
  font-size: 1.5rem;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.insurance-highlight {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.insurance-details p {
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: var(--beige-light);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 2rem;
}

.cta p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--gray-600);
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.rmt-badge {
  margin-top: 2rem;
}

.rmt-badge img {
  max-width: 200px;
  height: auto;
}

/* Footer */
footer {
  background: #1a202c;
  color: #e2e8f0;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e0;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--green-light);
}

.footer-contact p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.875rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  margin: 2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--beige);
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--gray-800);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-600);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
  color: var(--gray-700);
  line-height: 1.8;
  white-space: pre-line;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - 60px);
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .cta-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Additional styles for new pages */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--beige-light), var(--beige));
  padding: 4rem 0;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  color: var(--gray-600);
  border: 1px solid var(--beige);
  border-radius: 2rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-section.bg-alt {
  background: var(--beige-lightest);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 3rem;
}

.centered-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.centered-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.large-text {
  font-size: 1.25rem;
  color: var(--gray-700);
}

/* Two Column Grid */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-col-grid.reverse {
  direction: rtl;
}

.two-col-grid.reverse > * {
  direction: ltr;
}

/* Three Column Grid */
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Content Text & Images */
.content-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-text h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.content-text p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
  text-align: center;
  margin-top: 0.75rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* Info Cards */
.info-card {
  background: white;
  border: 1px solid var(--beige);
  border-radius: 1rem;
  padding: 2rem;
}

.info-card.large {
  padding: 2.5rem;
}

.info-card.highlight-card {
  background: var(--beige-lightest);
}

.info-card h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card .emphasis {
  font-weight: 500;
  color: var(--gray-800);
}

.info-card .italic {
  font-style: italic;
}

/* Icon Header */
.icon-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.large-icon {
  font-size: 2rem;
}

/* Timeline */
.timeline p {
  padding-left: 1rem;
  border-left: 3px solid var(--green);
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* Education Grid */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.education-card {
  background: white;
  border: 1px solid var(--beige);
  border-radius: 1rem;
  padding: 2rem;
}

.education-card h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.education-list p {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Lists */
.bullet-list,
.check-list {
  list-style: none;
  padding: 0;
}

.bullet-list li,
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
}

.bullet-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Numbered Cards */
.numbered-card {
  background: white;
  border: 1px solid var(--beige);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.numbered-card .number {
  width: 48px;
  height: 48px;
  background: var(--gray-800);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.numbered-card h3 {
  font-size: 1.125rem;
  color: var(--gray-800);
  margin-bottom: 0.75rem;
}

.numbered-card p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* Contact Page Specific */
.clinic-images {
  padding: 3rem 0;
  background: white;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.image-card {
  position: relative;
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 1rem;
}

.contact-section {
  padding: 4rem 0;
  background: var(--beige-lightest);
}

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

/* Email Card */
.email-card {
  background: white;
  border: 2px solid var(--green);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.icon-header-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.icon-header-large .large-icon {
  font-size: 4rem;
}

.icon-header-large h2 {
  font-size: 2rem;
  font-weight: 300;
  color: var(--gray-800);
  margin: 0;
}

.email-description {
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 500px;
}

.email-link {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  padding: 1rem 2rem;
  background: var(--beige-lightest);
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.email-link:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

/* Contact Info Cards */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item .icon {
  font-size: 1.25rem;
}

.contact-item .item-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray-700);
  line-height: 1.6;
}

.contact-item .small {
  font-size: 0.875rem;
}

.info-card.emergency {
  background: var(--beige-lightest);
}

.phone-link,
.email-link-small {
  color: var(--green);
  text-decoration: none;
  transition: color 0.3s;
}

.phone-link:hover,
.email-link-small:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Hours List */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-700);
}

.hours-item span:first-child {
  font-weight: 500;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .page-hero {
    padding: 3rem 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .two-col-grid,
  .contact-grid-simple,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .three-col-grid {
    grid-template-columns: 1fr;
  }

  .two-col-list {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .email-card {
    padding: 2rem;
  }

  .email-link {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .education-grid {
    grid-template-columns: 1fr;
  }

  .icon-header-large .large-icon {
    font-size: 3rem;
  }

  .icon-header-large h2 {
    font-size: 1.5rem;
  }

  .email-link {
    font-size: 1rem;
    word-break: break-all;
  }
}
