﻿.main-image-container {
    position: relative !important;
    width: 100% !important;
    height: 450px !important; /* ارتفاع قاب را اینجا تنظیم کنید */
    overflow: hidden !important;
    border-radius: 15px !important;
    background: #eee;
}

#mainView {
    width: 100% !important;
    height: 100% !important;
    /* این خط باعث می‌شود عکس به هر شکلی هست، تمام قاب را پر کند */
    object-fit: fill !important;
    transition: opacity 0.3s ease;
}
/* استایل دکمه‌ها (همان قبلی با کمی شفافیت بیشتر) */
.nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(10, 38, 71, 0.6) !important;
    color: white !important;
    border: none !important;
    padding: 15px 10px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    backdrop-filter: blur(5px); /* افکت شیشه‌ای برای دکمه‌ها */
}

    .nav-btn:hover {
        background: rgba(10, 38, 71, 0.9) !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

.prev-btn {
    right: 0 !important;
}

.next-btn {
    left: 0 !important;
}


.nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(10, 38, 71, 0.6) !important;
    color: white !important;
    border: none !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 15 !important;
    border-radius: 50% !important;
    margin: 0 10px !important;
}

.prev-btn {
    right: 0 !important;
}

.next-btn {
    left: 0 !important;
}

/* تصاویر کوچک گالری */
.thumb-img {
    height: 90px !important; /* ارتفاع ثابت برای تصاویر کوچک */
    width: 100% !important;
    object-fit: cover !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
}

.active-thumb {
    border-color: #0d6efd !important;
}

@media (max-width: 768px) {
    .main-image-container {
        height: 250px !important; /* ارتفاع کمتر برای موبایل (متناسب با سلیقه شما) */
    }

    .thumb-img {
        height: 60px !important; /* تصاویر کوچک هم در موبایل کمی ظریف‌تر شوند */
    }
}
/* حل مشکل همپوشانی فوتر و فاصله ایمن */
.details-wrapper {
    padding-bottom: 80px !important; /* فاصله از فوتر */
    overflow: hidden;
}

/* استایل کارت‌های قابلیت */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 38, 71, 0.1) !important;
    background: #ffffff;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(10, 38, 71, 0.1) !important;
        border-color: #0a2647 !important;
    }

.icon-circle {
    width: 60px;
    height: 60px;
    background: #f0f4f8;
    color: #0a2647;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 20px;
    font-size: 24px;
}

.stat-badge {
    background: #0a2647;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.hero-title-box {
    margin-bottom: 2rem;
}

.main-title {
    font-size: 2.2rem;
    color: #0a2647; /* آبی تیره رسمی */
    margin-bottom: 0.5rem;
    display: block;
    color: var(--heading-color);
}

.sub-title {
    font-size: 1.8rem;
    color: #0d6efd; /* آبی روشن زنده */
    display: block;
    position: relative;
    padding-bottom: 15px;
}
    /* خط دکوراتیو زیر متن */
    .sub-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 5px;
        background: linear-gradient(to left, #0d6efd, #0a2647);
        border-radius: 50px;
    }
/* افکت درخشش ملایم برای جذابیت بیشتر */
.highlight-text {
    text-shadow: 0px 4px 10px rgba(13, 110, 253, 0.15);
    font-weight: 800;
    color: #065cc2;
}

