.contact .main {
    margin-top: 0px;
}
.hero_section {
    padding-block: 140px 52px;
}
.hero_section .figure {
    z-index: -1;
}
.hero_section .figure::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.hero_section .intro_header {
    margin-bottom: 32px;
}
.hero_section .intro_header .tagline {
    color: var(--primary-green);
    /* margin-bottom: 32px; */
}
.hero_section .intro_header .title {
    margin-bottom: 10px;
}
.hero_section .intro_header .title, .hero_section .intro_header .description {
    color: var(--white);
}

/* GET IN TOUCH SECTION */
.contact_section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(232, 236, 242, 1) 100%);
    border-radius:30px;
    padding: 32px 32px;
    margin-block: 0px;
}


.contact_grid{
    display:grid;
    grid-template-columns:550px 1fr;
    gap:100px;
}
.contact_section .contact_info {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact_section .contact_info .contact_detail:not(.contact_section .contact_info .contact_detail:last-child) {
    margin-bottom: 24px;
}

.contact_detail label{
    display:block;
    margin-bottom:10px;

    color:var(--bg-green);
}

.contact_detail a{
    text-decoration:none;
    font-size:20px;
    line-height: 28px;
    color: var(--main-text);
}
.contact_detail a:hover {
    color: var(--primary-green);
}

/* Follow us */
.follow_us ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 12px;
}
.follow_us ul li {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--steel-blue);
}
.follow_us ul li:hover {
    background-color: var(--primary-green);
}
.follow_us ul li a {
    display: block;
    text-indent: -10000px;
    width: 100%;
    height: 100%;
}
.follow_us ul li.linkedin a {
    background: url(../images/mage_linkedin.svg) no-repeat;
    background-position: center center;
    background-size: 20px;
}
.follow_us ul li.youtube a {
    background: url(../images/mingcute_youtube-fill.svg) no-repeat;
    background-position: center center;
    background-size: 20px;
}
.follow_us ul li.x a {
    background: url(../images/ri_twitter-x-line.svg) no-repeat;
    background-position: center center;
    background-size: 20px;
}
.follow_us ul li.instagram a {
    background: url(../images/instagram.svg) no-repeat;
    background-position: center center;
    background-size: 22px;
}
.follow_us ul li.facebook a {
    background: url(../images/facebook.svg) no-repeat;
    background-position: center center;
    background-size: 22px;
}

/* Form */

.contact_form{
    width:100%;
}

.form_row{
    display:grid;
    grid-template-columns:1fr 220px;
    gap:30px;
}

.form_group{
    margin-bottom:16px;
}

.form_group label{
    display:block;
    margin-bottom:8px;

    font-size:11px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: normal;
    color:#9AA4B8;

    font-family: "Inter", sans-serif;
}

.form_group input,
.form_group textarea,
.form_group select{
    width:100%;
    outline:none;

    background:var(--white);
    border: 1px solid #E8ECF2;

    font-size:13px;
    line-height: 18px;
    color:#5A6478;
    letter-spacing: normal;

    border-radius:30px;

    padding:16px 26px;

    font-family: "Inter", sans-serif;
    font-weight: 400;

}

.form_group input,
.form_group select{
    /* height:58px; */
}

.form_group textarea{
    height:130px;
    resize:none;
    color:#5A6478;
    padding-top:20px;
    border-radius:28px;
    vertical-align: middle;
}

.form_submit{
    display:flex;
    justify-content:flex-end;
    margin-top:30px;
}
.form_submit p {
    display: flex;
    align-items: center;
}
.form_submit .wpcf7-submit {
    min-width: fit-content;
    order: 2;
    cursor: pointer;
    border: none;
}
/* Select Arrow */

.form_group select{
    appearance:none;

    background:#fff url(../images/green-arrow-down.svg) no-repeat;
    background-position: 90% center;
    background-size: 14px;
}

/* CF7 */
.wpcf7-form-control-wrap {
    display: block;
}
.wpcf7-not-valid-tip {
    display: none;
  }
  .contact_form .wpcf7-not-valid {
    border-color: red;
  }
  .wpcf7 form .wpcf7-response-output {
    font-size: 14px;
    border-width: 1px;
    display: none;
  }
  .wpcf7 form.sent .wpcf7-response-output {
    display: block;
  }

/* placeholder style */
.form_group input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color:#5A6478;
    opacity: 1;
  }
  .form_group input::-moz-placeholder { /* Firefox 19+ */
    color:#5A6478;
    opacity: 1;
  }
  .form_group input:-ms-input-placeholder { /* IE 10+ */
    color:#5A6478;
    opacity: 1;
  }
  .form_group input:-moz-placeholder { /* Firefox 18- */
    color:#5A6478;
    opacity: 1;
  }

  /* Responsive */

  @media screen and (max-width:1199px){
    /* Contact */
    .contact_grid {
        grid-template-columns: 480px 1fr;
        gap: 60px;
    }
  }

  @media screen and (max-width:991px){
  .contact_grid {
    grid-template-columns: 1fr;
    gap: 40px;
    }
    .contact_section .contact_info {
        order: inherit;
    }
}
@media screen and (max-width:767px){
    .hero_section {
        padding-block: 120px 48px;
    }
    .contact_section {
        padding: 48px 20px;
    }

    .form_row {
        grid-template-columns: 1fr;
        gap: 0px;
    }
}