/* Refined Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    background-image: url('assets/contact-us.jpg');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 15px;
    padding-right: 360px;
    padding-left: 40px;
}

.green-underline {
    width: 80px;
    height: 5px;
    background-color: #39A52B;
    margin-left: 40px;
}

/* Main Contact Section (Section 1) */
.contact-main-section {
    padding: 100px 0px 0px 0px;
    background-color: #ffffff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-left-col h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #000000;
    margin-bottom: 20px;
}

.intro-p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #444444;
    margin-bottom: 35px;
}

.contact-simple-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.contact-simple-list li {
    display: flex;
    gap: 15px;
    align-items: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #000000;
    margin-bottom: 15px;
}

.contact-simple-list i {
    color: #39A52B;
    font-size: 20px;
    width: 25px;
}

.small-map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Form Card (Right Column) */
.form-card {
    background-color: #ffffff;
    padding: 0px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    top: -50px;
    /* Slight offset up */
}

.form-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #000000;
    margin-bottom: 15px;
}

.dashed-separator {
    border-bottom: 2px dashed #dddddd;
    margin-bottom: 30px;
}

.refined-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.refined-contact-form input,
.refined-contact-form select,
.refined-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #f0f0f0;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.refined-contact-form input:focus,
.refined-contact-form select:focus,
.refined-contact-form textarea:focus {
    border-color: #39A52B;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 10px rgba(57, 165, 43, 0.1);
}

.btn-submit-green {
    background-color: #39A52B;
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-submit-green:hover {
    background-color: #2e8a22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 138, 34, 0.3);
}

/* Social Section (Section 2) */
.social-reach-section {
    padding-bottom: 100px;
}

.social-reach-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
}

.reach-logo-col {
    text-align: center;
}

.large-logo-bg {
    max-width: 300px;
    opacity: 0.8;
}

.reach-box {
    background-color: #f4f4f4;
    border: 2px dashed #000000;
    padding: 50px;
}

.reach-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    color: #000000;
    margin-bottom: 25px;
}

.reach-box p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #444444;
    margin-bottom: 35px;
}

.social-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #000000;
    margin-bottom: 20px;
}

.social-green-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-green-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #39A52B;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-green-icons a:hover {
    transform: translateY(-5px);
    background-color: #2e8a22;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-hero h1 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 36px;
        line-height: 52px;
        margin-bottom: 15px;
        padding-right: 20px;
        position: relative;
        left: -30px;
    }

    .green-underline {
        width: 80px;
        height: 5px;
        background-color: #39A52B;
        margin-left: 40px;
    }

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

    .form-card {
        top: 0;
        padding: 0px;
    }

    .refined-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-reach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reach-box {
        padding: 30px 20px;
    }
}