body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('travel img 5.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    color: rgb(0, 226, 251);
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    header .nav-links {
    display: flex;
    gap: 1em;
    position: relative;
    }
    
    header a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding: 0.5em 1em;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease-in-out;
    }
    
    header a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Start the box off-screen */
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #78124d, #642581, #bc129a);
    z-index: -1; /* Place behind the text */
    transition: all 0.4s ease-in-out;
    }
    
    header a:hover::before {
    left: 0; /* Slide the box in on hover */
    transition: all 0.4s ease-in-out;
    }
    
    header a:hover {
    color: #ffffff; /* Ensure text remains visible */
    }
    
    h2 {
    color: #fdfdfd; /* Replace with your desired color code */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Optional: add a shadow for better visibility */
    }
main {
    padding: 100px;
}

section {
    margin-bottom: 40px;
    background: rgba(2, 14, 202, 0.3);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, select, button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

button:active {
    background-color: #3e8e41;
    transform: scale(1);
}

#transport-results, #accommodation-results {
    margin-top: 20px;
    background: #eef;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

ul li:last-child {
    border-bottom: none;
}
