@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap");
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    /*font-family: "Inter", sans-serif;*/
    font-family: 'Maryam', sans-serif;
}

:root {
    --main_color: #CEA645;
    --payment_color: #E8B857;
    --p_color: #595959;
    --bg_color: #1f1f1f;
    --white_color: #fff;
    --black_color: #070707;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    direction: rtl;
    background: var(--white_color);
}

.container {
    width: 80%;
    margin: auto;
    max-width: 1500px;
}

section {
    padding: 80px 0;
}

img {
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black_color);
    font-family: "DM Sans", sans-serif;
}

span {
    color: var(--main_color);
}

p {
    color: var(--p_color);
}


/* btns */

.btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    background: var(--main_color);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--black_color);
    transition: 0.3s;
}

.btn:hover {
    scale: 1.1;
}

.btn_no_bg {
    color: var(--white_color);
    text-transform: capitalize;
    text-decoration: underline;
    transition: 0.3s;
}

.btn_no_bg:hover {
    color: var(--main_color);
}

.bg-lines span {
    position: fixed;
    top: 0;
    z-index: -1;
    height: 100%;
    background: rgba(0, 0, 0, 0.133);
    width: 1px;
    -webkit-animation: left_Right 18s infinite;
    animation: left_Right 18s infinite;
}

.bg-lines span:nth-child(1) {
    left: 10%;
}

.bg-lines span:nth-child(2) {
    left: 20%;
}

.bg-lines span:nth-child(3) {
    left: 30%;
}

.bg-lines span:nth-child(4) {
    left: 40%;
}

.bg-lines span:nth-child(5) {
    left: 50%;
}

.bg-lines span:nth-child(6) {
    left: 60%;
}

.bg-lines span:nth-child(7) {
    left: 70%;
}

.bg-lines span:nth-child(8) {
    left: 80%;
}

.bg-lines span:nth-child(9) {
    left: 90%;
}

@keyframes left_Right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


/* خلفية متحركة */

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: move 20s infinite;
}

@keyframes move {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(100vw, 100vh);
    }
    100% {
        transform: translate(0, 0);
    }
}


/* دوائر ملونة */

.circle1 {
    width: 300px;
    height: 200px;
    /*background-color: rgba(255, 99, 71, 0.5);*/
    background-image: url('../img/2030.png');
    background-size: cover;
    top: 10%;
    left: 20%;
    animation-duration: 15s;
}

.circle2 {
    width: 300px;
    height: 300px;
    /*background-color: rgba(60, 179, 113, 0.5);*/
    background-image: url('../img/رواد\ اعمال.png');
    background-size: cover;
    top: 30%;
    left: 60%;
    animation-duration: 25s;
}

.circle3 {
    width: 250px;
    height: 250px;
    /*background-color: rgba(30, 144, 255, 0.5);*/
    background-image: url('../img/معروف\ عادي.png');
    background-size: cover;
    top: 50%;
    left: 10%;
    animation-duration: 20s;
}


/* background lines */

.top_section {
    text-align: center;
    margin-bottom: 100px;
}

.top_section h2 {
    font-size: 30px;
}

#text {
    white-space: pre-wrap;
    /* يحافظ على المسافات والفواصل */
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    /* يبدأ خارج الشاشة */
    opacity: 0;
    transition: left 0.5s ease, opacity 0.5s ease;
}

.page_lunks.active {
    left: 0;
    /* يظهر في الشاشة */
    opacity: 1;
}


/* Start Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    transition: 0.3s;
    z-index: 1000;
}

header.active {
    background: var(--white_color);
    border-bottom: 2px solid #CEA645;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

header nav .logo img {
    width: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
}

header nav .links {
    display: flex;
    gap: 40px;
}

.linksnav.selected {
    color: var(--black_color);
}

header nav .links a {
    color: var(--main_color);
    text-transform: capitalize;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

header nav .links a:focus {
    color: var(--black_color);
}

header nav .links a:hover {
    color: var(--black_color);
}

header nav .icons {
    display: flex;
    gap: 30px;
}

header nav .icons a {
    color: var(--main_color);
    font-size: 30px;
    transition: 0.3s;
}

header nav .icons a:hover {
    scale: 1.4;
}


/* start hero */

.hero {
    padding-top: 100px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero .div_Text {
    width: 50%;
}

.hero .div_Text h4 {
    color: var(--p_color);
    font-size: 35px;
    margin-bottom: 15px;
}

.hero .div_Text h1 {
    font-size: 40px;
    font-weight: bolder;
}

.hero .div_Text h2 {
    font-size: 70px;
    font-weight: normal;
    line-height: 0.9;
}

.hero .div_Text p {
    margin: 30px 0;
    font-size: 18px;
    width: 90%;
    line-height: 1.8;
    font-weight: bolder;
}

.hero .btn {
    font-size: 20px;
    padding: 18px 50px;
}

.hero .div_img {
    width: 40%;
    position: relative;
    border-radius: 0 0 600px 600px;
    overflow: hidden;
    background: whitesmoke;
    border-top: 5px solid var(--main_color);
    border-bottom: 5px solid var(--main_color);
}


/*
.hero .div_img:hover {
    scale: 1.1;
}
*/

.hero .div_img .bg_img {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}


/* start about */

.about .container {
    background: var(--white_color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 5px;
    padding: 50px;
}

.about .div_text {
    width: 50%;
}

.about .div_text h5 {
    color: var(--p_color);
    font-size: 18px;
    text-transform: capitalize;
}

.about .div_text h2 {
    font-size: 55px;
    margin: 25px 0 5px;
    font-weight: 500;
}

.about .div_text h4 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--black_color);
}

.about .div_text p {
    line-height: 1.8;
    font-weight: bold;
}

.about .div_text ul {
    display: flex;
    color: var(--black_color);
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.about .div_text ul li {
    width: 45%;
    font-weight: bold;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.about .div_text ul li i {
    color: var(--main_color);
}

.about .div_img {
    width: 35%;
    border-radius: 0 100px 0 100px;
    transition: 0.3s;
    background: whitesmoke;
    border-left: 5px solid var(--main_color);
    border-right: 5px solid var(--main_color);
}

.about .div_img:hover {
    scale: 1.1;
}

.about .div_img p {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--payment_color);
}


/* End About Section */

footer .container {
    background: var(--white_color);
    display: contents;
    justify-content: center;
    align-items: center;
    border: 5px;
}

footer .boxes {
    width: 100%;
    text-align: center;
    padding: 50px 20px;
    transition: 0.3s ease-in-out;
    justify-content: center;
}

footer .boxes p {
    color: var(--black_color);
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 4px;
    text-align: center;
}

footer .boxes h3 {
    color: var(--black_color);
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: center;
}

footer .boxes img {
    height: 100px;
    width: 200px;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: 0.3s;
    margin-bottom: 10px;
}

footer .boxes .fotrim {
    height: 150px;
    width: 200px;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: 0.3s;
}

footer .boxes img:hover {
    scale: 1.3;
}

footer .boxes .rcm_icons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 15px;
}

footer .boxes .rcm_icons a {
    color: var(--main_color);
    font-size: 20px;
    transition: 0.3s;
}

footer .boxes .rcm_icons a:hover {
    scale: 1.4;
}


/* Start Services */

.services .boxs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.services .boxs .box {
    width: 30%;
    text-align: center;
    padding: 50px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    margin-bottom: 35px;
}

.services .boxs .box img {
    width: 150px;
    height: 150px;
    color: var(--main_color);
    margin-bottom: 30px;
    transition: 0.3s;
}

.services .boxs .box .imges {
    width: 200px;
    height: 150px;
    color: var(--main_color);
    margin-bottom: 30px;
    transition: 0.3s;
}

.services .boxs .box i {
    color: var(--main_color);
    font-size: 70px;
    margin-bottom: 30px;
    transition: 0.3s;
}

.services .boxs .box h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.services .boxs .box p {
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.7;
}

.services .boxs .box:hover {
    border-color: var(--main_color);
}

.services .boxs .box:hover i {
    scale: 1.3;
}

.services .boxs .box:hover img {
    scale: 1.3;
}


/* End Services */


/* Start projects */

.projects .project_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.projects .project_box img {
    width: 45%;
}

.projects .project_box .text {
    margin-left: 100px;
    width: calc(50% - 100px);
}

.projects .project_box .text h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: normal;
}

.projects .project_box .text h3 a {
    font-size: 40px;
    color: var(--white_color);
    transition: 0.5s;
}

.projects .project_box .text h3 a:hover {
    color: var(--main_color);
}

.projects .project_box .text p {
    margin: 30px 0 50px;
    line-height: 1.8;
}

.projects .project_box .text .link {
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid var(--border-color);
    color: var(--black_color);
    font-size: 20px;
    background: var(--main_color);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    rotate: 45deg;
    transition: 0.3s ease-in-out;
}

.projects .project_box .text .link:hover {
    scale: 1.2;
}

.projects .project_box.project_box_2 {
    flex-direction: row-reverse;
}


/* End projects */


/* Start  contact */

.contact .container {
    display: flex;
    justify-content: space-between;
}

.contact .top_section {
    margin-bottom: 100px;
}

.contact .soial_contact {
    width: 30%;
}

.contact .soial_contact h2 {
    color: var(--p_color);
    margin-bottom: 40px;
}

.contact .soial_contact .links {
    display: flex;
    flex-direction: column;
}

.contact .soial_contact .links a {
    color: var(--black_color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    left: 0;
    transition: 0.3s;
}

.contact .soial_contact .links a i {
    color: var(--bg_color);
    margin-right: 5px;
    width: 45px;
    height: 45px;
    background: var(--main_color);
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
}

.contact .soial_contact .links a:hover {
    left: 15px;
}

.contact form {
    width: 60%;
    text-align: center;
}

.contact form .inpts_form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact form .inpts_form input,
.contact form .inpts_form textarea {
    border-radius: 5px;
    padding: 20px;
    outline: none;
    background-color: var(--border-color);
    color: var(--main_color);
    margin-bottom: 30px;
    border: 3px solid var(--main_color);
    transition: 0.3s;
}

.contact form .inpts_form input {
    width: 48%;
}

.contact form .inpts_form textarea {
    width: 100%;
}

.contact form .inpts_form input:focus,
.contact form .inpts_form textarea:focus {
    border-color: var(--black_color);
}

.contact .btn {
    outline: none;
    padding: 15px 35px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.contact .btn:hover {
    scale: 1.1;
}


/* End contact */


/* Start Responsive */

.close_menu,
header .links .logo,
.icon_menu {
    display: none;
}

@media (max-width:1250px) {
    .container {
        width: 90%;
    }
}

@media (max-width:1000px) {
    header nav .links {
        position: fixed;
        top: 0;
        flex-direction: column;
        width: 400px;
        background: var(--white_color);
        left: -400px;
        padding: 50px 0;
        height: 100%;
        border-right: 1px solid var(--border-color);
        text-align: center;
        transition: 0.3s ease-in-out;
    }
    header nav .links.active {
        left: 0;
    }
    .close_menu {
        display: block;
        font-size: 28px;
        position: absolute;
        top: 30px;
        right: 30px;
    }
    header .links .logo {
        display: block;
    }
    .icon_menu {
        display: block;
        font-size: 28px;
    }
    /* Responsive Home */
    .hero .div_Text h4 {
        font-size: 25px;
    }
    .hero .div_Text h1 {
        font-size: 55px;
    }
    .hero .div_Text h2 {
        font-size: 55px;
    }
    .hero .div_Text p {
        font-size: 16px;
        margin: 30px auto;
    }
    .hero .btn {
        font-size: 18px;
        padding: 16px 40px;
    }
    .hero .container {
        flex-direction: column;
    }
    .hero .div_Text {
        width: 100%;
        margin-top: 50px;
        text-align: center;
        margin-bottom: 30px;
    }
    .hero .btns {
        justify-content: center;
    }
    .hero {
        height: auto;
    }
    .about .container {
        flex-direction: column;
        height: auto;
    }
    .about .div_text {
        width: 100%;
        margin-bottom: 50px;
    }
    .about .div_img {
        width: 45%;
    }
    .services .boxs .box {
        width: 47%;
        margin-bottom: 30px;
    }
    .projects .project_box .text h3 a {
        font-size: 25px;
    }
    .projects .project_box .text h4 {
        font-size: 16px;
    }
    .projects .project_box .text p {
        font-size: 14px;
    }
    .projects .project_box .text {
        width: calc(50% - 50px);
        margin-left: 50px;
    }
    .contact .container {
        flex-direction: column;
    }
    .contact .soial_contact {
        width: 100%;
        margin-bottom: 40px;
    }
    .contact .soial_contact .links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contact .soial_contact .links a {
        width: 50%;
    }
    .contact .soial_contact .links a {
        font-size: 16px;
    }
    .contact .soial_contact .links a i {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
    .contact form {
        width: 80%;
        margin: 0 auto;
    }
    .contact .btn {
        font-size: 16px;
        padding: 13px 28px;
    }
}

@media (max-width:500px) {
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    header nav .icons a {
        font-size: 20px;
    }
    header nav .icons {
        gap: 15px;
        align-items: center;
    }
    header nav .logo img {
        width: 150px;
    }
    header nav .links {
        width: 100%;
        left: -100%;
    }
    .icon_menu {
        margin-left: 15px;
    }
    .hero .div_Text h4 {
        font-size: 22px;
    }
    .hero .div_Text h1 {
        font-size: 40px;
    }
    .hero .div_Text h2 {
        font-size: 40px;
    }
    .hero .div_Text p {
        font-size: 14px;
        margin: 25px auto;
        width: 100%;
    }
    .hero .btn {
        font-size: 16px;
        padding: 14px 30px;
    }
    .hero .div_img {
        width: 75%;
    }
    .about .div_text h2 {
        font-size: 30px;
    }
    .about .div_text h4 {
        font-size: 20px;
    }
    .about .div_text p {
        font-size: 14px;
    }
    .about .div_text ul li {
        width: 100%;
        font-size: 14px;
    }
    .about .div_img {
        width: 85%;
    }
    .circle1 {
        width: 75px;
        height: 75px;
    }
    .circle2 {
        width: 75px;
        height: 75px;
    }
    .circle3 {
        width: 75px;
        height: 75px;
    }
    .top_section h2 {
        font-size: 22px;
    }
    .services .boxs .box {
        width: 100%;
    }
    .services .boxs .box i {
        font-size: 55px;
    }
    .projects .project_box {
        flex-direction: column;
    }
    .projects .project_box.project_box_2 {
        flex-direction: column;
    }
    .projects .project_box img {
        width: 100%;
        margin-bottom: 30px;
    }
    .projects .project_box .text {
        width: 100%;
        margin-left: 0px;
    }
    .projects .project_box .text p {
        margin: 20px 0 30px;
    }
    .projects .project_box .text h3 a {
        font-size: 23px;
    }
    .contact .soial_contact .links {
        flex-direction: column;
    }
    .contact .soial_contact .links a {
        width: 100%;
    }
    .projects {
        padding-bottom: 40px;
    }
    .contact {
        padding-top: 0;
    }
    .contact .top_section {
        margin-bottom: 60px;
    }
    .contact form {
        width: 100%;
    }
    .contact form .inpts_form input {
        width: 100%;
        padding: 15px 20px;
        margin-bottom: 20px;
    }
    footer .boxes {
        width: 100%;
    }
    footer .boxes h3 {
        font-size: 14px;
    }
}