:root {
    --red: #791111;
    --red-opas: #791111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.blue {
    color: var(--red);
}

.black {
    color: black;
}

.white {
    color: white;
}

body {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

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

ul {
    list-style: none;
}


a {
    text-decoration: none;
    cursor: pointer;
}

/* start nav */
nav {

    z-index: 1000;
}

.change-color {
    background-color: transparent;
    backdrop-filter: blut(0);
    transition: .5s;
}

.scrolled {
    background-color: rgba(0, 0, 0, 0.67);
    backdrop-filter: blur(6px);
    position: fixed;
    transition: .5s;
}

.navbar-toggler {
    border: none;
}

.icon-nav {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('img/f0d92e1487bc41b6de713af62c497c3e.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    transform: rotate(-180deg);
}

.navbar-toggler.collapsed .icon-nav {
    transform: rotate(-90deg);
}

nav ul {
    gap: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 15px;
}

nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    font-size: 12px;
    color: white;
    font-weight: 700;
}

@media (max-width:992px) {


    nav ul {
        backdrop-filter: blur(5px);
        border-radius: 20px;
        margin-top: 10px;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.659);
    }
}


@media (max-width: 1200px) {
    nav ul {
        gap: .5rem;
    }

    .nav-link {
        font-size: 13px;
    }
}

nav {
    z-index: 1000;
}

.change-color {
    background-color: transparent;
    backdrop-filter: blur(0);
    transition: 0.5s;
}

.scrolled {
    background-color: rgba(0, 0, 0, 0.67);
    backdrop-filter: blur(6px);
    transition: 0.5s;
}

.navbar-toggler {
    border: none;
}

.icon-nav {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('img/f0d92e1487bc41b6de713af62c497c3e.png');
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    transform: rotate(-180deg);
}

.navbar-toggler.collapsed .icon-nav {
    transform: rotate(-90deg);
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-link {
    font-size: 13px;
    color: white;
    font-weight: 700;
}

@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        backdrop-filter: blur(5px);
        border-radius: 20px;
        margin-top: 10px;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.659);
    }
}

/* end nav */

/* start home */
.home {
    position: relative;
    width: 100%;
    height: 100vh;
    box-shadow: 12px 3px 37px -5px black;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 17px;
}

.carousel-caption {
    bottom: 32%;
    z-index: 3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carousel-item {
    height: 100vh;
    min-height: 300px;
}

.carousel-caption h5 {
    color: aliceblue;
    font-weight: bold;
    font-size: 45px;
}

.carousel-caption p {
    color: rgb(206, 207, 207);
    font-weight: 600;
    font-size: 25px;
}

@media (max-width: 575px) {

    .carousel-caption h5 {
        font-size: 30px;
    }

    .carousel-caption p {
        font-size: 20px;
    }

}

.btn-slid-main {
    padding: 15px;
    background-color: var(--red);
    color: white;
    width: 13rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px;
}

.btn-slid-main h4 {
    font-size: 17px;
    margin: 0;
}

.btn-slid-main h4 img {
    margin-top: -4px;
    transform: rotate(90deg)
}

.carousel-indicators {
    width: 100%;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.btn-slid {
    border-radius: 50%;
    z-index: 3;
    width: 10px;
}

.mastir-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    padding: 10px;
}

.carousel-inner {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.carousel-inner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / 36%), #000000db);
    z-index: 1;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

@media (max-width: 992px) {

    .carousel-caption,
    .home .btn-slid-main {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

}

/* end home */
/* start about */

.main-title h2 {
    font-size: 50px;
    font-weight: bold;

}

.main-title .dlle {
    justify-content: start;
}

.main-title span {
    font-size: 50px;
    font-weight: 900;
    background-color: var(--red);
    padding: 0;
    color: white;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 7px;
    padding: 0px 10px;
    border-radius: 5px;

}

@media (max-width: 767px) {

    .main-title h2 {
        text-align: center;
    }

    .main-title .dlle {
        justify-content: center;
    }

}

@media (max-width: 445px) {

    .about .main-title span {
        font-size: 25px;
    }

    .about .main-title h2 {
        font-size: 30px;
    }

}

.about p {
    color: black;
    font-weight: 500;
}


/* end about */

/* start approach */

.approach {
    background-color: #f9f9f9;
    text-transform: uppercase;
}

.text-main {
    border-right: 4px solid var(--red);
    padding-right: 15px;
}

.text-main h3 {
    font-size: 1.3rem;
    font-weight: bold;
}

.approach .card {
    background-color: transparent;
}

.approach .card h3 {
    font-weight: bold;
}

.approach .card img {
    width: 3rem;
}

.approach .card hr {
    width: 11%;
    border-top: 5px solid var(--red);
    opacity: 1;

}

.approach .card .borr {
    border-top: 5px solid #c1c0be;
}

/* end approach */

/* start services */
.services {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-img-top {
    border-radius: 8px;
}

.services hr {
    border-top: var(--red-opas) 3px solid;
    width: 100%;
}

@media (max-width:767px) {
    .services hr {
        width: 25%;
    }
}

.services .card hr {
    width: 11%;
    border-top: 5px solid var(--red);
    opacity: .5;

}

.card-body {
    direction: rtl;
}



.services .card h5 {
    font-weight: 900;
    font-size: 25px;
    text-align: start;
}

.services .card p {
    text-align: start;
}


.services .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: var(--red);
    z-index: -1;

}

.services .content {
    position: relative;
    z-index: 1;
    padding: 20px;
    padding-bottom: 90px;

}

@media (max-width:400px) {
    .services .content {
        padding: 20px 0;
    }
}


.services .card {
    margin-bottom: 20px;
    width: 20rem;
    border-radius: 8px;

}

@media (max-width:400px) {

    .services .card,
    .soft-services .card {
        width: 17rem;
    }
}

.services .navigation-buttons {
    position: absolute;
    bottom: 10px;

}

@media (max-width:1102px) {

    .services .navigation-buttons,
    .soft-services .navigation-buttons {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width:1102px) {
    .services .navigation-buttons {
        right: 40px;
    }
}

.services .navigation-buttons button {
    margin-left: 10px;
    background-color: #EFEFEF;
    transition: background-color .3s ease;
    border: 0;
}

.services .navigation-buttons button:active {
    background-color: gray;
}

.services .navigation-buttons button img {
    padding: 20px;
}

.gallery,
.galleryTwo {
    width: 100%;
    display: flex;
    overflow-x: scroll;
    padding: 0 20px;
}

@media (max-width:400px) {

    .gallery,
    .galleryTwo {
        padding: 0;
    }

    .content {
        padding: 0;
    }
}


.gallery::-webkit-scrollbar,
.galleryTwo::-webkit-scrollbar {
    display: none;
}

.gallery .box,
.galleryTwo .box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
    padding: 10px;
    flex: none;
}

/* end services */
/* start soft-services */
.soft-services {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.soft-services .back {
    position: absolute;
    top: 0;
    left: 20%;
    width: 80%;
    height: 100%;
    background-color: var(--red);
    z-index: -1;
}

.soft-services hr {
    border-top: var(--red-opas) 3px solid;
    width: 100%;
}

.soft-services .navigation-buttons {
    position: absolute;
    bottom: 10px;
}

@media (min-width:1102px) {
    .soft-services .navigation-buttons {
        left: 0px;
    }
}

.soft-services .navigation-buttons button {
    margin-left: 10px;
    background-color: #EFEFEF;
    transition: background-color .3s ease;
    border: 0;
}

.soft-services .navigation-buttons button:active {
    background-color: gray;
}

.soft-services .navigation-buttons button img {
    padding: 20px;
}

.soft-services .main-title h2 {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 15px;
}

.soft-services .main-title .dlle {
    justify-content: start;
}

.soft-services .main-title span {
    font-size: 55px;
    font-weight: 900;
    background-color: var(--red);
    padding: 0;
    color: white;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0px;
}

@media (max-width: 400px) {

    .soft-services .main-title h2 {
        font-size: 33px;
        letter-spacing: 0px;
    }

    .soft-services .main-title span {
        font-size: 23px;
    }

    .soft-services .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 527px) and (min-width:400px) {

    .soft-services .main-title h2 {
        font-size: 35px;
        letter-spacing: 4px;
    }

    .soft-services .main-title span {
        font-size: 30px;
    }

    .soft-services .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 767px) and (min-width:526px) {

    .soft-services .main-title h2 {
        font-size: 37px;
        letter-spacing: 5px;
    }

    .soft-services .main-title span {
        font-size: 33px;
    }

    .soft-services .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 992px) and (min-width:766px) {

    .soft-services .main-title h2 {
        font-size: 45px;
        letter-spacing: 7px;

    }

    .soft-services .main-title span {
        font-size: 40px;
    }

    .soft-services .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

/* end soft-services */
/* strat our-projects */

.our-projects {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url("img/image\ 28.png");
}

.back-color {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 19, 105, 0.611);
}

.container {
    position: relative;
}

.our-projects p {
    color: rgb(218, 206, 206);
    font-weight: 500;
    font-size: 12px;
}

.our-projects .btn-slid-main {
    position: absolute;
    bottom: 0;
}

.our-projects .in-card {
    width: 50rem;
}

.our-projects .in-card:last-child {
    margin-top: 50px;
}

.our-projects .in-card .des {
    display: flex;
}

.de {
    position: relative;
    bottom: -100px;
}

@media (max-width:992px) {
    .our-projects .in-card .des {
        display: block;
    }

    .our-projects .in-card {
        width: 24rem;
    }

    .de {
        bottom: 0px;
    }

    .our-projects .ed {
        position: absolute;
        bottom: -40px;
    }
}

.our-projects h2 {
    color: white;
    font-weight: 700;
}

.our-projects h2 {
    color: white;
    font-weight: 700;
}

.our-projects hr {
    border-top: var(--red-opas) 3px solid;
    width: 100%;
}

/* end our-projects */
/* start our-clients */
.our-clients hr {
    border-top: var(--red-opas) 3px solid;
    width: 100%;

}

.slider {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.slider::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 100%;
    left: 110%;
    top: 0;
    box-shadow: -20px 0px 188px 182px rgb(255, 255, 255);
}

.slider .slid {
    animation: slid 15s infinite linear;
    display: inline-block;
    justify-content: space-around;
}

.slider:hover .slid {
    animation-play-state: paused;
}

.slider .slid img {
    margin: 0 50px;
}

@keyframes slid {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.slider-2 {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.slider-2::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 100%;
    left: -10%;
    top: 0;
    box-shadow: -20px 0px 188px 182px rgb(255, 255, 255);
}

.slider-2 .slid-2 {
    animation: slidto 15s infinite linear;
    display: inline-block;
    justify-content: space-around;
}

.slider-2:hover .slid-2 {
    animation-play-state: paused;
}

.slider-2 .slid-2 img {
    margin: 0 50px;
}

@keyframes slidto {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.our-clients .main-title h2 {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 15px;
}

.our-clients .main-title .dlle {
    justify-content: start;
}

.our-clients .main-title span {
    font-size: 55px;
    font-weight: 900;
    background-color: var(--red);
    padding: 0;
    color: white;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0px;
}

@media (max-width: 400px) {

    .our-clients .main-title h2 {
        font-size: 33px;
        letter-spacing: 0px;
    }

    .our-clients .main-title span {
        font-size: 23px;
    }

    .our-clients .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 527px) and (min-width:400px) {

    .our-clients .main-title h2 {
        font-size: 35px;
        letter-spacing: 4px;
    }

    .our-clients .main-title span {
        font-size: 30px;
    }

    .our-clients .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 767px) and (min-width:526px) {

    .our-clients .main-title h2 {
        font-size: 37px;
        letter-spacing: 5px;
    }

    .our-clients .main-title span {
        font-size: 33px;
    }

    .our-clients .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

@media (max-width: 992px) and (min-width:766px) {

    .our-clients .main-title h2 {
        font-size: 45px;
        letter-spacing: 7px;

    }

    .our-clients .main-title span {
        font-size: 40px;
    }

    .our-clients .main-title .dlle {
        justify-content: center;
        text-align: center;
    }

}

/* end our-clients */

/* start footer */

footer {
    background-color: var(--red);
    color: white;
    padding: 20px 0;
    box-shadow: 1px 1px black;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 0 24px -6px black;

    img {
        width: 150px;
    }

    hr {
        width: 50%;
        margin: 0 auto;
        border-top: 3px solid #fdfdfd;
        /* margin-bottom: 20px; */
    }

    ul {
        li {
            a {
                color: white;
            }
        }
    }
}

footer a:hover {
    font-weight: 500;


}

/* end footer */

.whatsapp-fixed {
    position: fixed;
    left: 20px;
    bottom: 60px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
}

.whatsapp-fixed:hover {
    background: #128c7e;
    color: #fff;
}

.whatsapp-fixed img {
    width: 32px;
    height: 32px;
}