@import url('https://fonts.googleapis.com/css2?family=Amiri&family=Roboto:ital,wght@0,400;1,300&display=swap');

:root {
    --yellow: #f5bf23;
    --black: #111;
    --white: #fff;
    --light-color: #666;
    --light-bg: #eee;
    --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    --border: .1rem solid rgba(0, 0, 0, .3);
}

* {
    font-family: 'Amiri', sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--yellow);
}

section {
    padding: 5rem 10%;
}

.heading {
    margin-bottom: 3rem;
    font-size: 3rem;
    color: var(--black);
    text-transform: capitalize;
    text-align: center;
    padding-left: 1rem;
    border-left: 1rem solid var(--yellow);
    padding-right: 1rem;
    border-right: 1rem solid var(--yellow);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn {
    align-items: center;
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    font-size: 1.7rem;
    text-transform: capitalize;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.btn:hover {
    background: var(--yellow);
    color: var(--black);
}

@-webkit-keyframes fadeIn {
    0% {
        top: 50%;
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        top: 50%;
        opacity: 0;
    }
}

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    padding: 1.5rem 10%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    z-index: 99;
    background: var(--white);
}

.header {
    font-size: 2.5rem;
    color: var(--black);
    text-transform: capitalize;
}

.header {
    color: var(--yellow);
}

.header .navbar a {
    font-size: 2rem;
    color: var(--black);
    text-transform: capitalize;
    margin: 0 1rem;
    align-items: center;
    text-align: center;
}

.header .navbar a:hover {
    color: var(--yellow);
}

.header .icons div {
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    background: var(--light-bg);
    color: var(--black);
    cursor: pointer;
    text-align: center;
    margin-left: .3rem;
}

.header .icons div:hover {
    background: var(--black);
    color: var(--white);
}

#menu-btn {
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    background: var(--light-bg);
    color: var(--black);
    cursor: pointer;
    text-align: center;
    margin-left: .3rem;
}

#menu-btn:hover {
    background: var(--black);
    color: var(--white);
}

.header #menu-btn {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 40px;
}

.home {
    padding: 0;
}

.home .slide {
    min-height: 60rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.home .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.home .slide .content {
    position: relative;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.home .slide .content h3 {
    font-size: 6rem;
    color: var(--white);
    text-align: center;
}

.home .slide .content p {
    font-size: 2rem;
    color: var(--yellow);
    line-height: 2;
    padding: 1rem 0;
    text-align: center;
}

.home .swiper-button-next,
.home .swiper-button-prev {
    top: initial;
    bottom: 0;
    height: 6rem;
    width: 6rem;
    background: var(--white);
}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover {
    background: var(--yellow);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after {
    font-size: 2rem;
    color: var(--black);
}

.about .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 3rem;
}

/* START */

.main-video {
    background-color: var(--light-bg);
}

.video-controls,
.video-timer,
.options {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    direction: ltr;
}

.container-video {
    width: 100%;
    user-select: none;
    overflow: hidden;
    background: var(--black);
    aspect-ratio: 16 / 9;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.container-video video {
    width: 100%;
    height: 100%;
}

.container.fullscreen {
    max-width: 100%;
    width: 100%;
    height: 100vh;
    border-radius: 0px;
}

.wrapper {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    bottom: -15px;
    transition: all 0.08s ease;
}

.container-video.show-controls .wrapper {
    opacity: 1;
    bottom: 0;
    transition: all 0.13s ease;
}

.wrapper::before {
    content: "";
    bottom: 0;
    width: 100%;
    z-index: -1;
    position: absolute;
    height: calc(100% + 35px);
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.video-timeline {
    height: 7px;
    width: 100%;
    cursor: pointer;
}

.video-timeline .progress-area {
    direction: ltr;
    height: 3px;
    position: relative;
    background: rgba(255, 255, 255, 0.6);
}

.progress-area span {
    position: absolute;
    left: 50%;
    top: -25px;
    font-size: 13px;
    color: #fff;
    pointer-events: none;
    transform: translateX(-50%);
}

.progress-area .progress-bar {
    width: 0%;
    height: 100%;
    position: relative;
    background: #2289ff;
}

.progress-bar::before {
    content: "";
    right: 0;
    top: 50%;
    height: 13px;
    width: 13px;
    position: absolute;
    border-radius: 50%;
    background: #2289ff;
    transform: translateY(-50%);
}

.progress-bar::before,
.progress-area span {
    display: none;
}

.video-timeline:hover .progress-bar::before,
.video-timeline:hover .progress-area span {
    display: block;
}

.wrapper .video-controls {
    padding: 5px 20px 10px;
}

.video-controls .options {
    width: 100%;
}

.video-controls .options:first-child {
    justify-content: flex-start;
}

.video-controls .options:last-child {
    justify-content: flex-end;
}

.options button {
    height: 40px;
    width: 40px;
    font-size: 19px;
    border: none;
    cursor: pointer;
    background: none;
    color: #efefef;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.options button :where(i, span) {
    height: 100%;
    width: 100%;
    line-height: 40px;
}

.options button:hover :where(i, span) {
    color: #fff;
}

.options button:active :where(i, span) {
    transform: scale(0.9);
}

.options button span {
    font-size: 23px;
}

input {
    direction: ltr;
}

.options input {
    height: 4px;
    margin-left: 3px;
    max-width: 75px;
    accent-color: #0078FF;
}

.options .video-timer {
    color: #efefef;
    margin-left: 15px;
    font-size: 14px;
}

.video-timer .separator {
    margin: 0 5px;
    font-size: 16px;
    font-family: "Open sans";
}

.playback-content {
    display: flex;
    position: relative;
}

.playback-content .speed-options {
    position: absolute;
    list-style: none;
    left: -40px;
    bottom: 40px;
    width: 95px;
    overflow: hidden;
    opacity: 0;
    border-radius: 4px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: opacity 0.13s ease;
}

.playback-content .speed-options.show {
    opacity: 1;
    pointer-events: auto;
}

.speed-options li {
    cursor: pointer;
    color: #000;
    font-size: 14px;
    margin: 2px 0;
    padding: 5px 0 5px 15px;
    transition: all 0.1s ease;
}

.speed-options li:where(:first-child, :last-child) {
    margin: 0px;
}

.speed-options li:hover {
    background: #dfdfdf;
}

.speed-options li.active {
    color: #fff;
    background: #3e97fd;
}

.container video {
    width: 100%;
}

.services {
    background: var(--light-bg);
}

.services .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

/* END */

.about .row .video {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 41rem;
    flex: 1 1 41rem;
}

.about .row .video video {
    width: 100%;
}

.about .row .content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 41rem;
    flex: 1 1 41rem;
    text-align: right;
}

.about .row .content h3 {
    font-size: 3.5rem;
    color: var(--black);
}

.about .row .content p {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2;
    padding: 1rem 0;
    text-align: justify;
}

.about .box-container {
    margin-top: 3rem;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
    align-items: center;
}

.about .box-container .box {
    text-align: center;
    background: var(--light-bg);
    padding: 3rem 2rem;
}

.about .box-container .box h3 {
    font-size: 4rem;
    color: var(--black);
    text-transform: capitalize;
}

.about .box-container .box p {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2;
    padding-top: .5rem;
}

.video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 80%;
    max-width: 100%;
}

.services {
    background: var(--light-bg);
}

.services .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.services .box-container .box {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

.services .box-container .box:hover img {
    -webkit-transform: translateY(-1rem);
    transform: translateY(-1rem);
}

.services .box-container .box img {
    height: 7rem;
    margin-bottom: .5rem;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.services .box-container .box h3 {
    font-size: 1.7rem;
    color: var(--black);
    text-transform: capitalize;
    padding: 1rem 0;
}

.services .box-container .box p {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2;
}

.projects {
    background: var(--white);
}

.projects .heading {
    color: var(--black);
}

.projects .box-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.projects .box-container .box {
    cursor: initial;
}

.projects .box-container .box:hover .image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.projects .box-container .box .image {
    height: 40rem;
    overflow: hidden;
}

.projects .box-container .box .image img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.projects .box-container .box .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: var(--light-bg);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.projects .box-container .box .content .info {
    padding: 1rem 2rem;
}

.projects .box-container .box .content .info h3 {
    font-size: 1.7rem;
    color: var(--black);
    text-transform: capitalize;
}

.projects .box-container .box .content .info p {
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2;
}

.projects .box-container .box .content i {
    width: 7.5rem;
    font-size: 3rem;
    background: var(--yellow);
    color: var(--white);
    cursor: pointer;
    text-align: center;
    line-height: 7.5rem;
}

.show-btn {
    width: auto;
    margin-top: 4rem;
    padding: 1rem 3rem;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    font-size: 1.7rem;
    text-transform: capitalize;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.show-btn:hover {
    background: var(--yellow);
    color: var(--black);
}

.contact {
    background: var(--white);
}

.contact .heading {
    color: var(--black);
}

.contact .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    width: 100%;
}

.info-box {
    flex: 1;
    background: var(--light-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-box a {
    color: var(--yellow);
}

.icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.title {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}

.contact .row form {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 41rem;
    flex: 1 1 41rem;
    background: var(--light-bg);
    padding: 2rem;
}

.contact .row form h3 {
    font-size: 2.5rem;
    color: var(--black);
    text-align: justify;
}

.contact .row form .box {
    direction: rtl;
    margin: .7rem 0;
    width: 100%;
    padding: 1.5rem;

    border-bottom: var(--border);
    font-size: 1.6rem;
    color: var(--light-color);
}

.contact .row form .box:focus {
    border-color: var(--yellow);
}

.contact .row form textarea {
    height: 15rem;
    resize: none;
}

.loader-view {
    display: none;
    position: fixed;
    z-index: 98;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60rem;
    height: 60rem;
}

.no-scroll {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.loader-content {
    background-color: #fefefe;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    padding: 4rem 2rem;
    border: 1px solid #888;
    height: 40%;
    width: 40%;
}

.loader-content .text {
    padding-top: 4rem;
}

.loader {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    animation: rotate 1.5s ease-in infinite alternate;
}

.loader::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    color: var(--yellow);
    background: currentColor;
    width: 64px;
    height: 32px;
    border-radius: 0 0 50px 50px;
}

.loader::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    background: var(--black);
    width: 8px;
    height: 64px;
    animation: rotate 1.2s linear infinite alternate-reverse;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.blogs {
    background: var(--light-bg);
}

.blogs .slide {
    text-align: center;
}

.blogs .slide:hover .image img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.blogs .slide .image {
    height: 25rem;
    width: 90%;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: -3rem;
}

.blogs .slide .image img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: .2s linear;
    transition: .2s linear;
}

.blogs .slide .content {
    padding: 2rem;
    padding-top: 5rem;
    background: var(--white);
    -webkit-box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
}

.blogs .slide .content h3 {
    font-size: 2rem;
    color: var(--black);
    text-transform: capitalize;
}

.blogs .slide .content p {
    padding: 1rem 0;
    font-size: 2rem;
    color: var(--light-color);
    line-height: 2;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    height: 10rem;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.footer {
    text-align: center;
}

.footer .links .btn {
    margin: .5rem;
}

.footer .credit {
    font-size: 2rem;
    color: var(--black);
    text-transform: capitalize;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer .credit span {
    color: var(--yellow);
}

@media (max-width: 1200px) {
    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 3rem 5%;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 3rem 2rem;
    }

    .header #menu-btn {
        display: inline-block;
    }

    .header .navbar {
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: var(--border);
        border-bottom: var(--border);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        -webkit-transition: .2s linear;
        transition: .2s linear;
    }

    .header .navbar.active {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        display: block;
        margin: 2rem;
    }
}

@media (max-width: 768px) {
    .home .slide {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .home .slide .content {
        text-align: center;
    }

    .home .slide .content h3 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 540px) {
    .wrapper .video-controls {
        padding: 3px 10px 7px;
    }

    .options input,
    .progress-area span {
        display: none !important;
    }

    .options button {
        height: 30px;
        width: 30px;
        font-size: 17px;
    }

    .options .video-timer {
        margin-left: 5px;
    }

    .video-timer .separator {
        font-size: 14px;
        margin: 0 2px;
    }

    .options button :where(i, span) {
        line-height: 30px;
    }

    .options button span {
        font-size: 21px;
    }

    .options .video-timer,
    .progress-area span,
    .speed-options li {
        font-size: 12px;
    }

    .playback-content .speed-options {
        width: 75px;
        left: -30px;
        bottom: 30px;
    }

    .speed-options li {
        margin: 1px 0;
        padding: 3px 0 3px 10px;
    }

    .right .pic-in-pic {
        display: none;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .about .row .content h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 325px) {
    .header .icons div {
        height: 4rem;
        width: 4rem;
        line-height: 4rem;
        margin: 4px;
        font-size: 2rem;
        background: var(--light-bg);
        color: var(--black);
        display: block;
        cursor: pointer;
        text-align: center;
        margin-left: .3rem;
    }
}