body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

nav {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #555;
    text-decoration: none;
}

.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-container h1 {
    text-align: center;
}

label {
    display: block;
    margin-top: 10px;
}

input[type="text"], input[type="date"], input[type="number"], textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}
button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}
.a4-container {
    width: 210mm;
    margin: 20px auto;
    padding: 20mm;
    background: white;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    overflow: hidden;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cin-info {
    font-size: 0.9em;
    color: #333;
}

.logo img {
    height: 80px;
}
h1 {
    text-align: center;
    margin-bottom: 20px;
}
h2, h3 {
    text-align: left;
    margin-top: 0;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.content {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.5;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9em;
}

.table th, .table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: left;
}

.table th {
    background-color: #ddd;
}

.signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.signatures div {
    width: 45%;
}

.signature-box {
    margin-top: 10px;
}

.signature-box img {
    height: 60px;
    display: block;
}

.print-section {
    text-align: center;
    margin-top: 20px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Menu Button and Dropdown */
.menu-container {
    position: absolute;
    top: 20px;
    right: 20px;
}

.menu-button {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.menu-button:hover {
    background-color: #555;
}

.menu-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.menu-dropdown button {
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border: none;
    background-color: #333; /* Dark background color */
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;  /* Remove any margin between buttons */
    padding: 12px 16px; /* Ensure consistent padding */
}

.menu-dropdown button:hover {
    background-color: #444; /* Slightly lighter background on hover */
    color: white;
}

.menu-dropdown button:active {
    background-color: #555; /* Even lighter background when active (clicked) */
    color: white;
}

