.title {
    font-size: 18px;
    font-weight: bold;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;  /* Center content horizontally */
    align-items: flex-start;  /* Align content to the top */
    height: 100vh;  /* Take full height */
    background-color: #f4f4f4;  /* Optional background color */
}

.container {
    width: 1000px;  /* Set the width to 1000px */
    margin-top: 5px;  /* Add space from the top */
}

.navbar {
    background: linear-gradient(to right, #D32F2F, #003893);
    overflow: inherit !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hide the menu links by default on small screens */
.navbar-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.navbar-links a {
    padding: 14px 20px;
}

/* Burger menu icon */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.burger-menu div {
    width: 100%;
    height: 3px;
    background-color: white;
}

/* Responsive design for small screens */
@media screen and (max-width: 600px) {
    .navbar-links {
        display: none; /* Hide links by default on small screens */
        flex-direction: column;
        width: 100%;
    }

    .navbar-links.active {
        display: flex; /* Show links when the active class is added */
    }

    .burger-menu {
        display: flex; /* Show burger icon on smaller screens */
    }
	
	.container {
		width: 100%;
		max-width: 1000px;
		margin: 10px auto; /* Center horizontally */
		padding: 0 15px; /* Add some horizontal padding for smaller screens */
		box-sizing: border-box;
	}
}

/* Make the dropdown container a block-level element */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999; /* Ensure the dropdown is in front */
}

/* Styling for the dropdown button */
.dropbtn {
    padding: 14px 20px;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover effect for the dropdown button */
.dropbtn:hover {
    background-color: #003893; /* Darker shade of Nepal blue on hover */
    color: #ffffff; /* White text color */
}

/* The dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #003893; /* Nepal blue background */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 99999; /* Very high z-index to ensure it's above all elements */
    border-radius: 5px;
    opacity: 0; /* Start with zero opacity */
    visibility: hidden; /* Make the dropdown invisible */
    transform: translateY(-10px); /* Initially shifted up */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0s 0.3s; /* Smooth fade and shift */
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1; /* Make the dropdown fully visible */
    visibility: visible; /* Ensure it's visible */
    transform: translateY(0); /* Make the dropdown slide down */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0s 0s; /* Smooth transition */
}

/* Style for links inside the dropdown */
.dropdown-content a {
    color: white; /* White text color for links */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect for the dropdown links */
.dropdown-content a:hover {
    background-color: #00509e; /* Darker Nepal blue on hover */
    color: white; /* Keep the text white on hover */
}

/* Ensure the dropdown content is fully accessible */
.dropdown-content a:focus {
    background-color: #004080; /* Even darker blue for focus */
    outline: none; /* Remove outline */
}

/* Mobile responsiveness for the dropdown */
@media screen and (max-width: 600px) {
    .dropdown-content {
        width: 100%; /* Make dropdown full-width on smaller screens */
    }
}

@media screen and (max-width: 1280px) {
    .container {
        zoom: 0.85;   /* ~85%, similar to browser's 80% but slightly bigger */
        width: 100%;
        max-width: 1180px; /* compensate: 1000px / 0.85 ≈ 1176px */
        margin: 0 auto;
        box-sizing: border-box;
    }
}