:root {
    --primary: #03045e;
    --secondary: #FBA504;
    --light: #F6F4F9;
    --dark: #04000B;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99
}

.fw-bold,
h1,
h2 {
    font-weight: 700 !important
}

h3,
h4 {
    font-weight: 600 !important
}

h5,
h6 {
    font-weight: 500 !important
}

.btn {
    font-weight: 500;
    transition: .5s
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5)
}

.btn-square {
    width: 38px;
    height: 38px
}

.btn-sm-square {
    width: 32px;
    height: 32px
}

.btn-lg-square {
    width: 48px;
    height: 48px
}

.btn-lg-square,
.btn-sm-square,
.btn-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    border-radius: 50px
}

.navbar {
    z-index: 10
}

.logoContainer {
    display: flex;
    gap: 10px;
    align-items: center
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: Jost, sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: #fff !important;
    outline: 0;
    transition: .5s;
    font-weight: 700
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary) !important
}

.navbar-light .navbar-brand h1 {
    color: #fff
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s
}

@media (max-width:1300.98px) {
    .nav-link {
        font-size: 19px !important
    }

    .logoContainer {
        font-size: 24px
    }
}

@media (max-width:991.98px) {
    .navbar {
        background-color: #fff
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #ddd
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary)
    }

    .navbar-light .navbar-brand img {
        max-height: 45px
    }
}

@media (min-width:992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999
    }

    .navbar-light .btn {
        color: var(--dark);
        background: #fff
    }
}

.hero-header {
    margin-bottom: 10px;
    padding: 18rem 0;
    background-repeat: no-repeat;
    background: url(../img/hero.webp);
    background-size: cover;
    background-position: center
}

.hero-header * {
    text-align: right
}

.hero-header .btn {
    float: right
}

.hero-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    gap: 10px
}

.hero-row .text-center {
    min-width: 319px
}

.hero-img-container {
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.hero-header img {
    max-width: 300px;
    max-height: 300px;
    margin-bottom: 10px
}

.hero-img-text {
    font-weight: 700;
    color: #fff !important;
    font-size: 30px;
    text-align: center
}

.hero-dash {
    height: 1px;
    width: 100%;
    background-color: #fff;
    margin: 4px 0
}

.filter {
    background-color: #00000093;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.hero-header h1 {
    font-size: 50px
}

.hero-header p {
    font-size: 22px
}

@media (max-width:991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0
    }
}

.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
}

.section-title span:last-child {
    margin: 0;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px
}

.section-title span:last-child::after {
    right: auto;
    left: -20px
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child,
.section-title.text-primary span:last-child::after {
    background: var(--primary)
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:last-child::after {
    background: var(--secondary)
}

.section-title.text-white span:first-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child,
.section-title.text-white span:last-child::after {
    background: #fff
}

.footer {
    margin-top: 6rem;
    padding-top: 3rem;
    background: url(../img/map.png);
    background-position: center top, center center;
    background-repeat: no-repeat
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s
}

.footer .btn.btn-social:hover {
    color: var(--primary)
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: 400;
    transition: .3s
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary)
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1)
}

.footer .copyright a {
    color: var(--light)
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1)
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary)
}


/* Sections */
.special-title {
    background-color: #B48C58;
    color: white !important;
    padding: 0 5px;
}

section {
    padding: 25px 50px;
}

.special-head-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px auto;
}

.special-line {
    width: 70%;
    max-width: 800px;
    min-width: 300px;
    height: 4px;
    background-color: #41434F;
}

.special-logo img {
    min-width: 70px;
    max-width: 70px;
}

.arabic *,
.arabic {
    text-align: right;
    justify-content: flex-end;
}

.arabic {
    margin-bottom: 100px;
}

.section-container {
    padding: 25px 0;
    color: #41434F;
    display: flex;
    gap: 100px;
    justify-content: space-between;
    align-items: center;
}


.section-title {
    font-size: 40px;
    font-weight: bold;
}

.section-content {
    font-size: 30px;
    font-weight: 500;
}


.section-img img {
    border: 5px solid #B48C58;
    border-radius: 5px;
}


#ourvalue i {
    color: #BA925C !important;
}

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #88673ca2;
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Partners */
.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partner-company {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 10px;
    min-width: 50px;
    aspect-ratio: 1/1;
    max-width: 150px;
    padding: 5px;
}

.partner-company img {
    min-width: 50px;
    max-width: 150px;
}

/*** Service ***/
.services ul {
    margin-top: 10px;
}

.services li {
    text-align: right !important;
    direction: rtl;
    margin-right: 25px;
    font-size: 18px;
    font-weight: 600;
}

.service-item {
    position: relative;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.service-item:hover {
    background: #e0dfe2;
    color: black !important;
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: .5s;
    overflow: hidden;
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-content {
    padding: 45px 30px;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}


@media (max-width: 900px) {
    .section-container {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}