/* Background Image Styles */
.background-image {
    font-family: Arial, sans-serif;
    background-image: url('kenya-tourism.jpg');
    background-size: cover;
    background-position: center;
    color: #000; /* Updated text color to dark blue (#000) */
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-repeat: no-repeat;
       /*background: rgba(0, 0, 0, 0.5); */
}

body::before { /* Use ::before to apply a background overlay */
    content: "";
 /* Reduce background overlay opacity to 50% */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Header styles */
header {
    text-align: center;
    padding: 100px 0;
    color: #fff; /* Set header text color to white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for headings */
}

header h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for h1 */
}

header p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for paragraphs */
}
.cta-button {
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Add a semi-transparent white background for better readability */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form styles */
form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold; /* Make labels bold for better visibility */
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #000; /* Dark blue font color */
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Disclaimer styles */
.disclaimer {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Hide the confirmation message and "Post Another Question" button by default */
#confirmation {
    display: none;
}

/* Show the "Post Another Question" button after form submission */
#confirmation.show {
    display: block;
}

/* Form validation styles */
input:valid,
select:valid,
textarea:valid {
    border: 1px solid #ccc;
}

input:invalid,
select:invalid,
textarea:invalid {
    border: 1px solid #f00; /* Red border for invalid fields */
}
