/* Styles of the app page (/ar/app). Loaded only by pages/app.blade.php (moved here from style.css). */

.tp-AppSection-1 {
    direction: ltr;
    height: 600px;
    background: rgb(50, 146, 191);
    background: radial-gradient(circle,
    rgba(50, 146, 191, 1) 0%,
    rgba(29, 106, 157, 1) 0%,
    rgba(29, 106, 157, 1) 41%,
    rgba(50, 146, 191, 1) 86%);
}

.tp-AppSection-2 {
    direction: rtl;
    padding: 40px 0;
    padding-top: 150px;
}

.tp-AppSectionText-2 {
    position: relative;
}

.tp-AppSectionText-2::before {
    content: " ";
    position: absolute;
    top: -15px;
    right: 0;
    height: 6px;
    border-radius: 15px;
    width: 70px;
    background-color: var(--Blue);
}

/* the heading on the blue background (المكتبة): white line */
.tp-AppSectionText-2.White::before {
    background-color: var(--White);
}

.tp-AppSection-3 {
    direction: ltr;
    padding: 40px 0;
}

.tp-AppSection-4 {
    direction: rtl;
    padding: 40px 0;
    position: relative;
    padding-bottom: 300px;
    overflow: hidden;
}

.tp-AppSection-4 img {
    width: 800px;
    position: absolute;
    right: -250px;
    top: -150px;
}

.tp-AppSection-4::after {
    content: " ";
    position: absolute;
    bottom: -150px;
    left: -120px;
    border-radius: 15px;
    height: 500px;
    width: 500px;
    border: 2px solid var(--DarkGray);
    opacity: 0.3;
}

.tp-AppSection-4::before {
    content: " ";
    position: absolute;
    top: calc(100% - 200px);
    left: -600px;
    height: 3000px;
    width: 3000px;
    transform: rotateZ(-8deg);
    -webkit-transform: rotateZ(-8deg);
    background-color: var(--LigthBlue);
}

.tp-AppSection-5 {
    background-color: var(--LigthBlue);
}

.tp-AppSection-6 {
    direction: rtl;
    background-color: var(--LigthBlue);
}

.tp-AppSection-7 {
    background-color: var(--LigthBlue);
    padding-bottom: 100px;
}

.tp-item-app {
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: 2px solid white;
    padding: 10px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.5s;
}

.tp-item-app svg {
    fill: white;
}

/* space between the icon and the text of the service items (/ar/app) */
.tp-item-app {
    gap: 12px;
}

/* outline icons (stroke instead of fill), same look as the other icons of the page */
.tp-item-app svg.stroke-icon {
    fill: none;
    stroke: white;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-item-app:hover svg.stroke-icon {
    fill: none;
    stroke: var(--LigthBlue);
}

.tp-item-app i {
    color: white;
}

.tp-item-app:hover {
    border: 2px solid var(--LigthBlue);
    background-color: var(--White);
    opacity: 1;
}

.tp-item-app:hover p {
    color: var(--Blue);
}

.tp-item-app:hover svg {
    fill: var(--LigthBlue);
}

.tp-item-app:hover i {
    color: var(--LigthBlue);
}

@media only screen and (max-width: 992px) {
    .tp-AppSection-4 img {
        position: relative;
        top: unset;
        width: 100%;
        right: unset;
    }

    .tp-AppSection-4::after {
        display: none;
    }

    .tp-AppSection-4::before {
        display: none;
    }

    .tp-AppSection-1 {
        height: unset;
    }
}
