/* Contact Section */
.contact-section {
    width: 100%;
    
    padding: 20px;
    font-family: Arial, sans-serif;
    margin: 0;
}

.contact-section h1 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin: 10px 0;
}

.contact-section p {
    text-align: center;
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

/* Contact Container Flexbox */
.contact-container {
    display: flex; /* Enable Flexbox */
    flex-direction: row; /* Allow items to wrap on smaller screens */
    justify-content: center; /* Center items */
    gap: 20px;
    height: 500px;
}

/* Contact Cards */
.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 500px; /* Set max width for responsiveness */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px; /* Cards take equal space and shrink if needed */
    transition: box-shadow 0.3s, transform 0.3s;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.18), 0 1.5px 6px rgba(44, 62, 80, 0.12);
    transform: translateY(-8px) scale(1.03);
}

/* Headings in Cards */
.contact-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Form Styles */
.contact-card form .form-group {
    margin-bottom: 15px;
}

.contact-card form .form-group label {
    display: block;
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 5px;
}

.contact-card form .form-group input,
.contact-card form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-card form .form-group input:focus,
.contact-card form .form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Submit Button */
.contact-card form button {
    width: 100%;
    padding: 10px;
    background-color: #0077B6;
    border: none;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-card form button:hover {
    background-color: #0096c7;
}

/* Contact Details */
.contact-details {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Links */
.email-link,
.facebook-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.email-link:hover,
.facebook-link:hover {
    color: #3498db;
}

.facebook-link:hover .contact-icon,
.email-link:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Map Section */
.map-section {
    display: flex; /* Enable Flexbox */
    flex-direction: row; /* Ensure elements wrap on smaller screens */
    gap: 30px; /* Space between text and map */
    align-items: center; /* Align items at the top */
    max-width: 1800px; /* Limit the overall width */
    width: 100%; /* Make it responsive */
    justify-content: center;
}

.map-content {
    
    margin: 0;
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
    display: flex; /* Enable Flexbox */
    flex-direction: row; /* Stack items vertically */
    align-items:center; /* Center items horizontally */
    justify-content: space-around; /* Center items vertically */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    gap: 50px;
}

.map-text {
    flex: 1 1 300px; /* Text section takes up a portion of space */
    max-width: 600px; /* Set max width for the text */
    text-align: left; /* Align text to the left */
}

.map-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
}

.map-text p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 0;
    margin-bottom: 30px;
}

.map-container {
    flex: 2 1 600px; /* Map section takes more space */
    width: 100%; /* Ensure map scales well */
    max-width: 800px; /* Set a max width for map */
    text-align: center; /* Center map content */
}

iframe {
    width: 100%; /* Ensure the iframe scales */
    height: 450px; /* Maintain height */
    border: 0;
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
}

/* Styling for long description under "Find us here" */
.map-long-description {
    margin-top: 10px;
    text-align: left;
    font-size: 1rem;
    color: #34495e;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Banner */
.contact-banner {
    position: relative; /* Required to position the overlay correctly */
    width: 100%;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.7), rgba(0, 119, 182, 0.9)), url('../assets/banner-image.jpg') no-repeat center center;
    background-size: cover;
    height: 185px; /* Adjust the height as needed */
    margin: 0;
}

.contact-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 62, 138, 0.5); /* Semi-transparent blue overlay */
    z-index: 1; /* Overlay above the background */
}

.contact-banner .content {
    position: relative; /* Ensure content is on top of the overlay */
    text-align: center; /* Center the text */
    color: white; /* White text color for contrast */
    padding: 5px 0; /* Adjust top and bottom padding for the text */
}

.contact-banner h1 {
    font-size: 2.5rem; /* Adjust the size as needed */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-banner p {
    font-size: 1.2rem;
    margin-top: 0;
}

