

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit; /* Inherit color from parent */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Section Title Styling */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em; /* Adjust as needed */
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 50px;
    padding-top: 50px; /* Space from top */
    text-transform: uppercase;
    position: relative; /* For the underline */
}

.section-title .underline {
    display: block;
    width: 60px; /* Length of the underline */
    height: 3px;
    background-color: #f0c330; /* Yellow color from image */
    margin: 10px auto 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Map Container */
.map-container {
    margin-bottom: 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for the map */
}

.map-container iframe {
    width: 100%;
    height: 400px; /* Adjust height as desired */
    border: 0;
    display: block; /* Remove extra space below iframe */
}

/* Contact Content Layout */
.contact-content {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 40px; /* Space between the two main columns */
    padding-bottom: 80px; /* Space from bottom of section */
}

.contact-left,
.contact-right {
    flex: 1; /* Both columns take equal space */
    min-width: 300px; /* Minimum width before wrapping */
}

@media (min-width: 768px) {
    .contact-left {
        flex: 2; /* Left column (form) takes more space on larger screens */
    }
    .contact-right {
        flex: 1; /* Right column takes less space */
    }
}


/* Sub-section Headings */
.contact-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px; /* Space for sub-heading underline */
}

/* Specific underline for 'Get a quote:' */
.get-a-quote h3 .underline {
    display: inline-block; /* Keep it inline with text */
    vertical-align: middle;
    width: 30px; /* Length of the underline */
    height: 3px;
    background-color: #f0c330; /* Yellow color from image */
    margin-left: 10px;
    position: relative;
    top: -2px; /* Adjust vertical alignment */
}


/* Inquiries Section */
.inquiries {
    margin-bottom: 40px;
}
.inquiries p {
    font-size: 0.95em;
    color: #555;
}

/* Contact Form Styling */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px; /* More space between form groups */
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px; /* Increased padding */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box; /* Include padding in element's total width and height */
    background-color: #f8f8f8; /* Light grey background for fields */
    color: #333;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent; /* Hide native placeholder */
}

/* Custom Placeholder Label */
.placeholder-label {
    position: absolute;
    left: 15px;
    top: 14px;
    font-size: 0.9em;
    color: #777;
    pointer-events: none; /* Don't block clicks on the input */
    transition: all 0.2s ease-out;
    background-color: #f8f8f8;
    padding: 0 5px;
}

/* Move placeholder label up on focus or when input has content */
.form-group input:focus + .placeholder-label,
.form-group input:not(:placeholder-shown) + .placeholder-label,
.form-group textarea:focus + .placeholder-label,
.form-group textarea:not(:placeholder-shown) + .placeholder-label {
    top: -10px;
    left: 10px;
    font-size: 0.75em;
    color: #f0c330; /* Yellow when active */
    background-color: #fff; /* Match form background */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f0c330; /* Yellow border on focus */
    outline: none;
    background-color: #fff;
}

/* Styling for the hidden labels */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

textarea {
    resize: vertical; /* Allow vertical resizing for textareas */
}

.submit-button {
    display: block;
    width: 100%; /* Full width button */
    padding: 15px 20px;
    background-color: #333; /* Dark grey */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #f0c330; /* Yellow on hover */
    color: #333; /* Text to dark on hover */
}

/* Right Column Content */
.head-office,
.employment,
.get-a-quote {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 40px; /* Space between sections */
}

.head-office p,
.employment p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}

.home-link {
    display: inline-block;
    margin-top: 15px;
    color: #f0c330; /* Yellow color */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}
.home-link:hover {
    text-decoration: none; /* Remove underline on hover for this link specifically */
    opacity: 0.8;
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .contact-content {
        flex-direction: column; /* Stack columns on small screens */
        gap: 30px;
    }

    .contact-left,
    .contact-right {
        min-width: unset; /* Remove min-width restriction */
        width: 100%;
    }

    .contact-form,
    .head-office,
    .employment,
    .get-a-quote {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8em;
    }
    .map-container iframe {
        height: 250px;
    }
}