.header,.search-box {
    left: 0;
    position: absolute
}

.search-box button,.search-box input[type=text],body,html {
    font-family: Cairo,sans-serif
}

.header,.search-box,.slide-content {
    position: absolute
}

.logo,.slide-content a,a {
    text-decoration: none
}

.featured-image img,.gallery img {
    width: 350px;
    height: 250px;
    border-radius: 5px
}

.article,.articles-peg,.category-box,.header {
    box-sizing: border-box
}

.category,.category-box,.footer-bottom,.my-subcategory-item h3,.my-tetle,.search-result-item,.slide-content,.team-title,.view-more {
    text-align: center
}

.header {
    display: flex;
    padding: 3px 8px;
    background-color: rgb(70 0 104 / 83%);
    right: 0;
    top: 0;
    z-index: 1000;
    justify-content: space-between
}

.logo {
    font-size: 1em;
    font-weight: 700;
    color: #fff
}

.header-icons {
    font-size: 2em
}

.header-icons i {
    margin: 0 10px;
    color: #fff
}

.search-box {
    display: none;
    top: 70px;
    background-color: rgb(136 201 255 / 81%);
    border: 1px solid #000dff;
    padding: 10px;
    box-shadow: 0 2px 5px red;
    flex-direction: row;
    align-items: center
}

.search-box input[type=text] {
    width: 200px;
    padding: 5px;
    border: 1px solid #03f;
    margin-left: 5px
}

.search-box button {
    padding: 5px 10px;
    border: none;
    background-color: red;
    color: #fff;
    cursor: pointer
}

body,html {
    height: 100%;
    margin: 0;
    width: 100%
}

.swiper-container {
    max-width: 100vw;
    height: 100%;
    overflow: hidden;
    background-image: linear-gradient(to right,#6452ff,#42c9ff,#ba00ff)
}

.swiper-slide {
    background-size: cover;
    background-position: center
}

.slide-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.slide-content h2 {
    font-size: 2em;
    margin-bottom: .5em;
    background-color: rgb(0 4 255 / 50%);
    border: 1px solid #fff;
    border-radius: 15px 0 10px;
    animation-delay: .3s
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 1em;
    background-color: rgba(0,0,0,.5);
    border: 1px solid #000;
    border-radius: 10px;
    animation-delay: .5s
}

.slide-content a {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 5px;
    transition: .3s;
    background-color: #d0b419;
    animation-delay: .1s
}

.slide-content a:hover {
    background-color: #fff;
    color: #000
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0);
        opacity: 0
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.slide-content a,.slide-content h2,.slide-content p {
    display: inline-block;
    padding: 5px 10px;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: fadeInUp
}

.containerarticle {
    width: 80%;
    margin: 80px auto auto
}

.Title-text {
    font-size: 23px;
    display: flex;
    justify-content: center
}

.article {
    border-bottom: 1px solid #bfcfff;
    margin-bottom: 10px
}

.featured-image {
    display: flex;
    justify-content: center;
    margin-bottom: 20px
}

.gallery {
    display: flex;
    flex-wrap: wrap
}

.gallery img {
    transition: transform .3s ease-in-out;
    margin: 5px
}

.sidebar .share,.sidebar a,.view-more .btn {
    transition: background-color .3s;
    text-decoration: none
}

.gallery img:hover {
    transform: scale(1.02)
}

.author-info,.category-info {
    background: #e2e2e2;
    padding: 5px;
    margin-top: 10px;
    border-radius: 5px;
    display: inline-block
}

.tag {
    background: #8ca5bd;
    color: #fff;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 14px
}

.Tags-mgal,.info-row {
    margin-top: 30px;
    border-radius: 5px;
    padding: 5px
}

@media (max-width: 600px) {
    .gallery {
        width:100%
    }
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #acddff
}

.Tags-mgal {
    background-color: #e3e3e3
}

.author-category,.share-view-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.author-category p {
    margin: 0 10px 0 0
}

.share-view-icons .fa-eye {
    margin-left: 10px
}

.share-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer
}

.share-button:hover,.view-more .btn:hover {
    background-color: #0056b3
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-bottom: 30px
}

.category-box {
    border: 1px solid #777dff;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    border-radius: 5px;
    background-color: #fffffd;
    flex: 0 0 230px;
    margin-bottom: 10px
}

.category-box h3 {
    color: #002bff;
    margin-bottom: 1px;
    margin-top: 2px
}

.category-box img {
    width: 100%;
    height: 130px;
    border-radius: 5px;
    object-fit: cover;
    display: block;
    margin: 0 auto
}

@media (max-width: 1024px) {
    .category-box {
        flex:0 0 calc(33% - 10px)
    }
}

.about_us-title {
    margin: 0;
    background-color: #00000070;
    border-radius: 5px
}

.feature-icon,.member-card {
    margin-right: 10px
}

.footer-bottom p,p {
    margin: 0
}

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 5px
}

.features,.title-description {
    padding: 5px;
    flex: 1 1 100%
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 5px
}

@media (min-width: 768px) {
    .features,.title-description {
        flex:1
    }
}

.member-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    padding: 20px 0
}

.member-container::-webkit-scrollbar {
    display: none
}

.member-card {
    flex: 0 0 auto;
    width: 220px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 38%);
    border-radius: 10px;
    overflow: hidden
}

.member-image img {
    width: 100%;
    height: 140px;
    display: block
}

.member-name,.member-role {
    padding: 1px;
    text-align: center
}

.member-name {
    color: #120d83
}

.member-role {
    color: #30b413;
    font-size: .6em
}

.team-title {
    font-size: 2em;
    color: #ebaa00;
    font-weight: 700
}

.articles-peg {
    padding: 5px
}

.articles-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px;
    justify-content: center
}

.article {
    background: #eaf6ff;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px)
}

.article img {
    width: 100%;
    height: 180px;
    border-radius: 5px
}

.article h1 {
    margin: 5px 0
}

.article p {
    font-size: small
}

.article-title {
    font-size: 1.4em
}

@media (max-width: 1200px) {
    .article {
        flex:1 1 calc(50% - 10px);
        max-width: calc(50% - 10px)
    }
}

@media (max-width: 768px) {
    .containerarticle {
        width:95%
    }

    .category-box {
        flex: 0 0 calc(50% - 10px)
    }

    .article {
        flex: 1 1 calc(100% - 5px);
        max-width: calc(100% - 5px)
    }
}

@media (max-width: 480px) {
    .article {
        flex:1 1 calc(100% - 5px);
        max-width: calc(100% - 5px)
    }
}

.my-tetle {
    color: #333;
    margin-top: 80px
}

.my-subcategories-container {
    overflow-x: auto;
    white-space: nowrap;
    margin: 5px
}

.my-subcategory-item {
    display: inline-block;
    vertical-align: top;
    min-width: 175px;
    height: 150px;
    margin-right: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    border-radius: 5px;
    overflow: hidden
}

.my-subcategories-scroll {
    direction: rtl;
    overflow-x: auto;
    height: 175px
}

.my-subcategory-item img {
    width: 100%;
    height: 100px;
    display: block
}

.my-subcategory-item h3 {
    margin: 10px
}

.sidebar {
    position: fixed;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.sidebar .share,.sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgb(255 255 255);
    border: none;
    cursor: pointer
}

.sidebar .share,.view-more .btn {
    background-color: #007bff
}

.sidebar a.phone {
    background-color: #34b7f1
}

.sidebar a.snapchat {
    background-color: #fffc00;
    color: #000
}

.sidebar a.instagram {
    background-color: #e1306c
}

.sidebar a.twitter {
    background-color: #1da1f2
}

.sidebar a.tiktok {
    background-color: #010101
}

.sidebar a.facebook {
    background-color: #3b5998
}

.sidebar .share:hover,.sidebar a:hover {
    background-color: #128c7e
}

.view-more {
    margin-top: 20px;
    margin-bottom: 5px;
    clear: both
}

.view-more .btn {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px
}

.search-results-grid {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-result-item {
    flex: 1 1 calc(25% - 5px);
    max-width: calc(25% - 5px);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px
}

@media (max-width: 768px) {
    .search-result-item {
        flex:1 1 calc(40% - 5px);
        max-width: calc(50% - 5px)
    }
}

.search-result-item:hover {
    transform: scale(1.05)
}

.search-result-item img {
    max-width: 100%;
    height: 150px;
    border-radius: 8px
}

.search-result-item h2 {
    font-size: 16px;
    color: #0005ff;
    margin-top: 0
}

footer {
    background-color: #450764;
    color: #fff;
    padding: 20px;
    font-size: .8em;
    direction: rtl
}

.footer-container table {
    width: 100%;
    border-collapse: collapse
}

.footer-container td,.footer-container th {
    text-align: right;
    padding: 8px
}

.footer-bottom {
    margin-top: 10px
}

.footer-bottom a {
    color: #06c;
    text-decoration: none
}

.category a:hover,.footer-bottom a:hover {
    text-decoration: underline
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.category {
    background-color: #242121;
    padding: 3px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 2px;
    flex: auto
}

.category h3 {
    margin-top: 0;
    margin-bottom: 0
}

.category a {
    color: #9acdff;
    text-decoration: none
}
