@media screen and (max-width: 768px) {
    #services li {
        font-size: 1rem; /* Reduce font size for smaller screens */
        padding: 10px 15px; /* Adjust padding */
    }
}

@media screen and (max-width: 576px) {
    #services li {
        font-size: 0.8rem; /* Further reduce font size for smaller screens */
        padding: 8px 12px;
    }

    #logo{
        background-color: rgba(245, 239, 250, 0.5); /* 0.5 = 50% opacity */
        border: solid 2px #bbb5f8;
        width: 100px;
        height: 100px;
        border-radius: 100px;
        margin-bottom: 20px;
    }

    #heading {
        background-color: rgba(245, 239, 250, 0.5); /* 0.5 = 50% opacity */
        border: solid 2px #bbb5f8;
        border-radius: 10px;
        color: #2f2535;
        padding: 10px 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

#heading {
    background-color: rgba(245, 239, 250, 0.5); /* 0.5 = 50% opacity */
    border: solid 2px #bbb5f8;
    border-radius: 10px;
    color: #2f2535;
    padding: 10px 10px;
    margin-left: 20px;
    margin-right: 20px;
}


#logo{
    background-color: rgba(245, 239, 250, 0.5); /* 0.5 = 50% opacity */
    border: solid 2px #bbb5f8;
    border-radius: 100px;
}
/* Fix for anchor link scroll with fixed navbar */
section, 
#google-reviews, 
#services, 
#about, 
#contact {
    scroll-margin-top: 70px; /* Match your navbar height */
}

.custom-navbar {
    background-color: #DAC3E8 !important;  /* Use !important ONLY if necessary */
  }

.custom-header{
    background-image: url("images/background-images/header\ image.jpg")  !important; 
    background-size: cover;          /* Ensures it covers the whole header */
    background-repeat: no-repeat;    /* Prevents it from repeating */
    background-position: center;     /* Keeps the focal point centered */
    height: 60vh;             ;     /* Adjust this to what you want visually */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;


}

.custom-header h1 {
    font-size: 3.5rem; /* or try 3.5rem, depending on how bold you want it */
    text-shadow: 3px 3px 5px rgba(48, 21, 21, 0.5);
  }
/* General Styles */
body {
    background-color: #ECF8F8;
    padding-top: 56px;
    font-family: 'Roboto','Arial', sans-serif;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



.about-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    border-radius: 12px;
    background-color: #fefefe;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap; /* Enables responsiveness */
}

.about-image {
    flex: 0 0 300px;
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    color: #333;
}

/* Optional heading styling for the section title */
.about-heading {
    background-color: #a46cd3;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: inline-block;
}

/* Responsive layout for smaller screens */
@media screen and (max-width: 768px) {
    .about-section {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .about-image img {
        height: auto;
        object-fit: contain;
    }

    .about-text {
        text-align: center;
        padding-top: 20px;
    }
}


/* Responsive Headings */
.section-title {
    width: 90%;
    max-width: 400px;
    color: black;
    background-color: #B185DB;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 2rem;
    margin: 0 auto 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        width: 80%;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
        width: 75%;
    }
    .custom-header h1 {
        font-size: 1.8rem; /* or try 3.5rem, depending on how bold you want it */
        text-shadow: 3px 3px 5px rgba(48, 21, 21, 0.5);
      }
      .custom-header{
        height:40vh;
      }
}

/* Services Section */
#services {
    background-image: url('images/background-images/our\ services\ image.jpg');
    background-size: cover;          /* Ensures it covers the whole header */
    background-repeat: no-repeat;    /* Prevents it from repeating */
    background-position: center;     /* Keeps the focal point centered */
    
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#services ul {
    list-style: none;
    padding: 0;
}

#services li {

    background-color: rgba(235, 227, 240, 0.9);
    padding: 12px 20px;
    margin: 10px auto;
    width: 80%;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: left;
    
}

#services li::before {
    content: "🦷";
    font-size: 1.2rem;
    margin-right: 10px;
}

#services li:hover {
    background-color: #C19EE0;
    color: #555;
    text-shadow: 3px 3px 5px rgba(48, 21, 21, 0.25);
    transform: scale(1.05);
    box-shadow: 0 6px 10px #DAC3E8;
}



/* buttons for placeholder section */
/* Floating Action Buttons Container */
.floating-buttons {
    position: fixed;
    right: 10px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 1000;
}

/* Base Style for Each Button */
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #C19EE0;
    color: #2f2535;
    font-size: 16px;
    border: 3px solid white;
    border-radius: 25px;
    padding: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
    overflow: hidden;
    white-space: nowrap;
}

/* Icon container using image */
.floating-btn .icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Ensure icon image scales perfectly */
.floating-btn .icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Text is hidden initially */
.floating-btn .button-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding-left: 10px;
    display: none;
}

/* Expanded state on interaction */
.floating-btn.expanded {
    width: 200px;
    padding: 10px 20px;
    justify-content: flex-start;
}

/* Show the label when expanded */
.floating-btn.expanded .button-text {
    opacity: 1;
    display: inline-block;
}

/*buttons section end */



/*google reviews sections */
#google-reviews .card {
    border: none;
    border-radius: 1rem;
    background-color: #f8f9fa;
  }
  #google-reviews .carousel-inner {
    max-width: 600px;
    margin: auto;
  }
  
/*google review section end*/  

/* Photo Gallery Section */

/* Adjusted Photo Gallery Section */
.carousel-inner img {
    border: 5px solid #0c0b0b;
    border-radius: 5px;
    width: 100%;  /* Ensures the image scales to fit the container */
    height: auto; /* Maintains the aspect ratio */
    max-width: 500px; /* Limit the max width so images don't get too big */
    max-height: 500px; /* Restrict the height */
    margin: 0 auto; /* Centers the image */
    display: block;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.photo-gallery img {
    width: 45%; /* Adjusted to be similar to Instagram post size */
    max-width: 300px; /* Ensuring it doesn't get too large */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .photo-gallery img {
        width: 90%; /* Make images more prominent on smaller screens */
        max-width: 250px;
    }
}


/* Contact Section */
.iframe-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media screen and (max-width: 768px) {
    .iframe-container {
        height: 500px;
    }
}

@media screen and (max-width: 576px) {
    .iframe-container {
        height: 400px;
    }
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #C19EE0;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: background-color 0.3s;
}

#backToTop:hover {
    background-color: #C19EE0;
}

@media screen and (max-width: 576px) {
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}


.visitUs-section {
    background-color: #efe2f8;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
  }
  
  
  
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
  }
  
  .clinic-details {
    flex: 1 1 300px;
    max-width: 400px;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .clinic-details a {
    color: #4B0082;
    text-decoration: none;
  }
  
  .clinic-details a:hover {
    text-decoration: underline;
  }
  
  .map-container {
    flex: 1 1 300px;
    max-width: 500px;
  }

  
  .site-footer {
    background-color: #4B0082;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  .footer-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .footer-socials {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-socials a img {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
  }
  
  .footer-socials a:hover img {
    transform: scale(1.1);
  }
  