/* =====================================
   CONTACT SECTION
===================================== */

.contact-section {
    padding: 90px 0;
    background: #f8faf6;
    font-family: "Poppins", sans-serif;
}

.contact-section .container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
}

/* =====================================
   SECTION HEADING
===================================== */

.contact-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.contact-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #568c2a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-heading h2 {
    margin: 0 0 15px;
    color: #202820;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
}

.contact-heading h2 span {
    color: #a5dc4c;
}

.contact-heading p {
    margin: 0;
    color: #687267;
    font-size: 15px;
    line-height: 1.8;
}

/* =====================================
   MAIN LAYOUT
===================================== */

.contact-main {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 35px;
    align-items: stretch;
}

/* =====================================
   CONTACT FORM
===================================== */

.contact-form-wrapper {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e9eee4;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(30, 50, 20, 0.05);
}

.contact-form-heading {
    margin-bottom: 28px;
}

.contact-form-heading h3 {
    margin: 0 0 8px;
    color: #202820;
    font-size: 23px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}

.contact-form-heading p {
    margin: 0;
    color: #788075;
    font-size: 14px;
    line-height: 1.6;
}

/* Form Fields */

.contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact-form-wrapper label {
    display: block;
    margin-bottom: 9px;
    color: #30382e;
    font-size: 14px;
    font-weight: 500;
}

.contact-form-wrapper label span {
    color: #e45b4f;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 14px 16px;
    color: #253025;
    background: #ffffff;
    border: 1px solid #dfe6d9;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.contact-form-wrapper input,
.contact-form-wrapper select {
    height: 50px;
}

.contact-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #a1a99e;
}

/* Focus State */

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: #a5dc4c;
    box-shadow: 0 0 0 4px rgba(165, 220, 76, 0.15);
}

/* HTML Validation Feedback */

.contact-form-wrapper input:invalid:not(:placeholder-shown),
.contact-form-wrapper textarea:invalid:not(:placeholder-shown) {
    border-color: #dc6868;
}

/* Submit Button */

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 170px;
    height: 52px;
    padding: 0 24px;
    color: #203018;
    background: #a5dc4c;
    border: 1px solid #a5dc4c;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn span {
    font-size: 20px;
    line-height: 1;
}

.contact-submit-btn:hover {
    color: #ffffff;
    background: #568c2a;
    border-color: #568c2a;
    transform: translateY(-2px);
}

/* =====================================
   MAP SECTION
===================================== */

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.contact-map {
    width: 100%;
    height: 440px;
    overflow: hidden;
    background: #edf1e9;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(30, 50, 20, 0.07);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Address Card */

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e9eee4;
    border-radius: 12px;
}

.map-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #4e8527;
    background: #eff8e5;
    border-radius: 10px;
    font-size: 21px;
}

.map-address h4 {
    margin: 0 0 7px;
    color: #253025;
    font-size: 16px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

.map-address p {
    margin: 0 0 12px;
    color: #70796c;
    font-size: 13px;
    line-height: 1.7;
}

.map-address a {
    color: #568c2a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.map-address a:hover {
    color: #304d1a;
}

/* =====================================
   CONTACT INFORMATION
===================================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e9eee4;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: #a5dc4c;
    box-shadow: 0 8px 25px rgba(50, 80, 30, 0.08);
    transform: translateY(-3px);
}

.contact-info-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #568c2a;
    background: #eff8e5;
    border-radius: 12px;
    font-size: 21px;
}

.contact-info-item span {
    display: block;
    margin-bottom: 5px;
    color: #899184;
    font-size: 12px;
    font-weight: 500;
}

.contact-info-item h4 {
    margin: 0;
    color: #273126;
    font-size: 15px;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    overflow-wrap: anywhere;
}

/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 991px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 380px;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 575px) {

    .contact-section {
        padding: 55px 0;
    }

    .contact-section .container {
        width: 92%;
    }

    .contact-heading {
        margin-bottom: 30px;
    }

    .contact-heading h2 {
        font-size: 32px;
    }

    .contact-heading p {
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .contact-form-heading h3 {
        font-size: 20px;
    }

    .contact-form-wrapper input,
    .contact-form-wrapper select {
        height: 48px;
    }

    .contact-form-wrapper input,
    .contact-form-wrapper select,
    .contact-form-wrapper textarea {
        font-size: 13px;
    }

    .contact-submit-btn {
        width: 100%;
    }

    .contact-map {
        height: 300px;
        border-radius: 12px;
    }

    .map-address {
        padding: 18px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .contact-info-item {
        padding: 18px;
    }
}
/* Service dropdown in the enquiry form */
.contact-form-wrapper select {
    appearance: auto;
    cursor: pointer;
}
