body{
    font-family: verdana, sans-serif;
    margin: 0 5px;
    padding: 0;
    background: #FFF2CC;
    padding-top: 140px;
}

/* Fixed Header */
.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ff6600;
    color:#fff;
    text-align:center;
    padding:22px 10px;
    z-index:1000;
    box-sizing:border-box;
}

.site-header h1{
    display:none;
}


.site-header p{
    margin:5px 0 0;
    font-size:14px;
}

.header-container {
  display: flex;         /* Activates flexbox to put items side-by-side */
  align-items: center;   /* Perfectly aligns the logo and text vertically */
 }

/* Optional styling to control the size of Logo.png */
.logo {
  height: 50px;          /* Adjust this height to fit your layout */
  width: auto;           /* Keeps the logo aspect ratio perfect */
}

.header_image1{
    display:none;
}

/* Navigation */
.navbar{
    position:fixed;
    top:130px;
    left:0;
    width:100%;
    background:#333;
    z-index:999;
}

.nav-container{
    width:100%;
}

/* Desktop Menu */
.nav-menu{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
}

.nav-menu li{
    margin:0;
}

.nav-menu li a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:15px 20px;
}

.nav-menu li a:hover{
    background:#ff6600;
}

/* Hamburger */
.hamburger{
    display:none;
    cursor:pointer;
    padding:15px;
}

.bar{
    display:block;
    width:25px;
    height:3px;
    margin:5px 0;
    background:#fff;
    transition:0.3s;
}

/* Content */
.container{
    padding:20px;
    min-height:400px;
    background:#fff;
}

/* Position the parent menu item relatively */
.nav-menu li.dropdown {
    position: relative;
}

/* Hide the submenu by default and style its appearance */
.nav-menu .submenu {
    display: none;
    position: absolute;
    top: 100%; /* Positions it directly below the parent menu */
    left: 0;
    background-color: #ffffff; /* Change to match your nav background color */
    min-width: 240px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}

/* Style the links inside the submenu */
.nav-menu .submenu li a {
    color: #333333; /* Dark text for readability on light background */
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

/* Hover effect for links inside the submenu */
.nav-menu .submenu li a:hover {
    background-color: #f5f5f5; 
}

/* KEY: Show the submenu when hovering over the parent list item */
.nav-menu li.dropdown:hover .submenu {
    display: block;
}

footer{
    background:#333;
    color:#fff;
    text-align:center;
    padding:10px;
}

/* Mobile Responsive */
@media screen and (max-width:768px){

    body{
        padding-top:130px;
        margin: 0 5px;
        font-family: verdana, sans-serif;
    }
    
    
     .site-header h1{
        font-size:24px;
        display:inline-block;
    }
    
    .header_image{
        display:none;
     }
     
     .header_image1{
        display:inline-block;
     }

    .site-header p{
        font-size:12px;
    }

    .navbar{
        top:95px;
        height:50px;
    }

    .nav-container{
        display:flex;
        align-items:center;
        height:50px;
    }

    .hamburger{
        display:block;
        padding:15px 15px;
        z-index:10001;
    }

    .nav-menu{
    display:flex;
    flex-direction:column;
    position:fixed;
    top:135px;
    left:-250px;
    width:250px;
    height:calc(100vh - 135px);

    margin:0;
    padding:0;
    background:#333;
    transition:left .3s ease;
    z-index:10000;
}

    .nav-menu.active{
        left:0;
    }

    .nav-menu li{
        width:100%;
    }
    
    
    .nav-menu li a{
        display:block;
        padding:15px;
        text-align:left;
        border-bottom:1px solid #444;
    }
    
   .nav-menu .submenu {
        position: static; /* Stack inside the mobile hamburger menu */
        box-shadow: none;
        background-color: #222; /* Slightly darker background to differentiate from parent items */
        padding: 0;
        display: none; /* Hide by default on mobile, let toggle show it */
    }
    
    /* Make submenu links legible on mobile */
    .nav-menu .submenu li a {
        color: #ffffff; /* Light text for dark mobile background */
        padding: 12px 20px 12px 35px; /* Indent sub items beautifully */
        border-bottom: 1px solid #444;
    }

    .nav-menu .submenu li a:hover {
        background-color: #ff6600; /* Matching hover theme color */
    }
    
    /* Display submenu when active class or hover triggers it */
    .nav-menu li.dropdown.open .submenu,
    .nav-menu li.dropdown:hover .submenu {
        display: block; 
    }
}
