@import url(/assets/shared/css/base-style.css);
@import url(header.css);
@import url(footer.css);

.main-section {
    height: 600px;
    margin-top: 2rem;
}

body {
    /*    position: relative;*/
}

header:not(.menu_fixed) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: none;
}

    header:not(.menu_fixed) .nav-bar, .navigation {
        background-color: rgba(255, 255, 255, 0);
        color: var(--bg-white) !important;
    }

        header:not(.menu_fixed) .nav-bar a {
            color: var(--bg-white) !important;
        }

    header:not(.menu_fixed) .logo span:hover, .nav-bar a:hover {
        color: var(--bg-white) !important;
    }

    header:not(.menu_fixed) .left-links {
        background-color: rgba(255, 255, 255, 0);
    }

/* =========================== Wide Slider =========================== */
.home-wide-slider {
    width: 100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--text-color) !important;
}

    .home-wide-slider img {
        width: 100%;
    }

    .home-wide-slider .swiper-wrapper {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        font-size: 2.5em;
    }

        .home-wide-slider .swiper-wrapper .swiper-slide .container {
            position: relative;
        }

.slider-with-text-slide h4,
.slider-with-text-slide span,
.slider-with-text-slide p {
    color: #fff !important;
}

.homer-wide-slider .swiper-slide-thumb-active {
    background-color: red !important;
}

.slider-with-text-slide {
    padding: 15px 0;
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .slider-with-text-slide .slide-bg {
        width: 80%;
        height: 60%;
        max-width: 1366px;
        max-height: 768px;
        object-fit: contain;
        object-position: center;
        border-radius: 12px;
        z-index: 0;
    }

    .slider-with-text-slide .container {
        position: relative;
        z-index: 2;
    }

    .slider-with-text-slide.swiper-slide-active [data-animate] {
        opacity: 1;
        transform: none;
    }

    .slider-with-text-slide.swiper-slide-active .slider-with-text-heading {
        transition-delay: 0.6s;
    }

    .slider-with-text-slide.swiper-slide-active .slider-with-text-desc {
        transition-delay: 1s;
    }

    .slider-with-text-slide strong {
        font-size: 30px;
        color: var(--primary-color);
    }

    .slider-with-text-slide h4 {
        font-size: 50px;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

    .slider-with-text-slide p {
        font-size: 22px;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }

.slider-with-text-heading {
    font-size: 55px;
    transition-delay: 3s;
}

    .slider-with-text-heading .highlight {
        font-size: 50px;
        /* background-color: var(--primary-color); */
        padding: 17px;
        border-radius: 15px;
        font-weight: normal;
        max-width: fit-content;
        margin-top: 37px;
    }

.slider-with-text-desc {
    border-radius: 8px;
    opacity: 0.9;
    font-size: 35px;
}

[data-animate] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

[data-animate="bottom"] {
    transform: translate3d(0, 15px, 0);
}

.slider-with-text-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 8px;
    background-color: #202238;
    max-width: 600px;
    z-index: 1;
    padding: 35px 35px;
    right: 0;
    font-size: 14px;
}

    .slider-with-text-bottom .cell {
        position: relative;
        opacity: 1;
        z-index: 2;
        height: 40px;
        bottom: inherit;
    }

    .slider-with-text-bottom .slider-with-text-scrollbar {
        margin-top: 16px;
    }

    .slider-with-text-bottom .slider-with-text-scrollbar-drag {
        height: 6px;
    }

    .slider-with-text-bottom .slider-with-text-pagination {
        font-size: 25px;
        bottom: inherit;
        color: #fff;
    }

        .slider-with-text-bottom .slider-with-text-pagination b {
            font-size: 28px;
            margin-top: -5px;
        }

        .slider-with-text-bottom .slider-with-text-pagination span {
            padding-left: 5px;
            padding-right: 5px;
        }

.slider-with-text-button-next,
.slider-with-text-button-prev {
    outline: none;
}

    .slider-with-text-button-next::after,
    .slider-with-text-button-prev::after {
        font-size: 22px;
        color: #fff;
    }

.home-wide-slider .swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9;
    width: 100%;
}

.home-wide-slider .swiper-button-prev,
.home-wide-slider .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 7px 0;
    width: 60px;
    height: 75px;
    font-size: 22px;
    transition: 0.5s;
}

    .home-wide-slider .swiper-button-prev::after,
    .home-wide-slider .swiper-button-next:after {
        color: #ffffff !important;
    }

.home-wide-slider .swiper-button-prev {
    right: 0;
}

.home-wide-slider .swiper-button-next {
    left: 0;
}

.home-wide-slider:hover,
.home-wide-slider:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =========================== Features Section =========================== */

.features {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 2em;
}

    .features .features-inner {
        background: var(--primary-color-ultra-transparent);
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 18px;
        border-radius: 36% 48% 13% 75% / 86% 14% 85% 14%;
        background: rgb(144, 23, 134);
        background: -moz-linear-gradient( 180deg, rgba(144, 23, 134, 0.1) 0%, rgba(144, 23, 134, 0.1) 57%, rgba(52, 4, 48, 0.1) 100% );
        background: -webkit-linear-gradient( 180deg, rgba(144, 23, 134, 0.1) 0%, rgba(144, 23, 134, 0.1) 57%, rgba(52, 4, 48, 0.1) 100% );
        background: linear-gradient( 180deg, rgba(144, 23, 134, 0.15) 0%, rgba(144, 23, 134, 0.1) 57%, rgba(52, 4, 48, 0.1) 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#901786",endColorstr="#340430",GradientType=1);
        height: 250px;
    }

        .features .features-inner i {
            color: var(--primary-color);
            font-size: 55px;
        }

        .features .features-inner h6 {
            font-size: 20px;
            font-weight: 700;
        }

.slide-1-bg {
    background-color: #00382b;
}

.slide-2-bg {
    background-color: #005e46;
}

.slide-3-bg {
    background-color: #393187;
}

.slide-4-bg {
    background-color: #03a0e3;
}

/* =========================== About Section =========================== */

.about-box {
    margin-bottom: 3em;
}

    .about-box img {
        width: 100%;
        height: auto;
    }

    .about-box ul {
        list-style: none;
    }

        .about-box ul li:before {
            font-family: var(--font-awesome);
            content: "\f060";
            font-weight: 400;
            color: var(--primary-color);
            margin-left: 10px;
            line-height: 30px;
        }

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

    .section-title::before {
        position: absolute;
        content: "";
        width: calc(100% + 220px);
        height: 2px;
        top: 13px;
        left: -100px;
        background: var(--primary-color);
        z-index: -1;
    }

    .section-title::after {
        position: absolute;
        content: "";
        width: calc(100% + 280px);
        height: 2px;
        bottom: 10px;
        left: -130px;
        background: var(--primary-color);
        z-index: -1;
    }

    .section-title.text-start::before {
        width: 85px;
        left: -105px;
        top: 9px;
    }

    .section-title.text-start::after {
        width: 110px;
        left: -130px;
        bottom: 9px;
    }

/* =========================== Latest News & Articles Section =========================== */

.blog-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

    .blog-box h2 {
        font-size: 30px;
        margin-bottom: 1em;
    }

.card-box {
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    height: 410px;
}

    .card-box strong {
        font-size: 16px;
        font-weight: 900;
        margin-top: 0.5em;
        margin-bottom: 2rem;
    }

    .card-box img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 250px;
        max-height: 250px;
        object-fit: fill;
        transition: 0.5s;
    }

        .card-box img:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .card-box .card-box-inner {
        width: 100%;
        padding: 8px 12px;
    }

        .card-box .card-box-inner a {
            display: block;
            margin-bottom: 0.5rem;
        }

        .card-box .card-box-inner p {
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }

    .card-box .card-bottom-info {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 1rem 15px;
        border-top: 1px solid var(--white-smoke-color);
        max-height: 55px;
        height: 55px;
    }

        .card-box .card-bottom-info > span {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: var(--gap-sm);
            color: var(--text-gray-color);
            font-size: 14px;
            flex: 1 1 auto !important;
            text-align: center;
            border-left: 1px solid var(--white-smoke-color);
        }

        .card-box .card-bottom-info span:last-child {
            border: none;
        }

.swiper .card-box .card-box-inner {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bg-white .card-box {
    background-color: var(--bg-color) !important;
}

    .bg-white .card-box .card-bottom-info,
    .bg-white .card-box .card-bottom-info span {
        border-color: #e3e5e7;
    }

/* =========================== Comments Section =========================== */

.comment-box {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

    .comment-box h2 {
        font-size: 30px;
        margin-bottom: 1em;
    }

    .comment-box .card-box {
        background: var(--bg-color) !important;
        box-shadow: none !important;
        justify-content: center;
        text-align: center;
    }

        .comment-box .card-box img {
            width: 150px;
            max-width: 150px;
            height: 150px !important;
            min-height: 150px !important;
            max-height: 150px !important;
            border-radius: 50%;
            padding: 0.5rem !important;
            margin-bottom: 0.2rem;
            border: 1px solid #dee2e6 !important;
        }

            .comment-box .card-box img:hover {
                transform: none !important;
                cursor: default !important;
            }

        .comment-box .card-box strong {
            display: inline-block;
            margin-bottom: 0.5rem;
        }

        .comment-box .card-box .card-box-inner p {
            background-color: var(--primary-color-ultra-transparent);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
            line-height: 1.3;
            min-height: 250px;
            height: fit-content;
            transition: 0.5s;
        }

.swiper-pagination-bullet {
    border-radius: 0 !important;
}

.latest-comments-slider .card-box {
    height: 550px;
}

.h-250 {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
}

/* =========================== Responsive =========================== */

@media (max-width: 479.9px) {
    .features {
        display: flex;
        justify-content: center;
    }

        .features .features-inner {
            width: 360px;
            margin-bottom: 2rem;
        }

        .features [class*="col-"] {
            display: flex !important;
            justify-content: center !important;
        }

    .about-box img {
        margin-bottom: 2rem;
    }

    .section-title {
        justify-content: center !important;
        text-align: center !important;
    }

        .section-title::before {
            width: calc(100% + 70px);
            left: -35px;
        }

        .section-title::after {
            width: calc(100% + 110px);
            left: -56px;
        }
}

@media (max-width: 639.9px) {
    .home-wide-slider .swiper-nav {
        bottom: 5% !important;
        flex-direction: row !important;
    }

    .slider-with-text-slide {
        display: flex;
        justify-content: center;
        text-align: center;
    }

        .slider-with-text-slide h4 {
            font-size: 30px !important;
            text-align: center;
            display: inline-block !important;
        }

        .slider-with-text-slide p {
            font-size: 20px !important;
        }
}
