/* General Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', sans-serif;
        }

        body {
            background-color: #f4f7fc;
            color: #333;
            font-size: 16px;
            line-height: 1.6;
        }

        /* Navbar - full width */
        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #5A6B80;
            padding: 20px 40px;
            position: fixed;
            top: 0;
            left: 0;         /* spans full screen */
            width: 100%;     /* full width */
            z-index: 1000;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .logo-group {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .logo {
            height: 50px;
        }

        #NCAP-logo{
            margin-left: -30px;
        }

        .navbar h2 {
            font-size: 34px;
            font-weight: 700;
            color: #fff;
            letter-spacing: 1px;
        }

        /* Adding vertical alignment and spacing for the nav items */
        .navbar .nav-menu {
            display: flex;
            gap: 26px;
            align-items: center; /* Ensure items are vertically centered */
        }

        .navbar .nav-menu a {
            text-decoration: none;
            color: #fff;
            font-size: 20px;
            padding: 12px 18px;
            transition: background-color 0.3s, color 0.3s;
            border-radius: 30px;
        }

        .navbar .nav-menu a:hover, 
        .navbar .nav-menu a.active{
            background-color: #fff;
            color: #003366;
        }

        /* Dropdown Button */
        .dropbtn {
            background-color: #1E293B;
            color: white;
            padding: 12px 18px;
            font-size: 16px;
            border: none;
            cursor: pointer;
            border-radius: 30px; /* Added rounded corners */
            transition: background-color 0.3s, color 0.3s;
            margin-top: 5px; /* Add a margin-top to center it vertically */
        }

        /* Dropdown Container */
        .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            background-color: #1E293B;
            min-width: 160px;
            z-index: 1;
            border-radius: 100px;
            top: 130%;
            box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        }

        .dropdown-content a {
            color: white;
            padding: 12px 18px;
            text-decoration: none;
            display: block;
            font-size: 16px;
            border-bottom: 0px solid #444;
            transition: background-color 0.3s;
        }

        .dropdown-content a:hover {
            background-color: #003366;
            color: #fff;
        }
  
        /* Change color of the dropdown button when hovered */
        .dropdown:hover .dropbtn {
            background-color: #003366;
            color: white; /* Ensure text color stays white when hovered */
        }

        /* Footer */
        footer {
            background-color: #343f4d;
            padding: 20px 40px;
            color: white;
            text-align: center;
            margin-left: 110px; /* after sidebar */
            width: calc(100% - 110px); /* match main content */
            position: relative;
            z-index: 2;
        }

        footer a {
            color: white;
            text-decoration: none;
            margin: 0 5px;
            font-size: 16px;
        }

        footer a:hover {
            text-decoration: underline;
        }

        .sidenav {
            height: 100%;
            width: 110px;
            position: fixed;
            z-index: 1;
            top: 80px;
            left: 0;
            background-color: #E0E4E9;
            overflow-x: hidden;
            padding-top: 20px;
        }

        .sidenav a {
            padding: 6px 8px 6px 16px;
            text-decoration: none;
            font-size: 15px;
            color: #34495E;
            display: block;
            transition: background-color 0.3s, color 0.3s;
        }

        .sidenav a:hover, 
        .sidenav a.active {
            color: #fff;
            background-color: #5A6B80;
            font-weight: 500;
        }

        .main {
            margin-top: 20px;
            margin-left: 110px;   /* keep space for sidebar */
            padding-top: 50px;    /* push below navbar (same as navbar height) */
            min-height: calc(100vh - 70px); /* fill screen but not overlap footer */
            box-sizing: border-box;
        }

        @media screen and (max-height: 450px) {
            .sidenav {padding-top: 15px;}
            .sidenav a {font-size: 12px;}
        }
        
        @media (max-width: 768px) {
            .navbar .nav-menu {
            flex-direction: column;
            align-items: center;
            }
        }
