/* General Styling */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    background-image: url('/assets/india2.jpg');
    /* Set a background image for all pages */
    background-size: cover;
    background-attachment: fixed;
    color: #ffffff;

}

/* Container for all content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    /* Transparent white background for content */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Headings */
h1,
h2 {
    text-align: center;
    color: #fff;
    padding: 8px 0;
    border-radius: 10px;
}

h1 {
    margin-bottom: 3px;
    font-size: 2.5rem;
}

h2 {
    margin-bottom: 20px;
    margin-top: 2px;
    text-decoration: underline;

    font-size: 1.8rem;
}

/* Navigation Bar Styling */
nav ul {
    list-style: none;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    background-color: #09080889;

}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    padding: 10px 20px;
    /* background-color: #00000063; */
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background-color: #097bb9;
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
form {
    margin: 10px auto;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.546);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
select {
    width: 90%;
    padding: 10px;
    margin: 10px auto;
    border: 2px solid #1c74bc;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

button {
    width: 30%;
    /* Button takes up 90% of the container's width */
    padding: 10px;
    background-color: #1c74bc;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;

    display: block;
    /* Ensures the button behaves like a block-level element */
    margin: 20px auto;
    /* Centers the button horizontally */
}

button:hover {
    background-color: #1c74bc;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
table {
    width: 60%;
    border-collapse: collapse;
    margin: 20px auto;
    /* Center the table horizontally with 'auto' */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    align-items: center;
}

table,
th,
td {
    border: 2px solid #1c74bc;

}

th,
td {
    padding: 15px;
    text-align: center;
    background-color: #09080889;
}

th {
    background-color: #1c74bc;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

td {
    color: #f4f1f1;
}

table tr:nth-child(even) {
    background-color: #0f0e0e67;
}

table tr:hover {
    background-color: #ddd;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Media Queries for responsiveness */
@media (max-width: 760px) {
    nav ul li {
        display: block;
        /* Stack the navigation links vertically */
        margin: 10px auto;
        /* Add margin for spacing */
    }

    h1 {
        font-size: 1.8rem;
        /* Adjust heading size */
    }

    button {
        font-size: 0.9rem;
        /* Smaller button text */
    }

    table {
        width: 95%;
        /* Slightly wider on mobile */
    }

    th,
    td {
        padding: 10px;
        /* Reduce padding in table cells */
    }
}

@media (max-width: 480px) {
    nav ul li a {
        font-size: 1rem;

        /* Further reduce font size */
    }

    h1 {
        font-size: 1.5rem;
        /* Smaller heading size */
    }

    button {
        padding: 8px;
        /* Smaller button padding */
        font-size: 0.8rem;
        /* Even smaller button text */
    }

    table {
        width: 100%;
        /* Full width for mobile */
    }
}