﻿
.shadow {
    box-shadow: 0 0 10px rgba(0,0,0,0.8) !important;
}

.border-bottom {
    border-bottom: 1px solid #333 !important;
}

.blog-header-img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 576px) {
    article {
        padding: 1rem !important;
    }
}


.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}

.search-result {
    transition: background-color 0.3s ease;
}

    .search-result:hover {
        background-color: #2a2a2a;
    }

.search-input {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #333;
}

    .search-input::placeholder {
        color: #aaa;
    }



.banner {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
}

    .banner::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
    }

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 2rem;
    justify-content: end;
}

.banner-box {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
}

.section-alt {
    background-color: #333333;
    padding: 3rem 1rem;
    border-radius: 1rem;
}

.info-box {
    background-color: #2c2c2c;
    padding: 1rem;
    border-radius: 1rem;
    color: #fff;
}

    .info-box i {
        font-size: 1.5rem;
        margin-left: 0.5rem;
    }

.gallery img {
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 0.5rem;
}

    .gallery img:hover {
        transform: scale(1.05);
    }




h1, h5 {
    color: #ffffff;
}




@media (max-width: 576px) {
    article {
        padding: 1rem !important;
    }
}

.map-area-company {
    background: #eaebe4;
    border-radius: 3rem;
    display: block;
    overflow: hidden;
    width: 100%;
}


.company_contact span, .company_contact a {
    font-size: 1.2rem;
}

.company_contact .contact-area {
    align-items: stretch;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}



.custom-box-4 .box {
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.custom-box-4 .box:hover {
    transform: scale(1.03);
    background-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.custom-box-4 a{
    color:#fff !important;
}

.m-100 {
    width: 325px;
    margin-right: 30px;
    border-radius: 10px;
}

.c-100 {
    margin-right: 20px;
    margin-left: 8px;
}


.mega-menu a span {
    color: white;
    transition: color 0.3s ease;
}

.mega-menu a:hover span {
    color: #dc541f;
}



.bottom-box {
    background-color: #1e1e2f;
    padding: 20px;
    width: 100%;
}

    .bottom-box ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .bottom-box li {
        padding: 0 10px;
        text-align: right;
        font-size: 14px;
    }

    .bottom-box a {
        display: inline-flex;
        align-items: center;
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 14px;
    }

        .bottom-box a:hover {
            color: #dc541f;
        }

    .bottom-box i {
        margin-left: 5px; 
        color: #dc541f;
    }

.zap-2
{
    margin-top:20px;
}





.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .submenu {
        top: 0;
        right: 97%;
        margin-right: .1rem;
        position: absolute;
        display: none;
        min-width: 180px;
        z-index: 1000;
        background: rgba(0, 0, 0, .5) !important;
        backdrop-filter: blur(6px);
        border: 1px solid gray;
        color: #fff;
        width: 15vw;
    }

    .dropdown-submenu:hover > .submenu {
        display: block;
    }

.bg-whyBox {
    /*opacity: 0.8;*/
    background-color: #F99C5D;
}

.why-broker {
    align-items: stretch;
}

.why-broker .form-parent-container {
    display: flex;
    flex: 1;
    flex-flow: column;
    justify-content: center;
    padding-left: 3rem;
}

.why-broker .image-container {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
}

.why-broker .RoundedImage {
    background-color: #CD8350;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.why-broker .RoundedImage img {
    border-radius: 50%;
    object-fit: cover;
    width: 70px;
    height: 70px;
}


.horizontal-icon-box {
    direction: rtl; 
}


.horizontal-icon-box .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: right;
}

.horizontal-icon-box .img-area {
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    padding: 1rem;
    width: 90px;
    /*height: 90px;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

    .horizontal-icon-box .img-area img {
        filter: brightness(0) saturate(100%) invert(64%) sepia(41%) saturate(3085%) hue-rotate(121deg) brightness(101%) contrast(88%);
        width: 100%;
        height: auto;
    }

.horizontal-icon-box h3 {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 0.4rem;
}

.horizontal-icon-box p {
    color: var(--bs-gray-500);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}


.horizontal-icon-box .text-fixsize
{
    width:300px;
}

.text-justify{
    text-align:justify;
}


/*----------- invest card ---------------*/
.investment-card2 {
    background-image: linear-gradient(180deg,#242021 0%,#005358 100%);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
}

    .investment-card2 .investment-card-inner {
        padding: 0 1rem 1rem
    }

    .investment-card2 > img {
        aspect-ratio: 4/2;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    }

    .investment-card2 .investment-card-head {
        padding: 1.5rem 0
    }

        .investment-card2 .investment-card-head img {
            height: 60px;
            width: 60px
        }

        .investment-card2 .investment-card-head span {
            color: #fff;
            font-size: .85rem
        }

    .investment-card2 h3 {
        font-size: 1.18rem;
        font-weight: bolder
    }

    .investment-card2 ul {
        list-style: none;
        padding: 0px;
    }

        .investment-card2 ul li {
            color: #fff;
            font-size: 1.1rem;
            font-weight: 500;
            padding-bottom: .3rem;
            padding-right: .5rem;
            position: relative;
            text-align: center;
            text-align: center;
        }

    /*.investment-card2 ul li:before {
                background-image: url(../img/tick-check.svg);
                content: "";
                display: inline-block;
                height: 15px;
                position: absolute;
                right: -20px;
                top: 4px;
                width: 15px
            }*/

    .investment-card2 .btn-primary {
        border-radius: 1.3rem;
        font-size: 1.1rem;
        font-style: normal;
        font-weight: 500;
        padding: .5rem 1.5rem;
        transition: all .3s linear;
        background-color: transparent;
        border-color: #fff;
        width: 100%;
    }

        .investment-card2 .btn-primary:hover {
            transform: none !important;
            box-shadow: none !important;
            filter: none !important;
            background-color: transparent !important;
            border-color: var(--primary-color) !important;
            Color: var(--primary-color) !important;
        }

        .investment-card2 .btn-primary:hover {
            width: 100%;
        }

    .investment-card2 .investment-card-footer {
        margin-top: auto;
        width: 100%;
    }

    .investment-card2 .image-overlay-text {
        position: absolute;
        top: 3.5rem;
        right: 1.5rem;
        width: 50%;
        color: #fff;
        text-align: right;
        z-index: 2;
    }

        .investment-card2 .image-overlay-text .text-1 {
            font-size: 1rem;
            font-weight: normal;
        }

        .investment-card2 .image-overlay-text .text-2 {
            font-size: 1.1rem;
            font-weight: bold;
        }


/*-----------*/
.custom-card1 .header h3,
.custom-card2 .header h3 {
    font-size: 1rem !important;
    line-height: 1.5rem;
    margin-bottom: 0
}


.bg-dark-article {
    background-color: #2A2A2A;
}


.investmentSection {
    border: 3px solid gray;
    border-radius: 1.5rem;
    padding:1.5rem;
}


.investmentSection ul.custom-list li {
    font-size: 1.1rem;
    padding-bottom: .6rem;
    padding-right: .7rem;
}

.investmentSection .bg-companyBox{
    background-color:#fff;
}

.mt-7{
    margin-top:7rem !important;
}



.custom-responsive-font {
    font-size: 1.25rem;
}

/* فقط برای موبایل: کوچکتر از 768px */
@media (max-width: 767.98px) {
    .custom-responsive-font {
        font-size: 1.1rem !important;
    }
    .btn-mobile-center {
        width: 50%;
        margin: 0 auto;
    }
    .mobile-margin{
        margin:5px;
    }
    .swiper-container .swiper-slide .slide-content {
        right: unset !important;
        width: 300px;
        background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0, rgba(0, 0, 0, 0) 100%);
        border-radius: 1.4rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 1rem;
        z-index: 2;
    }
    #fullscreenMenu .btn {
        font-size: 1.1rem !important;
    }
    .btn {
        font-size: 0.9rem !important;
    }


}

@media (max-width: 768px) {
    #why-karizma-tabs {
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }

        #why-karizma-tabs::-webkit-scrollbar {
            display: none; /* مخفی کردن scrollbar در موبایل */
        }

        #why-karizma-tabs .nav-link {
            white-space: nowrap;
            flex-shrink: 0;
        }

    #investment-swiper-container {
        display: none;
    }

    .investment-card2 .image-overlay-text
    {
        top:1.5rem !important;

    }

    .fund .calculator-parent .calculator .result-area .result-row .head {
        font-size:unset !important;
    }

    .contact-area .address {
        text-align: center !important;
        width: 100%;
    }
}

.slogan-img img {
    aspect-ratio: 16/12 !important;
}
.pie-chart {
    width: 100%;
    min-height: 300px;
    height: 30vh;
}

.contact-area .address {
    text-align: left;
}
