@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap");

      body {
        font-family: "Lato", sans-serif;
        font-size: 1.10rem;
        line-height: 1.5;
        background-color: #f2eef5;
      }

      .banner-container {
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;
        z-index: 1;
      }

      .banner-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Replace the placeholder image URL below with your hosted image URL */
        background-image: url("https://mceyeclinicforms.com/mceyeclinic/images/clinic-color-banner.png");
        background-size: cover;
        background-position: center;
        z-index: -2;
      }

      .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.35); /* Adjust opacity here */
        z-index: -1;
      }

      .banner-text {
        color: #fff;
        text-align: center;
        z-index: 2;
      }

      .banner-text h1 {
        font-family: lato black; 
        font-weight: 700;
      }

     .gallery-section {
  width: 100%;
  background-color: #f2eef5; /* New background color */
  padding: 40px 0;
  min-height: 800px; /* Adjust this value as needed */
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

      /* Custom styles to replicate Tailwind functionality */
      .text-shadow-md {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
      }

      /* Responsive font sizes using Bootstrap's display utilities */
      .responsive-heading {
        font-size: 3rem;
      }
      @media (min-width: 576px) {
        .responsive-heading {
          font-size: 3.5rem;
        }
      }
      @media (min-width: 992px) {
        .responsive-heading {
          font-size: 4rem;
        }
      }

      /* New card styles */
      .service-card {
        background-color: #fff;
        border-radius: 0;
        overflow: hidden;
        transition: transform 0.3s ease-in-out;
        cursor: pointer;
        position: relative;
      }

      .service-card:hover {
        transform: translateY(-5px);
      }

      /* New class for consistent image sizing */
      .image-aspect-ratio {
        position: relative;
        width: 100%;
        padding-top: 116.31%; /* New 521x606 Aspect Ratio */
        overflow: hidden;
      }

      .image-aspect-ratio img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
      }

      .service-card:hover .image-aspect-ratio img {
        transform: scale(1.1);
      }

      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(109, 60, 94, 0.8);
        opacity: 0;
        transform: rotateY(90deg);
        transform-origin: left;
        transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
        color: white;
        z-index: 2;
      }

      .overlay p {
        color: white;
        font-size: 1.5rem; /* Increased font size */
      }

      .service-card:hover .overlay {
        opacity: 1;
        transform: rotateY(0deg);
      }

      .card-outline-purple {
  border-color: rgb(109,60,94);
}

      /* New class for the subtle gradient overlay */
      .image-gradient-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
        z-index: 1;
      }

      .card-title-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0.75rem;
        color: #fff;
        font-weight: 700;
        text-align: center;
        background-color: transparent;
        z-index: 2;
        transition: opacity 0.4s ease-in-out;
      }

      .card-title-overlay h5 {
        font-size: 1.25rem; /* Increased font size for the card titles */
      }

      .service-card:hover .card-title-overlay {
        opacity: 0;
      }

      /* Hero */
    .hero{
      position:relative;
      min-height:36vh;
      display:grid;
      place-items:center;
      color:#fff;
      text-align:center
    }
    .hero::before{
      content:"";
      position:absolute;
      inset:0;
      /* Eye exam themed image */
      background:url('/mceyeclinic/images/clinic-color-banner.png') center/cover no-repeat;
      filter:brightness(.55)
    }
    .hero .inner{position:relative;z-index:1}
    /* Breadcrumbs (scoped) */
    .disclaimer-breadcrumbs {
      background: #fff;
      border: 1px solid #eee;
      border-left: 4px solid var(--clinic-purple);
      border-radius: .5rem;
      padding: .5rem .75rem;
      margin-bottom: 1rem;
    }
    .disclaimer-breadcrumbs .breadcrumb { margin: 0; }
    .disclaimer-breadcrumbs .breadcrumb-item + .breadcrumb-item::before { color: #888; }
    .disclaimer-breadcrumbs a { color: var(--clinic-purple); text-decoration: none; }
    .disclaimer-breadcrumbs a:hover { text-decoration: underline; }

    .purple {
      color: rgb(109,60,94);
    }