/* Google Fonts  */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Quicksand', 'sans-serif';
    padding-top: 60px; /* Adjust this if your header height changes */
  }
  
  header {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;       /* Make the header stick to top */
    top: 0;                
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .sgHeading {
    font-family: "Trebuchet MS";
    font-weight: bold;
    font-size:1.75rem;
    padding: 0px;
  }
  
  #sgSubScript {
    font-family: "Trebuchet MS";
    font-style: italic;
    font-weight: normal;
    font-size:12px;
    color: rgb(180, 238, 19);
    padding: 2px, 0px, 0px, 0px;    
  }

  #welcome {
    color: rgb(172, 208, 211);
    font-style: italic;
  }

  #welcomeName {
    color: rgb(180, 238, 19);
    font-size: 0.90rem;
    font-style: italic;
  }
  .nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .nav-toggle span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
  }
  
  nav {
    display: flex;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav li {
    position: relative;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
  }
  
  nav > ul > li:hover > a {
    background-color: white;
    color: #333;
  }
  
  nav li:hover > ul {
    display: block;
  }
  
  nav ul ul {
    display: none;
    position: absolute;
    background-color: #444;
    top: 100%;
    left: 0;
    min-width: 180px;
    z-index: 1000;
  }
  
  nav ul ul li a {
    padding: 8px 8px;
    margin: 5px 0;              /* Adds vertical spacing between submenu items */
    /* border-radius: 3px;  */
    /* line-height: 1.6;           Optional: increases vertical rhythm */ 
    display: block; 
  }
  
  .submenu-toggle {
    display: none;
    color: white;
    cursor: pointer;
    padding: 8px;
  }
  
  @media (max-width: 768px) {
    .nav-toggle {
      display: flex;
    }
  
    nav {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #333;
      position: absolute;
      top: 60px;
      left: 0;
      z-index: 10;
    }
  
    nav.active {
      display: flex;
    }
  
    nav ul {
      flex-direction: column;
      gap: 0;
    }
  
    nav li {
      border-top: 1px solid #444;
    }
  
    nav ul ul {
      position: static;
      background-color: #444;
    }
  
    nav li.open > ul {
      display: block;
    }
  
    /* .submenu-toggle {
      display: inline-block;
      float: right;
    } */
  }