@media (max-width: 1279px) {
    #about .container>img {
        width: 40%;
    }

    .benefit-content {
        padding: 36px;
    }

    .news-item h3 {
        padding: 32px 16px;
        font-size: 1.6rem;
    }
}

@media (max-width: 1050px) {
    header .nav a {
        padding: 11px 18px 0;
    }
}

@media (max-width: 992px) {
    header {
        padding: 16px 24px;
    }

    header .nav a {
        padding: 11px 6px 0;
    }

    header .nav a.active:before,
    header .nav a:hover:before {
        top: -11px;
        left: 6px;
        width: calc(100% - 12px);
    }

    section {
        padding: 64px 24px;
    }

    #home {
        margin-top: -88px;
        padding: 0 24px;
    }

    #about .flex-container {
        margin-top: 142px;
    }

    #about .flex-container h2 {
        position: absolute;
        top: 64px;
    }

    .about-content p:first-of-type {
        padding-top: 0;
    }

    .projects {
        gap: 24px;
    }

    .project {
        width: calc((100% / 3) - 16px);
    }

    .project-detail {
        padding: 24px 16px;
    }

    .project-detail h3 {
        font-size: 1.8rem;
    }

    .project-detail p {
        font-size: 1.8rem;
        padding-top: 2px;
    }

    .services-container {
        flex-direction: column;
        padding-top: 24px;
        gap: 24px;
    }

    .service h3 span {
        display: none;
    }

    .sec-services-container {
        gap: 24px;
    }

    .sec-service {
        width: calc((100% / 2) - 12px);
    }

    .news-container {
        padding-top: 24px;
        margin: 0 -24px;
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .news-container::-webkit-scrollbar {
        display: none;
    }

    .news-container a {
        flex: 0 0 211px;
        scroll-snap-align: start;
    }

    .news-container a:first-child {
        margin-left: 24px;
    }

    .news-container a:last-child {
        margin-right: 24px;
    }

    #faq h2 {
        max-width: unset;
        padding-top: 0;
    }

    #faq .container {
        flex-direction: column;
        gap: 24px;
    }

    .contact-content {
        flex-direction: column;
        gap: 24px;
    }

}

@media (max-width: 767px) {
    body {
        font-size: 1.4rem;
    }

    h2,
    h3 {
        font-size: 2.2rem;
    }

    header .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        height: calc(100vh - 63px);
        width: 100%;
        top: 63px;
        right: 0;
        background: #FFF;
        padding: 20px;
        text-align: center;
        transition: 0.3s ease-in-out;
    }

    header .nav.active {
        display: flex;
    }

    header .nav a {
        padding: 15px 0;
        display: block;
        margin-right: 0;
        box-shadow: none;
        font-size: 1.6rem;
    }

    header .nav a.active {
        color: #6B9C46;
    }

    header .nav a.active:before,
    header .nav a:hover:before {
        content: none;
    }

    .hamburger {
        display: flex;
    }

    #home {
        background: url('../images/home-bg-mb.webp') no-repeat;
        background-size: cover;
    }

    .home-content {
        padding: 240px 0 304px;
    }

    .home-content h2 {
        font-size: 2.4rem;
    }

    .home-content p {
        max-width: 300px;
        line-height: 1.8;
    }

    .home-content .button {
        margin-top: 64px;
        font-size: 1.4rem;
    }

    #about .flex-container {
        margin-top: 78px;
        flex-direction: column;
        gap: 32px;
        padding-top: 0 !important;
    }

    #about .container>img {
        width: 100%;
    }

    #about .container {
        padding-top: 64px;
    }

    #about h2 {
        padding-bottom: 0;
    }

    #about .button {
        padding-top: 27px;
        font-size: 1.4rem;
    }

    .button.secondary img {
        padding: 10px;
    }

    .button-green {
        font-size: 14px;
        padding: 16px 24px;
    }

    .projects {
        padding-top: 24px;
        margin: 0 -24px;
        display: flex;
        justify-content: flex-start;
        align-items: stretch;
        gap: 24px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .projects::-webkit-scrollbar {
        display: none;
    }

    .project {
        flex: 0 0 211px;
        scroll-snap-align: start;
    }

    .project:first-child {
        margin-left: 24px;
    }

    .project:last-child {
        margin-right: 24px;
    }

    .project-detail h3, .project-detail p {
        font-size: 1.4rem;
    }

    #quote {
        background: url('../images/quote-bg-mb.webp') no-repeat;
        background-size: cover;
    }

    .quote-content {
        padding: 236px 0;
    }

    .quote-content p {
        padding-top: 24px;
        font-size: 1.4rem;
        line-height: 1;
    }

    #benefits {
        padding-bottom: 0;
    }

    #benefits h2 {
        max-width: 220px;
    }

    .benefit {
        border-radius: 0;
        margin: 24px -24px 0;
    }

    .benefit:nth-of-type(1) {
        background: url('../images/1-mb.webp') no-repeat;
        background-size: cover;
        background-position: center;
    }

    .benefit:nth-of-type(2) {
        background: url('../images/2-mb.webp') no-repeat;
        background-size: cover;
        background-position: center;
    }

    .benefit:nth-of-type(3) {
        background: url('../images/3-mb.webp') no-repeat;
        background-size: cover;
        background-position: center;
    }

    .benefit:nth-of-type(4) {
        background: url('../images/4-mb.webp') no-repeat;
        background-size: cover;
        background-position: center;
    }

    .benefit:nth-of-type(5) {
        background: url('../images/5-mb.webp') no-repeat;
        background-size: cover;
        background-position: center;
    }

    .benefit-content {
        padding: 32px 24px 0;
    }

    .benefit .benefit-content,
    .benefit:nth-of-type(even) .benefit-content {
        flex-direction: column;
    }

    .benefit-content .no {
        font-size: 5.0rem;
        position: static;
    }

    .benefit:nth-of-type(1) .benefit-title {
        padding: 32px 0 0;
        width: 100%;
    }

    .benefit:nth-of-type(1) p {
        padding: 24px 0 80px;
        width: 100%;
    }

    .benefit:nth-of-type(2) .benefit-title {
        padding: 28px 0 0;
        width: 100%;
    }

    .benefit:nth-of-type(2) p {
        padding: 24px 0 106px;
        width: 100%;
    }

    .benefit:nth-of-type(3) .benefit-title {
        padding: 39px 0 0;
        width: 100%;
    }

    .benefit:nth-of-type(3) p {
        padding: 28px 0 73px;
        width: 100%;
    }

    .benefit:nth-of-type(4) .benefit-title {
        padding: 38px 0 0px;
        width: 100%;
    }

    .benefit:nth-of-type(4) p {
        padding: 28px 0 128px;
        width: 100%;
    }

    .benefit:nth-of-type(5) .benefit-title {
        padding: 40px 0 0;
        width: 100%;
    }

    .benefit:nth-of-type(5) p {
        padding: 28px 0 50px;
        width: 100%;
    }

    .benefit:nth-of-type(1) .benefit-title img {
        width: 40px;
        background: url('../images/heart-pulses.svg') no-repeat;
        background-size: contain;
        padding: 5px 10px 15px;
        margin-bottom: 16px;
    }

    .benefit:nth-of-type(2) .benefit-title img {
        margin-left: -20px;
        width: 70px;
    }

    .benefit:nth-of-type(3) .benefit-title img {
        margin-left: 0;
        width: 40px;
    }

    .benefit:nth-of-type(4) .benefit-title img {
        width: 50px;
    }

    .benefit:nth-of-type(5) .benefit-title img {
        width: 40px;
        background: url('../images/leaf-building.svg') no-repeat;
        background-size: contain;
        padding: 11px 10px 0 1px;
    }

    .benefit-content p {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .service {
        padding: 24px 32px 56px;
        border-radius: 20px;
    }

    .service-title {
        padding-top: 30px;
    }

    #services h2.pdt {
        padding-top: 64px;
    }

    .sec-services-container {
        padding-top: 48px;
    }

    .sec-service {
        width: 100%;
    }

    .service-detail {
        padding: 24px 32px 32px;
    }

    .service-detail h3 {
        font-size: 2.0rem;
        line-height: 1.1;
    }

    .service-detail p {
        padding-top: 16px;
    }

    .faq-item {
        border-radius: 20px;
        margin-bottom: 16px;
    }

    .faq-question {
        padding: 6px 36px 6px 16px;
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .faq-question::after {
        content: '';
        height: 10px;
        width: 10px;
        background: url(../images/plus.svg);
        background-size: contain;
        position: absolute;
        right: 16px;
        top: calc(50% - 4px);
    }

    .faq-answer {
        font-size: 1.4rem;
        line-height: 1.8;
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        margin: 0 16px 16px;
        padding: 8px 0 0;
    }

    .contact {
        gap: 12px;
    }

    .contact:first-of-type img {
        width: 30px;
        margin: 0 10px;
    }

    .contact:nth-of-type(2) img {
        width: 50px;
    }

    .contact:last-of-type img {
        width: 40px;
        margin: 0 5px;
    }

    .contact-content {
        padding: 24px 0;
        font-size: 1.4rem;
    }

    .contact:last-of-type {
        font-size: 1.4rem;
    }

    /* -------------- */

    .contact-content-new {
        margin-top: 24px;
        border-radius: 20px;
        display: block;
    }

    .contact-details {
        border-radius: 20px;
        padding: 40px 18px;
        font-size: 14px;
    }

    .contact-details ul li {
        margin-bottom: 24px;
    }

    .contact-details ul li:last-child {
        margin-bottom: 0px;
    }

    .contact-details ul li img {
        width: 30px;
    }

    .contact-details ul li span {
        width: 50px;
    }

    .contact-details ul li img.wd1 {
        width: 40px;
        margin-left: -5px;
    }

    .contact-details a {
        color: #fff;
    }

    .contact-form {
        padding: 40px 24px;
        flex: 1;
    }

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

    .form-group.dflex {
        display: block;
    }

    .form-group.dflex>div {
        width: 100%;
        margin-bottom: 24px;
    }

    .button-wrap {
        text-align: left;
        padding: 10px 0px;
    }

    /* --------------- */

    footer {
        margin-top: 0px;
        padding: 72px 32px;
        font-size: 1.0rem;
        line-height: 1;
    }

    footer img {
        width: 190px;
    }
}