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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Navigation Bar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 0 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  height: 50px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0066cc;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
}

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

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

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0066cc;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  height: 500px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("images/bg_med.jpg");
  background-size: cover;
  background-position: center bottom;
  /* background-attachment: fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

@media (min-width: 992px) {
  .hero {
    background-attachment: fixed;
    background-size: 85%;
  }
}

@media (max-width: 992px) {
  .hero {
    background-size: 120%;
    background-position: center center;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.cta-button:hover {
  background-color: #0052a3;
}

/* Services Section */
.offices {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.offices h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0066cc;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.office-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.office-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.office-city {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0066cc;
  margin-bottom: 1rem;
  text-align: center;
}

.office-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.office-card h3 {
  color: #0066cc;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.office-card h4 {
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.doctors-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.doctors-list li {
  color: #555;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

.doctors-list li:last-child {
  border-bottom: none;
}

.office-card p {
  color: #666;
  line-height: 1.8;
}

.google-map {
  border-radius: 8px;
  margin-top: auto;
}
/* Reviews Section */
.reviews {
  padding: 5rem 0;
  background-color: white;
}

.reviews h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #0066cc;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 1rem;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  min-width: 350px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-color: #0066cc;
}

.review-rating {
  font-size: 1.5rem;
  color: #ffc107;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 1rem;
}

.review-google-link {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid #0066cc;
  transition: all 0.3s ease;
}

.review-google-link:hover {
  color: #0052a3;
  border-bottom-color: #0052a3;
}

.carousel-button {
  background-color: #0066cc;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-button:hover {
  background-color: #0052a3;
}

.carousel-button:active {
  transform: scale(0.95);
}

.carousel-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.carousel-button:disabled:hover {
  background-color: #ccc;
}

/* Scroll Indicator */
.scroll-indicator-container {
  margin-top: 1.5rem;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.scroll-indicator {
  height: 100%;
  background-color: #0066cc;
  width: 20%;
  border-radius: 2px;
  transition: width 0.1s ease;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: #0066cc;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-subsection {
  margin-bottom: 1.5rem;
}

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

.footer-offices .footer-subsection {
  margin-bottom: 0;
}

.footer-subsection h5 {
  color: #ccc;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-section p {
  color: #ccc;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-section a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #66b3ff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #66b3ff;
}

.facebook-link svg {
  width: 30px;
  height: 30px;
}

.footer-copyright {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
  border-top: 1px solid #555;
  padding-top: 1.5rem;
}

/* Responsive Design */
@media (min-width: 769px) {
  .office-card:nth-child(2) .doctors-list {
    margin-bottom: 6.5rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    gap: 1rem;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
  }

  .navbar .container {
    position: relative;
  }

  .hero {
    height: 350px;
  }

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

  .hero-content p {
    font-size: 1.2rem;
  }

  .offices h2 {
    font-size: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-offices {
    grid-template-columns: 1fr;
  }

  .office-image {
    height: 200px;
  }

  .reviews h2 {
    font-size: 2rem;
  }

  .review-card {
    min-width: 90vw;
  }

  .carousel-button {
    display: none;
  }

  .reviews-carousel {
    gap: 0;
  }

  .reviews-track {
    padding: 0.5;
  }
}
