:root {
    --main-color: #ce3436;
    --gray-color: #eee;
    --white-color: #fff;
    --dark-color: var(--bs-dark);
}

body {
    font-family: tajawal;
    background-size: cover;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-color: #eee;
    background: url('/../../assets/img/islamic-texture.jpg');
    background-blend-mode: ;
}

html {
    scroll-behavior: smooth;
}

nav {
    box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);
}

header.with-bg {
    height: calc(100vh - 78.5px);
    background-size: cover;
    transition: background-image 0.5s ease-in-out;
    background-repeat: no-repeat;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

.invalid-feedback {
    display: block;
}

.cursor-pointer {
    cursor: pointer;
}

.modal-footer {
    justify-content: flex-start;
}

a,
a:hover {
    text-decoration: none;
    color: inherit;
}

header {
    max-height: 100vh;
    overflow: hidden;
}

header h1 {
    font-size: 85px;
    text-shadow: 0px 0px 4px #000000b5;
    color: white;
}

@media(max-width: 768px) {
    header h1 {
        font-size: 50px;
        text-shadow: 0px 0px 14px #000000b5;
    }

    header {
        min-height: 100vh;
        text-align: center;
    }

    header .container {
        right: 0px !important;
    }

    #main-nav img {
        width: 50px;
    }
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    margin-top: 16px;
    font-weight: bold;
    display: inline-block;
    color: #000;
    font-size: 30px;
}

h1 span.line {
    height: 7px;
    display: block;
    margin-top: 7px;
    background-color: var(--main-color);
}

h1 span.line:last-of-type {
    width: 70%;
}

#arrowDown i {
    animation: arrowDown 1s infinite linear;
}

@keyframes arrowDown {
    from {
        margin-top: -30px;
    }

    to {
        margin-top: 30px;
    }
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-back {
    background-color: #2d5dd7;
    color: white;
    transform: rotateY(180deg);
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0px;
}

li.nav-item:hover:not(.no-hover) {
    background: var(--bs-danger);
    border-radius: 6px;
    transition: .2s;
}

li.nav-item:hover a:not(.no-hover),
li.nav-item:hover .active:not(.no-hover),
li.nav-item:hover i:not(.no-hover) {
    color: #fff !important;
    transition: .2s;
}

.news-container {
    width: 100%;
    overflow: hidden;
    background-color: #1643b4;
    user-select: none;
}

.news-tape {
    white-space: nowrap;
    animation: scroll-tape 10s linear infinite;
    color: white;
}

#news-text {
    white-space: nowrap;
    padding: 8px 0px;
}

.accordion-button:focus {
    box-shadow: none;
}

.circular-box {
    width: 120px;
    height: 120px;
    font-size: 30px;
    transition: .4s;
}

.circular-box:hover {
    transform: scale(1.03);
    transition: .4s;
}

h1.fs-extra {
    font-size: 3.5rem !important;
}

#reviews {
    width: 100%;
}

#reviews .testimonial-box-container {
    width: 100%;
}

#reviews .testimonial-box {
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #eee;
    padding: 20px 15px;
    cursor: pointer;
}

#reviews .profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

#reviews .profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#reviews .profile {
    display: flex;
    align-items: center;
}

#reviews .name-user {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

#reviews .name-user strong {
    color: #3d3d3d;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

#reviews .name-user span {
    color: #979797;
    font-size: 0.8rem;
}

#reviews .reviews {
    color: #f9d71c;
}

#reviews .box-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#reviews .client-comment p {
    font-size: 0.9rem;
    color: #4b4b4b;
}

#reviews .testimonial-box:hover {
    transform: translateY(-10px);
    transition: all ease 0.3s;
}

@media(max-width:1060px) {
    #reviews .testimonial-box {
        width: 45%;
        padding: 10px;
    }
}

@media(max-width:790px) {
    #reviews .testimonial-box {
        width: 100%;
    }

    #reviews .testimonial-heading h1 {
        font-size: 1.4rem;
    }
}

@media(max-width:340px) {
    #reviews .box-top {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    #reviews .reviews {
        margin-top: 10px;
    }
}

#reviews ::selection {
    color: #ffffff;
    background-color: #252525;
}
