:root {
    --primary-color: #7f3fbf;
    --secondary-color: #4caf50;
  }
  body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    color: #333;
  }
  .navbar {
    background-color: var(--primary-color);
  }
  .navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: var(--secondary-color);
  }  
  .navbar-brand {
    color: white !important;
    font-weight: bold;
  }
  .hero {
    background: linear-gradient(rgba(127, 63, 191, 0.15),rgba(127, 63, 191, 0.7)), url('../assets/img/home-health-service.jpg') center center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
    min-height: 100vh;
  }

  .page-hero {
    color: white;
    padding: 120px 0;
    text-align: center;
    min-height: 50vh;
  }
  .section {
    padding: 80px 20px;
  }
  .bg-secondary-custom {
    background-color: var(--secondary-color);
    color: white;
  }
  .footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
  }
  .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  }
  .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 220px;
    object-fit: cover;
  }

  .navbar-toggler {
    border-color: white;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .custom-toggler {
    border: none;
    background: transparent;
    outline: none;
  }
  
  .toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    border: none;
  }
  
  .toggler-icon span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.4s ease-in-out;
  }
  
  /* Animate to "X" when navbar is shown */
  .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .navbar-toggler{
    color: white;
    --bs-navbar-toggler-focus-width: 0px;
  }

  .footer-social-icons {
    color: white;
  }

  .custome-primary{
    color: var(--primary-color);
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  p, a, button, input, textarea, li {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
  }
  
  /* Enhance headings */
  h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Slight letter-spacing for readability */
  p {
    letter-spacing: 0.3px;
    line-height: 1.6;
  }
  
  /* Buttons */
  .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
  }
  
  /* Navbar links */
  .navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }

  #testimonials img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
  }
  
  #testimonials blockquote {
    font-size: 1.1rem;
    color: #555;
  }
  
  #testimonials .carousel-control-prev-icon,
  #testimonials .carousel-control-next-icon {
    background-color: var(--secondary-color);
    border-radius: 50%;
  }

  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  #preloader-logo {
    width: 100px;
    height: 100px;
    animation: pulse 1.5s infinite ease-in-out;
  }
  
  /* Logo pulse animation */
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.2);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
