  .autism {
      width: 200px; 
      height: auto; 
    }

    /* Slightly larger on bigger screens */
    @media (min-width: 1200px) {
      .autism {
        width: 250px;
      }
    }

    /* Medium screens */
    @media (min-width: 988px) and (max-width: 1199px) {
      .autism {
        width: 220px;
      }
    }

    /* Small screens */
    @media (max-width: 987px) {
      .autism {
        width: 180px;
      }
    }

    /* Very small screens */
    @media (max-width: 576px) {
      .autism {
        width: 175px;
      }
    }

      a {
        font-weight: 400; 
      }
      .nav-text {
        font-size: 50px
      }

.d-flex.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* Ensure space between items */
}

@media (max-width: 768px) {
    .navbar-toggler {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .navbar-toggler {
      font-size: 0.875rem;
    }
  }
  
  @media (max-width: 320px) {
    .navbar-toggler {
      font-size: 0.75rem;
    }
  }

  .autism {
    /* width: 200px; */
    height: 100px;
    object-fit: cover;
    /* margin-top: 10px;
    margin-bottom: 10px; */
    max-width: 100%;
  }
  
  @media (max-width: 768px) {
    .autism {
      width: 180px; /* Adjust for tablets or other screen sizes */
    }
  }
  /* @media (max-width: 576px) {
    .autism {
      width: 150px; 
      height: 75px;
    }
  } */
  /* @media (max-width: 320px) {
    .autism {
      width: 120px;
      height: 50px;
    }
  } */
  
  @media (max-width: 386px) {
    .navbar-toggler {
      display: flexbox; /* Ensure burger menu is visible */
    }
  
    .navbar-collapse {
      align-items: center; /* Hide the collapsible menu by default */
    }
  
    .navbar-toggler.collapsed + .navbar-collapse {
      /* Show menu when burger menu is clicked */
  
      width: 100%;
      align-items: center;
      background-color: #f8f9fa;
      margin-top: 10px;
    }
  
    .navbar-nav {
      flex-direction: column; /* Stack menu items vertically */
      width: 100%;
      padding: 0;
      margin: 0;
    }
  
    .navbar-nav .nav-item {
      width: 100%; /* Make nav items full-width */
    }
  
    .navbar-nav .nav-link {
      padding: 10px; /* Adjust padding for better touch targets */
    }
  }
  .dropdown-menu {
    background-color: #ffffff; /* Background color for dropdown */
    border: none; /* Remove border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  }
  
  .dropdown-item {
    font-weight: bold; 
    font-size: 1.1rem; 
    color: #333333; 
    padding: 10px 20px; 
    transition: background-color 0.3s, color 0.3s; 
  }
  
  .dropdown-item:hover {
    background-color: #17a2b8; 
    color: #ffffff; 
  }
  .submenu {
    padding-left: 20px; 
  }
  
  a.text-white.mb-2 {
    display: block; /* Ensure each menu item appears on a new line */
  }

  .nav-item {
  position: relative; /* Needed for pseudo-element positioning */
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;          /* Start with 0 width */
  height: 2px;        /* Line thickness */
  background-color: #17a2b8; /* Line color */
  transition: width 0.3s ease-in-out;
}

.nav-item:hover::after {
  width: 100%; /* Expand to full width on hover */
}

  
  


  
  