﻿/*
   1. General 
       1.1 Components 
       1.2 Title 
   2. Header
   3. Landing
   4. Latest work
   5. About
   6. Skills
   7. Facts
   8. My Story
   9. Footer
   10. Animation
   11. Tab to top
   12. Theme setting box
   13. Dark
*/

/*=========================
    1. General CSS start
===========================*/
/** {
    box-sizing: border-box;
}

:root {
    --main-color: #1A9BA1;
    --main-color-1: #fafafa;
    --main-color-2: #FFD700;
    --main-academy: #FBBC05;
    --main-academy-1: #f0b54d;
    --main-color-alt: #1787e0;
    --main-transition: 0.3s;
    --secondary-color: #2c4755;
    --section-padding: 60px;
    --section-background: #f6f6f6;
    --main-duration: 0.5s;
    --main-padding-top: 100px;
    --main-padding-bottom: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
}


a {
    text-decoration: none;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}

    a:hover {
        text-decoration: none;
        -webkit-transition: 0.5s ease;
        transition: 0.5s ease;
    }

    a:focus,
    button:focus {
        outline: none;
    }

section,
.section-t-space {
    padding-top: 70px;
}

.section-b-space {
    padding-bottom: 70px;
}

.large-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.p-t-0 {
    padding-top: 0;
}

hr.style1 {
    width: 75px;
    height: 3px;
    margin-top: 13px;
    background-color: var(--theme-deafult);
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

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;
    }
}

.main-title {
    text-transform: uppercase;
    margin: 0 auto 80px;
    border: 2px solid black;
    padding: 10px 20px;
    font-size: 30px;
    width: fit-content;
    position: relative;
    z-index: 1;
    transition: var(--main-transition);
}

    .main-title::before,
    .main-title::after {
        content: "";
        width: 12px;
        height: 12px;
        background-color: var(--main-color);
        position: absolute;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-title::before {
        left: -30px;
    }

    .main-title::after {
        right: -30px;
    }

    .main-title:hover::before {
        z-index: -1;
        animation: left-move 0.5s linear forwards;
    }

    .main-title:hover::after {
        z-index: -1;
        animation: right-move 0.5s linear forwards;
    }

    .main-title:hover {
        color: white;
        border: 2px solid white;
        transition-delay: 0.5s;
    }

.spikes {
    position: relative;
}

    .spikes::after {
        content: "";
        position: absolute;
        right: 0;
        width: 100%;
        height: 30px;
        z-index: 1;
        background-image: linear-gradient(135deg, white 25%, transparent 25%), linear-gradient(225deg, white 25%, transparent 25%);
        background-size: 30px 30px;
    }

.dots {
    background-image: url("../imgs/dots.png");
    height: 186px;
    width: 204px;
    background-repeat: no-repeat;
    position: absolute;
}

.dots-up {
    top: 200px;
    right: 0;
}

.dots-down {
    bottom: 200px;
    left: 0;
}*/

/*=========================
    1. Components start
===========================*/

/* 1.1 Special Heading */
/*.special-heading {
    color: #ebeced;
    font-size: 50px;
    text-align: left;
    font-weight: 600;
    letter-spacing: -3px;
    margin-top: 0;
}

    .special-heading + p {
        margin: -30px 0 0;
        font-size: 15px;
        text-align: center;
        color: #797979;
    }

@media (max-width: 767px) {
    .special-heading {
        font-size: 40px;
    }

        .special-heading + p {
            margin-top: -20px;
        }
}*/

/* 1.2 Title */
/*.title-one {
    text-align: center;
    width: min(100%, 980px);
    margin: 60px auto;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: #555;
}

    .title-one::before,
    .title-one::after {
        content: "";
        border-top: 1px solid var(--main-color);
        border-bottom: 1px solid var(--main-color);
        height: 5px;
    }*/

/* 1.3 Main Heading */



/*.main-heading {
    text-align: center;
}

    .main-heading h2 {
        font-weight: normal;
        font-size: 40px;
        position: relative;
        margin-bottom: 70px;
        text-transform: uppercase;
    }

        .main-heading h2::before {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            height: 2px;
            background-color: #333;
            bottom: -30px;
            width: 120px;
        }

        .main-heading h2::after {
            content: "";
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 2px solid #333;
            bottom: -38px;
            background-color: white;
        }

    .main-heading p {
        width: 550px;
        margin: 0 auto 100px;
        max-width: 100%;
        line-height: 2;
        color: #777;
    }*/
 

   

/*=========================
    2. Header start
===========================*/


/*.header {
    background-color: var(--main-color);
    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;
        flex-wrap: wrap;
        position: relative;
    }


.header .logo {
    width: 90px;
  
}
    .header .main-nav {
        display: flex;
        margin-left: auto;
    }
   
.header .main-nav > li:hover .mega-menu {
    opacity: 1;
    z-index: 100;
    top: calc(100% + 1px);
}

.header .main-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    position: relative;
    color: white;
    padding: 0 30px;
    overflow: hidden;
    font-size: 22px;
    font-weight: bold;
    transition: var(--main-transition);
}

.header .main-nav > li > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #F4D249;
    bottom: 0;
    left: -100%;
    transition: var(--main-transition);
}

    .header .main-nav > li > a:hover::before {
       left: 0;
    }

.header .mega-menu {
    position: absolute;
    width: 10%;
    padding: 30px;
    background-color: white;
    z-index: -1;
    display: flex;
    gap: 40px;
    top: calc(100% + 5px);
    opacity: 0;
    transition: top var(--main-transition), opacity var(--main-transition);
}
.header .account ul li:first-child {
   
    padding: 12px 25px;
    border: 1px solid white;
    border-radius: 15px;
}

    .header .account ul li:last-child {
        background-color: #F4D249;
        padding: 12px 25px;
        border-radius: 15px;
        margin: 20px;
    }
        .header .account ul li:first-child a {
            color: white;
        }
.header .account ul li:last-child a {
 
   color : black;
}*/



/*=========================
     Header End
===========================*/

/*=========================
     Landing Start 
===========================*/

/*.landing {
    position: relative;
}

    .landing::before {
        content: "";
        position: absolute;
        left: 0;
        
        width: 100%;
        height: 100%;
        background-color: #ececec;
        z-index: -1;
        transform: skewY(-6deg);
        transform-origin: top left;
    }

    .landing .container {
        min-height: calc(50vh - 72px);
        display: flex;
        align-items: center;
        padding-bottom: 120px;
    }

    .landing .text {
        flex: 1;
    }


.landing .text h1 {
    font-size: 40px;
    margin: 0;
    letter-spacing: -2px;
}


.landing .text p {
    font-size: 23px;
    line-height: 1.7;
    margin: 5px 0 0;
    color: #666;
    max-width: 500px;
}


    .landing .video {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
    }


        .landing .video video {
            width: 100%;
            border-radius: 15px;
           
        }
        

.landing .video video {
    margin-top:100px;
    position: relative;
    animation: up-and-down 5s linear infinite;
}

 .go-down {
    color: var(--main-color);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--main-transition);
}

    .go-down:hover {
        color: var(--main-color-alt);
    }

    .go-down i {
        animation: bouncing 1.5s infinite;
    }*/
/*=========================
     Landing End
===========================*/
/*=========================
     Pricing Start
===========================*/

/*.pricing {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
    background-color: var(--section-background);
}

    .pricing .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }

    .pricing .box {
        position: relative;
        box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
        transition: var(--main-transition);
        background: white;
        text-align: center;
        z-index: 1;
    }

        .pricing .box::before,
        .pricing .box::after {
            content: "";
            width: 0;
            height: 50%;
            background-color: #f6f6f6;
            position: absolute;
            z-index: -1;
            transition: var(--main-transition);
        }

        .pricing .box::before {
            left: 0;
            top: 0;
        }

        .pricing .box::after {
            right: 0;
            bottom: 0;
        }

        .pricing .box:hover::before,
        .pricing .box:hover::after {
            width: 100%;
        }

@media (min-width: 1200px) {
    .pricing .box.popular {
        top: -20px;
    }
}

.pricing .box.popular .label {
    position: absolute;
    writing-mode: vertical-rl;
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
    padding: 10px 10px 35px 10px;
    font-size: 18px;
    right: 20px;
    width: 40px;
}

    .pricing .box.popular .label::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        border-style: solid;
        border-color: transparent transparent white;
        border-width: 20px;
    }

.pricing .box .title {
    font-weight: bold;
    margin: 30px 0;
    font-size: 25px;
    letter-spacing: -1px;
}

.pricing .box img {
    width: 80px;
    margin-bottom: 30px;
}

.pricing .box .price {
    margin-bottom: 20px;
}

.pricing .box .amount {
    display: block;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--main-color);
}

.pricing .box .time {
    color: #777;
}

.pricing .box ul {
    text-align: left;
}

    .pricing .box ul li {
        padding: 20px;
        border-top: 1px solid #eee;
    }

        .pricing .box ul li::before {
            font-family: "Font Awesome 5 Free";
            content: "\f00c";
            margin-right: 10px;
            font-weight: 900;
            color: var(--main-color);
        }

.pricing .box a {
    display: block;
    width: fit-content;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    margin: 30px auto 40px;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: var(--main-transition);
}

    .pricing .box a:hover {
        background-color: var(--main-color-alt);
        border-color: var(--main-color-alt);
        color: white;
    }*/

/* Start Events */

/*.events {
    padding-top: var(--main-padding-top);
    padding-bottom: var(--main-padding-bottom);
    position: relative;
}

    .events .container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .events img {
        max-width: 450px;
    }

@media (max-width: 991px) {
    .events img {
        display: none;
    }
}
.events .title {
    text-align: center;
    margin: 40px 0 0;
    font-size: 30px;
}

.events .description {
    text-align: center;
    line-height: 1.7;
    font-size: 19px;
    color: #777;
}
.events {
    background: #f8f9fa;
}

.card {
    border-radius: 15px;
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card h5 {
        color: var(--main-color);
    }*/

/*=========================
     Pricing End
===========================*/
/*=========================
     Contact Start
===========================*/

/*.contacts {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: var(--main-color);
}


    .contacts .info {
        padding-top: var(--section-padding);
        padding-bottom: var(--section-padding);
        text-align: center;
    }

        .contacts .info .label {
            font-size: 35px;
            font-weight: 800;
            color: var(--secondary-color);
            letter-spacing: -2px;
            margin-bottom: 15px;
        }

        .contacts .info .link {
            font-size: 25px;
            font-weight: 500;
            color: black;
            background-color: #F4D249;
            border: 1px solid;
            margin-top:200px;
            padding: 10px 34px;
            border-radius: 15px;
            width: 400px;
        }*/


/*=========================
      Contact  End
===========================*/
/*=========================
    Footer Start
===========================*/

/*.footer {
    background-color: black;
    color: white;
    padding: 30px 10px;
    text-align: center;
    font-size: 18px;
}
    .footer .container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 50px;
        text-align: center;
        bottom: -50px;
    }

    .footer span {
        font-weight: bold;
        color: var(--main-color);
    }*/

/*=========================
     Footer End
===========================*/

/*=========================
     Form Start
===========================*/
/*.auth-container {
    width: 450px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.auth-header {
    background: #3f9ca5;
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
}

.auth-body {
    padding: 25px;
}

.auth-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #3f9ca5;
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }



.register-page {
    background-color: #f5f5f5;
    padding: 50px 0;
    direction: rtl;
    margin-right: 300px;
}

.theme-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}


.register-page h3 {
    text-align: center;
    background-color: #3f9ca5;
    color: #fff;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.page-title h6 {
    color: #3f9ca5;
    margin-bottom: 15px;
}


.form-group {
    margin-bottom: 12px;
}

.form-control {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #3f9ca5;
        outline: none;
        box-shadow: 0 0 4px rgba(63,156,165,0.3);
    }

.password-field {
    position: relative;
}

    .password-field span {
        position: absolute;
        left: 10px;
        top: 12px;
        cursor: pointer;
        color: #888;
    }

.btn-submit {
    width: 200px;
    height: 45px;
    background: #3f9ca5;
    border: none;
    color: #fff;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    font-size: 16px;
    cursor: pointer;
}

    .btn-submit:hover {
        background: #2f7e85;
    }

.divider {
    text-align: center;
    margin: 15px 0;
    color: #999;
    position: relative;
}

    .divider::before,
    .divider::after {
        content: "";
        position: absolute;
        width: 40%;
        height: 1px;
        background: #ddd;
        top: 50%;
    }

    .divider::before {
        right: 0;
    }

    .divider::after {
        left: 0;
    }

.google-btn {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

    .google-btn img {
        width: 20px;
    }

.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

    .login-link a {
        color: #3f9ca5;
        text-decoration: none;
    }

        .login-link a:hover {
            text-decoration: underline;
        }*/

/*=========================
     Form End
===========================*/

/*=========================
     Animation Start
===========================*/


/*@keyframes up-and-down {
    0%, 100% {
        top: 0;
    }

    50% {
        top: -50px;
    }
}

@keyframes bouncing {
    0%, 10%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40%, 60% {
        transform: translateY(-15px);
    }
}

@keyframes left-move {
    50% {
        left: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        left: 0;
        border-radius: 0;
        width: 50%;
        height: 100%;
    }
}

@keyframes right-move {
    50% {
        right: 0;
        width: 12px;
        height: 12px;
    }

    100% {
        right: 0;
        border-radius: 0;
        width: 50%;
        height: 100%;
    }
}

@keyframes moving-arrow {
    100% {
        transform: translateX(10px);
    }
}

@keyframes flashing {
    0%, 40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        width: 200%;
        height: 200%;
    }
}

@keyframes change-background {
    0%, 100% {
        background-image: url("../imgs/discount-background1.jpg");
    }

    50% {
        background-image: url("../imgs/discount-background2.jpg");
    }
}*/
/*=========================
     Animation End
===========================*/


/*.contact {
    padding: 80px 0;
    background-color: #f7f7f7;
}*/

    /* توزيع */
    /*.contact .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }*/

/* الصورة */
/*.contact-image {
    flex: 1;
    text-align: right;
}

    .contact-image img {
        width: 100%;
        max-width: 500px;
    }*/

/* النص */
/*.contact-text {
    flex: 1;
}*/



    /* العنوان */
    /*.contact-card h2 {
        color: var(--main-color);
        margin-bottom: 15px;
    }*/

    /* النص */
    /*.contact-card p {
        color: #555;
        margin-bottom: 15px;
        line-height: 1.6;
    }*/

/* العناصر */
/*.item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}*/

    /* الأيقونات */
    /*.item i {
        color: var(--main-color);
        font-size: 18px;
    }*/

    /* الروابط */
    /*.item a {
        color: var(--main-color);
        text-decoration: none;
        font-weight: 600;
    }

        .item a:hover {
            text-decoration: underline;
        }*/

/* الملاحظة */
/*.note {
    margin-top: 20px;
}*/

/* موبايل */
/*@media (max-width: 768px) {
    .contact .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-image {
        order: -1;*/ /* الصورة فوق */
    /*}

    .item {
        justify-content: center;
    }
}*/