/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header-container {
    background-color: #004080;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    flex-wrap: wrap;
}

.header-container h3 {
    margin: 0;
    font-size: 18px; /* Smaller size for ग्रामपंचायत आळसंद */
    font-weight: normal;
}

.header-container h1 {
    flex: 1;
    text-align: center;
    font-size: 26px; /* Main title is bigger */
    font-weight: bold;
    margin: 0;
}

/* Responsive Image */
.header-container img {
    width: 60px;  /* Smaller image */
    height: auto;
    max-width: 100%;
}

/* Document Table */
.document-section {
    margin: 30px auto;
    width: 90%;
    max-width: 800px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #0073e6;
    color: white;
}

td a {
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

td a:hover {
    text-decoration: underline;
}

/* Footer (Fixed at Bottom) */
footer {
    background-color: #004080;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

a {
    text-decoration: none;
    color: white;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .header-container h3 {
        margin: 5px;
        width: 10px;
        font-size: 10px; /* Even smaller for tiny screens */
    }

    .header-container h1 {
        font-size: 20px; /* Adjust main title */
    }

    .header-container img {
        width: 30px; /* Reduce image size further */
    }
}
