/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Tahoma,
        Arial,
        sans-serif;

    color: #17231e;
    background: #ffffff;

    direction: rtl;
}


/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    height: 82px;

    padding: 0 4.5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border-bottom: 1px solid #e6ebe8;

    position: relative;
    z-index: 10;
}


/* Logo */

.logo {
    font-family: Arial, sans-serif;

    font-size: 30px;
    font-weight: 800;

    letter-spacing: 1px;

    color: #216246;

    white-space: nowrap;
}


/* Menu */

.menu {
    display: flex;
    align-items: center;

    gap: 34px;
}

.menu a {
    position: relative;

    padding: 30px 0;

    text-decoration: none;

    color: #222222;

    font-size: 15px;

    transition: 0.25s;
}

.menu a:hover {
    color: #216246;
}

.menu a.active {
    color: #216246;
}

.menu a.active::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 16px;

    width: 100%;
    height: 2px;

    background: #216246;
}


/* Consultation */

.consultation {
    padding: 14px 25px;

    border-radius: 7px;

    background: #216246;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    white-space: nowrap;

    transition: 0.25s;
}

.consultation:hover {
    background: #184c36;
}


/* =========================================
   HERO
========================================= */

.hero {
    padding:
        70px
        5%
        65px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5faf7 100%
        );

    overflow: hidden;
}

.hero-content {
    max-width: 1300px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    direction: rtl;
}


/* Hero text */

.hero-text {
    width: 52%;

    text-align: right;
}

.hero-text h1 {
    margin: 0 0 25px;

    color: #17231e;

    font-size: 49px;

    line-height: 1.65;

    font-weight: 800;
}

.hero-text h1 span {
    color: #216246;
}

.hero-text p {
    max-width: 640px;

    margin: 0 0 32px;

    color: #69766f;

    font-size: 17px;

    line-height: 2.25;
}


/* Hero buttons */

.hero-buttons {
    display: flex;

    gap: 15px;

    align-items: center;
}

.btn-primary,
.btn-secondary {
    height: 55px;

    min-width: 175px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    text-decoration: none;

    font-size: 15px;

    transition: 0.25s;
}

.btn-primary {
    background: #216246;

    color: #ffffff;
}

.btn-primary:hover {
    background: #184c36;
}

.btn-secondary {
    background: #ffffff;

    color: #216246;

    border: 1px solid #216246;
}

.btn-secondary:hover {
    background: #edf5f1;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    width: 48%;

    min-height: 420px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    direction: ltr;
}


/* Circle */

.decoration-circle {
    position: absolute;

    width: 395px;
    height: 395px;

    left: 15px;
    top: 5px;

    border-radius: 50%;

    background: #dceee6;
}


/* Dots */

.dot-pattern {
    position: absolute;

    left: -10px;
    bottom: 5px;

    width: 125px;
    height: 125px;

    opacity: 0.6;

    background-image:
        radial-gradient(
            #76b39b 2px,
            transparent 2px
        );

    background-size: 20px 20px;
}


/* Dashboard */

.dashboard-card {
    position: relative;

    z-index: 2;

    width: 475px;

    min-height: 315px;

    padding: 26px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e1ebe6;

    box-shadow:
        0 25px 60px
        rgba(32, 91, 67, 0.13);
}


/* Dashboard header */

.dashboard-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;

    direction: rtl;
}

.dashboard-header strong {
    font-size: 17px;

    color: #26342d;
}

.dashboard-header span {
    font-size: 11px;

    color: #216246;
}


/* Chart */

.chart {
    height: 150px;

    position: relative;

    border-right: 1px solid #dce5e0;

    border-bottom: 1px solid #dce5e0;
}


/* Chart line */

.chart-line {
    position: absolute;

    left: 25px;
    right: 25px;

    top: 65px;

    height: 3px;

    background: #43846a;

    transform:
        rotate(-11deg)
        skewX(-20deg);
}


/* Bars */

.bars {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 0;

    height: 115px;

    display: flex;

    align-items: flex-end;

    justify-content: space-around;

    gap: 12px;
}

.bars i {
    display: block;

    width: 31px;

    border-radius: 5px 5px 0 0;

    background: #7fb39e;
}


/* Stats */

.dashboard-stats {
    margin-top: 20px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}

.dashboard-stats div {
    padding: 13px 8px;

    border-radius: 9px;

    text-align: center;

    background: #f2f7f4;
}

.dashboard-stats small {
    display: block;

    margin-bottom: 5px;

    color: #78847e;

    font-size: 10px;
}

.dashboard-stats strong {
    display: block;

    color: #216246;

    font-size: 18px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    padding:
        55px
        5%
        70px;

    background: #ffffff;

    border-top: 1px solid #edf1ef;
}


/* Heading */

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 35px;
}

.section-heading span {
    display: block;

    margin-bottom: 6px;

    color: #216246;

    font-size: 14px;

    font-weight: bold;
}

.section-heading h2 {
    margin: 0 0 8px;

    color: #18241f;

    font-size: 28px;

    font-weight: 800;
}

.section-heading p {
    margin: 0;

    color: #758079;

    font-size: 14px;

    line-height: 1.9;
}


/* Services grid */

.services-grid {
    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 14px;
}


/* Service card */

.service-card {
    min-height: 190px;

    padding:
        15px
        17px
        18px;

    text-align: center;

    border:
        1px solid
        #e3e9e6;

    border-radius: 11px;

    background: #ffffff;

    box-shadow:
        0 7px 25px
        rgba(30, 70, 52, 0.05);

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 30px
        rgba(30, 70, 52, 0.10);
}


/* Icon */

.service-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f4ef;

    color: #216246;

    font-size: 31px;

    font-weight: bold;
}

.service-card h3 {
    margin:
        0
        0
        9px;

    color: #25332c;

    font-size: 15px;

    line-height: 1.8;
}

.service-card p {
    margin: 0;

    color: #77817c;

    font-size: 11px;

    line-height: 1.9;
}


/* Services button */

.services-button {
    margin-top: 28px;

    text-align: center;
}

.services-button a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 190px;

    height: 42px;

    padding: 0 20px;

    border:
        1px solid
        #216246;

    border-radius: 7px;

    color: #216246;

    text-decoration: none;

    font-size: 13px;

    transition: 0.25s;
}

.services-button a:hover {
    background: #216246;

    color: #ffffff;
}

.services-button span {
    font-size: 20px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    margin-top: 0;

    padding:
        42px
        5%
        0;

    background: #063f2d;

    color: #ffffff;
}

.footer-container {
    max-width: 1350px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        0.8fr
        1fr
        1.25fr;

    gap: 35px;

    padding-bottom: 35px;
}


/* Footer brand */

.footer-logo {
    margin-bottom: 15px;

    font-family: Arial, sans-serif;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 1px;
}

.footer-brand p {
    max-width: 280px;

    margin: 0;

    color: #c5d7d0;

    font-size: 12px;

    line-height: 2.1;
}


/* Social */

.socials {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.socials a {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 13px;

    transition: 0.25s;
}

.socials a:hover {
    background: rgba(255,255,255,0.22);
}


/* Footer columns */

.footer-column h3,
.footer-contact h3 {
    margin:
        0
        0
        17px;

    font-size: 14px;
}

.footer-column a {
    display: block;

    margin-bottom: 10px;

    color: #c7d8d1;

    text-decoration: none;

    font-size: 11px;

    line-height: 1.7;

    transition: 0.2s;
}

.footer-column a:hover {
    color: #ffffff;
}


/* Contact */

.footer-contact p {
    margin:
        0
        0
        13px;

    color: #c7d8d1;

    font-size: 11px;

    line-height: 1.8;
}


/* Footer bottom */

.footer-bottom {
    max-width: 1350px;

    margin: 0 auto;

    padding:
        18px
        0
        20px;

    border-top:
        1px solid
        rgba(255,255,255,0.16);

    text-align: center;

    color: #c7d8d1;

    font-size: 11px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .menu {
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 41px;
    }

    .dashboard-card {
        width: 410px;
    }

    .decoration-circle {
        width: 340px;
        height: 340px;
    }

    .services-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns:
            repeat(3, 1fr);
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

    .header {
        height: auto;

        padding: 20px;

        flex-wrap: wrap;

        justify-content: center;

        gap: 18px;
    }

    .logo {
        width: 100%;

        text-align: center;
    }

    .menu {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 13px;
    }

    .menu a {
        padding: 5px;
    }

    .menu a.active::after {
        bottom: 0;
    }

    .consultation {
        display: none;
    }


    /* Hero */

    .hero {
        padding:
            45px
            20px
            45px;
    }

    .hero-content {
        flex-direction: column;

        gap: 40px;
    }

    .hero-text {
        width: 100%;

        text-align: center;
    }

    .hero-text h1 {
        font-size: 31px;

        line-height: 1.8;
    }

    .hero-text p {
        font-size: 15px;

        line-height: 2;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-visual {
        width: 100%;

        min-height: 340px;
    }

    .dashboard-card {
        width: 100%;

        max-width: 450px;
    }

    .decoration-circle {
        width: 290px;
        height: 290px;

        left: 50%;

        transform: translateX(-50%);
    }


    /* Services */

    .services {
        padding:
            45px
            20px
            55px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }


    /* Footer */

    .footer {
        padding:
            40px
            25px
            0;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .socials {
        justify-content: center;
    }

}