*,
*::after,
*::before {
    box-sizing: border-box;
}

*::selection {
    background-color: #51c18d;
    color: #fff;
}

body {
    margin: 0;
}

:root {
    scroll-behavior: smooth;
    --main-b-color: #06889e;
    --main-g-color: #51C18C;
}

.bg-main {
    background-image: linear-gradient(45deg, var(--main-g-color), var(--main-b-color));
}

.text-main-g {
    color: var(--main-g-color);
}

.text-main-b {
    color: var(--main-b-color);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    background-color: aliceblue;
    border-radius: 100px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 998;
}

.nav-img {
    width: 200px;
}

.nav-bar a {
    text-decoration: none;
    color: #565656;
    font-weight: bold;
    font-size: 18px;
    transition: .2s;
}

.nav-menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    cursor: pointer;
    margin: 0 20px;
    position: relative;
}

.nav-menu ul li:hover a {
    color: var(--main-g-color);
}

.nav-menu ul li::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    transition: 0.2s;
    transform: scale(0, 0);
    border-radius: 50px;
    background-color: #51c18d3a;
}

.nav-menu ul li:hover::before {
    transform: scale(1, 1);
}

.main-btn {
    border: 0;
    padding: 10px;
    border-radius: 100px;
    color: white;
    font-weight: bold;
    background-image: linear-gradient(45deg, var(--main-g-color), var(--main-b-color));
    transition: .3s;
}

.main-btn:hover {
    box-shadow: 1px 1px 20px rgba(64, 169, 255, 0.623);
}

.hum {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.hum span {
    width: 100%;
    height: 3px;
    border: 0;
    margin: 0;
    margin: 3px 0;
    border-radius: 5px;
    background-color: white;
    display: inline-block;
}

.sideBar {
    position: fixed;
    width: 300px;
    top: 0;
    right: 0;
    z-index: 999;
    /* display: none; */
    flex-direction: column;
    justify-content: space-between;
    transition: 1s;
    transform: translateX(500px);
    box-shadow: -1px -1px 30px var(--main-g-color);
}

.sideBar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-content: center;
}

.sideBar ul li {
    width: 80%;
    margin: 10px 0px;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
}

.sideBar ul li:hover {
    background-color: #ffffff57;
}

.sideBar ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.sideBar .icons i {
    color: white;
    font-size: 25px;
    margin: 5px;
    transition: .3s;
}

.sideBar .icons i:hover {
    transform: scale(1.2, 1.2);
}

.sideBar .side-img {
    width: 80%;
}

.hide {
    position: absolute;
    top: 15px;
    left: -50px;
    width: 30px;
    border: 0;
    background-color: rgba(255, 255, 255, 0);
}

.hide i {
    font-size: 26px;
    color: rgb(168, 168, 168);
    transition: .2s;
}

.hide i:hover {
    color: red;
}

.head {
    background-image: url(../images/hero.webp);
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: start;
    align-items: end;
}

.head-content span {
    color: #06889e;
    text-decoration: underline;
}

.head button {
    background-color: #fff;
    border: 0;
    border-radius: 40px;
    transition: 0.3s;
}

.head button:hover {
    background-color: var(--main-b-color);
    color: white;
}

.esp-card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.head p {
    line-height: 1.8;
}

h1 {
    font-weight: bold;
    font-family: 'Asap';
}

@font-face {
    font-family: 'Asap';
    src: url(../webfonts/Asap_SemiExpanded-Bold.ttf);

}

.body-1 .services {
    letter-spacing: 2px;
}

.card {
    border: 1px solid white;
    border-radius: 7px;
    transition: .5s;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img {
    width: 80px;
    margin-bottom: 30px;
}

.card:hover {
    border: 1px solid var(--main-b-color);
    box-shadow: 1px 1px 10px #51c18dab !important;
    transform: translatey(-10px);
}

.card h1 {
    transition: .3s;
}

.card p {
    line-height: 1.8;
    font-size: 18px;
}

.card:hover h1 {
    color: var(--main-g-color);
}

/* .services
{
    transform: translateY(30%);
} */
.about {
    background-color: #85d8b125;
}

.groub-photo {
    width: 100px;
}

.about-content {
    line-height: 2;
    font-size: 18px;

}


.item {
    text-align: start !important;
    padding: 10px 0;
}

.item h1 {
    transition: .3s;

}

.item:hover h1 {
    color: #06889e;
}

.item:hover .about-icons {
    transform: scale(1.1, 1.1);
}

.about-content .about-icons {
    width: 60px;
    height: 60px;
    transition: .3s;
    border: 0;
    border-radius: 50%;
    color: white;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.num h1 {
    font-size: 100px;
    transition: .3s;
}

.num-content {
    line-height: 2;
}

.num:hover {
    color: var(--main-b-color);
}


.blog {
    background-color: #51c18d2e;
}

.project-img {
    width: 100px;
}

.main-p {
    line-height: 2;
    font-size: 20px;
}


.layer {
    background-image: linear-gradient(45deg, #51c18dcc, #06879ec4);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: .4s;
}

.layer .link-icon {
    transform: translateX(-60px);
    opacity: 0;
    transition: .5s;

}

.layer .lay-h {
    transform: translateX(-60px);
    opacity: 0;
    transition: .7s;

}

.layer .lay-p {
    transform: translateX(-60px);
    opacity: 0;
    transition: .9s;
}


.layer .link-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.layer .link-icon {
    color: var(--main-b-color);
    font-size: 40px;
}

.blog-img:hover .layer {
    opacity: 1;
}

.layer:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
}

.layer:hover .lay-h {
    opacity: 1;
    transform: translateX(0);
}

.layer:hover .lay-p {
    opacity: 1;
    transform: translateX(0);
}

.blog button {
    margin: auto;
}

.hr {
    width: 80%;
    height: 2px;
    background-color: #565656;
    margin: 20px auto;
    border-radius: 3px;
}

.like-img {
    width: 100px;
}

.carousel-indicators {
    position: relative;
    top: 50px;
}

.carousel-indicators [data-bs-target] {
    text-indent: 0;
    height: 8px;
    width: 8px;
    border: 2px solid var(--main-g-color);
    border-radius: 50%;
}

.review {
    position: relative;
}

.client-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    overflow: hidden;
}

.client-img img {
    width: 100%;
}

.quote {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100px);
    width: 110px;
    z-index: 60;
}

.animation-logo {
    animation: moveing-y 5s infinite alternate;
}

.animation-logo-rev {
    animation: moveing-y-rev 5s infinite alternate;
}

@keyframes moveing-y {
    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(20px);
    }

    70% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes moveing-y-rev {
    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-20px);
    }

    70% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(20px);
    }
}

.contact {
    transform: translateY(50px);
    background-color: #fff;
}

.footer {
    background-color: #e5f2f5;
}

.footer-img {
    width: 200px;
}

.footer .footer-icons div {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: .3s;
}

.footer .footer-icons div:hover {
    transform: scale(1.1);
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    transition: .3s ease;
    margin: 10px 0;
}

.footer a {
    transition: .3s ease;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: bold;

}

.footer li:hover {
    transform: translateX(5px);
}

.footer li:hover a {
    color: var(--main-g-color);
}

.head-line{
    position: relative;
    padding-bottom: 15px;
}

.footer .head-line::before
{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(50%);
    border-radius: 50%;
    background-color: var(--main-g-color);
}

.links a
{
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin: 0 15px;
    transition: .3s;
}
.links a:hover
{
    color: var(--main-g-color);
}