* {
    box-sizing: border-box;
}

/*nav*/
.nav {
    height: 4rem;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    align-items: center;
    height: calc(3rem + 1.5rem);
}

.nav__item {
    margin-bottom: 1.5rem;
}

.nav__logo,
.nav__toggle {
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
}

.nav-icon {
    width: 28px;
    height: 28px;
    background-image: url('../images/menuwhite.svg');
    background-size: cover;
    cursor: pointer;

}

.nav__link {
    color: #ffffff;
}

.nav__logo:hover {
    color: #fef6ffc5;
}

.nav__link {
    transition: .3s;
}

.nav__link:hover {
    color: #e7e7e7;
}

.nav__toggle {
    font-size: 1.3rem;
    cursor: pointer;
}

/*accordion*/
.accordion {
    list-style-type: none;
    padding: 0;
}

.section-wrapper {
    width: 100%;
    position: relative;
    max-width: 100%;
    background: #fdf3ff;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 0 rgb(0 0 0 / 8%);
    font-size: 14px;
    color: #525589;
    padding: 10px;
}

.decorative-line {
    position: absolute;
    content: "";
    width: 4px;
    height: 65%;
    background: #525589;
    border-radius: 20px;
    top: 50%;
    right: 2px;
    transform: translate(-50%, -50%);
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.icon {
    font-size: 36px;
    color: #fff;
}

.accordion-toggle {
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: height 0.5s ease;
    color: #7d7d7d;
    text-align: right;
}

.accordion-content.active {
    display: block;
}

.accordion {
    display: inline-flex;
    text-align: center;
    flex-direction: column;
    width: 90%;
    margin-top: 30px;
}

/*main*/
body {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    text-align: center;
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
    flex-direction: column;
}

p, span, div {
    line-height: 2;
    font-weight: 400;
    color: #525589;
}

footer {
    background-color: transparent;
    color: #fff;
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/*class*/

.l-header {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #525589;
    position: fixed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.p-text {
    direction: rtl;
    text-align: center;
    width: 85%;
    margin: auto;
}

.active-link {
    position: relative;
}

.text {
    text-transform: uppercase;
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*blog-slider*/

.blog-slider__button {
    display: inline-flex;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    margin: 10px;
    border-radius: 15px;
    position: relative;
    line-height: 24px;
    color: #ffffff;
    width: 85%;
    justify-content: center;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
}

.blog-slider__button:hover {
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
}

.blog-slider__button2 {
    display: inline-flex;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    margin: 10px;
    border-radius: 15px;
    position: relative;
    line-height: 24px;
    color: #ffffff;
    width: 85%;
    justify-content: center;
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, .5), 6px 6px 20px 0px rgba(0, 0, 0, .1), 0px 0px 0px 0px rgba(0, 0, 0, .1);
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
}

.blog-slider__button2:hover {
    background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
}

.blog-slider {
    width: 95%;
    position: relative;
    max-width: 1000px;
    margin: auto;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s;
    margin-top: 100px;
    margin-bottom: 25px;
}

.blog-slider.blurred {
    filter: blur(5px);
}

.blog-slider__item {
    display: flex;
    align-items: center;
}

.blog-slider__img {
    width: 320px;
    flex-shrink: 0;

    overflow: hidden;
    transform: translateX(0px);
}

.blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border-radius: 20px;
    opacity: 0.8;
}

.blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: all 0.3s;
}

.blog-slider__content {
    padding-right: 5px;
    width: 100%;
    direction: rtl;
}

/*responsive*/

@media screen and (max-width: 768px) {
    .blog-slider {
        min-height: 500px;
        height: auto;
        margin-top: 220px;
    }

    .blog-slider__button, .blog-slider__button2 {
        width: 90%;
    }

    .p-text {
        width: 100%;
    }

    .text {
        font-size: 28px;
    }

    .blog-slider__item {
        flex-direction: column;
    }

    .blog-slider__img {
        transform: translateY(-50%);
    }

    .blog-slider__content {
        margin-top: -140px;
        text-align: center;
        padding: 0 30px;
    }

    .accordion {
        width: 90%;
    }


}

@media screen and (max-width: 576px) {
    .nav__menu {
        position: fixed;
        top: -100%;
        right: 7%;
        width: 190px;
        margin: 0 auto;
        padding: 0.5rem 0 0;
        text-align: center;
        background-image: linear-gradient(-90deg, #525589 0%, #aca8e0 100%);
        transition: .4s;
        box-shadow: 0 0 4px rgba(0, 0, 0, .1);
        border-radius: 10px;
        z-index: 100;
    }

    .blog-slider__content {
        padding: 0;
    }
}

@media screen and (min-width: 576px) {
    .nav {
        height: calc(3rem + 1.5rem);
        margin-left: auto;
        margin-right: auto;
        max-width: 950px;
        width: 80%;
        display: flex;
        flex-direction: row-reverse;
    }

    .nav__list {
        display: flex;
        align-items: center;
    }

    .nav__item {
        margin-right: 2.5rem;
        margin-bottom: 0;
    }

    .nav__toggle {
        display: none;
    }
}

/*openmenu*/
.show-menu {
    top: calc(4rem + 1rem);
}

.ads {
    margin-top: 15px;
    width: 90%;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 15px;
}


.stats-container {
    max-width: 95%;
    margin: 0 auto;
    background-color: #ffffff;
    direction: rtl;
    text-align: right;
    color: #333;
}

.stats-container h5 {
    color: #525589;
    margin-bottom: 20px;
    font-size: 20px;
}

.columns {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.column {
    width: 100%;
}

.stat-box {
    background-color: #9c27b00d;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.stat-icon {
    margin-left: 10px;
    width: 50px;
    height: 50px;
}

.stat-text {
    font-size: 14px;
    font-weight: bold;
    color: #525589;
    margin: 0;
}

.stat-value {
    font-size: 18px;
    color: #525589;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
}