/* Start Global Rules */

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Start Variables */

:root {
    --main-color: #2e8ccf;
    --back-color: #f9f9ff;
    --main-transition: 0.5s;
    --sec-color: #eeeeee;
    --padding-top: 50px;
    --padding-bottom: 50px;
}

/* End Variables */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: var(--back-color);
}

/* Start Contanier */

.contanier {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .contanier {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .contanier {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .contanier {
        width: 1170px;
    }
}

/* End Contanier */

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    width: 50px;
    height: 50px;
}

.main-title {
    margin: 0 auto;
    display: flex;
    width: fit-content;
    flex-direction: column;
    position: relative;
}

@media (max-width: 768px) {
    .main-title {
        text-align: center;
    }
}

.main-title .big {
    position: relative;
    font-size: 80px;
    text-transform: uppercase;
    font-weight: bold;
    color: #2e8ccf1a;
}

@media (max-width: 768px) {
    .main-title .big {
        font-size: 50px;
    }
}

.main-title .small {
    text-align: center;
    position: absolute;
    bottom: 0;
    /* left: 50%; */
    font-size: 40px;
    color: var(--main-color);
    text-transform: uppercase;
    font-weight: bold;
    /* transform: translateX(-50%); */
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .main-title .small {
        font-size: 25px;
    }
}

/* ****************************** */

.menu {
    display: none;
    flex-direction: column;
    position: relative;
    height: 80px;
    width: 35px;
    border: none;
    outline: none;
    background-color: transparent;
    margin-right: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

.menu span {
    display: block;
    width: 35px;
    height: 2px;
    margin: 6px auto;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 12px);
    background-color: red;
}

.menu.active span:nth-child(2) {
    opacity: 0;
}

.menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -12px);
    background-color: red;
}

/* **************************** */

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    /* position: fixed; */
    top: 10px;
    left: 10px;
    z-index: 2;
}

.close-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.close-icon {
    display: none;
}

.menu-items {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 20% 0 0 0;
    text-align: center;
}

.menu-items ul li {
    margin-bottom: 20px;
}

.menu-items ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
}

.menu-items ul li a:hover {
    color: #00bcd4;
}

.close-icon {
    color: white;
}

/* End Mage Menu */

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 40;
    width: 100%;
    height: 100%;
    background-color: var(--main-blue-color);
    animation: hide 400ms ease 2500ms forwards;
}

.loader img:nth-child(2) {
    width: 280px;
    margin-left: 25px;
    transform: translateY(-20px);
}

@keyframes hide {
    100% {
        top: 100%;
    }
}

.loaderLogo {
    opacity: 0;
    animation: loader 1.5s linear 0s infinite forwards;
}

.loaderLogo img {
    width: 280px;
    height: 280px;
}

@keyframes loader {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.goTop {
    display: none;
    position: fixed;
    bottom: 5%;
    right: 10px;
    z-index: 5;
}

@media (max-width: 768px) {
    .goTop {
        right: 15px;
    }
}

.goTop span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-image: linear-gradient(to right, #8490ff, #62bdfc 48%, #8490ff);
    box-shadow: 0px 0px 10px var(--main-blue-color);
    cursor: pointer;
    transition: 0.2s;
}

.goTop span:hover {
    background-position: right center;
}

.goTop span:hover i {
    color: #fff;
}

.goTop span i {
    color: #fff;
    font-size: 1.5em;
}

.btn a {
    padding: 0 42px !important;
    line-height: 50px !important;
    background-image: linear-gradient(to right, #8490ff, #62bdfc 48%, #8490ff);
    background-size: 200% auto;
    color: #fff !important;
    display: inline-block;
    border-radius: 5px;
    font-size: 13px !important;
    font-weight: 500;
    transition: all 0.3s linear 0s !important;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn a:hover {
    background-position: right center;
}

.color {
    position: fixed !important;
    width: 100%;
    z-index: 1000;
}

/* End Global Rules */

/* Start Hader */

.header {
    background-color: white;
    box-shadow: 0px 0px 10px black;
    position: relative;
}

.header .contanier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.header .contanier .logo {
    width: 200px;
}

@media (max-width: 768px) {
    .header .contanier .logo {
        padding-left: 30px;
    }
}

.header .contanier .logo img {
    width: 200px;
}

@media (max-width: 768px) {
    .header .contanier .nav {
        display: none;
        position: fixed;
        top: 100px;
        left: -400px;
        width: 100%;
        display: flex;
        transition: 0.5s;
        z-index: 5;
        flex-direction: column;
        background-color: white;
        height: 100%;
    }
}

.header .contanier .nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .header .contanier .nav ul {
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: self-start !important;
        margin-left: 20px;
    }
}

.header .contanier .nav ul li {
    position: relative;
}

.header .contanier .nav ul li::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: var(--main-transition);
    background-color: var(--main-color);
}

.header .contanier .nav ul li.active::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    transition: var(--main-transition);
    background-color: var(--main-color);
}

.header .contanier .nav ul li:hover::before {
    width: 100%;
}

.header .contanier .nav ul li a {
    text-transform: uppercase;
    color: black;
    font-weight: bold;
    transition: var(--main-transition);
}

.header .contanier .nav ul li a.active {
    color: var(--main-color);
}

/* End Header */

/* Start Landing Page */

.landing {
    height: 90vh;
}

@media (max-width: 768px) {
    .landing {
        height: auto;
        padding-top: var(--padding-top);
        padding-bottom: var(--padding-bottom);
    }
}

.landing .contanier {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .landing .contanier {
        flex-direction: column;
    }
}

.landing .contanier .image {
    margin-left: 100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .landing .contanier .image {
        display: none;
    }
}

.landing .contanier .image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
}

.landing .contanier .text {
    margin-right: 100px;
}

@media (max-width: 768px) {
    .landing .contanier .text {
        margin-right: 0;
    }
}

.landing .contanier .text .name {
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 20px;
}

.landing .contanier .text .major {
    margin-bottom: 20px;
}

/* End Landing Page */

/* Start Bar */

.bar {
    height: 5px;
    background-color: var(--main-color);
    width: 100%;
}

/* End Bar */

/* Start About */

.about {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.about .contanier {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-direction: column-reverse;
}

@media (max-width: 768px) {
    .about .contanier {
        flex-direction: column;
    }
}

.about .contanier .sk {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
     justify-content: center;
}

@media (max-width: 768px) {
    .about .contanier .sk{
        justify-content: center;
    }
}

.about .contanier .sk .box {
    width: 150px;
    height: 150px;
    box-shadow: 0px 0px 5px black;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.about .contanier .sk .box span {
    text-transform: uppercase;
    text-align: center;
}

.about .contanier .text {
    width: 750px;
}

@media (max-width: 768px) {
    .about .contanier .text {
        width: 100%;
    }
}

.about .contanier .text p {
    font-size: 19px;
        text-align: center;
}

@media (max-width: 768px) {
    .about .contanier .text p {
        width: 100%;
        text-align: center;
    }
}

/* End About */

/* Start Services */

.services {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.services .contanier{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services .services-box {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .services .services-box {
        justify-content: center;
    }
}

.services .services-box .serv {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 5px black;
    padding: 10px 20px;
    width: 300px;
    height: 200px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: black;
    transition: var(--main-transition);
    position: relative;
}

.services .services-box .serv::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    background-color: rgb(173 173 173 / 20%);
    z-index: -1;
    transition: var(--main-transition);
}

.services .services-box .serv:hover::before {
    width: 100%;
}

.services .services-box .serv img {
    margin-bottom: 10px;
}

.services .services-box .serv span {
    font-weight: bold;
}

.services .services-box .serv p {
    text-align: center;
}

.services .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services .call{
    margin: 0 auto;
    display: flex;
    box-shadow: 0px 0px 5px black;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    color: black;
    transition: var(--main-transition);
    position: relative;
    gap: 10px;
}

/* End Services */

/* Start Project */

.project {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.project .project-box {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.project .project-box .proj {
    position: relative;
    display: flex;
    width: 450px;
    height: 250px;
}

@media (max-width: 768px) {
    .project .project-box .proj {
        width: auto;
        height: 200px;
    }
}

.project .project-box .proj::before {
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    background-color: var(--main-color);
    transition: var(--main-transition);
    right: 0;
    bottom: -5px;
}

.project .project-box .proj::after {
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    background-color: var(--main-color);
    transition: var(--main-transition);
    left: 0;
    top: -5px;
}

.project .project-box .proj:hover::after {
    width: 100%;
}

.project .project-box .proj:hover::before {
    width: 100%;
}

.project .project-box .proj img {
    width: 450px;
    height: 250px;
}

@media (max-width: 768px) {
    .project .project-box .proj img {
        width: 100%;
        height: 200px;
    }
}

.project .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* End Project */

/* Start Contact */

.contact {
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.contact .contact-box {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.contact .contact-box .s {
    width: 300px;
    height: 200px;
    box-shadow: 0px 0px 5px var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    border-radius: 5px;
    transition: var(--main-transition);
    position: relative;
}

.contact .contact-box .s:hover i {
    color: var(--main-color);
}

.contact .contact-box .s:hover span {
    color: var(--main-color);
}

.contact .contact-box .s i {
    font-size: 50px;
    color: black;
    transition: var(--main-transition);
}

.contact .contact-box .s span {
    font-weight: bold;
    color: black;
    font-size: 20px;
    text-transform: uppercase;
    transition: var(--main-transition);
}

.contact .contact-box .s::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    background-color: rgb(173 173 173 / 20%);
    z-index: -1;
    transition: var(--main-transition);
}

.contact .contact-box .s:hover::before {
    width: 100%;
}

/* End Contact  */

/* Start Footer */

.footer {
    padding: 25px 0;
    background-color: #2e8ccf2b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer a {
    color: black;
    text-decoration: revert-layer;
}

/* End Footer */

/* Start Landing Page */

.landing-page {
    background-image: url(../media/result.svg);
    height: 50vh;
}

.landing-page .contanier {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-page .contanier .title {
    color: white;
    font-size: 65px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
}

@media (max-width: 768px) {
    .landing-page .contanier .title{
        font-size: 50px;
    }
}

.landing-page .contanier .title::before {
    content: "";
    position: absolute;
    width: 100%;
    background-color: var(--main-color);
    height: 5px;
    bottom: 0;
}

/* End Landing Page */

/* Start Content */

.content{
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.content .contanier{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.content .contanier .text .title{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.content .contanier .text i{
    background-color: var(--main-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.content .contanier .text span{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
    position: relative;
    padding-left: 5px;
    border-left: 5px solid var(--main-color);
}

.content .contanier .text p{
    font-size: 20px;
    text-transform: capitalize;
    padding-left: 15px;
}

/* End Content */

/* Start Company Page */

.company{
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.company .contanier{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.company .contanier .text{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.company .contanier .text .title{
    font-size: 30px;
    font-weight: bold;
}

/* End Company Page */

/* Start Project Page */

.project-page{
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.project-page .categ{
    display: flex;
    align-items: center;
    gap: 20px;
}

.project-page .categ .cc{
    background-color: #020917;
    padding: 10px 30px;
    border-radius: 3px;
    color: white;
    width: 170px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0px 0px 5px black;
    cursor: pointer;
}

.project-page .categ .cc.active{
    background-color: var(--main-color);
}

.project-page .title{
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;

}

.project-page .project-box {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.project-page .project-box .proj {
    position: relative;
    display: flex;
    width: 550px;
    height: 250px;
}

@media (max-width: 768px) {
    .project-page .project-box .proj {
        width: auto;
        height: 200px;
    }
}

.project-page .project-box .proj::before {
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    background-color: var(--main-color);
    transition: var(--main-transition);
    right: 0;
    bottom: -5px;
}

.project-page .project-box .proj::after {
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    background-color: var(--main-color);
    transition: var(--main-transition);
    left: 0;
    top: -5px;
}

.project-page .project-box .proj:hover::after {
    width: 100%;
}

.project-page .project-box .proj:hover::before {
    width: 100%;
}

.project-page .project-box .proj img {
    width: 550px;
    height: 250px;
}

@media (max-width: 768px) {
    .project-page .project-box .proj img {
        width: 100%;
        height: 200px;
    }
}

.project-page .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* End Project Page */ 

/* Start CV */

.cv{
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
}

.cv .contanier{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.cv .contanier iframe{
    width: 1000px;
    height: 1000px;
}

@media (max-width: 768px) {
    .cv .contanier iframe {
        width: auto;
    }
}


/* End Cv */

/* Start counter */

.circular-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.circular-container span{
    position: absolute;
    bottom: 22px;
    font-size: 24px;
    color: white;
    text-transform: uppercase;
}

.circular-progress {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#4caf50 0deg, #e0e0e0 0deg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0px 0px 10px black;
}

.value-container {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* End Counter */

.fillter{
    overflow: auto;
}