/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: hsl(var(--hue), var(--sat), 40%);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #FFF;

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;
  --tiny-font-size: .625rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: .4s;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__img {
  width: 32px;
  border-radius: 50%;
}



.nav__list, 
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
}


.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: #e51691;
  transition: .3s;
}

.scroll-header {
  box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

.logo-img{
  max-width: 250px;
}

@media screen and (max-width: 468px) {
  .logo-img {
    max-width: 180px;
    margin: 0 auto; /* Center horizontally */
  }
}



.service-container {
    width: 80%;
    margin:80px auto;
    padding: 20px;
    max-width: 1200px;
  }
  
  .intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
    padding: 20px;
    text-align: left;
  }
  
  .services {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 360px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-icon {
    font-size: 40px;
    color: #E51691; /* Icon color */
    margin-left: 20px;
  }
  
  .service-content {
    text-align: left;
  }
  
  .service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .service-description {
    font-size: 16px;
    color: #666;
  }
  
  /* New Services Section */
  .new-services-section {
    margin-top: 50px;
    text-align: center;
  }
  
  .new-services-section h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .new-services {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
  
  .new-service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 340px;
    height: max-content;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .new-service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  }
  
  .new-service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
  }
  
  .new-service-card:hover img {
    transform: scale(1.1);
  }
  
  .service-info {
    padding: 15px;
  }
  
  .service-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .service-info button {
    background-color: #E51691; /* Button background */
    color: #fff; /* Button text color */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .service-info button:hover {
    background-color: #5A2D91; /* Darker shade on hover */
  }
  
  /* General Styles for Diagnostic Lab */
  .diagnostic-lab {
    padding: 50px 20px;
    background-color: #fff;
    color: #333;
  }
  
  .diagnostic-lab .service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .diagnostic-lab .image, .diagnostic-lab .content {
    flex: 1 1 45%;
  }
  
  .diagnostic-lab .image img {
    width: 540px;
    height: 540px;
    border-radius: 8px;
  }
  
  .diagnostic-lab h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .diagnostic-lab p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .diagnostic-lab hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
  }
  
  .diagnostic-lab h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .diagnostic-lab .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .diagnostic-lab .services ul {
    flex: 1 1 45%;
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .diagnostic-lab .services ul li {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .diagnostic-lab .services ul li::before {
    content: '\2713'; /* Checkmark symbol */
    color: #E51691; /* Tick color */
    margin-right: 10px;
    font-size: 18px;
  }
  
  .diagnostic-lab .contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #e50d8f; /* Button background */
    color: #fff; /* Button text color */
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
  }
  
  .diagnostic-lab .contact-btn:hover {
    background-color: #f560b9; /* Darker shade on hover */
    color: #ffffff;
  }


  
.contact-top{
  margin-top: 80px;
}

.background-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.background-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-header {
  
  display: flex;
  height: 250px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.contact-header h1 {
  font-size: 36px;
  margin: 0;
}
.contact-top{
  margin-top: 80px;
}



/* Footer styling */
.main-footer {
  background-color: #2c2c2c; /* Dark background for contrast */
  color: #f5f5f5; /* Light text for readability */
  padding: 40px 20px; /* Padding around the footer content */
}

.main-footer .footer-container {
  max-width: 1250px; /* Limit the container's width */
  margin: auto; /* Center the container */
}
.footer-content {
  background-size: cover; /* Ensure it covers the entire div */
  background-repeat: no-repeat; /* No repeating */
  background-position: center; /* Center the image */
  padding: 10px 20px; /* Padding around the content */
}

/* Footer row with flex layout */
.footer-content .row {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Distribute columns evenly */
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  gap: 20px; /* Space between columns */
}

/* Footer column styling */
.footer-column {
  padding: 20px; /* Padding for each column */
  flex: 1; /* Allow each column to grow equally */
}

/* Styling for the logo widget */
.logo-widget .logo-box {
  margin-bottom: 20px; /* Space below the logo */
}

.logo-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}

/* Social media icons */
.footer-social {
  display: flex; /* Horizontal layout for icons */
  gap: 10px; /* Space between icons */
}

.footer-social a {
  color: #f5f5f5; /* Default color */
  font-size: 1.5em; /* Larger font size for visibility */
  transition: color 0.3s; /* Smooth hover effect */
}

.footer-social a:hover {
  color: #ff9d2d; /* Hover effect */
}

/* Service widget styling */
.service-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.service-widget .list {
  list-style: none; /* No bullet points */
  padding: 0; /* No padding */
}

.service-widget .list li {
  margin-bottom: 10px; /* Space between list items */
}

.service-widget .list a {
  text-decoration: none; /* No underline */
  color: #f5f5f5; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.service-widget .list a:hover {
  color: #ff9d2d; /* Hover effect */
}

/* Contact widget styling */
.contact-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.contact-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}
.footer-bottom {
  background-color: #1c1c1c; /* Slightly darker than the main footer */
  padding: 20px; /* Padding for the bottom section */
}

.footer-bottom .footer-container {
  max-width: 1250px; /* Center the container */
  margin: auto; /* Center horizontally */
}

.footer-bottom .row {
  display: flex; /* Use Flexbox for alignment */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
}

/* Centered copyright text */
.copyright {
  font-size: 1em; /* Standard font size */
  text-align: center; /* Center the text */
  color: #f5f5f5; /* Light text for visibility */
}

.copyright a {
  text-decoration: none; /* No underline */
  color: #f5f5f5; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.copyright a:hover {
  color: #ff9d2d; /* Hover color for links */
}

.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: hsl(351, 83%, 61%); /* Change to your desired color */
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

/* Show the button when needed */
.back-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* Hover effect */
.back-top-btn:hover {
  background-color: hsl(351, 77%, 54%);
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.5); /* Change to your desired hover color */
}

/* Style for the icon */
.back-top-btn ion-icon {
  font-size: 24px;
}



/* WhatsApp Chat Icon Styles */
.whatsapp-chat {
  position: fixed;
  bottom: 2px;
  left: 20px;
  z-index: 1000; /* Ensure it's above other elements */
}

.whatsapp-chat img {
  width: 80px;
  height: auto;
  cursor: pointer;
}

.whatsapp-chat img:hover {
  opacity: 0.8;
}

@media screen and (max-width:768px)
{
  .back-top-btn{
    bottom: 80px;
  }
  .whatsapp-chat{
    bottom:60px;
  }
}

/* Media Queries for Footer */
@media (max-width: 991px) {
  /* Stack columns vertically on medium and smaller screens */
  .footer-content .row {
    flex-direction: column; /* Stack columns vertically */
  }
  
  .footer-column {
    padding: 10px; /* Reduce padding for smaller screens */
    flex: 1 0 100%; /* Allow columns to take full width */
  }
}

@media (max-width: 767px) {
  .footer-column {
    padding: 10px; /* Ensure consistent padding */
  }
  
  .footer-content .row {
    flex-direction: column; /* Ensure vertical stacking */
  }
  
  .footer-widget {
    margin-bottom: 20px; /* Space between widgets */
  }
  body{
    margin-bottom:4rem ;
  }
}
 
/* Footer Style ends */
  
  /* Responsive Design for Mobile Screens */
  @media (max-width: 768px) {
    .diagnostic-lab .service-container {
      flex-direction: column;
      align-items: center;
    }
  
    .diagnostic-lab .image {
      order: 1; /* Place image before content on mobile screens */
      margin-bottom: 20px;
    }
  
    .diagnostic-lab .content {
      order: 2;
      text-align: center;
    }
  
    .diagnostic-lab .services ul {
      padding: 0 10px;
    }
  }
  
  /* Footer Section */
  
  
  



/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--container-color);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: .4s;
  }
}
@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 7rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__img {
    display: none;
  }
  .nav__icon {
    display: none;
  }
  .nav__name {
    font-size: var(--normal-font-size);
    /* display: block; */ /* Minimalist design, visible labels */
  }
  .nav__link:hover {
    color: #e51691;
  }



}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width:480px){
  .service-container{
    width: 100%;
  }
}
