/*Imported Poppins Font*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* External CSS for Navbar */
body {
  font-family: Poppins;
  background-color: #f8f9fa; /* Light gray background */
  margin: 0;
}


/* Navbar */
.navbar {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  margin: auto;
  position: relative;
  z-index: 100;
}

.navbar .navbar-brand {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.navbar .navbar-brand img {
  width: 40px;
  margin-right: 10px;
}

.navbar .nav-link {
  font-size: 16px;
  color: #555;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #0d6efd !important; /* Ensures active link is highlighted */
}


.navbar .nav-link:hover {
  color: #007bff; /* Bootstrap's primary blue */
}

/* Dropdown Menu */
.dropdown-menu.custom-dropdown {
  width: 250px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
  padding: 10px 15px;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: #f0f8ff;
  color: blue;
}

.dropdown-item.active {
  background-color: #e6f7ff;
  color: blue;
}

/*BREADCRUMB*/
.breadcrumb-container {
  padding: 20px;
  background-color: #f8f9fa; /* Light background for breadcrumb section */
  border-bottom: 1px solid #ddd; /* Subtle border for separation */
  position: relative;
  z-index: 1; /* Ensure it appears correctly in stacking order */
}

.breadcrumb {
  display: flex;
  gap: 8px; /* Space between breadcrumb items */
  list-style: none;
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
  font-size: 0.9rem; /* Adjust text size for readability */
}

.breadcrumb li a {
  text-decoration: none; /* Remove underline from links */
  color: #007bff; /* Bootstrap's default link blue */
  transition: color 0.3s ease; /* Smooth transition on hover */
}

.breadcrumb li a:hover {
  text-decoration: underline; /* Add underline on hover */
}

.breadcrumb li {
  color: #6c757d; /* Grey color for non-linked items */
}

.breadcrumb li:not(:last-child)::after {
  content: ">"; /* Separator between items */
  margin-left: 5px; /* Space after the text */
  color: #6c757d; /* Grey color for separator */
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem; /* Smaller font for smaller screens */
    gap: 5px; /* Reduce spacing */
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.7rem; /* Further reduce font size for very small screens */
  }
}

/* JUMBOTRON*/
.jumbotron {
  position: relative;
  background-image: url(The-Importance-Of-Pathology-Laboratories-1.jpg); /* Replace with your image */
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.jumbotron-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.jumbotron-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.jumbotron h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.jumbotron p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/*BENEFITS SECTION*/

/* Updated Benefit Styling */
.benefit {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  transform: translateY(0); /* Make sure items start at normal position */
}

.benefit:hover {
  transform: translateY(-10px); /* Move upwards on hover */
}

/* Benefits Container */
.benefits-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 items in a row */
  gap: 20px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .benefits-container {
    grid-template-columns: repeat(2, 1fr); /* 2 items on small screens */
  }
}

@media (max-width: 576px) {
  .benefits-container {
    grid-template-columns: 1fr; /* 1 item per row on very small screens */
  }
}


/* Hover Effects (GSAP will animate these properties) */
.benefit:hover {
  transform: scale(1.05); /* Slightly grow the element */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.benefit img {
  transition: transform 0.3s ease;
}

.benefit:hover img {
  transform: rotate(15deg); /* Rotate image on hover */
}


/* Responsive Design */
@media (max-width: 768px) {
  .jumbotron h1 {
    font-size: 2rem;
  }

  .jumbotron p {
    font-size: 1rem;
  }

  .benefits-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 0.8rem;
  }

  .jumbotron h1 {
    font-size: 1.5rem;
  }

  .jumbotron p {
    font-size: 0.9rem;
  }

  .benefits-section h2 {
    font-size: 1.5rem;
  }
}

/* Benefits Section Styling */
.benefits-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.benefits-section h2 {
  font-size: 2rem;
  color: #0275d8;
  margin-bottom: 40px;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit img {
  max-width: 50px;
  margin-bottom: 15px;
}

.benefit h3 {
  font-size: 1.2rem;
  color: #0275d8;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 0.95rem;
  color: #555;
}


/* WhatsApp button styling */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: white;
}

/* Chatbox Styling */
.whatsapp-chatbox {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px; /* Increased width */
  height: 400px; /* Increased height */
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  display: none; /* Hide by default */
  overflow-y: auto; /* Scroll if content overflows */
}

.chatbox-header {
  background-color: #25d366; /* WhatsApp Green */
  padding: 12px;
  color: white;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.close-btn {
  background-color: transparent;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.chat-options {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Increased space between buttons */
  overflow-y: auto;
}

.chat-options button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px;
  margin-bottom: 10px; /* Increased margin between buttons */
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px; /* Slightly larger font size for readability */
  transition: background-color 0.3s ease;
}

.chat-options button:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}