/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 1.5rem;
}

/* Header */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 1.25rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.nav a {
  color: #4b5563;
}

.nav a:hover {
  color: #1f2937;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem;
  color: #1f2937;
  z-index: 1;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/bg-hero.png"); /* Default background */
/* background-size: cover;
  background-position: center; */
/* opacity: 1; */
/* z-index: -1; */
/* }  */

/* Page-specific hero backgrounds */
.page-home .hero::before {
  background-image: url("assets/bg-hero.png");
  opacity: 0.58;
}

.page-services .hero::before {
  background-image: url("assets/services.png");
  opacity: 0.6;
}

.page-about .hero::before {
  background-image: url("assets/about.png");
  opacity: 0.4;
}

.page-contact .hero::before {
  background-image: url("assets/contact.png");
  opacity: 0.5;
}

/* Page-specific hero text colors and styling */
.page-home .hero h1 {
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.page-services .hero {
  color: #1f2937;
}

.page-services .hero h1 {
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.page-about .hero {
  color: #1f2937;
}

.page-about .hero h1 {
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.page-contact .hero {
  color: #1f2937;
}

.page-contact .hero h1 {
  color: #1f2937;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* Alternative: Different hero heights for different pages */
.page-services .hero {
  min-height: 100vh; /* Same as home page */
}

.page-about .hero {
  min-height: 100vh; /* Medium hero for about page */
}

.page-contact .hero {
  min-height: 100vh; /* Smaller hero for contact page */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  background-color: #93c5fd;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #3b82f6;
  padding: 0.875rem 2rem;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #374151;
  padding: 0.875rem 2rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background-color: #374151;
  color: white;
  border-color: #374151;
  transform: translateY(-2px);
}

/* Content */
.content {
  padding: 3rem 1.5rem;
  background-color: #f9fafb;
}

.content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.content ul {
  list-style: none;
  padding-left: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

/* Features Section */
.features {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
  padding: 4rem 1.5rem;
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
}

.benefit-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.benefit-item p {
  color: #6b7280;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background-color: white;
  color: #667eea;
}

.cta-section .btn-primary:hover {
  background-color: #f3f4f6;
  transform: translateY(-2px);
}

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-outline:hover {
  background-color: white;
  color: #667eea;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Contact Page Styles */
.contact-info {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-link {
  display: block;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #2563eb;
}

.contact-link.emergency {
  color: #ef4444;
  font-size: 1.125rem;
}

.contact-link.emergency:hover {
  color: #dc2626;
}

.hours-info {
  text-align: left;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}

.hour-item:last-child {
  border-bottom: none;
}

.emergency-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Location Section */
.location-section {
  padding: 4rem 1.5rem;
  background-color: white;
}

.location-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-details h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.clinic-address {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-style: normal;
  line-height: 1.6;
}

.clinic-address strong {
  color: #1f2937;
  display: block;
  margin-bottom: 0.5rem;
}

.location-features h4 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.location-features ul {
  list-style: none;
  padding: 0;
}

.location-features li {
  color: #374151;
  margin-bottom: 0.5rem;
}

.direction-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Appointment Section */
.appointment-section {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
}

.appointment-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.appointment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.appointment-steps {
  margin-top: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  background-color: #3b82f6;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #6b7280;
  line-height: 1.6;
}

.appointment-cta {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.appointment-cta h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.appointment-cta p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.appointment-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 1.5rem;
  background-color: white;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.faq-item h4 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.faq-item p {
  color: #6b7280;
  line-height: 1.6;
}

/* ------------------- */
/* Responsive Queries  */
/* ------------------- */

@media (min-width: 600px) {
  .nav {
    margin-top: 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .content h2 {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .nav {
    margin-top: 0;
    justify-content: flex-end;
  }

  .hero {
    padding: 6rem 1.5rem;
  }

  .btn {
    font-size: 1rem;
  }
}

/* Hamburger Icon */
.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  display: none; /* Hidden by default */
}

/* Mobile nav hidden by default */
.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  display: none;
}

/* Show hamburger and toggle nav on small screens */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav.nav-visible {
    display: flex;
    margin-top: 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Desktop nav remains visible */
@media (min-width: 769px) {
  .nav {
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0;
  }
}

.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem;
  color: #1f2937;
  z-index: 1;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/bg-hero.png"); /* Or your image URL */
  background-size: cover;
  background-position: top;
  opacity: 0.38; /* Adjust this for more/less transparency */
  z-index: -1;
}

.carousel-section {
  background: #f9fafb;
  padding: 3rem 1.5rem;
  text-align: center;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  transition: opacity 0.5s ease-in-out;
  position: relative;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.caption {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #4b5563;
}

.carousel-controls {
  margin-top: 1.5rem;
}

.carousel-controls button {
  background-color: #e5e7eb;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  color: #1f2937;
}

.carousel-controls button:hover {
  background-color: #d1d5db;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.contact-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}
.card h3 {
  margin-top: 0.5rem;
}
.card a {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #0070f3;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.map-container {
  position: relative;
  padding-bottom: 56%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.emails {
  list-style: none;
  padding: 0;
}
.emails li {
  margin-bottom: 0.5rem;
}
.faq dt {
  font-weight: bold;
  margin-top: 1rem;
}
.faq dd {
  margin: 0 0 1rem 0;
}

/* Clinic Info Section */
.clinic-info {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  border-left: 4px solid #93c5fd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.clinic-info h2 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.clinic-info p {
  margin-bottom: 0.5rem;
}

.clinic-info strong {
  color: #374151;
}

/* About page specific styles */
.about-section {
  margin-bottom: 2rem;
}

.about-section:last-child {
  margin-bottom: 0;
}

/* Enhanced styles for refactored index page */
.btn-primary {
  background-color: #3b82f6;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #3b82f6;
  padding: 0.875rem 2rem;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #374151;
  padding: 0.875rem 2rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background-color: #374151;
  color: white;
  border-color: #374151;
  transform: translateY(-2px);
}

/* Section Headings */
.features h2,
.why-choose h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* Services Page Styles */
.services-showcase {
  padding: 4rem 1.5rem;
  background-color: #f8fafc;
}

.services-showcase h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.services-carousel {
  max-width: 1000px;
  margin: 0 auto;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.service-details h3 {
  color: #1f2937;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-details p {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.nav-btn {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background-color: #2563eb;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #3b82f6;
}

.indicator:hover {
  background-color: #9ca3af;
}

/* Additional Services Section */
.additional-services {
  padding: 4rem 1.5rem;
  background-color: white;
}

.additional-services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #1f2937;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-item h3 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-item p {
  color: #6b7280;
  line-height: 1.6;
}

/* Appointment CTA Section */
.appointment-cta {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-align: center;
}

.appointment-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.appointment-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.appointment-cta .btn-primary {
  background-color: white;
  color: #10b981;
}

.appointment-cta .btn-primary:hover {
  background-color: #f3f4f6;
  transform: translateY(-2px);
}

.appointment-cta .btn-secondary {
  border-color: white;
  color: white;
}

.appointment-cta .btn-secondary:hover {
  background-color: white;
  color: #10b981;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  .service-content img {
    height: 250px;
  }

  .carousel-controls {
    gap: 1rem;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .appointment-cta h2 {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .appointment-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .direction-buttons {
    flex-direction: column;
  }

  .appointment-buttons {
    flex-direction: column;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}
