  /* Basic Reset */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Nav Bar Styling */
/*Nav bar styling */

/* General Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    padding: 25px 20px;
  }
  
  .logo {
    color: white;
   
    font-weight: bold;
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    flex-direction: row;
  }
  
  .logo_img img {
    height: 80px;
    width: auto;
    justify-content: center;
    margin: auto;
  }
  
  .nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    flex: 0 0 80%;
    justify-content: center;
  }
  
  .nav-menu li {
    padding: 0px 10px;
    position: relative; /* To position the submenu */
  }
  
  /* Links Styling */
  .nav-menu a {
    text-decoration: none;
    color: black;
    font-size: 12px;
    transition: color 0.3s;
    align-items: center;
    font-family: montserrat;
    font-weight: 400;
  }
  
  .nav-menu a:hover {
    color: green;
  }
  
  /* Dropdown/Submenu Styling */
  .submenu {
    display: none; /* Hide the submenu initially */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f1f1f1;
    padding: 10px;
    list-style: none;
    width: 200px;
    border-radius: 5px;
    z-index: 100;
  }
  
  .dropdown:hover .submenu {
    display: block; /* Show submenu on hover (desktop) */
  }
  
  .submenu li {
    padding: 8px 0;
  }
  
  .submenu a {
    font-size: 14px;
  }
  
  /* Mobile Menu Toggle */
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101; /* Ensure it appears above the menu */
  }
  
  .bar {
    background-color: green;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: 0.3s; /* Smooth animation */
  }

  .condition p{
        font-size: 10px;
    }
  
  .menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px); /* Top bar rotates */
  }
  
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0; /* Middle bar disappears */
  }
  
  .menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px); /* Bottom bar rotates */
  }

/* Responsive Adjustments (768px)*/
@media (max-width: 1024px) {
    /*Nav bar styling for phone starts*/
    .menu-toggle {
        display: flex;
      }
    
      .logo {
        text-align: center;
      }
    
      .logo_img img {
        height: 35px;
        width: auto;
      }
    
      .nav-menu {
        display: none; /* Initially hidden */
        flex-direction: column;
        position: fixed; /* Make the menu cover the entire screen */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: aliceblue;
        justify-content: center;
        align-items: center;
        padding: 0;
        z-index: 100;
        gap: 20px;
      }
    
      .nav-menu.active {
        display: flex; /* Show menu when toggled */
      }
    
      .nav-menu li {
        margin: 5px 0;
        position: relative;
        text-align: center;
      }
    
      .nav-menu a {
        font-size: 15px; /* Larger font for full-screen menu */
        text-align: center;
      }
    
      .submenu {
        position: relative;
        top: 0;
        font-size: 20px;
        text-transform: uppercase;
        left: 0;
        width: 100%;
        background-color: aliceblue;
        padding: 10px;
        display: none;
        transition: all 2s ease-in;
      }
    
      .dropdown.active .submenu {
        display: block; /* Show submenu when dropdown is active on mobile */
        
      }
    /*Nav bar styling for phone ends*/
}

