 :root {
      --primary: #2c2c74;
      --light: #ffffff;
      --dark: #333;
    }

    *{
      padding: 0;
      margin: 0;    
     box-sizing: border-box;
    }

    body{
      font-family: Arial, sans-serif;
      background: #f4f4f4;
      
    }

    .navFixed{
      position: relative;
    }

    .header-section-fixed{
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    /* Header Top */
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: .2rem 9%;
      background: var(--primary);
      color: var(--light);
    }
.header p{
        margin: 0;
    }
    .header-link a {
      color: var(--light);
      margin-left: 10px;
      font-size: 1.4rem;
    }

    /* Navbar */
    .navbar {
      background: var(--light);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      position: relative;
      z-index: 999;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: .3rem 8%;
          margin: 0 auto;
          gap: 6rem;
    }

    .school-logo img {
      max-height: 90px;
    }

    .nav-menu {
      list-style: none;
      display: flex;
      gap: 2rem;
      margin: 0;
      padding: 0;
    }
    .nav-menu li{
        font-size: 1rem;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      
      text-decoration: none;
      color: var(--dark);
      font-weight: 500;
      padding: 0.5rem ;
      transition: color 0.3s;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 5px;
    }
    .nav-link i{
      margin-right: 5px;
      font-size: .8rem;
    }

    .nav-link:hover {
      color: var(--primary);
    }

    /* Indicator (+ / -) */
    .toggle-indicator {
      display: none;
      font-size: 0.9rem;
      margin-left: 5px;
      transition: transform 0.3s;
    }

    .nav-item.open .toggle-indicator {
      transform: rotate(180deg);
    }

    /* Mega Menu */
    .mega-menu {
      position: absolute;
      left: 0;
      width: 100%;
      background: var(--light);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
      top: 100%;
      z-index: 1000;

      /* animation setup */
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .mega-menu.show {
      max-height: 500px;
      width: 15vw; 
      line-height: 3rem;
      border-radius: 5px;
     padding: 1rem; 
      opacity: 1;
    }

    .mega-content {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
    }

    .mega-column {
      flex: 1 1 200px;
    }

    .mega-column h3 {
      margin-bottom: 0.5rem;
      color: var(--primary);
    }

    .mega-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .mega-links li {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .mega-links a {
      color: var(--dark);
      text-decoration: none;
      transition: color 0.3s;
    }

    .mega-links a:hover {
      color: var(--primary);
    }

    /* Hamburger */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      gap: 4px;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: var(--dark);
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    /* Responsive */
@media screen and (max-width: 1200px) {
        .nav-container {
          padding: .5rem 5%;
            gap: 6rem;
        }
        .school-logo img {
            max-height: 60px;
        }
        .nav-menu li{
            font-size: 0.9rem;
           
        }
        .nav-menu{
            gap: 1rem;
        }
}


    @media (max-width: 786px) {
        .nav-container{
                    gap: 13rem;
        padding: .5rem 8%;
        }
      .nav-menu {
        position: absolute;
        top: 100%;
        left: -105%;
        width: 95%;
        background: var(--light);
        flex-direction: column;
        text-align: left;
        padding: 1rem;
        transition: left 0.3s ease;
      }

      .nav-menu.active {
        left: 0;
      }

      .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        max-height: 0;
        opacity: 0;
      }

      .nav-item.open .mega-menu {
        max-height: 500px;
        
        opacity: 1;
      }

      .toggle-indicator {
        display: inline-block;
      }

      .hamburger {
        display: flex;
      }
    }

    
@media screen and (max-width: 480px) {
      .nav-container {
        padding: 1rem 5%;
        gap: 4rem;
      }

      .nav-menu {
        gap: 0.3rem;
      }

      .nav-item {
        padding: 0.3rem 0;
      }

      .nav-link {
        font-size: 0.9rem;
      }
      
      .school-logo img {
      max-height: 50px;
    }
    .header {
        padding-top: .5rem;
        padding-bottom: .5rem;
      font-size: 0.8rem;
    }
    .header p{
        margin: 0;
    }
    .header-link a {
      font-size: .8rem;
    }

}
