body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('https://images.moneycontrol.com/static-mcnews/2023/02/7-budget-representative-image-vande-bharat.jpg'); /* Replace with the path to your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

header {
    background-color: #00308F; /* Semi-transparent header */
    color: white;
    padding: 1em 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    margin: 0 1em;
    text-decoration: none;
}

.background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5em 2em;
    background: rgba(255, 255, 255, 0.2); /* Slightly transparent background */
    border-radius: 20px;
    backdrop-filter: blur(10px); /* Blurring effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin-top: 80px; /* Space for header */
    text-align: center;
}

main {
    width: 100%;
}

h1 {
    text-align: center;
    color: #FFFFF;
}

h2 {
    text-align: center;
    color: #00000;
}

form {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
}

input, select, button {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #333;
}

button {
    background-color: #00308F;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.75em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

.train-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#ticket {
    max-width: 600px;
    margin: 2em auto;
    padding: 1em;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    color: #333;
}

.place {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1em;
    margin: 1em 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: #333;
}
