/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

@media (max-width: 667px) {
    body {
        font-size: 12px;
    }
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
    transition: all 0.25s ease-in-out;
}

a:hover {
    color: #389d5d;
}

button {
    background: none;
    border: none;
}

.btn-contact {
    height: 100%;
    color: #fff;
    width: auto;
    padding: 0 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00693e;
    font-weight: 500;
}

.btn-contact svg {
    display: inline-block;
    margin-left: 17px;
    position: relative;
    left: 0;
    transition: all 0.25s ease-in-out;
}

.btn-contact--fill {
    width: 100%;
    display: flex;
    margin-left: auto;
    padding: 16px 20px 16px 40px;
    background: #fff;
    color: #000;
    border-radius: 35px;
    max-width: 200px;
}

.btn-contact--fill svg {
    margin-left: 26px;
}

.btn-contact--fill:hover {
    background: #00693E;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    color: #fff;
}

.btn-contact--fill:hover svg path {
    fill: #fff;
}

.btn-contact--bordered {
    padding: 13px 30px 13px 50px;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    align-items: center;
    border-radius: 25px;
}

.btn-contact--bordered svg {
    margin-left: 26px;
}

.btn-contact--bordered:hover {
    background: #00693E;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    color: #fff;
    border-color: #00693E;
}

.btn-contact--bordered:hover svg path {
    fill: #fff;
}


@media (max-width: 667px) {
    .btn-contact{
        padding: 10px 8px;
    }
    .btn-contact svg {
        margin-left: 5px;
    }
    .btn-contact--bordered {
        padding: 14px 22px;
    }

    .btn-contact--bordered svg {
        margin-left: 10px;
    }
    .btn-contact--fill {
        width: auto;
        max-width: 167px;
    }
}

.container-fluid {
    padding: 0 62px;
}

@media (max-width: 667px) {
    .container-fluid {
        padding: 0 20px;
    }
}

.section-title {
    margin-top: 5.75rem;
    margin-bottom: 3rem;
}

@media (max-width: 667px) {
    .section-title {
        font-size: 16px;
        margin-top: 36px;
        margin-bottom: 26px;
    }
}

.page-header {
    padding-bottom: 40px;
    padding-top: 50px;
}

.page-header__row {
    display: flex;
    align-items: center;
    position: relative;
}

.page-header nav ul {
    display: flex;
    padding-left: 120px;
}

.page-header nav ul li {
    margin-right: 43px;
}

.page-header nav ul li button,
.page-header nav ul li a {
    font-size: 14px;
    color: #000;
}

.page-header nav ul li a:hover {
    color: #00693e;
}

.page-header .dropdown-toggle:after {
    position: relative;
    top: 2px;
}

@media (max-width: 667px) {
    .page-header {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    .page-header nav {
        display: none;
    }

    .page-header .logo {
        max-width: 150px;
    }

    .page-header__row {
        justify-content: space-between;
    }
}

.page-header__dropdown {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    min-height: 382px;
    z-index: 8999;
    background: #fff;
    display: none;
}

.page-header__dropdown.is-showed {
    display: flex;
}

.dropdown-left__box {
    padding: 54px 23px 54px 43px;
    background: #389D5D;
    flex: 0 0 20%;
    min-width: 300px;
}

.dropdown-left__box h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.dropdown-left__box p {
    margin-bottom: 33px;
    color: #fff;
}

.dropdown-left__box .btn-contact--bordered {
    display: inline-flex;
    padding: 10px 15px 10px 25px;
}

.dropdown-right__box {
    flex: 1;
    padding: 54px 5vw;
    display: flex;
}

.dropdown-right__box ul {
    margin-right: 70px;
}

.dropdown-right__box ul li {
    margin-bottom: 4px;
}

@media (max-width: 667px) {
    .page-header__dropdown {
        top: 50px;
    }

    .dropdown-left__box {
        display: none;
    }

    .dropdown-right__box {
        flex-wrap: wrap;
        padding-top: 20px;
    }
}

.hambi-btn {
    display: none;
}

@media (max-width: 667px) {
    .hambi-btn {
        display: block;
    }
}

.mobile-menu {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    height: 95vh;
    min-height: 300px;
    padding: 50px;
    display: none;
    top: 60px;
    left: 0;
    z-index: 9990;
    width: 100%;
}

.mobile-menu__content {
    height: 100%;
    overflow: auto;
}

.mobile-menu ul li {
    margin-bottom: 10px;
    padding: 0;
}

.mobile-menu ul li a,
.mobile-menu ul li button{
    font-size: 16px;
    padding: 5px 0;
}

.mobile-menu ul li .sublist {
    display: none;
    padding-left: 20px;
}

.mobile-menu .btn-contact--bordered {
    border: 1px solid #000;
    color: #000;
    display: inline-flex;
    padding: 5px 15px;
}

.mobile-menu .btn-contact--bordered svg path {
    fill: #000;
}

@media (min-width: 667px) {
    .mobile-menu {
        display: none !important;
    }
}

.hero {
    height: 503px;
    width: 100%;
    background: url("../img/hero-img.jpg") no-repeat;
    background-size: cover;
    position: relative;
}

@media (max-width: 667px) {
    .hero {
        height: 202px;
    }
}

.hero-box {
    position: absolute;
    bottom: -55px;
    left: 8%;
    padding: 60px 86px;
    max-width: 412px;
    z-index: 100;
    background: rgba(56, 157, 93, 0.9);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

.hero-box__title {
    color: #fff;
    font-size: 32px;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 667px) {
    .hero-box {
        padding: 38px 22px;
        left: 20px;
        bottom: -105px;
        right: 20px;
        min-height: 140px;
    }

    .hero-box__title {
        font-size: 18px;
        max-width: 50%;
    }
}

.hero-menu {
    width: 100%;
    box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.25);
    background: #fff;
    height: 70px;
    position: relative;
    top: -30px;
}

.hero-menu nav {
    padding-left: 35px;
    display: flex;
    align-items: center;
    height: inherit;
}

.hero-menu nav ul li a {
    font-size: 14px;
}

.hero-menu .btn-contact {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}

.hero-menu .btn-contact:hover svg {
    left: 5px;
}

@media (max-width: 667px) {
    .hero-menu {
        top: -15px;
        height: 35px;
    }

    .hero-menu nav {
        padding-left: 15px;
    }
}

.block--intro {
    padding: 126px 0 95px 0;
}

.block--intro .content {
    max-width: 970px;
}

.block--intro h2 {
    font-size: 2rem;
    color: #00693e;
    letter-spacing: 0.03em;
    max-width: 800px;
}

.block--intro p {
    font-size: 1rem;
    letter-spacing: 0.01em;
}

@media (max-width: 667px) {
    .block--intro {
        padding-bottom: 42px;
    }

    .block--intro h2 {
        font-size: 16px;
    }

    .block--intro p {
        font-size: 12px;
    }
}

.author-box {
    margin: 40px 0;
}

.author-box__quote {
    color: #000;
    margin-bottom: 22px;
}

.author-box q {
    color: #000;
    font-size: 22px;
    margin-bottom: 22px;
    line-height: 1;
    display: block;
}

.author-box__speaker {
    font-style: italic;
    position: relative;
}

.author-box__speaker:after {
    content: '';
    background: #389D5D;
    border-radius: 4px;
    height: 6px;
    width: 58px;
    position: absolute;
    left: 0;
    bottom: -15px;
}

@media (max-width: 667px) {
    .author-box {
        margin: 8px 0;
    }

    .author-box q {
        font-style: italic;
        font-size: 14px;
        margin-bottom: 5px;
        line-height: 1.5;
    }
}

.block--service {
    display: flex;
    justify-content: flex-start;
}

.block--service .right-box,
.block--service .left-box {
    flex: 0 0 50%;
}

.block--service .left-box {
    background: #389d5d;
    height: inherit;
    padding: 5vw 7vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.block--service .left-box h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.block--service .left-box p {
    max-width: 470px;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.block--service .right-box {
    height: inherit;
}

.block--service .right-box img {
    width: 100%;
    height: 100%;
}

@media (max-width: 667px) {
    .block--service {
        flex-wrap: wrap;
    }

    .block--service .right-box,
    .block--service .left-box {
        flex: 0 0 100%;
    }

    .block--service .right-box {
        order: -1;
    }

    .block--service .left-box {
        width: 95%;
        margin: 0 auto;
        flex: 0 0 95%;
        position: relative;
        z-index: 10;
        top: -50px;
        margin-bottom: -50px;
    }

    .block--service .left-box p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .block--service .left-box h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

.block--boxes {
    margin-bottom: 6.5rem;
}

.block--boxes .boxes {
    display: flex;
    align-items: stretch;
    width: 93%;
}

@media (max-width: 667px) {
    .block--boxes .boxes {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .block--boxes {
        margin-bottom: 30px;
    }
}

.block--boxes .boxes h2 {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding-top: 35px;
    letter-spacing: 1%;
    margin: 0;
}

.block--boxes .boxes h2:before {
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    background: #000;
    width: 25px;
    height: 1px;
}

.block--boxes .box-image {
    flex: 0 0 62%;
}

.block--boxes .box-white {
    padding: 44px 40px 44px 64px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    background: #fff;
    width: 360px;
    flex: 0 0 360px;
    position: relative;
    z-index: 100;
    left: -20%;
    top: 100px;
    margin-right: -18%;
    height: 40vh;
    min-height: 200px;
}

.block--boxes .box-green {
    padding: 44px 47px 44px 56px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    background: #389d5d;
    position: relative;
    z-index: 100;
    height: inherit;
    min-height: 200px;
}

.block--boxes .box-green h2 {
    color: #fff;
}

.block--boxes .box-green h2:before {
    background: #fff;
}

@media (max-width: 667px) {
    .block--boxes .boxes h2 {
        padding-top: 15px;
    }
    .block--boxes .box-white {
        width: 95%;
        left: 0;
        margin: 0;
        top: 0;
        height: auto;
        min-height: 122px;
        margin: 11px auto;
        padding: 39px 60px;

        top: -60px;
        margin-bottom: -50px;
    }
    .block--boxes .box-green {
        padding: 39px 60px;
        min-height: unset;
        width: 95%;
        margin: 0 auto;
    }

    .block--boxes .boxes h2 {
        font-size: 14px;
    }

    .block--boxes .box-image {
        flex: 0 0 100%;
    }
}

/* v2 */
.block--boxes--v2 .boxes {
    width: 100%;
    padding-left: 4%;
    justify-content: flex-end;
}

.block--boxes--v2 .box-white {
    left: 0;
    margin-left: 0;
    position: relative;
    z-index: 100;
    height: inherit;
    min-height: 200px;
    background: #fff;
    margin-right: 0;
    top: 0;
}

.block--boxes--v2 .box-green {
    background: #00693e;
    padding: 44px 64px;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25);
    width: 360px;
    flex: 0 0 360px;
    position: relative;
    z-index: 100;
    right: -20%;
    top: 100px;
    margin-left: -18%;
    height: 40vh;
    min-height: 200px;
}

.block--boxes--v2 .box-image img {
    width: 100%;
}


@media (max-width: 667px) {
    .block--boxes--v2 .boxes {
        padding-left: 0;
    }

    .block--boxes--v2 .box-image {
        order: -1;
    }

    .block--boxes--v2 .box-white {
        min-height: 122px;
        position: relative;
        width: 95%;
        margin: 11px auto;
        top: -50px;
        margin-bottom: -40px;
        background: #00693e;
        color: #fff;
    }
    .block--boxes--v2 .box-white h2:before {
        background: #fff;
    }

    .block--boxes--v2 .box-green {
        margin: 0 auto;
        width: 95%;
        right: 0;
        height: auto;
        min-height: 122px;
        position: static;
        background: #fff;
    }
    .block--boxes--v2 .box-green h2 {
        color: #00693e;
    }
    .block--boxes--v2 .box-green h2:before {
        background: #00693e;
    }
}

.block--cta {
    padding: 50px 0 62px 0;
    background: #389d5d;
    margin: 92px 0;
}

.block--cta h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.75rem;
}

.block--cta .row {
    align-items: center;
}

.block--cta p {
    color: #fff;
    margin-bottom: 0;
}

@media (max-width: 667px) {
    .block--cta {
        padding: 28px 0 16px 0;
        text-align: center;
        margin: 36px 0;
    }

    .block--cta h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .block--cta p {
        line-height: 1;
        font-size: 12px;
    }

    .block--cta .btn-contact {
        margin: 20px auto 0 auto;
    }
}

.page-footer {
    background: #ececec;
    padding: 52px 0;
    text-align: center;
}

.page-footer ul {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-footer ul li {
    margin: 0 36px;
}

@media (max-width: 667px) {
    .page-footer {
        padding: 20px 0;
    }
    .page-footer ul {
        margin-top: 30px;
    }

    .page-footer ul li {
        margin: 0 10px;
    }

    .page-footer img {
        max-width: 127px;
    }
}


form input {
    background: #FFFFFF;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    height: 60px;
    width: 100%;
    padding: 0 22px;
    font-weight: 400;
    display: block;
    font-family: inherit;
}

form textarea {
    background: #FFFFFF;
    border: 1px solid #CED4DA;
    border-radius: 8px;
    min-height: 110px;
    width: 100%;
    padding: 0 22px;
    font-family: inherit;
}

form label {
    color: #000;
    font-weight: 400;
    display: block;
    position: absolute;
    margin:18px;
    left: 0;
    top: 0;
    transition: all .35s ease-in-out;
    transform-origin: 0 0;
}

form label.is-scaled {
    transform: scale(0.5);
    left: -10px;
    top: -10px;
}

form label span {
    color: red;
}

form .form-input {
    position: relative;
}

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

form .form-submit .btn-submit {
    border: 1px solid #000000;
    border-radius: 25px;
    height: 50px;
    color: #000;
    background: transparent;
    margin-top: 15px;
    transition: all .25s ease-in-out;
}

form .form-submit .btn-submit:hover {
    background: #000;
    color: #fff;
}

form .form-submit .btn-submit svg {
    fill: #fff;
}

form .form-submit .btn-submit:hover svg path {
    fill: #fff;
}

form .form-title {
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 700;
}

.modal-header .btn-close {
    background: none;
}

#modalContact .modal-content {
    background: #F7F7F7;
    border-radius: 0;
}

#modalContact .modal-header {
    border: none;
    padding: 30px 54px 0 54px;
}

#modalContact .modal-header img {
    max-width: 220px;
}

#modalContact .modal-body {
    padding: 0 54px 100px 54px;
}


@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 664px;
    }
}

@media (max-width: 667px) {
    #modalContact .modal-header {
        padding: 20px 24px 0 24px;
    }

    #modalContact .modal-header img {
        max-width: 120px;
    }
    #modalContact .modal-body {
        padding: 0 24px 50px 24px;
    }

    form .form-submit .btn-submit {
        padding: 5px 25px 5px 40px;
        height: 42px;
    }

    form .form-submit .btn-submit svg {
        margin-left: 20px;
    }

    form .form-group {
        margin-bottom: 8px;
    }

    form input {
        height: 42px;
    }

    form label {
        margin: 12px;
    }

    form .form-title {
        font-size: 16px;
        margin: 10px 0 10px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 1.25dppx),
    (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
