* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

}

/* global value */
:root {
    --main-color: #2196f3;
    --main-color-alt: #1787e0;
    --main-transtion: 0.3s;
    --section-padding: 100px;

}

/* end global value */
html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

body {
    font-family: "Cairo", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* Large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* start header */
.header {
    background-color: white;
    position: relative;
    -webkit-box-shadow: 0 0 10px #ddd;
    -moz-box-shadow: 0 0 10px #ddd;
    box-shadow: 0 0 10px #ddd;

}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}



.header .log img {
    width: 280px;
    /* border-radius: 50%; */
    height: 122px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 106px;
    margin-left: -75px;
}

@media (max-width:767px) {
    .header .log {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vh;
        /* margin-left: 53px; */
        margin-top: 15px;
        margin-left: 90px;
        margin-right: auto;
    }
}

@media (max-width:991px) {
    .header .log {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vh;
        /* margin-left: 53px; */
        margin-top: 15px;
        margin-left: 90px;
        margin-right: auto;
    }
}



.header .main-nav {
    display: flex;
}

@media (max-width:991px) {
    .header .container .main-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vh;
        /* margin-left: 53px; */
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:767px) {
    .header .main-nav {
        margin: auto;
    }
}

.header .main-nav>li>a {
    font-size: 18px;
    color: black;
    /* font-weight: bold; */
    padding: 0 30px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 80px;
    transition: var(--main-transtion);
}

@media (max-width:767px) {
    .header .main-nav>li>a {
        padding: 10px;
        font-size: 18px;
        height: 60px;
    }
}

.header .main-nav>li:hover .mega-menue {
    opacity: 1;
    z-index: 100;
    position: absolute;
    top: calc(100% - 20px);

}


.header .main-nav>li>a::before {
    position: absolute;
    content: "";
    background: var(--main-color);
    color: var(--main-color);
    left: -100%;
    width: 100%;
    height: 4px;
    top: 0;
}

.header .main-nav>li>a:hover {
    background-color: #fafafa;
    color: var(--main-color);
}

.header .main-nav>li>a:hover::before {
    content: "";
    left: 0;
    transition: var(--main-transtion);
}

.header .mega-menue {
    position: absolute;
    left: 0;
    padding: 30px;
    background-color: white;
    width: 100%;
    border-bottom: 3px solid var(--main-color);
    z-index: -1;
    opacity: 0;
    display: flex;
    gap: 40px;
    top: calc(100% + 50px);
    transition: top var(--main-transtion), opacity var(--main-transtion);
}

@media (MAX-WIDTH:767PX) {
    .header .mega-menue {
        flex-direction: column;
        gap: 0;
        padding: 8px;

    }
}

.header .mega-menue .image-1 img {
    max-width: 100%;
}

@media (max-width:991px) {
    .header .mega-menue .image-1 {
        display: none;

    }
}

.header .mega-menue .links {
    min-width: 260px;
    flex: 1;
    direction: rtl;
}

@media (MAX-WIDTH:767PX) {
    .header .mega-menue .links:first-of-type li:last-child {
        border-bottom: 1px solid #e9e6e6;
    }
}



.header .mega-menue .links li {
    position: relative;
    text-align: right;

}

.header .mega-menue .links li:not(:last-child) {
    border-bottom: 1px solid #e9e6e6;
}


.header .mega-menue .links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #fafafa;
    z-index: -1;
    transition: var(--main-transtion);
}

.header .mega-menue .links li:hover::before {
    width: 100%;
}


.header .mega-menue .links li a {
    color: var(--main-color);
    padding: 15px;
    display: block;
    font-size: 18px;
    font-weight: bold;
    direction: rtl;
}

.header .mega-menue .links li a i {
    margin-left: 15px;
}

/* End header */

/* start landing */
.land {
    position: relative;
}

.land::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: -40px;
    background-color: #ececec;
    z-index: -1;
    transform: skewY(-6deg);
    transform-origin: top left;
}

.land .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-bottom: 120px;
    min-height: calc(100vh - 72px);
}

.land .container .text {
    text-align: right;
}

@media (max-width:991px) {
    .land .container .text {
        text-align: center;
    }
}

.land .container .text h1 {
    font-size: 40px;
    letter-spacing: -1px;
    margin: 0;
}

@media (max-width:991px) {
    .land .container .text h1 {
        font-size: 30px;
    }
}

.land .container .text p {
    font-size: 23px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    margin-top: 5px;
    /* margin: 0; */
    max-width: 500px;
}

@media (max-width:991px) {
    .land .container .text p {
        font-size: 20px;
        margin: 10px auto;
    }
}

@media (max-width:767px) {
    .land .container .text p {
        margin: 10px auto;
    }
}



.land .container .image video {
    position: relative;
    width: 300px;
    height: 533px;
    border-radius: 10px;
    /* animation: up-and-down 4s linear infinite; */
    padding-top: 10px;
}

@media (max-width:991px) {
    .land .container .image {
        display: none;
    }
}

.land .go-and-down {
    font-size: 25px;
    color: var(--main-color);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--main-transtion);
}

.land .go-and-down:hover {
    color: var(--main-color-alt);
}

.land .go-and-down i {
    animation: go-and-down 1.5s infinite;
}


/* End landing */

/* start animation */
@keyframes up-and-down {

    0%,
    100% {
        bottom: 0;
    }

    50% {
        bottom: -50px;
    }

}

@keyframes go-and-down {

    0%,
    10%,
    20%,
    30%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    60% {
        transform: translateY(-20px);
    }

}

@keyframes left-move {
    50% {
        left: 0;
        width: 12px;
        height: 12px;

    }

    100% {
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;

    }
}

@keyframes right-move {
    50% {
        right: 0;
        width: 12px;
        height: 12px;

    }

    100% {
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;

    }
}

@keyframes right-left {
    100% {
        transform: translateX(10px)
    }
}

/* End animation */

/* start global-value */
.main-haeding::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: -30px;
    top: 50%;
    transform: translatey(-50%);
    background-color: var(--main-color);
    border-radius: 50%;
}

.main-haeding:hover::before {
    z-index: -1;
    animation: left-move 0.5s linear forwards;

}

.main-haeding {
    text-transform: uppercase;
    text-align: center;
    border: 2px solid black;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 20px;
    letter-spacing: 1px;
    transition: var(--main-transtion);
    font-size: 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.main-haeding:hover {
    color: white;
    border-color: var(--main-color);
    transition-delay: 0.5s;
}


.main-haeding::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    right: -30px;
    top: 50%;
    transform: translatey(-50%);
    background-color: var(--main-color);
    border-radius: 50%;
}

.main-haeding:hover::after {
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}

/* End global-value */
/* start global-value */
.main-haeding a::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: -30px;
    top: 50%;
    transform: translatey(-50%);
    background-color: var(--main-color);
    border-radius: 50%;
}

.main-haeding a:hover::before {
    z-index: -1;
    animation: left-move 0.5s linear forwards;

}

.main-haeding a {
    text-transform: uppercase;
    text-align: center;
    /* border: 2px solid black; */
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 20px;
    letter-spacing: 1px;
    transition: var(--main-transtion);
    font-size: 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

.main-haeding a:hover {
    color: white;
    border-color: var(--main-color);
    transition-delay: 0.5s;
}


.main-haeding a::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    right: -30px;
    top: 50%;
    transform: translatey(-50%);
    background-color: var(--main-color);
    border-radius: 50%;
}

.main-haeding a:hover::after {
    z-index: -1;
    animation: right-move 0.5s linear forwards;
}

/* End global-value */

/* start articals  */
.artical {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

.artical .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    direction: rtl;
}

.artical .container .card {
    background-color: white;
    box-shadow: 0 2px 10px rgb(0, 0, 0, 10%);
    transition: transform var(--main-transtion), box-shadow var(--main-transtion);
    overflow: hidden;
    border-radius: 6px;
    text-align: right;

}

.artical .container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 2px 15px rgb(0, 0, 0, 20%);
}

.artical .container .card img {
    width: 100%;
    max-width: 100%;
}

.artical .container .card .content {
    padding: 20px;
    height: 173px;
}

.artical .container .card .content h3 {
    margin: 0;
}

.artical .container .card .content p {
    color: #777;
    /* font-size: 19px; */
    line-height: 1.5;
    margin: 10px 0 0;
}

.artical .container .card .link {
    padding: 20px;
    border-top: 1px solid #e6e6e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artical .container .card .link a {
    font-weight: bold;
    color: var(--main-color);
}

.artical .container .card .link i {
    color: var(--main-color);
}

.artical .container .card:hover .link i {
    animation: right-left 0.5s linear infinite;
}

/* End articals  */
/* start gallary */
.gallary {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: #ececec;
    position: relative;
}

.gallary .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    direction: rtl;
}

.gallary .card {
    padding: 15px;
    background-color: white;
    box-shadow: 0 12px 20px 0 rgb(0, 0, 0, 13%), 0 12px 20px 0 rgb(0, 0, 0, 12%);
}

.gallary .card .image {
    position: relative;
    overflow: hidden;
}

.gallary .card .image::before {}

.gallary .card .image img {
    width: 100%;
    max-width: 100%;
    transition: var(--main-transtion);
}

.gallary .card .image img:hover {
    transform: scale(1.2);
}

/* End gallary */
/* start videos  */
.videos {
    padding-bottom: var(--section-padding);
    padding-top: var(--section-padding);
}

.videos .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 40px;
}


.videos .container video {
    max-width: 100%;
    width: 300px;
    height: 533px;
    max-height: fit-content;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width:767px) {
    .videos .container video {
        margin: auto;
    }
}

/* End videos  */

/* start footer */
.footer {
    padding: 30px 10px;
    background-color: #2c4755;
    text-align: center;
    font-size: 18px;
    color: white;
}

.footer span a {
    color: var(--main-color);
    font-weight: bold;
}

/* end footer */