 #about h2 {
    font-weight: 700;
  }

  #about h5 {
    font-weight: 600;
  }

  @media (max-width: 767px) {
    #about img {
      max-width: 80%;
    }
  }
   .service-icon {
    width: 70px;
    transition: transform 0.3s ease;
  }

  .service-card:hover .service-icon {
    transform: scale(1.2);
    animation: bounce 0.6s;
  }

  .service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 16px;
  }

  .service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
  }

  @keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1.2); }
  }

    #appointment .card {
    background-color: #f8f9fa;
  }

  #appointment .form-label {
    font-weight: 500;
  }

  #appointment input,
  #appointment select {
    border-radius: 10px;
  }

  #appointment button {
    border-radius: 10px;
  }

   .testimonial-card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
  }

  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }

  #testimonials p {
    font-size: 1rem;
  }

   .gallery-card {
    border-radius: 16px;
    border: none;
  }

  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 16px;
  }

  .gallery-card:hover .gallery-img {
    transform: scale(1.05);
  }

   /* Base hero */
  .about-hero {
    position: relative;
    min-height: 60vh;           /* Tall enough for impact */
    background: url('https://rubyhall.com/img/bg/orthopedic.jpg') center/cover no-repeat;
  }

  /* Dark overlay so white text pops */
  .about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }

  /* Ensure text sits above the overlay */
  .about-hero .container {
    position: relative;
    z-index: 1;
  }

  /* Responsive tweaks */
  @media (max-width: 767.98px) {
    .about-hero {
      min-height: 40vh;
    }
    .about-hero h1 {
      font-size: 2.25rem;       /* Smaller headline on phones */
    }
  }
  .service-icon {
  max-width: 80px;
  height: auto;
}