/* Base styles and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-color: #ffffff;
  --background-light: #f9fafb;
  --border-color: #e5e7eb;
  --footer-bg: #1f2937;
  --footer-text: #f9fafb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 0.5rem;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

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

/* Header styles */
.header {
  background-color: var(--background-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo span {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.desktop-nav {
  display: none;
}

.mobile-contact {
  display: flex;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.btn i {
  margin-right: 0.5rem;
}

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

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

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

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

.btn-large {
  padding: 1rem;
  font-size: 1.125rem;
  width: 100%;
}

.btn-full {
  width: 100%;
}

/* Main content styles */
.main-content {
  flex-grow: 1;
  padding: 2rem 0;
}

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

/* Card styles */
.card {
  background-color: var(--background-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* Doctor image */
.doctor-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

/* Address card */
.address-card h2 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.address-card h2 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.address-card address {
  font-style: normal;
  margin-bottom: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item i {
  color: var(--primary-color);
  margin-right: 0.5rem;
  width: 1rem;
}

/* Appointment buttons */
.appointment-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Right column sections */
.right-column > section {
  margin-bottom: 2rem;
}

.right-column h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.welcome-section h2 {
  font-size: 1.875rem;
}

.welcome-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.service-card {
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--background-color);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.service-card h3 {
  font-weight: 600;
}

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

.link {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Reviews section */
.review-card {
  background-color: var(--background-light);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.stars i {
  color: #fbbf24;
  margin-right: 0.25rem;
}

.stars span {
  margin-left: 0.5rem;
  font-weight: 600;
}

.review-text {
  font-style: italic;
  color: var(--text-light);
}

.reviewer {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Location section */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

/* Footer styles */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-column address {
  font-style: normal;
}

.footer-column address p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-column address p i {
  margin-right: 0.5rem;
  width: 1rem;
}

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

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

.footer-column ul li a {
  color: var(--footer-text);
}

.footer-column ul li a:hover {
  color: #93c5fd;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  margin: 0 0.5rem;
}

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

/* Responsive styles */
@media (min-width: 768px) {
  .two-column-grid {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .desktop-nav a {
    color: var(--text-light);
  }

  .desktop-nav a:hover {
    color: var(--primary-color);
  }

  .mobile-contact {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* For larger screens */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
