@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Rubik", serif;
    background-color: #f4f4f4;
    padding-top: 110px;
}


.hero-section {
    background-size: cover;
    background-position: top;
    height: 55%; /* Adjusted for better responsiveness */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
}

/* Adding the black transparent overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: 55%;
    background: rgba(0, 0, 0, 0.5); /* Adjust transparency */
    z-index: 1;
}

/* Ensuring text appears above the overlay */
.hero-section h1 {
    position: relative;
    z-index: 2;
}

h2{
    padding: 2% 5%;
    font-weight: 400;
    font-size: 30px;
}

/* General Section Styling */
.About {
    display: flex;
        justify-content: space-between;
        /* align-items: center; */
        padding: 0px 5%;
        /* background-color: #f8f8f8; */
        padding-bottom: 5%;
}

/* Form Container */
.form-style-8 {
    width: 50%;
    /* background: #fff; */
    padding-right: 30px;
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

/* Form Fields */
/* Input & Textarea Styling */
.form-style-8 input,
.form-style-8 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #ccc; /* Only bottom border */
    background: transparent;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

/* Remove default focus styles */
.form-style-8 input:focus,
.form-style-8 textarea:focus {
    border-bottom: 2px solid #C58602; /* Highlighted bottom border on focus */
    outline: none;
}

/* Placeholder Styling */
.form-style-8 input::placeholder,
.form-style-8 textarea::placeholder {
    color: #888;
    font-size: 14px;
}

/* Custom Submit Button */
.form-style-8 button {
    margin-top: 30px;
    display: inline-block;
    width: 50%;
    padding: 12px;
    background: linear-gradient(45deg, #000, #000000);
    color: #F8D486;
    font-size: 18px;
    /* font-weight: bold; */
    text-align: center;
    border: none;
    /* border-radius: 30px; */
    cursor: pointer;
    /* transition: all 0.3s ease-in-out; */
}

/* Hover Effect */
.form-style-8 button:hover {
    background: linear-gradient(45deg, #F8D486, #F8D486);
    color: #000000;
}

/* Align checkboxes and labels in a single row */
#contact-method,
#business-type {
    margin-left: 1%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5%;
    color: #888;
    margin-top: 20px;
}

/* Ensure labels and checkboxes are aligned properly */
#contact-method label,
#business-type label {
    display: flex;
    align-items: flex-end;
    font-size: 13px;
    cursor: pointer;
}

/* Fix checkbox alignment issues */
#contact-method input[type="checkbox"],
#business-type input[type="checkbox"] {
    appearance: none; /* Remove default styling */
    width: 18px;
    height: 18px;
    border: 2px solid #F8D486; /* Yellow border */
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    margin-right: 5px; /* Adds space between checkbox and text */
    position: relative;
    vertical-align: middle; /* Ensures it aligns with text */
    margin-bottom: 0px;
    padding: 5px;
}

/* Checked state with yellow color */
#contact-method input[type="checkbox"]:checked,
#business-type input[type="checkbox"]:checked {
    background-color: #F8D486; /* Yellow background */
    border-color: #F8D486;
}

/* Add checkmark when checked */
#contact-method input[type="checkbox"]:checked::after,
#business-type input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

#business-type p {
    font-size: 16px;
}


/* Map Section */
.map-container {
    width: 45%;
    height: 275px;
    position: relative;
    overflow: hidden;
}

/* Dark Overlay */
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust the opacity for more darkness */
    pointer-events: none; /* Ensures the map remains interactive */
}

/* Ensure the iframe stays below the overlay */
.map-container iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .About {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0px 10%;
    }

    .form-style-8 {
        width: 100%;
        margin-bottom: 20px;
    }

    .map-container {
        width: 100%;
        height: 300px;
        padding-bottom: 10%;
    }

    .form-style-8 button {
        width: 100%;
    }

    #contact-method,
#business-type {
    margin-top: 35px;
}
}

/* Styling for response message */
#responseMessage {
    margin-top: 15px;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    /* border-radius: 5px; */
    display: none;
    width: 48%;
}

/* Success message style */
.response-success {
    color: #c59d5f;
}

/* Error message style */
.response-error {
    color: #721c24;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.dropdown {
    position: relative;
    border: none;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 30px;
}


.dropdown-selected {
    font-size: 13px;
    color: #888888;
    text-align: left;
}

.dropdown-options {
    position: absolute;
    width: 98%;
    background: white;
    border: 1px solid #ccc;
    display: none;
    overflow-y: auto;
    z-index: 1000;
    padding: 5px;
    margin-left: -11px;
    margin-top: -20px;
}

.dropdown-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
}

.dropdown-list {
    max-height: 150px;
    overflow-y: auto;
}

.dropdown-option {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.dropdown-option:hover {
    background: #f0f0f0;
}