/*=========================
        CONTACT HERO
=========================*/

.contact-hero {
    position: relative;
    background: url("../images/contact-banner.png") center center/cover no-repeat;
    height: 420px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .65) 0%,
            rgba(0, 0, 0, .45) 35%,
            rgba(0, 0, 0, .15) 100%);

}

.hero-height {
    height: 420px;

}

.hero-content {
    position: relative;
    z-index: 5;
    margin-top: 180px;
}


.hero-content h1 {
    font-size: 52px;
    font-weight: 600;
    color: #fff;
    text-align: left;
}

/*==========================
    CONTACT FORM SECTION
==========================*/

.contact-form-section {
    padding: 90px 0;
    background: #fff;

}

.contact-left {
    position: relative;

}

.sub-heading {

    color: #5ca36a;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-left h2 {
    font-size: 40px;
    line-height: 1.2;
    color: #0b4737;
    font-weight: 400;
    margin: 20px 0;

}

.contact-left p {

    color: #2a7d2e;
    font-size: 14px;
    margin-bottom: 35px;
}

.custom-input {

    height: 45px;
    border-radius: 40px;
    border: 1px solid #d8d8d8;
    padding: 0 22px;
    font-size: 16px;
    box-shadow: none;

}

.custom-input:focus {
    border-color: #4caf50;
    box-shadow: none;
}

.custom-textarea {
    border-radius: 20px;
    border: 1px solid #d8d8d8;
    padding: 20px;
    resize: none;
    box-shadow: none;

}

.custom-textarea:focus {
    border-color: #4caf50;
    box-shadow: none;
}

.theme-btn {
    background: #2E7D32;
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 15px;
    transition: .3s;

}

.theme-btn:hover {
    background: #1b5e20;
}

.contact-image {
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 780px;
    object-fit: cover;
}

/*=========================================
    CONTACT PAGE RESPONSIVE
=========================================*/


/*=========================
1200px
=========================*/

@media (max-width:1200px) {

    .contact-hero,
    .hero-height {
        height: 360px;
    }

    .hero-content {
        margin-top: 145px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .contact-form-section {
        padding: 80px 0;
    }

    .contact-left h2 {
        font-size: 36px;
    }

    .contact-image img {
        height: 680px;
    }

}



/*=========================
992px
=========================*/

@media (max-width:992px) {

    .contact-hero,
    .hero-height {
        height: 320px;
    }

    .hero-content {
        margin-top: 120px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .contact-form-section {
        padding: 70px 0;
    }

    .contact-left {
        margin-bottom: 40px;
    }

    .contact-left h2 {
        font-size: 32px;
    }

    .contact-left p {
        font-size: 15px;
    }

    .contact-image img {
        height: 520px;
    }

    .theme-btn {
        width: 100%;
    }

}



/*=========================
768px
=========================*/

@media (max-width:768px) {

    .contact-hero,
    .hero-height {
        height: 280px;
    }

    .hero-content {
        margin-top: 100px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
        text-align: center;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .sub-heading {
        text-align: center;
        display: block;
    }

    .contact-left {
        text-align: center;
    }

    .contact-left h2 {
        font-size: 28px;
    }

    .contact-left p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .custom-input {
        height: 48px;
        font-size: 15px;
    }

    .custom-textarea {
        font-size: 15px;
    }

    .contact-image img {
        height: 420px;
        margin-top: 35px;
    }

}



/*=========================
576px
=========================*/

@media (max-width:576px) {

    .contact-hero,
    .hero-height {
        height: 240px;
    }

    .hero-content {
        margin-top: 90px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .contact-form-section {
        padding: 50px 0;
    }

    .contact-left h2 {
        font-size: 24px;
    }

    .contact-left p {
        font-size: 13px;
    }

    .custom-input {
        height: 46px;
        padding: 0 18px;
        font-size: 14px;
    }

    .custom-textarea {
        padding: 15px;
        font-size: 14px;
    }

    .theme-btn {
        padding: 13px;
        font-size: 15px;
    }

    .contact-image img {
        height: 330px;
    }

}



/*=========================
400px
=========================*/

@media (max-width:400px) {

    .contact-hero,
    .hero-height {
        height: 210px;
    }

    .hero-content {
        margin-top: 80px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .contact-left h2 {
        font-size: 21px;
    }

    .contact-left p {
        font-size: 12px;
    }

    .custom-input {
        height: 44px;
        font-size: 13px;
    }

    .custom-textarea {
        font-size: 13px;
    }

    .theme-btn {
        font-size: 14px;
    }

    .contact-image img {
        height: 280px;
    }

}



/*=========================
320px
=========================*/

@media (max-width:320px) {

    .contact-hero,
    .hero-height {
        height: 180px;
    }

    .hero-content {
        margin-top: 65px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .contact-left h2 {
        font-size: 18px;
    }

    .contact-left p {
        font-size: 11px;
    }

    .custom-input {
        height: 42px;
        padding: 0 15px;
        font-size: 12px;
    }

    .custom-textarea {
        padding: 12px;
        font-size: 12px;
    }

    .theme-btn {
        font-size: 13px;
        padding: 11px;
    }

    .contact-image img {
        height: 220px;
    }

}



/*=========================
200px
=========================*/

@media (max-width:240px) {

    .contact-hero,
    .hero-height {
        height: 150px;
    }

    .hero-content {
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 16px;
    }

    .contact-left h2 {
        font-size: 15px;
    }

    .contact-left p {
        font-size: 10px;
    }

    .custom-input {
        height: 36px;
        padding: 0 10px;
        font-size: 10px;
    }

    .custom-textarea {
        padding: 10px;
        font-size: 10px;
    }

    .theme-btn {
        font-size: 11px;
        padding: 9px;
    }

    .contact-image img {
        height: 160px;
    }

}