/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    background-image: url('images/background.jpg'); /* Ensure you have this background image */
    background-size: cover;
    background-position: center;
    line-height: 1.6;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(242, 246, 250, 0.8); /* Blue with transparency */
    color: white;
}

.main-header .logo {
    height: 40px;
}

nav a {
    color: rgb(22, 21, 21);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

nav a:hover {
    opacity: 0.7;
}

/* Divider */
.divider {
    height: 2px;
    background-color: #ccc;
    margin: 20px 0;
}

/* Banner */
.banner {
    text-align: center;
    background-color: rgba(5, 5, 5, 0.8);
    color: white;
    padding: 50px 20px;
}

.banner h1 {
    font-size: 2.5rem;
}

.banner p {
    font-size: 1.2rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for images */
    gap: 20px;
    padding: 40px 20px;
    text-align: center;
}

.image-item {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.image-item p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
}

/* Contact Form */
.contact-form {
    padding: 40px 20px;
    text-align: center;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    background-color: #050f1a;
    color: white;
    cursor: pointer;
    border: none;
}

.contact-form button:hover {
    background-color: #e90808;
}

/* Footer */
.main-footer {
    background-color: rgba(5, 5, 5, 0.8); /* Same semi-transparent blue */
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.main-footer .footer-logo {
    height: 400px;
}
/* Ensure the map and form layout are clean */
.contact-section {
    display: flex;
    justify-content: space-between;
    margin: 40px;
}

/* Styling the location buttons */
.location-buttons {
    text-align: center;
    margin-top: 20px;
}

.location-button-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}

.location-button-container button:hover {
    background-color: #0056b3;
}

/* Ensuring proper map and form layout */
.map-section {
    margin-top: 40px;
    text-align: center;
}

.map {
    width: 100%;
    height: 400px;
    border: 2px solid #ccc;
}

.contact-form {
    width: 45%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
}

.contact-form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Ensure the map and form layout are clean */
.contact-section {
    display: flex;
    justify-content: space-between;
    margin: 40px;
    gap: 20px; /* Added small gap between the map and form */
}

/* Ensuring proper map and form layout */
.map-section {
    margin-top: 40px;
    text-align: center;
}

/* Adjusting the map layout */
.map {
    width: 100%;
    height: 400px;
    border: 2px solid #ccc;
    flex: 1; /* Allow the map to take up available space */
}

/* Adjusting the contact form layout */
.contact-form {
    width: 45%; /* Reduce the width of the form */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 40px;
    flex: 1; /* Allow the form to take up available space */
}

/* Ensuring responsiveness for the map */
.map {
    position: relative;
    width: 100%;
    max-width: 600px; /* You can adjust this value as needed */
    margin: 0 auto; /* Center the map */
    border-radius: 8px; /* Optional: Adding some rounded corners */
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px; /* Optional: Adding rounded corners to the iframe */
}

/* Contact Form styles */
.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
}

.contact-form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Ensure the page layout works on smaller screens */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column; /* Stack the map and form on smaller screens */
        gap: 20px;
    }

    .contact-form {
        width: 100%; /* Ensure the form takes full width on small screens */
    }
}
