* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.3;
    font-family: Arial;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 13vh;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #FAF9F6;
    cursor: pointer;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header div {
    display: flex;
}

body {
    background-color: #F5F3EE;
}

.h_img {
    width: 14%;
}

.h_div1 {
    width: 40%;
    align-items: center;
    justify-content: space-evenly;
    font-size: 17px;
}

.h_div1 a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.h_div1 a:hover {
    color: #7E0A1F;
}

.h_div2 {
    width: 22%;
    align-items: center;
}

.h_div2 div {
    width: 50%;
    align-items: center;
    justify-content: space-around;
}

.h_div2 svg {
    padding: 5%;
    width: 18%;
    height: 18%;
    justify-content: center;
    background: #1C5627;
    border-radius: 8px;
}

.h_div2 a {
    padding-top: 1%;
    color: #000;
    font-weight: bold;
    font-size: 14.5px;
    align-items: center;
    text-decoration: none;
}

.h_div2 a:hover {
    color: #7E0A1F;
}

main section {
    width: 100%;
    margin-bottom: 2%;
}

video {
    margin-top: -13%;
    width: 100%;
    opacity: 1;
    filter: brightness(90%);
}

.on_img {
    position: absolute;
    top: 37%;
    left: 20%;
    width: 60%;
    text-align: center;
}

.on_img h1 {
    color: #fff;
    font-size: 37px;
    margin-bottom: 2.5%;
    text-shadow: 1px 1px #cccc;
}

.on_img p {
    font-size: 20px;
    font-weight: bold;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: #ccc;
}

#problem_img {
    margin-top: 4%;
    width: 20%;
    height: 9vh;
}

.service_h {
    text-align: center;
    margin-bottom: 0.5%;
    margin-top: 9%;
    color: #7E0A1F;
    font-size: 40px;
}

.service_p {
    color: #525252;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2.5%;
    width: 40%;
}


.service_sect {
    width: 88%;
    max-width: 1250px;
    margin: 0 auto 7%;
}

.serviceDiv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 28px;
}


.serviceDiv > div {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    min-height: 410px;
    padding: 30px 35px 32px;

    background: #F9F7F2;

    border: 1px solid rgba(28, 86, 39, 0.12);
    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(28, 86, 39, 0.07);

    text-align: center;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.serviceDiv > div::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #1C5627;

    transform: scaleX(0.25);
    transform-origin: center;

    transition: transform 0.35s ease;
}


.serviceDiv > div:hover {
    transform: translateY(-8px);

    border-color: rgba(28, 86, 39, 0.3);

    box-shadow:
        0 18px 40px rgba(28, 86, 39, 0.14);
}

.serviceDiv > div:hover::before {
    transform: scaleX(1);
}


.serviceDiv img {
    display: block;

    width: auto !important;
    height: 150px;

    object-fit: contain;

    margin: 0 auto 20px !important;

    transition: transform 0.35s ease;
}

.serviceDiv > div:hover img {
    transform: translateY(-5px);
}


.serviceDiv .mainP {
    margin: 5px 0 8px;

    color: #1C5627;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.25;
}

.serviceDiv .secP {
    margin: 0 0 18px;

    color: #7E0A1F;

    font-size: 18px;
    font-weight: 700;
}


.serviceDiv a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: auto;

    padding: 10px 18px;

    color: #1C5627;

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    border: 1px solid rgba(28, 86, 39, 0.25);
    border-radius: 8px;

    background: transparent;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.serviceDiv div a::after {
    display: none;
}

.serviceDiv a:hover {
    color: #fff;

    background-color: #1C5627;

    border-color: #1C5627;

    transform: translateX(3px);
}

.serviceDiv a svg {
    margin: 0;

    transition: transform 0.3s ease;
}

.serviceDiv a:hover svg {
    transform: translateX(4px);
}


.serviceDiv .secP::first-letter {
    color: #7E0A1F;
}

#stats {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.stats_num {
    position: absolute;
    top: 35%; 
    color: #000;
    text-align: center;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.stats_num p {
    font-style: italic;
    font-size: 25px;
}

.stats_num span {
    color: #7E0A1F;
    font-weight: bold;
    font-size: 35px;
}


@media (max-width: 1200px) {

    header {
        height: 105px;
        padding: 10px 20px;
    }

    .h_img {
        width: 18%;
    }

    .h_img img {
        width: 120px;
        height: auto;
    }

    .h_div1 {
        width: 42%;
        font-size: 15px;
        gap: 15px;
    }

    .h_div2 {
        width: 32%;
    }

    .h_div2 div {
        width: 50%;
    }

    .h_div2 a {
        font-size: 12px;
    }

    .h_div2 svg {
        width: 22px;
        height: 22px;
        padding: 4px;
    }


    video {
        margin-top: 0;
        width: 100%;
        height: 65vh;
        object-fit: cover;
    }

    .on_img {
        top: 35%;
        left: 10%;
        width: 80%;
    }

    .on_img h1 {
        font-size: 32px;
    }

    .on_img p {
        width: 80%;
        font-size: 18px;
    }


    .service_h {
        margin-top: 8%;
        font-size: 34px;
    }

    .service_p {
        width: 60%;
        font-size: 16px;
    }

    .service_sect {
        width: 90%;
    }

    .serviceDiv {
        gap: 22px;
    }

    .serviceDiv > div {
        min-height: 390px;
        padding: 25px;
    }

    .serviceDiv img {
        height: 135px;
    }

    .serviceDiv .mainP {
        font-size: 22px;
    }

    .serviceDiv .secP {
        font-size: 16px;
    }


    #stats img {
        height: 380px;
        object-fit: cover;
    }

    .stats_num {
        top: 30%;
    }

    .stats_num svg {
        width: 60px;
        height: 60px;
    }

    .stats_num span {
        font-size: 30px;
    }

    .stats_num p {
        font-size: 18px;
    }
}


@media (max-width: 870px) {

    header {
        position: fixed;

        width: 100%;
        height: auto;
        min-height: 105px;

        padding: 8px 15px;

        display: grid;

        grid-template-columns: 1fr auto;
        grid-template-rows: 48px 35px;

        align-items: center;

        gap: 3px 10px;
    }


    .h_img {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .h_img img {
        width: 100px;
        height: auto;
    }


    .h_div2 {
        width: auto;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 8px;
    }

    .h_div2 div {
        width: auto;

        display: flex;
        align-items: center;

        gap: 4px;
    }

    .h_div2 svg {
        width: 19px;
        height: 19px;

        padding: 3px;

        flex-shrink: 0;

        background: #1C5627;
        border-radius: 6px;
    }

    .h_div2 a {
        font-size: 10px;
        white-space: nowrap;
    }


    .h_div1 {
        grid-column: 1 / 3;
        grid-row: 2;

        width: 100%;

        display: flex;

        align-items: center;
        justify-content: center;

        gap: 25px;

        font-size: 13px;
    }

    .h_div1 a {
        white-space: nowrap;
    }


    main {
        width: 100%;
        overflow: hidden;
    }

    .video_sect {
        width: 100%;
        height: 65vh;

        position: relative;
        overflow: hidden;
    }

    video {
        width: 100%;
        height: 65vh;

        margin-top: 0;

        object-fit: cover;
        object-position: center;
    }

    .on_img {
        position: absolute;

        top: 40%;
        left: 5%;

        width: 90%;

        text-align: center;
    }

    .on_img h1 {
        font-size: 26px;

        line-height: 1.3;

        margin-bottom: 18px;
    }

    .on_img p {
        width: 90%;

        font-size: 16px;
        line-height: 1.5;
    }


    #hr {
        margin-top: 0 !important;
    }

    .service_h {
        margin-top: 10%;

        padding: 0 15px;

        font-size: 30px;
        line-height: 1.25;
    }

    .service_p {
        width: 85%;

        margin: 12px auto 30px;

        font-size: 15px;
        line-height: 1.5;
    }


    .service_sect {
        width: 90%;

        margin: 0 auto 60px;
    }

    .serviceDiv {
        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        width: 100%;

        margin-bottom: 20px;
    }

    .serviceDiv > div {
        width: 100%;

        min-height: 360px;

        padding: 25px 20px 28px;

        border-radius: 16px;
    }


    .serviceDiv img {
        width: auto !important;

        height: 135px;

        max-width: 75%;

        object-fit: contain;

        margin: 0 auto 15px !important;
    }


    .serviceDiv .mainP {
        margin: 5px 0 8px;

        font-size: 22px;

        line-height: 1.3;
    }

    .serviceDiv .secP {
        margin: 0 0 18px;

        font-size: 16px;

        line-height: 1.4;
    }


    .serviceDiv a {
        padding: 9px 16px;

        font-size: 15px;
    }


    #stats {
        height: auto;

        position: relative;

        overflow: hidden;
    }

    #stats > img {
        width: 100%;
        height: 540px;

        object-fit: cover;
    }

    .stats_num {
        position: absolute;

        top: 50%;
        left: 0;

        transform: translateY(-50%);

        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 45px 15px;

        padding: 20px;
    }

    .stats_num > div {
        text-align: center;
    }

    .stats_num svg {
        width: 55px;
        height: 55px;
    }

    .stats_num span {
        font-size: 28px;
    }

    .stats_num p {
        font-size: 16px;

        margin-top: 5px;
    }
}


@media (max-width: 480px) {

    header {
        font-size: 16px;
        min-height: 100px;

        padding: 7px 10px;

        grid-template-columns: 1fr auto;
        grid-template-rows: 43px 36px;

        gap: 3px 5px;
    }


    .h_img img {
        width: 85px;
    }


    .h_div2 {
        gap: 6px;
    }

    .h_div2 div {
        gap: 3px;
    }

    .h_div2 svg {
        width: 17px;
        height: 17px;

        padding: 3px;

        border-radius: 5px;
    }

    .h_div2 a {
        font-size: 8px;
    }


    .h_div1 {
        gap: 16px;

        font-size: 11px;
    }


    .video_sect {
        height: 58vh;
    }

    video {
        height: 58vh;
    }

    .on_img {
        top: 38%;
        left: 5%;

        width: 90%;
    }

    .on_img h1 {
        font-size: 22px;

        line-height: 1.35;

        margin-bottom: 15px;
    }

    .on_img p {
        width: 95%;

        font-size: 14px;
    }


    .service_h {
        margin-top: 12%;

        font-size: 26px;
    }

    .service_p {
        width: 90%;

        font-size: 14px;
    }

    .service_sect {
        width: 92%;

        margin-bottom: 50px;
    }

    .serviceDiv {
        gap: 16px;

        margin-bottom: 16px;
    }

    .serviceDiv > div {
        min-height: 340px;

        padding: 22px 15px 25px;

        border-radius: 14px;
    }

    .serviceDiv img {
        height: 120px;

        max-width: 70%;
    }

    .serviceDiv .mainP {
        font-size: 20px;
    }

    .serviceDiv .secP {
        font-size: 15px;
    }

    .serviceDiv a {
        padding: 8px 14px;

        font-size: 14px;
    }


    #stats > img {
        height: 610px;
    }

    .stats_num {
        grid-template-columns: 1fr 1fr;

        gap: 40px 5px;

        padding: 10px;
    }

    .stats_num svg {
        width: 45px;
        height: 45px;
    }

    .stats_num span {
        font-size: 25px;
    }

    .stats_num p {
        font-size: 14px;
    }
}

@media (max-width: 360px) {

    header {
        min-height: 98px;

        padding: 6px 8px;
    }

    .h_img img {
        width: 75px;
    }

    .h_div2 {
        gap: 4px;
    }

    .h_div2 a {
        font-size: 7px;
    }

    .h_div2 svg {
        width: 15px;
        height: 15px;

        padding: 2px;
    }

    .h_div1 {
        gap: 12px;

        font-size: 10px;
    }


    .video_sect {
        height: 55vh;
    }

    video {
        height: 55vh;
    }

    .on_img {
        top: 36%;
    }

    .on_img h1 {
        font-size: 19px;
    }

    .on_img p {
        font-size: 13px;
    }


    .service_h {
        font-size: 23px;
    }

    .service_p {
        font-size: 13px;
    }

    .serviceDiv > div {
        min-height: 325px;

        padding: 20px 12px;
    }

    .serviceDiv img {
        height: 105px;
    }

    .serviceDiv .mainP {
        font-size: 18px;
    }

    .serviceDiv .secP {
        font-size: 14px;
    }

    .serviceDiv a {
        font-size: 13px;

        padding: 7px 12px;
    }


    #stats > img {
        height: 510px;
    }

    .stats_num {
        gap: 35px 0;
    }

    .stats_num svg {
        width: 40px;
        height: 40px;
    }

    .stats_num span {
        font-size: 22px;
    }

    .stats_num p {
        font-size: 12px;
    }
}

.footer {
    width: 100%;
    background-color: #24332B;
    color: #FAF9F6;
}

.footer-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 40px 45px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 70px;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand img {
    width: 150px;
    height: auto;
    margin-bottom: 22px;
}

.footer-brand p {
    color: rgba(250, 249, 246, 0.75);
    font-size: 15px;
    line-height: 1.7;
}

.footer h3 {
    margin: 0 0 22px;

    color: #FAF9F6;
    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a,
.footer-contact a {
    width: fit-content;

    margin-bottom: 12px;

    color: rgba(250, 249, 246, 0.75);

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}


.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact p {
    max-width: 250px;
    margin-top: 8px;

    color: rgba(250, 249, 246, 0.75);

    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    width: 100%;
    max-width: 1170px;

    margin: 0 auto;

    padding: 20px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid rgba(250, 249, 246, 0.15);
}

.footer-bottom p {
    margin: 0;

    color: rgba(250, 249, 246, 0.55);

    font-size: 12px;
}

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 45px;

        padding: 50px 25px 40px;
    }

    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }

    .footer-bottom {
        margin: 0 25px;
    }
}

@media (max-width: 600px) {

    .footer {
        margin-top: 55px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;

        padding: 40px 20px 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand img {
        width: 135px;
        margin-bottom: 17px;
    }

    .footer-brand p {
        font-size: 14px;
        line-height: 1.65;
    }

    .footer h3 {
        margin-bottom: 17px;
        font-size: 14px;
    }

    .footer-links a,
    .footer-contact a {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .footer-bottom {
        margin: 0 20px;
        padding: 18px 0;

        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}