html.trans,
html.trans *,
html.trans *::before,
html.trans *::after {
    transition: all 300ms ease !important;
    transition-delay: 0 !important;
}


body {
    font-family: tajawal, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* background-color: var(--white-color); */
    color: var(--text-color);
    background-color: var(--bg);
}

input[type=text],
input[type=number],
input[type=email],
input[type=date],
input[type=time],
input:read-only {
    background-color: var(--input-color) ;
    color: var(--text-color);
}

.btn-close {
    background-color: var(--light-color);
    border-radius: 50px;
}

table th,
table td {
    color: var(--text-color);
}

textarea {
    background-color: var(--input-color) !important;
}


/* navigatin bar */

nav {
    position: relative;
    height: 90px;
    width: 100%;
    background-color: var(--nav-bg);
    z-index: 5;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
}

nav .brand {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    gap: .5rem;
}

nav .brand h5 {
    margin-top: 5px;
    width: 150px;
    text-wrap: wrap;
    font-size: 12px;
    font-family: tajawal-700;
    line-height: 1.2rem;
}

nav .brand h5 span {
    color: var(--primary);
}

nav .brand .img_wrap {
    display: grid;
    place-content: center;
    width: 70px;
    height: 70px;
    aspect-ratio: 1;
    border-radius: 50px;
    border: 5px solid #444;
    overflow: hidden;
}

nav .brand img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    scale: 1.2;
}

nav .nav-items .wrap {
    display: flex;
    align-items: center;

}

nav .nav-items .wrap .nav-link {
    padding-inline: 10px;
}

nav .nav-items .wrap .dropdown-item {
    text-align: start;
    padding-top: 1rem;
    font-family: tajawal-400;
}

nav .nav-items .wrap .dropdown-menu {
    background-color: var(--white-color);
}

nav .nav-items .wrap .dropdown-menu a:hover {
    background-color: var(--light-color);
    cursor: pointer;
}

nav .nav-items .wrap .dropdown-menu a:active {
    background-color: var(--primary);
}


nav .nav-items .wrap a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    position: relative;
    transition: all .3s;
}

nav .nav-items .wrap a.active {
    color: var(--text-color);
    font-family: tajawal-700;
}

nav .nav-items .wrap a.active::before {
    transition: all .3s;
    content: '';
    bottom: -10px;
    width: 0%;
    left: 50%;
    height: 5px;
    transform: translateX(-50%);
    background: var(--primary-li-70);
    position: absolute;
    border-radius: 5px;
    animation: nav-link-active .3s .2s forwards;
}

nav .btn {
    box-shadow: 0 0 20px var(--shadow-color);
    font-size: 12px;
    height: 40px;
}

@keyframes nav-link-active {
    to {
        width: 40%;
    }
}

nav .icons {
    margin-top: .5rem;
}

nav .icons i {
    color: var(--nav-items-color);
    font-size: 18px;
}

.btn_mobile_mwnu {
    display: none;
}


nav .checkbox {
    opacity: 0;
    position: absolute;
}

nav .checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .bxs-moon {
    color: #f1c40f;
}

nav .bxs-sun {
    color: #f39c12;
}

nav .checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

nav .checkbox:checked+.checkbox-label .ball {
    transform: translateX(24px);
}

@media screen and (max-width: 768px) {

    /* table */
    table {
        width: 100% !important;
    }

    table th {
        display: none;
    }

    table tbody tr {
        border-bottom: 1px solid var(--light-border) !important;
        background-color: rgba(255, 255, 255, .1);
    }

    .table>:not(caption)>*>* {
        border: none;
    }

    table tr:nth-child(even) {
        background-color: transparent;
    }

    table td {
        display: flex;
        align-items: center;
        justify-content: start;
        padding: 20px;
        overflow: hidden;
    }

    table td::before {
        height: 100%;
        content: attr(th-data);
        font-weight: bold;
        width: 100px;
        border-left: 1px solid var(--light);
        text-align: right !important;
    }

    /* table */


    ::-webkit-scrollbar {
        display: none;
    }

    body,
    html {
        height: 100vh;
        /* width: 100vw; */
    }

    header,
    main,
    footer {
        overflow-x: hidden !important;
    }


    .btn_mobile_mwnu {
        display: block;
    }

    nav {
        top: 0;
        position: fixed;
        width: 100%;
        background-color: var(--nav-mobile-bg);
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: 0;
        background-color: var(--nav-mobile-bg);

        width: 0;
        min-height: 100svh;
        z-index: 10;


        flex-direction: column;
        padding-block: 25%;

        opacity: 0;
        overflow-x: hidden;
        transition: all .3s ease;
    }

    .nav-items i,
    .btn_mobile_mwnu {
        color: var(--dark-li2-color) !important;
    }

    .nav-items.toggle {
        width: 80%;
        opacity: 1;
    }

    nav .container .nav-items .wrap {
        flex-direction: column;
        gap: 2rem;
    }

    nav .container .nav-items .wrap a {
        font-size: 22px;
        color: var(--nav-color);
    }

    nav .container .nav-items .icons {
        margin-top: auto;
        gap: 1rem !important;
    }

    nav .container .nav-items .icons i {
        font-size: 32px;
    }

    nav .btn span {
        display: none;
    }
}


/* navigatin bar */

/* main */
/* hero section */
main .hero {
    background-color: #111;
    height: calc(100vh - 90px);
    position: relative;
    width: 100%;
    z-index: 4;
}

main .hero::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;

    height: 100%;
    width: 100%;

    background: var(--gradient);

    z-index: 1;
    opacity: .25;
}

main .hero .carousel-inner,
main .hero .carousel-inner .carousel-item {
    height: calc(100vh - 90px);
}

main .hero .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.6);
}


main .hero .carousel-indicators button {
    height: 10px;
    width: 30px;
}

main .hero .carousel-indicators button.active {
    background-color: var(--primary);
    width: 40px;
}

@keyframes move-slow {
    to {
        background-position: center 0%;
    }
}

main .hero .hand_arrow {
    position: absolute;
    z-index: 5;
    left: 36%;
    top: 10%;
    rotate: -40deg;
    scale: .5;
    opacity: 0;
    transform: translateY(500px);
    animation: show_hand_arrow .3s 1s ease forwards;
}

@keyframes show_hand_arrow {
    to {
        transform: translateY(0);
        rotate: -80deg;
        opacity: 1;
    }
}

main .hero-text {
    height: calc(100vh - 90px);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;

}


main .hero-text .wrap {
    margin: auto;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}


@keyframes fade-up {
    to {
        transform: translate(0);
        opacity: 1;
    }
}

main .hero-text h1 span {
    color: white;
    background-color: var(--gold);
    font-size: 18px;
    display: inline;
    width: fit-content;
    border-radius: 5px;
    padding: 5px;
}

main .hero-text h1 {
    line-height: 4rem;
    font-size: 40px;
    font-family: tajawal-700;
    color: white;
}

main .hero-text h1 div {
    background-color: var(--primary);
    width: fit-content;
    display: inline;
    padding-inline: 1vw;
    border-radius: 2px;
}

main .hero-text .line {
    display: block;
    height: 4px;
    width: 200px;
    background: var(--primary);
}

main .hero-text p {
    margin-top: 1rem;
    color: #fff;
    width: 600px;
}

main .hero-text .buttons {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

main .hero-text .buttons button {
    width: 150px;
    height: 45px;
}

main .hero-text .buttons .btn_show_work {
    display: grid;
    place-content: center;
    background: var(--primary);
}

main .swiper {
    position: relative;
    z-index: 4;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
    gap: 1rem;
}

main .swiper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

main .swiper .contant {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.14);
}

main .swiper .contant h5 {
    width: 100%;
    text-align: center;
    background-color: #FFF;
    padding: .5rem 1rem;
    color: var(--text-color-light);
    font-size: 18px;
    margin: 0;
}


.scroll-down2 {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    overflow: hidden;

    margin-top: 40px;
    scale: .8;

    bottom: 7vh;
    left: 50%;

    transform: translateX(-50%);

    &:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 20px;
        width: 6px;
        height: 6px;
        border-radius: 100%;
        transform: translateX(-50%);
        background: var(--primary);
        animation: scrollDown2 1.5s ease infinite;
    }

    &:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 5px;
        width: 6px;
        height: 15px;
        border-radius: 3px;
        transform: translateX(-50%);
        background: var(--primary);
    }
}

@keyframes scrollDown2 {
    0% {
        transform: translate(-50%, 0px);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, 8px);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 16px);
        opacity: 0;
    }
}

main .hero .scroll-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    scale: .5;
}

main .hero .scroll-icon .center svg {
    color: gray;
}

main .hero .scroll-icon .center circle {
    color: rgba(255, 255, 255, 1);
}

main .hero .scroll-icon #scroll {
    animation: animateHeight 1.4s linear .3s 4
}

main .hero .scroll-icon #circle--shape {
    animation: animateShape 1.6s ease-in-out infinite
}

@keyframes animateShape {
    50% {
        cy: 100;
        opacity: .1;
    }
}

@keyframes animateHeight {
    70% {
        height: 105px;
    }
}

@media screen and (max-width: 768px) {
    .scroll-down2 {
        display: none;
    }

    main .hero {
        padding-bottom: 3rem;
        min-height: fit-content;
        display: grid;
        place-content: center;
    }

    .hero .container {
        flex-direction: column-reverse;
        justify-content: space-around;
    }

    .hero .container .hand_arrow {
        rotate: 2deg;
        top: 475px;
        scale: .6;
        left: -42px;
        opacity: 0;
        transform: scaleX(-1) translateX(500px);
        animation: show_hand_arrow .3s .5s ease forwards;
    }

    @keyframes show_hand_arrow {
        to {
            transform: scaleX(-1) translateX(50px);
            opacity: 1;
        }
    }

    .hero .container .hero-text {
        width: 100%;
        align-items: unset;
        display: grid;
        place-content: center;
    }


    .hero .container .hero-text .wrap {
        margin-inline: 1rem;
        margin-top: .5rem;
        align-items: unset;

    }

    .hero .container .hero-text .wrap img {
        display: none;
    }

    .hero .btn {
        width: fit-content;
    }

    .hero a img {
        display: block !important;
    }

    .hero .container .hero-text .wrap .lead {
        width: 100%;
        font: 12px;
    }

    .hero .container .hero-text h1 span {
        font-size: 12px
    }

    .hero .container .hero-text h1 {
        font-size: 6vw;
        width: 100%
    }

    .hero .container .hero-text .lead {
        margin-top: 2rem;
        line-height: 2.5rem;
    }

    .hero .container .hero-text .buttons {
        margin-top: 3rem;
    }

    .hero .container .swiper {
        margin-top: 3rem;
        width: 80%;
    }

    .hero .container .swiper .contant {
        height: 300px;
    }

    .hero .carousel-indicators,
    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        display: none;
    }


}


/* hero section */

/* who we are */
main .who {
    background-color: var(--bg);
    padding-bottom: 2rem;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: block;
    position: relative;
}


main .who::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='100%25' width='100%25'%3E%3Cdefs%3E%3Cpattern id='doodad' width='50' height='50' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='100%25' height='100%25' fill='rgba(247, 250, 252,.0)'/%3E%3Ccircle cx='34' cy='20' r='4' fill='rgba(160, 174, 192,1)'/%3E%3Ccircle cx='6' cy='20' r='4' fill='rgba(160, 174, 192,1)'/%3E%3Ccircle cx='20' cy='34' r='4' fill='rgba(160, 174, 192,1)'/%3E%3Ccircle cx='20' cy='6' r='4' fill='rgba(160, 174, 192,1)'/%3E%3Ccircle cx='34' cy='6' r='4' fill='%231a202c'/%3E%3Ccircle cx='6' cy='34' r='4' fill='%231a202c'/%3E%3Ccircle cx='34' cy='34' r='4' fill='%231a202c'/%3E%3Ccircle cx='6' cy='6' r='4' fill='%231a202c'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23doodad)' height='200%25' width='200%25'/%3E%3C/svg%3E ");
    opacity: .05;
    z-index: -1;
}

main .section_title {
    position: relative;
    width: fit-content;
    display: block;
    margin-inline: auto;
    padding-top: 4rem;
    font-family: tajawal-700;
    font-size: 32px;
}

main .section_title::before {
    position: absolute;
    content: '';
    width: 80%;
    height: 2px;
    background-color: gray;
    left: 0;
    bottom: -10px;
    transform: translateX(10%);
}

main .section_title::after {
    position: absolute;
    content: '';
    width: 40%;
    height: 5px;
    background-color: var(--primary);
    left: 0;
    bottom: -11px;
    transform: translateX(70%);
}

main video {
    width: 720px;
    margin: 0 auto;
    display: block;
    margin-top: 3rem;
    border: 15px solid var(--white-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.14);
}

main .wrap_section_title p {
    margin: 0 auto;
    margin-block: 2rem;
    text-align: center;
    color: var(--text-color);
    width: 50%;
}


main #services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    position: relative;

}

main #services .serv_card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    margin-top: 3rem;
    width: 200px;
    min-height: 250px;
    gap: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    padding: 1rem;
    border-radius: 5px;
    background-color: var(--bg);
}

main #services .serv_card .serv_title {
    font-family: tajawal-700;
    font-size: 16px;
}

main #services .serv_card .serv_details {
    text-align: center;
    font-size: 16px;
}

main #services .serv_card span {
    width: 70px;
    height: 70px;
    background-color: var(--primary-li);
    border-radius: 50%;
    display: grid;
    place-content: center;
}

main #services .serv_card span img {
    width: 35px;
    height: 35px;
    filter: brightness(1);
}

main .serv_cards {
    gap: 2rem;
    padding-block: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

main .serv_cards .card {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.18);
    height: 370px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    background-color: var(--bg);
    transition: all .3s;
    overflow: hidden;
}

main .serv_cards .card .card-body {
    padding-bottom: 2rem;
    height: 30%;
}

main .serv_cards .card .card-body p {
    color: var(--text-color);
}

main .serv_cards .card button {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    transition: all .3s;
}

main .serv_cards .card:hover button {
    background-color: var(--primary);
    color: white;
}

main .serv_cards .card:hover {
    box-shadow: 0 0 1px transparent;
}

main .serv_cards .card img {
    height: 70%;
    filter: brightness(.8);
    transition: all .3s;
}

main .serv_cards .card:hover img {
    scale: 1.05;
    transform: rotate(1deg);
    filter: brightness(1);
}

@media screen and (max-width: 768px) {
    main .serv_cards .card {
        width: 80% !important;
        min-height: 400px;
    }

    main video {
        width: 90%;
    }
}

main .aboutus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    min-height: 50vh;
    gap: 3rem;
}

main .aboutus .about_img {
    width: 50%;
    height: 40vh;
    border: 15px solid var(--bg-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.14);
}

main .aboutus .about_img img {
    padding: 1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

main .aboutus .about_details .mybody {
    margin-top: 1rem;
}

main .aboutus .about_details .mybody h5 {
    font-family: tajawal-700;
    position: relative;
    margin-right: 1rem;
    font-size: 18px;
}

main .aboutus .about_details .mybody h5::before {
    content: '';
    top: 0;
    right: -1rem;
    height: 100%;
    background: var(--primary);
    width: 5px;
    border-radius: 20px;
    position: absolute;
}


main .aboutus .about_details .mybody p,
main .aboutus .about_details .mybody li {
    width: 80%;
    color: var(--text-color);
    font-size: 16px;
}

main .who::before {
    content: '';
    background: url(../img/footer-img.png);
    background-repeat: repeat;
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: .1;
    filter: grayscale(1);
    background-position: bottom;
    background-size: contain;
    border: 0;
    outline: 0;
}



@media screen and (max-width: 768px) {


    main .who {
        margin-top: 0rem;
        min-height: fit-content !important;
        display: block !important;
    }

    main .who .container {
        height: 100%;
    }

    main .who::before {
        height: 114px;
    }

    main .who .wrap_section_title p,
    main .wrap_section_title p {
        width: 80%;
        line-height: 2rem;
        word-spacing: 3px;
    }

    main .aboutus {
        margin-top: 3rem;
        flex-direction: column;
        min-height: 100vh;
        position: static;
    }

    main .aboutus .about_img {
        width: 100%;
    }

    main .aboutus .about_details {
        margin-right: 2rem;
    }

    main .aboutus .about_details .body p,
    main .aboutus .about_details .body li {
        width: 100%;
    }



}

/* who we are */

main .services_wrap {
    background-color: var(--card-color);
    height: auto;
    position: relative;
}

main .services_wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url(../img/circle_pattern.jpg) repeat;
    opacity: .09;
    z-index: -1;
}

main .services {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    position: relative;
    padding-bottom: 3rem;
}

main .services::before {
    content: '';
    position: absolute;
    background: url(../img/bulding-pattern-removebg-preview_upscayl_4x_realesrgan-x4plus.png) no-repeat;
    background-size: cover;
    background-position: center;
    opacity: .031;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

main .services .serv_card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 240px;
    height: 270px;
    gap: 1rem;
    box-shadow: 0 0 20px var(--shadow-color);
    padding: 1rem;
    border-radius: 5px;
    background-color: var(--light-color);
}

main .services .serv_card .serv_title {
    font-family: tajawal-700;
    font-size: 16px;
}

main .services .serv_card .serv_details {
    text-align: center;
    font-size: 16px;
}

main .services .serv_card span {
    width: 70px;
    height: 70px;
    background-color: var(--primary-li);
    border-radius: 50%;
    display: grid;
    place-content: center;
}

main .services .serv_card span img {
    width: 35px;
    height: 35px;
    filter: brightness(8);
}

.count_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    height: 40vh;
}

.count_wrap .count {
    background-color: var(--bg);
    border-radius: 10px;
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 1rem 2rem;
    gap: 1rem;

}

.count_wrap .count i {
    font-size: 50px;
    color: var(--gold);
}

.count_wrap .count .details {
    display: flex;
    flex-direction: column;
}

.count_wrap .count h5 {
    font-family: tajawal-700;
    font-family: bold;
    color: var(--primary);
}

.count_wrap .count p {
    color: var(--text-color-light2);
}

/* clients section */

.clients {
    background-color: var(--card-color);
    padding-bottom: 5rem;
}

.clients .clients_logo {
    width: 100%;
}

.clients .partners {
    width: 100%;
}

.clients .clients_logo img {
    background-color: var(--bg);
    height: 150px;
    width: 150px;
    object-fit: contain;
    mix-blend-mode: darken;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {

    main .services_wrap {
        display: block;
        margin-top: 0;
        padding-bottom: 3rem;
    }

    main .count_wrap {
        height: 100%;
        flex-wrap: wrap;
    }

    main .count_wrap .count {
        width: 80%;
    }

    main .count_wrap .count h5 {
        font-size: 7.2vw;
    }

}

/* clients section */

/* projects */

main .projects {
    padding: 5rem;
    background: var(--bg);
    position: relative;
    isolation: isolate;
}

main .projects::after {
    /* position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    
    filter: brightness(.1);

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 66%);

    z-index: -1; */
}

main .projects .cards {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

main .projects .cards .mycard {
    min-width: 300px;
    min-height: 400px;
    box-shadow: 0 0 10px var(--shadow-color);
    backdrop-filter: blur(10px);
    background-color: var(--card-color);
    overflow: hidden;
    border-radius: 5px;
    transition: scale 0.3s;
    cursor: pointer;
    transition: all .3s;
}

#project_view table tr td:nth-child(2) {
    font-family: tajawal-400;
}

main .projects .mycard img,
#project_view img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: all .3s;
    filter: brightness(.7);
}

main .projects .mycard .mycard_body,
#project_view .mycard_body {
    padding: .5rem;
}

main .projects .mycard .title,
.mycard_body .title {
    text-align: center;
    font-size: 16px;
    margin-top: 1rem;
}

main .projects .mycard .details {
    color: var(--text-color-light2);
    text-align: center;
    font-size: 14px;
}

main .projects .mycard .btn {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    transition: all .3s;
}

main .projects .cards .mycard:hover {
    box-shadow: 0 0 30px var(--shadow-color);
}

main .projects .cards .mycard:hover .btn {
    background-color: var(--primary);
    color: white;
    border-color: white;
}

main .projects .cards .mycard:hover img {
    scale: 1.02;
    transform: rotate(1deg);
    filter: brightness(1);
}


#project_view table td {
    color: var(--text-color);
}

/* projects */

main .contactus {
    position: relative;
    isolation: isolate;
    background: url(../img/patter2.png) no-repeat;
    background-size: cover;
    padding-bottom: 5rem;
    background: var(--light-color);
}

main .contactus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--white-color);
    z-index: -1;
    opacity: .1;
}

main .contactus::after {
    opacity: .1;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
    background-color: var(--gold);
}

main .contactus .form_wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 5rem;
    border-radius: 10px;
    padding-block: 1rem;
    padding-right: 2rem;
    backdrop-filter: blur(10px);
}

main .contactus .form-img {
    width: 50%;
    height: 450px;
    overflow: hidden;
}

main .contactus .form-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 3s;
    filter: brightness(.5);
}

main .contactus .form_wrap form {
    width: 50%;
    height: 450px;
    display: grid;
    place-content: center;
    background-color: var(--light-color);
    border-radius: 10px;
}

main .contactus form label {
    color: var(--text-color-light2);
    font-size: 12px;
}

main .contactus .form_wrap button {
    font-size: 14px;
    background-color: transparent;
    color: var(--text-color-light2);
    border: 2px solid var(--text-color-light2);
}

main .contactus .form_wrap #btn_enquery:hover {
    background-color: var(--primary);
    color: white;
}

main .contactus .form_wrap #btn_form_clear:hover {
    background-color: rgb(131, 61, 61);
    color: white;
}

main .contactus .form_wrap form input,
main .contactus .form_wrap form textarea {
    background-color: var(--bg) !important;
    color: var(--text-color);
}

main .contactus .form_wrap:hover img {
    scale: 1.2;
    transform: rotate(5deg);
    filter: brightness(.9);
}

main .contactus svg {
    fill: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    filter: brightness(.7);
}

@media screen and (max-width: 768px) {

    main .projects .cards .mycard {
        width: 90%;
    }

    main .contactus .form-img {
        display: none;
    }

    main .contactus .form_wrap {
        height: auto;
        overflow: unset;
        padding: 0 1rem;
        justify-content: start;
        width: 100%;
        gap: 0;
        margin: 0;
    }

    main .contactus .form_wrap form {
        width: 90%;
        height: fit-content;
        padding: 1rem;
    }

    main .contactus .buttons {
        margin: 0 auto;
    }
}

/* footer */
footer {
    background: var(--bg);
    position: relative;
    background-size: cover;
    background-position: center;
    padding-block: 2rem;
}

footer::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/hero_jeddah_upscayl_4x_realesrgan-x4plus.png');
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: brightness(0.25);
    z-index: -1;
}


footer .about {
    display: flex;
    flex-direction: column;
}

footer .about img {
    width: 140px;
    opacity: .9;
}

footer .icons i {
    cursor: pointer;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    padding: 5px;
    transition: all .3s ease-in;
}

footer .icons i:hover {
    background-color: #FFFF;
    color: black;
}

footer .links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .links a {
    text-decoration: none;
    color: white;
}

footer hr {
    color: #fcfcfc;
}

footer .copy-write {
    color: #fcfcfc;
}

footer .subscribe {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

footer .subscrib input {
    background-color: var(--bg);
    color: var(--white-color);
}

footer .subscribe button {
    align-self: flex-start;
    margin-left: 23px;
    border: 2px solid #fcfcfc;
    color: #fcfcfc;
    transition: all .3s ease;
}

footer .subscribe button:hover {
    background-color: #fcfcfc;
    color: #111;
}

.btn-glass {
    outline: none;
    border: none;
    padding: .5rem 1rem;
    background-color: var(--white-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 12px;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    scale: 1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: pulse 2s infinite;
    display: grid;
    place-content: center;
    z-index: 10;
}


@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 20px rgba(0, 0, 0, .1), 0 0 20px rgba(255, 255, 255, .1);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.btn_top {
    outline: none;
    border: none;
    padding: .5rem 1rem;
    background-color: var(--white-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 18px;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    scale: 1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-content: center;
    z-index: 4;
    color: var(--gold);
}

.btn_top i {
    color: var(--secondary);
}

.copywr {
    background-color: #58256e;
}

#log_modal .modal-content {
    position: relative;
    isolation: isolate;
}

#log_modal .modal-content::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: url(../img/login.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(.5);
    z-index: -1;
}

#log_modal .wrap {
    max-width: 450px;
    min-height: 70vh;
    display: block;
    margin: auto;
    background-color: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .5);
    backdrop-filter: 5px;
    border-radius: 10px;
}

#log_modal .wrap>img {
    display: block;
    margin: auto;
}

#log_modal .wrap .tab-content {
    padding: 2rem 2rem;
}

#log_modal .wrap .tab-content input,
#log_modal .wrap .tab-content select {
    background-color: transparent;
    color: white;
}

#log_modal .wrap .nav-link {
    color: white;
}

#log_modal .wrap .nav-link.active {
    color: #111;
}

#log_modal .wrap h5,
#log_modal .wrap p,
#log_modal .wrap label {
    color: white;
}

#book_modal .modal-content {
    position: relative;
    isolation: isolate;
}

#book_modal .modal-content::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: url(../img/book.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(.35);
    z-index: -1;
}

#book_modal .wrap h5,
#book_modal .wrap p,
#book_modal .wrap label {
    color: white;
}

#book_modal .wrap input,
#book_modal .wrap select {
    background-color: transparent;
    color: white;
}

@media screen and (max-width:768px) {
    footer {
        height: fit-content;
        padding-block: 1rem;
    }

    footer .container {
        flex-direction: column;
    }

    footer .container>div {
        width: 100%;
    }

    footer .subscribe,
    footer .links,
    footer .copy-write {
        margin-top: 2rem;
    }

    footer .about h5 {
        font-size: 16px;
        line-height: 2rem;
        width: 70%;
    }

    footer .links {
        font-size: 16px !important;
        font-family: tajawal-li;
    }

    footer .subscribe h5 {

        font-size: 16px;
        font-family: tajawal-li;
    }


    footer .icons,
    footer .copy-write {
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-inline: auto;

    }

    footer .subscribe input {
        height: 40px;
    }

    footer .subscribe button {
        margin: 0;
    }

    .btn-glass {
        width: 50px;
        height: 50px;
        z-index: 10;
    }

    .btn-glass img {
        height: 45px;
        width: 45px;
    }
}

/* footer */


/* contact us page */

/* conractus */