@font-face{font-family:sansir;font-style:normal;font-weight:400;font-display:swap;src:url(https://fanavarin.ir/wp-content/themes/vbt/fonts/sansir.woff) format("woff"),url(fonts/sansir.woff2) format("woff2")}
        :root {
            --primary: #0056b3;
            --dark: #2d3436;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --transition: all 0.4s ease;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sansir; direction: rtl; background:#eee; overflow-x: hidden; }
        .container { max-width: 1200px; margin: auto; padding: 0 20px; }
        a { text-decoration: none; transition: var(--transition); }
        ul { margin-right: 1.5em;}

        /* --- هدر و منو --- */
        header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 2000; }
        .navbar { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .navbar ul{list-style:none}
		.logo img { height: auto; width: 110px; object-fit: contain; }
        
        .nav-links { display: flex; gap: 30px; align-items: center; }
        .nav-links a { color: var(--dark);font-size: 14px; }
        .nav-links a:hover { color: var(--primary); }
        .nav-btn { background: var(--primary); color: #fff !important; padding: 10px 25px; border-radius: 5px; }

        .menu-toggle { display: none; font-size: 55px;margin:10px 10px 0; cursor: pointer; color: var(--dark); }

        /* سایدبار موبایل */
        .mobile-menu {
            position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
            background: var(--white); z-index: 3000; padding: 40px 20px;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: var(--transition);
        }
        .mobile-menu.active { right: 0; }
        .close-menu { font-size: 24px; cursor: pointer; display: block; margin-bottom: 20px; text-align: left; }
        .mobile-menu ul li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
        .mobile-menu ul li a { color: var(--dark); font-size: 16px; display: block; }
        .overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; z-index: 2500; }
        .overlay.active { display: block; }

        /* --- اسلایدشو (Hero) --- */
        .hero-slider { height: 550px; width: 100%; }
        .hero-img { width: 100%; height: 100%; object-fit: cover; }
        .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; }
        .hero-content { text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.6); padding: 0 20px; }
        .hero-content h2 { font-size: 40px; margin-bottom: 15px; }
        .hero-content p { font-size: 18px; }




        .main-content {
            flex: 1;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 0 5px #ababab;
			overflow: hidden;
			margin: 2em auto;
        }
        
        /* سایدبار */
        .sidebarsite {
            width: 300px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 0 5px #ababab;
            padding: 10px;
            height: fit-content;
			margin: 2em auto
        }
        
        .sidebarsite-title {
            font-size: 18px;
            border-right: 4px solid #209adc;
            padding-right: 10px;
            margin-bottom: 20px;
        }
        
        /* بخش نمایش مطلب */
        .post-header {
            padding: 20px;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .post-title {
            font-size: 20px;
    color: #0056b3;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    border-right: 5px solid #0056b3;
    border-left: 5px solid #0056b3;
        }
        
        .post-meta {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 14px;
            padding: 5px 0;
            background: #eee;
			border-right:5px solid #666;
			border-left:5px solid #666;
			    border-bottom: 1px solid #ccc;

        }
         .post-meta a{color: #666;}
        
        .post-meta i {
            margin-left: 5px;
        }
        
        .post-meta span {
            margin-left: 15px;
        }
        
        .post-category {
            background-color: var(--secondary-color);
            color: white;
            padding: 3px 10px;
            border-radius: 4px;
            font-size: 13px;
            display: inline-block;
        }
        
        .post-featured-image {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }
        
        .post-content {
            font-size: 16px;
        }
        .txt{padding:1em}
        .post-content p {
            margin-bottom: 5px;
			line-height: 2;
        }
        
        .post-content h2 {
            color: var(--primary-color);
            margin: 25px 0 15px;
            font-size: 24px;
        }
        
        .post-content h3 {
            color: var(--primary-color);
            margin: 20px 0 10px;
            font-size: 20px;
        }
        
        .post-content blockquote {
            border-right: 4px solid var(--secondary-color);
            padding-right: 20px;
            margin: 25px 0;
            font-style: italic;
            color: #555;
        }
        
        /* ویجت مطالب جدید */
        .recent-posts-widget {
            margin: 10px auto;
        }
        
        .recent-post {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed var(--border-color);
        }
        .recent-post img{width:100px;height:100px;border-radius:10px;margin-left:1em}
        .recent-post:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .recent-post-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            margin-left: 15px;
        }
        
        .recent-post-content h4 {
            font-size: 15px;
            margin-bottom: 8px;
        }
        
        .recent-post-content h4 a {
            color: var(--dark-color);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .recent-post-content h4 a:hover {
            color: var(--secondary-color);
        }
        
        .recent-post-date {
            font-size: 13px;
            color: #777;
        }
.content-wrapper {
            display: flex;
	gap:10px;
        }
        /* ریسپانسیو */
        @media (max-width: 992px) {
            .content-wrapper {
            display: block;
        }
            
            .sidebarsite {
                width: 100%;
            }
            
            .post-featured-image {
                height: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .post-title {
                font-size: 18px;
            }
            
            .post-featured-image {
                height: 250px;
            }
        }
		 
		 
		 


.share-bar {
    display: flex;
    justify-content:space-between;
    margin: 20px 0 0;
	padding:1em;
}

.short-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.short-link label {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.short-link input[type="text"] {
    flex-grow: 1; 
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: left; 
    direction: ltr; 
    background-color: #f9f9f9;
}

.short-link button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.short-link button:hover {
    background-color: #0056b3;
}

.share-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 10px;
}

.share-label {
    font-weight: bold;
    color: #333;
    margin-left: 10px; 
    white-space: nowrap;
}

.share-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%; 
    color: white;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    font-size: 18px;
}

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.twitter { background-color: #1DA1F2; }
.telegram { background-color: #2CA5E0; }
.whatsapp { background-color: #25D366; }
.linkedin { background-color: #0077B5; }


@media (max-width: 800px) {
    .share-bar {
        display:block;
    }
    
    .short-link {
        flex-wrap: wrap; 
    }


    .share-buttons {
        justify-content: center;
		margin-top:1.5em
    }
}





        /* --- بخش‌های شبکه‌ای (محصولات و نوشته‌ها) --- */
        .section-padding { padding: 30px 10px; }
        .section-title { text-align: center; margin-bottom: 50px; font-size: 28px; color: var(--dark); position: relative; }
        .section-title::after { content: ''; width: 60px; height: 3px; background: var(--primary); position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); }
        
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        
        .card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: var(--transition); }
        .card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.07); }
        .card-img { width: 100%; height: 180px; object-fit: cover; background: #f4f4f4; }
        .card-body { padding: 20px; text-align: center; }
        .card-body h3, .card-body h4 { font-size: 18px; margin-bottom: 12px; color: var(--dark); }
        .card-body p { font-size: 13px; color: #666; margin-bottom: 15px; line-height: 1.6; }
        .btn-link { color: var(--primary); font-weight: bold; font-size: 14px; border-bottom: 1px solid transparent; }
        .btn-link:hover { border-bottom-color: var(--primary); }

        /* --- درباره ما --- */
        .about { background: #fafafa; padding: 30px 0; }
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .about-text h2 { margin-bottom: 25px; font-size: 32px; }
        .about-text p { font-size: 16px; margin-bottom: 20px; color: #555; text-align: justify; }
        .about-img img { width: 100%; border-radius: 15px; box-shadow: 20px 20px 0 var(--primary); }

        /* --- فرم تماس --- */
        .contact-form { max-width: 700px; margin: auto; background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
        .contact-form input, .contact-form textarea { width: 100%; padding: 14px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; font-size: 14px; }
        .submit-btn { background: var(--primary); color: #fff; border: none; padding: 15px 40px; cursor: pointer; width: 100%; border-radius: 6px; font-weight: bold; font-size: 16px; }

        /* --- فوتر حرفه‌ای --- */
        footer { background: #1a1a1a; color: #ccc; padding: 60px 0 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
        .footer-col h4 { color: #fff; margin-bottom: 25px; border-right: 4px solid var(--primary); padding-right: 12px; font-size: 18px; }
		.footer-col a{color:#fff}
        .footer-col p { font-size: 14px; line-height: 2.5; }
        .footer-col ul li { margin-bottom: 12px; font-size: 14px; }
        .footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 25px; font-size: 13px; color: #777; }

        /* --- ریسپانسیو --- */
        @media (max-width: 992px) {
            .nav-links { display: none; }
            .menu-toggle { display: block; }
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .about-grid { grid-template-columns: 1fr; gap: 30px; }
        }
        @media (max-width: 600px) {
            .grid-4 { grid-template-columns: 1fr; }
            .hero-content h2 { font-size: 28px; }
            .hero-slider { height: 400px; }
        }

















        .news-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .news-item {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .news-image {
            height: 200px;
            width: 100%;
            overflow: hidden;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .news-item:hover .news-image img {
            transform: scale(1.05);
        }
        
        .news-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #2c3e50;
            line-height: 1.4;
        }
        
        .news-description {
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.6;
            flex-grow: 1;
        }
        
        .read-more {
            display: inline-block;
            background-color: #3498db;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
            margin-top: auto;
			text-align:center;
        }
        
        .read-more:hover {
            background-color: #2980b9;
        }
        
        .read-more i {
            margin-right: 5px;
        }
        
        
        /* استایل‌های موبایل */
        @media (max-width: 1200px) {
            .news-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .news-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .news-container {
                grid-template-columns: 1fr;
            }
        }







#secfaq .accordion-body {
    font-size: 13px;
    color: #313131;
    text-align: justify;
    padding: 5px 0 15px!important;
}


#secfaq .accrdeon-sec {
    margin-top: 20px
}

#secfaq .accordion-item h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
}
.img-know {
    width: 300px;
    height: auto;
}
.secfaq{background: #fff;
    padding: 30px 0;}
.secfaq h3{ text-align: center;
    font-size: 24px;}
.flex-s{display: flex;
    justify-content: space-between;}
.w-50{width:50%;padding:1em}





.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.fadeInUp {
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp
}

.-client-slides {
    flex-direction: row-reverse;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-column-gap: 10vmin;
    -moz-column-gap: 10vmin;
    column-gap: 10vmin;
    height: 100px;
    background-color: #0056b3;
	padding-bottom:10px;
    z-index: 1
}

.-client-slides .slider-css {
    -webkit-column-gap: 10vmin;
    -moz-column-gap: 10vmin;
    column-gap: 10vmin;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation: 45s linear infinite scroll;
    animation: 45s linear infinite scroll;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none
}

.-client-slides .client-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto
}

.-client-slides .m-slide__media img {
    display: block;
    height: auto
}

@-webkit-keyframes scroll {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    to {
        -webkit-transform: translateX(calc(-100% - 5rem));
        transform: translateX(calc(-100% - 5rem))
    }
}

@keyframes scroll {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    to {
        -webkit-transform: translateX(calc(-100% - 5rem));
        transform: translateX(calc(-100% - 5rem))
    }
}

@-webkit-keyframes scroll-v {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(calc(-100% - 5rem));
        transform: translateY(calc(-100% - 5rem))
    }
}

@keyframes scroll-v {
    from {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    to {
        -webkit-transform: translateY(calc(-100% - 5rem));
        transform: translateY(calc(-100% - 5rem))
    }
}













.secone{ background: #0056b3;
    padding: 50px 0;}
.onetxt{color: #fff;
    line-height: 2.5;
    text-align: center;}
.onetxt h1{ font-size: 35px;
    font-weight: 400;
		   text-shadow: 0 0 5px #000,0 0 15px #000,0 0 60px #1d008e;}
.onetxt p{   font-size: 25px;}
.onebtn{text-align: right;margin-top:10px}
.btsub{ background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    color: #000;border: 1px solid #000;
    margin-left: 10px;}
.btcall{color: #fff;padding: 1px 15px;border: 1px solid #fff; border-radius: 10px;}

.btcall {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

/* افکت برق دائمی */
.btcall::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.1) 100%);
    transform: rotate(45deg) translateX(-100%);
    animation: shine 2s linear infinite;
}

/* انیمیشن های دکمه */
@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    50% { transform: rotate(45deg) translateX(100%); }
    100% { transform: rotate(45deg) translateX(-100%); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 8px 25px rgba(0,0,0,0.5); }
}
@media (max-width: 576px) {
	.onetxt h1{ font-size: 25px;}
	.onetxt p{ font-size: 18px;}
	.onebtn{text-align:center}
	.flex-s{display:block}
	.w-50{width:100%}
}




.sectow{text-align: center;background: #0056b3;
    color: #fff;
    padding: 10px;
    font-size: 25px;}
.towtit{border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    border-radius: 10px;}
.secsch{background: #0056b3;
    padding: 50px 0;}
.schtxt{color: #fff;
    line-height: 2;}