/* ===== Contact Heading Section - Top ===== */
.contact-heading-section {
    padding: 40px 0 30px;
    background-color: #f0f4e8; /* Light green background */
    border-top: 1px solid #d0d8c0; /* Light border on top */
}

.contact-heading-wrapper {
    text-align: center;
}

.page-heading {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Contact Map Top ===== */
.contact-map-top {
    width: 100%;
}

.map-container-top {
    width: 100%;
    line-height: 0;
}

.map-container-top iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ===== Contact Section Middle ===== */
.contact-section-middle {
    padding: 80px 0;
    background-color: #EDFFD5 ;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper-middle {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Left Side: Contact Info */
.contact-info-left {
    padding-right: 20px;
}

.contact-heading {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-divider {
    width: 60px;
    height: 3px;
    background-color: #90C847;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item svg {
    stroke: #90C847;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item a,
.contact-item span {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #90C847;
}

/* Social Icons */
.social-icons-contact {
    display: flex;
    gap: 12px;
}

.social-icons-contact a {
    width: 40px;
    height: 40px;
    background-color: #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons-contact a svg {
    fill: #000;
}

.social-icons-contact a:hover {
    background-color: #90C847;
    transform: translateY(-3px);
}

.social-icons-contact a:hover svg {
    fill: #ffffff;
}

/* Right Side: Contact Form */
.contact-form-right {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-new label {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.form-input-new,
.form-textarea-new {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-input-new:focus,
.form-textarea-new:focus {
    outline: none;
    border-color: #90C847;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 150, 48, 0.1);
}

.form-textarea-new {
    resize: vertical;
    min-height: 120px;
}

/* Alert Messages */
.alert-success-new {
    padding: 15px 20px;
    background-color: #d4edda;
    color: #90C847;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error-new {
    padding: 15px 20px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-error-new p {
    margin: 0;
}

/* Submit Button */
.btn-submit-new {
    padding: 16px 40px;
    background-color: #90C847;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.btn-submit-new:hover {
    background-color: #90C847;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 150, 48, 0.4);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 992px) {
    .contact-heading-section {
        padding: 35px 0 25px;
    }
    
    .page-heading {
        font-size: 30px;
    }
    
    .contact-wrapper-middle {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-left {
        padding-right: 0;
    }
    
    .contact-form-right {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-heading-section {
        padding: 30px 0 20px;
    }
    
    .page-heading {
        font-size: 26px;
    }
    
    .contact-map-top iframe {
        height: 350px;
    }
    
    .contact-section-middle {
        padding: 60px 0;
    }
    
    .contact-heading {
        font-size: 26px;
    }
    
    .contact-form-right {
        padding: 25px;
    }
    
    .form-group-new label {
        font-size: 14px;
    }
    
    .form-input-new,
    .form-textarea-new {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .btn-submit-new {
        width: 100%;
        padding: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .page-heading {
        font-size: 22px;
    }
    
    .contact-heading {
        font-size: 22px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-item svg {
        margin-top: 0;
    }
}