@font-face {
    font-family: 'iransans';
    src: url('../font/iransans2.woff2');
}
body{
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-family: 'iransans', Tahoma, sans-serif;
}
:root {
    --primary: #0F3D6E;
    --secondary: #082340;
    --accent: #F47A20;
    --bg-light: #F8FAFC;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.60);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow-lg: 0 25px 50px -12px rgba(8, 35, 64, 0.20);
    --shadow-xl: 0 40px 80px -16px rgba(8, 35, 64, 0.25);
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
nav{
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 20px 2px rgb(226, 226, 226);
    border-radius: 20px;
    position: fixed;
    z-index: 10;
    width: 94vw;
    margin: auto;
}
.text_nav small{ font-size: 14px; }
.description_nav{ font-size: 12px; color: #F47A20; }
.link_page{ color: rgb(1, 1, 1) !important; }
.active-page{color: #F47A20 !important;}
.header_section hr{
    background-color: #F47A20;
    width: 7vw;
    height: 5px;
}
.header_section span{
    color: #475569;
}
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    cursor: default;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 0;
    background: var(--accent);
    border-radius: 0 0 4px 0;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(244, 122, 32, 0.25); background: rgba(255, 255, 255, 0.80); }
.feature-card:hover::before { height: 100%; }
.feature-card .icon-wrap {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(244, 122, 32, 0.10);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent); margin-bottom: 14px;
    transition: var(--transition);
}
.feature-card:hover .icon-wrap { background: var(--accent); color: #fff; transform: scale(1.02); }
.feature-card .card-title { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.3rem; }
.feature-card .card-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* صفحه درباره ما  */
.btn_accent_about{
    padding: 14px 36px;
    border-radius: 10px;
    background-color: var(--accent);
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: 0.4s;
}
.btn_accent_about:hover{
    background-color: #e06a18;
    color: #fff;
    transform: translateY(-4px);
}
.btn_outline_light_about{
    padding: 14px 36px;
    border-radius: 10px;
    border: solid white 1.5px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: 0.4s;
}
.btn_outline_light_about:hover{
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 768px) {
    .header_section { margin: auto; text-align: center; width: 90vw; }
    .header_section hr{
        background-color: #F47A20;
        width: 15vw;
        height: 5px;
    }
}

/* استایل هدر */
header {
    position: relative;
    width: 100%;
    height: 100%; 
    overflow: hidden;
    margin-top: -30px !important; 
}

.video-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 101%;
    overflow: hidden;
    z-index: 0;
}

/* استاتیل های بخش ویدیو هدر */
.video-container video {
    position: absolute;
    top: 50%;
    /* left: 50%; */
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.image-overlay-blue{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: #0f3d6ed7;
    z-index: 1;
}
.content1_header{
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    padding: 10px;
    border-radius: 20px;
    background-color: #f478204f;
    border: solid #F47A20 1px;
}
.content1_header span{
    font-size: 12px;
    color: #F47A20;
    font-weight: bold;
}
.content2_header h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    direction: rtl;
    font-size: 36px; /* اندازه دلخواه برای دسکتاپ */
    text-align: center;
    width: 80%; /* برای کنترل پهنای متن */
    margin: 0;
}
.content2_header span{
    position: absolute;
    top: 64%;
    left: 14%;
    text-align: center;
    right: 19%;
    z-index: 2;
    color: rgba(255, 255, 255, 0.886);
    direction: rtl;
}
.btn_price_today,.btn_popular_products{
    padding: 10px 40px;
    border-radius: 10px;
}
.btn_price_today{
    color: white;
    border: solid white 2px;
    transition: 0.5s;
}
.btn_price_today:hover{
    color: white;
    border: solid #0F3D6E 2px;
    background-color: #0F3D6E;
    transform: scale(1.02);
}
.btn_popular_products{
    color: white;
    background-color: #F47A20;
    transition: 0.5s !important;
}
.btn_popular_products:hover{
    color: #ffffff;
    transform: translateY(-7px);
}
.btn_header{
    position: absolute;
    top: 77%;
    left: 30%;
    z-index: 2;
}

.btn_nav_mobile:focus , .btn_nav_mobile:focus-visible{
    outline: none;
    color: rgba(255, 255, 255, 0);
}
.btn_call{
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 16px; 
    border-radius: 12px; 
    font-size: 14px;
    font-weight: 500; 
    background: linear-gradient(135deg,#0f3d6e, #082340); 
    color: white; 
    border: none; 
    box-shadow: 0 4px 15px rgba(244, 122, 32, 0.3);
}
.copy-phone{
    cursor: pointer;
    text-decoration: none;
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 12px 16px; 
    border-radius: 12px; 
    background: #f8f9fa; 
    margin-bottom: 8px; 
    transition: 0.3s;
}
.copy_number{
    background: #e8f5e9; 
    padding: 4px 12px; 
    border-radius: 20px; 
    display: flex; 
    align-items: center;
    gap: 6px;
}
.copy_number span{
    font-size: 13px; 
    color: #2e7d32; 
    direction: ltr;
}

.amar_to_user{
    background-color: #0F3D6E;
}
.div_icon_amar{
    background-color: #2f72b97c;
    width: 60px;
    height: 60px;
    z-index: 3;
}

.btn_price{
    padding: 8px 20px;
    text-align: center;
    border-radius: 10px;
    float: left;
    font-size: 14px;
    font-weight: 600;
    background-color: #F47A20;
    color: #ffffff;
    transition: 0.5s;
}
.btn_price:hover{
    color: white !important;
    background-color: #e86f18 !important;
}

/* بخش جدول قیمت ها */
.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: transparent; /* ردیف‌های فرد بدون رنگ */
    color: var(--bs-table-striped-color);
}
.table-striped>tbody>tr:nth-of-type(even)>* {
    --bs-table-accent-bg: var(--bs-table-striped-bg); /* ردیف‌های زوج با رنگ */
    color: var(--bs-table-striped-color);
}
.profit{
    color: #22C55E !important;
}
.loss{
    color: #EF4444 !important;
}

/* ------------- بخش سوالات متداول (اسکریپت آکاردئون) ------------- */
.prices_faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.35s ease;
}

.prices_faq_item.open .prices_faq_answer {
    max-height: 320px;
    padding-top: 0 !important;
    padding-bottom: 24px !important;
}

.prices_faq_item.open .prices_faq_toggle {
    background: #F47A20 !important;
    color: #ffffff !important;
    transform: rotate(180deg);
    transition: 0.35s;
}

.prices_faq_toggle {
    transition: 0.35s;
}

.prices_faq_item.open {
    border-color: rgba(244, 122, 32, 0.5) !important;
    box-shadow: 0 12px 30px rgba(244, 122, 32, 0.08);
}
/* ==================== آکاردئون سوالات ==================== */
.contact_accordion .accordion-button {
    background: #fff;
    color: #082340;
    font-size: 14px;
    padding: 20px 24px;
    box-shadow: none;
    border: none;
}
.contact_accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: #F47A20;
    box-shadow: none;
    border-bottom: 1px solid #F1F5F9;
}
.contact_accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.contact_accordion .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
}
.contact_accordion .accordion-body {
    padding: 20px 24px;
    background: #fff;
}
.contact_accordion .accordion-item {
    box-shadow: 0 4px 20px rgba(8, 35, 64, 0.04);
}
.information_header_contact{
    background-color: #fff;
    
}

@media (max-width: 991px) {
    .project {
        display: block !important;
        width: 100% !important;
    }
    .project .col-lg-4 {
        width: 100%;
        margin-bottom: 20px;
    }
    .row.ms-3 {
        margin-left: 0 !important;
    }
    .row.ms-4 {
        margin-left: 0 !important;
    }
    .row.ms-4 > div {
        display: block !important;
        width: 100% !important;
    }
}


@media (max-width: 768px) {
    html, body {
        overflow-x: clip;
        max-width: 100%;
        width: 100%;
    }
    
    h2, .h2-lg, .cart_right span, .cart_right p {
        white-space: normal !important;
        word-break: break-word;
    }
    /* حالت مبایل منو سایت */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        max-height: 70vh;
        overflow-y: auto;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .text_nav{
        font-size: 14px;
    }
    .text_nav small{
        font-size: 8px;
    }
    .description_nav{
        font-size: 8px;
    }
    .dropdown-menu {
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;  /* برای جلوگیری از تداخل RTL */
    }
    

    /* بخش آمار */
    .amar_to_user_inside {
        width: 100vw !important;
        margin-left: 0 !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    .amar_to_user small{
        font-size: 13px;
    }
    .div_icon_amar{
        width: 50px;
        height: 50px;
    }
    .div_icon_amar img{
        width: 25px;
    }


    /* جدول ها */
    table th, table td {
        padding: 10px 8px !important;
        font-size: 12px;
    }
    table {
        min-width: 600px !important;
    }
    /* مخفی کردن ستون واحد در موبایل */
    table th:nth-child(3),
    table td:nth-child(3) {
        display: none;
    }
}