﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #FF6B00;
    --primary-dark: #E55A00;
    --secondary-color: #1A1A1A;
    --light-color: #F5F5F5;
    --text-color: #333;
    --text-light: #777;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* بهینه‌سازی فاصله سکشن‌ها */
.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

    .section-title h2 {
        font-size: 2.2rem;
        color: var(--secondary-color);
        display: inline-block;
        padding-bottom: 10px;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background: var(--primary-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

    .btn:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: var(--white);
    }

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Header Styles */
header {
    background-color: var(--secondary-color);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header-main {
    background: var(--secondary-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
}

    .logo span {
        color: var(--primary-color);
        margin:5px;
    }

    .logo i {
        margin-left: 10px;
        font-size: 1.5rem;
    }

.nav-menu {
    display: flex;
}

    .nav-menu li {
        margin-left: 25px;
        position: relative;
    }

    .nav-menu a {
        color: var(--white);
        font-weight: 500;
        transition: var(--transition);
        position: relative;
        padding: 10px 0;
        display: block;
    }

        .nav-menu a:hover {
            color: var(--primary-color);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: var(--primary-color);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

.header-actions {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-left: 20px;
}

    .search-box input {
        padding: 10px 15px;
        border: none;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        width: 0;
        opacity: 0;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .search-box.active input {
        width: 250px;
        opacity: 1;
        padding-right: 45px;
    }

.search-icon, .cart-icon, .user-icon {
    color: var(--white);
    margin-left: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-icon:hover, .cart-icon:hover, .user-icon:hover {
        color: var(--primary-color);
        background: rgba(255, 107, 0, 0.1);
    }

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
}

    .top-bar-contact span {
        margin-left: 20px;
        display: flex;
        align-items: center;
    }

    .top-bar-contact i {
        margin-left: 5px;
    }

.top-bar-links {
    display: flex;
}

    .top-bar-links a {
        margin-right: 15px;
        transition: var(--transition);
        position: relative;
        display: flex;
        align-items: center;
    }

        .top-bar-links a:hover {
            color: var(--secondary-color);
        }

        .top-bar-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            background: var(--secondary-color);
            bottom: -2px;
            right: 0;
            transition: var(--transition);
        }

        .top-bar-links a:hover::after {
            width: 100%;
        }
.hero-slider {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.swiper {
    width: 100%;
    height: 500px;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* تغییر از center به flex-start برای محتوای راست */
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* تغییر از auto به 100% */
    height: 100%;
    z-index: -1;
    transition: transform 0.5s ease;
}

    /* استایل برای تصویر داخل slide-bg */
    .slide-bg .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* برای پوشش کامل فضای موجود */
    }

.swiper-slide:hover .slide-bg .banner-image {
    transform: scale(1.05);
}

.slide-content {
    text-align: center; /* تغییر از center به right */
    color: var(--white);
    max-width: 600px;
    padding: 0 60px; /* افزایش padding برای فاصله از لبه */
    z-index: 2;
    margin-right: 0;
    margin-left: 0; /* برای قرارگیری در سمت راست */
}

    .slide-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 25px;
        padding: 10px 20px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 25px;
        padding: 10px 20px;
    }

    .slide-content .btn {
        animation: fadeInUp 1s ease 0.4s both;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 25px;
        background: var(--primary-color);
        color: var(--white);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        transition: var(--transition);
        text-align: center;
        text-decoration: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

        .slide-content .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
        }
.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

    .swiper-button-next:hover, .swiper-button-prev:hover {
        background: var(--primary-color);
    }

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.7;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Quick Stats */
.quick-stats {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Banner Sections - بهینه‌سازی فاصله‌ها */
.banner-section {
    padding: 40px 0;
    margin: 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.banner-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin: 0;
}

    .banner-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .banner-card.large {
        grid-column: span 2;
        height: 350px;
    }

    .banner-card.medium {
        height: 280px;
    }

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    transition: transform 0.5s ease;
}

.banner-card:hover .banner-image {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    z-index: 2;
}

    .banner-content h3 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .banner-content p {
        margin-bottom: 12px;
        opacity: 0.9;
    }

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.banner-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.banner-small {
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin: 0;
}

    .banner-small:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .banner-small .banner-content {
        padding: 15px;
    }

        .banner-small .banner-content h3 {
            font-size: 1.1rem;
        }

        .banner-small .banner-content p {
            font-size: 0.85rem;
        }

.banner-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.banner-cta-content {
    flex: 1;
}

    .banner-cta-content h3 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .banner-cta-content p {
        margin-bottom: 0;
        opacity: 0.9;
    }

.banner-cta .btn {
    background: var(--white);
    color: var(--primary-color);
}

    .banner-cta .btn:hover {
        background: var(--secondary-color);
        color: var(--white);
    }

/* Categories Section */
.categories {
    background-color: var(--white);
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    padding: 25px 20px;
    position: relative;
    z-index: 1;
    margin: 0;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--primary-color);
        transition: var(--transition);
        z-index: -1;
    }

    .category-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

        .category-card:hover::before {
            height: 100%;
        }

        .category-card:hover .category-icon,
        .category-card:hover h3,
        .category-card:hover p {
            color: var(--white);
        }

.category-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.category-card p {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.9rem;
}

/* Featured Products */
.featured-products {
    background-color: var(--light-color);
    margin: 0;
}

    .featured-products .section-title h2 {
        color: var(--secondary-color);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    margin-bottom: 0;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

    .product-badge.sale {
        background: #e74c3c;
    }

    .product-badge.new {
        background: #2ecc71;
    }

.product-content {
    padding: 18px;
}

    .product-content h3 {
        font-size: 1.15rem;
        margin-bottom: 8px;
        color: var(--secondary-color);
    }

.product-rating {
    color: #FFC107;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-card .btn {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-light);
}

    .product-meta span {
        display: flex;
        align-items: center;
    }

    .product-meta i {
        margin-left: 5px;
    }

/* Services Section */
.services {
    background: var(--light-color);
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 25px;
    text-align: center;
    margin: 0;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Blog Section */
.blog {
    background: var(--light-color);
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin: 0;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.blog-image {
    height: 200px;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 18px;
}

.blog-meta {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

    .blog-meta span {
        margin-left: 15px;
        display: flex;
        align-items: center;
    }

    .blog-meta i {
        margin-left: 5px;
    }

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.blog-content .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Newsletter */
.newsletter {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 50px 0;
    margin: 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.newsletter p {
    margin-bottom: 25px;
    color: #ccc;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

    .newsletter-btn:hover {
        background: var(--primary-dark);
    }

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        width: 50px;
        height: 2px;
        background: var(--primary-color);
        bottom: 0;
        right: 0;
    }

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: var(--transition);
}

    .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 5px;
    }

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-info i {
    margin-left: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    margin-top: 15px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin-left: 10px;
        transition: var(--transition);
    }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-5px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* WOW.js Animation Styles */
.wow {
    visibility: hidden;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .swiper {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .stats-container {
        justify-content: space-between;
    }

    .stat-item {
        flex-basis: 50%;
        margin-bottom: 15px;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-card.large {
        grid-column: span 1;
    }

    .banner-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .search-box.active input {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
        margin-bottom: 0;
    }

    .category-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .category-card h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .category-card p {
        font-size: 0.85rem;
    }

    .logo {
        transform: translateX(-50%);
        font-size: 1.6rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        text-align: center;
        padding: 15px 10px;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .header-main {
        padding: 10px 0;
    }

    .hero-slider {
        margin-top: 80px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu li {
            margin: 0 0 20px 0;
        }

        .nav-menu a {
            padding: 8px 0;
        }

    .swiper {
        height: 350px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        border-radius: 4px;
        margin-bottom: 8px;
    }

    .newsletter-btn {
        border-radius: 4px;
        padding: 12px;
    }

    .banner-cta {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        margin-top: 20px;
    }

        .banner-cta .btn {
            margin-top: 15px;
        }

    .banner-row {
        grid-template-columns: 1fr;
    }

    .search-box.active input {
        width: 150px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .banner-section {
        padding: 30px 0;
    }

    .banner-card {
        height: 250px;
    }

        .banner-card.large {
            height: 300px;
        }
}

@media (max-width: 576px) {
    .swiper {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .service-card .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stat-item {
        flex-basis: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-box.active input {
        width: 120px;
    }

    .header-actions {
        margin-left: 10px;
    }

    .search-icon, .cart-icon, .user-icon {
        margin-left: 10px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .section {
        padding: 30px 0;
    }

    .banner-section {
        padding: 25px 0;
    }

    .banner-cta {
        padding: 20px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--secondary-color);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    height: 60px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    flex: 1;
    max-width: 80px;
}

    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
        transition: var(--transition);
    }

    .nav-item span {
        font-size: 0.7rem;
        font-weight: 500;
        transition: var(--transition);
    }

    .nav-item.active {
        color: var(--primary-color);
    }

        .nav-item.active i,
        .nav-item.active span {
            color: var(--primary-color);
        }

    .nav-item:hover {
        background: rgba(255, 107, 0, 0.1);
    }

        .nav-item:hover i,
        .nav-item:hover span {
            color: var(--primary-color);
        }

.cart-badge {
    position: absolute;
    top: 0;
    left: 50%;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    transform: translateX(-50%);
}

/* نمایش نوار ناوبری فقط در موبایل */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }

    /* اضافه کردن padding به محتوای اصلی برای جلوگیری از پوشیده شدن توسط نوار */
    body {
        padding-bottom: 60px;
    }

    /* مخفی کردن ناوبری اصلی در موبایل */
    .nav-menu {
        display: none;
    }

    .header-actions .cart-icon,
    .header-actions .user-icon {
        display: none;
    }
}

/* انیمیشن برای تغییر وضعیت فعال */
@keyframes navItemActive {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.nav-item.active i {
    animation: navItemActive 0.3s ease;
}
.sale-banner {
    padding: 30px 0;
}

.sale-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255,107,0,0.06), rgba(229,90,0,0.04));
}

/* background image (replace path with your image) */
.sale-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/sale baner.webp');
    background-size: cover;
    background-position: center;
    filter: saturate(0.85) contrast(0.9) brightness(0.6);
    transform-origin: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.sale-card:hover .sale-bg {
    transform: scale(1.03);
}

/* dark gradient overlay for readability */
.sale-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0,0,0,0.55), rgba(0,0,0,0.18));
    z-index: 2;
}

/* content layout */
.sale-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    color: var(--white);
    direction: rtl;
}

/* text side */
.sale-text {
    max-width: 62%;
    text-align: right;
}

    .sale-text h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        line-height: 1.05;
        background: rgba(255,255,255,0.06);
        display: inline-block;
        padding: 10px 14px;
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.25) inset;
    }

.sale-lead {
    color: rgba(255,255,255,0.92);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* CTA - use existing .btn but override for this banner */
.sale-cta {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .sale-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 36px rgba(0,0,0,0.22);
        color:black
    }

/* discount badge */
.sale-badge {
    width: 140px;
    min-width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.92));
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-align: center;
    transform: translateY(-6px);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 6px 18px rgba(229,90,0,0.12));
}

/* percent number */
.badge-percent {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

/* small label under percent */
.badge-text {
    font-size: 0.9rem;
    margin-top: 6px;
    color: rgba(26,26,26,0.85);
    font-weight: 700;
}

/* responsiveness */
@media (max-width: 992px) {
    .sale-content {
        padding: 28px;
    }

    .sale-text {
        max-width: 60%;
    }

    .sale-card {
        height: 300px;
    }

    .sale-badge {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .sale-text h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .sale-card {
        height: auto;
        padding-bottom: 26px;
    }

    .sale-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 22px;
    }

    .sale-text {
        max-width: 100%;
        text-align: center;
    }

        .sale-text h2 {
            font-size: 1.6rem;
        }

    .sale-lead {
        font-size: 0.98rem;
    }

    .sale-badge {
        margin-top: 12px;
        transform: translateY(0);
    }

    .sale-bg {
        filter: saturate(0.6) brightness(0.55);
    }
}

/* small screens */
@media (max-width: 420px) {
    .sale-badge {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .badge-percent {
        font-size: 1.6rem;
    }

    .sale-text h2 {
        font-size: 1.35rem;
        padding: 8px 10px;
    }

    .sale-cta {
        padding: 10px 16px;
    }
}

/* ensure rtl compatibility with existing site */
.sale-banner, .sale-card, .sale-content {
    direction: rtl;
}

/* re-use float animation from your CSS (if present) else define a lightweight one) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}
/* بهبود نمایش در صفحه‌های بسیار کوچک */
@media (max-width: 360px) {
    .nav-item span {
        font-size: 0.65rem;
    }

    .nav-item i {
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 6px 0;
    }
}
/* Special Sale Section Styles */
.special-sale-section {
    background: linear-gradient(135deg, #0c0c0c 0%, #2d1f0c 25%, #5a2f0c 50%, #8b4513 75%, #da7c0c 100%);
    padding: 60px 0;
    margin: 40px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

    .special-sale-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(218, 124, 12, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(44, 31, 12, 0.2) 0%, transparent 50%);
        background-size: cover;
    }

.special-sale-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.special-sale-title {
    text-align: center;
    margin-bottom: 50px;
}

    .special-sale-title h2 {
        font-size: 3rem;
        color: #FFFFFF;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        background: linear-gradient(45deg, #FFFFFF, #FFA500);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
        display: inline-block;
    }

        .special-sale-title h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(45deg, #FF6B00, #FF8E00);
            border-radius: 2px;
        }

/* Swiper Styles */
.special-sale-swiper {
    width: 100%;
    height: 520px;
    overflow: hidden;
    padding: 20px 0;
}

    .special-sale-swiper .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        box-sizing: border-box;
        transition: all 0.3s ease;
        opacity: 0.7;
        transform: scale(0.95);
    }

    .special-sale-swiper .swiper-slide-active,
    .special-sale-swiper .swiper-slide-next,
    .special-sale-swiper .swiper-slide-prev {
        opacity: 1;
        transform: scale(1);
    }

.special-sale-product-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 380px;
    height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 165, 0, 0.1);
    margin: 0 auto;
}

    .special-sale-product-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 165, 0, 0.3);
    }

.special-sale-product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

    .special-sale-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: all 0.4s ease;
    }

.special-sale-product-card:hover .special-sale-product-image img {
    transform: scale(1.15);
}

.special-sale-product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #FF6B00, #FF8E00);
    color: #FFFFFF;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.special-sale-product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1a1a1a;
}

    .special-sale-product-content h3 {
        font-size: 1.25rem;
        margin-bottom: 15px;
        color: #FFFFFF;
        line-height: 1.4;
        text-align: center;
    }

.special-sale-product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.special-sale-price {
    font-weight: 700;
    font-size: 1.4rem;
    color: #27AE60;
}

.special-sale-old-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.95rem;
}

.discount-percent {
    background: #E74C3C;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.special-sale-product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #bdc3c7;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.special-sale-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.special-sale-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(45deg, #FF6B00, #FF8E00);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

    .special-sale-btn:hover {
        background: linear-gradient(45deg, #E55A00, #E57A00);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    }

.compare-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #2c3e50;
    border: 2px solid #34495e;
    color: #ecf0f1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .compare-btn:hover {
        background: #3498DB;
        color: #FFFFFF;
        border-color: #3498DB;
    }

/* Swiper Navigation */
.special-sale-swiper-button-next,
.special-sale-swiper-button-prev {
    color: #FFFFFF;
    background: rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 165, 0, 0.5);
    margin-top: -30px;
}

    .special-sale-swiper-button-next::after,
    .special-sale-swiper-button-prev::after {
        display: none;
    }

    .special-sale-swiper-button-next:hover,
    .special-sale-swiper-button-prev:hover {
        background: rgba(255, 165, 0, 0.6);
        transform: scale(1.1);
    }

/* Footer Styles */
.special-sale-footer {
    text-align: center;
    margin-top: 60px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 165, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 165, 0, 0.4);
}

    .view-all-btn:hover {
        background: rgba(255, 165, 0, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

/* Responsive Styles */
@media (max-width: 991px) {
    .special-sale-section {
        margin: 30px 15px;
        border-radius: 25px;
    }

    .special-sale-title h2 {
        font-size: 2.5rem;
    }

    .special-sale-swiper {
        height: 500px;
    }

    .special-sale-product-card {
        height: 460px;
    }

    .special-sale-product-image {
        height: 250px;
    }

    .special-sale-swiper .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .special-sale-section {
        margin: 20px 10px;
        padding: 40px 0;
        border-radius: 20px;
    }

    .special-sale-title h2 {
        font-size: 2rem;
    }

    .special-sale-swiper {
        height: 480px;
    }

    .special-sale-product-card {
        height: 440px;
    }

    .special-sale-product-image {
        height: 230px;
    }

    .special-sale-swiper-button-next,
    .special-sale-swiper-button-prev {
        width: 50px;
        height: 50px;
        margin-top: -25px;
    }

    .view-all-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .special-sale-swiper .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }
}
/* New Custom Banner Section Styles */
.custom-banner-section {
    padding: 60px 0;
    background: var(--light-color);
}

.custom-banner-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.banner-image-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-banner-large:hover .banner-image {
    transform: scale(1.05);
}

.brand-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.banner-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.banner-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 15px 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--white);
    font-weight: 700;
}

.banner-description {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

    .banner-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    }

.custom-banner-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.custom-banner-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .custom-banner-small:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

        .custom-banner-small:hover .banner-image {
            transform: scale(1.08);
        }

    .custom-banner-small .banner-content {
        padding: 20px;
        align-items: flex-start;
    }

    .custom-banner-small .banner-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: var(--secondary-color);
        padding: 12px 16px;
        margin-top: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .custom-banner-small .banner-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        color: var(--text-color);
        text-shadow: none;
    }

    .custom-banner-small .banner-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        background: transparent;
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        box-shadow: none;
    }

        .custom-banner-small .banner-btn:hover {
            background: var(--primary-color);
            color: var(--white);
        }

/* Responsive Styles */
@media (max-width: 992px) {
    .custom-banner-large {
        min-height: 400px;
    }

    .banner-content {
        padding: 25px;
    }

    .banner-title {
        font-size: 1.6rem;
        padding: 12px 18px;
    }

    .brand-logo {
        width: 70px;
        height: 70px;
    }

    .custom-banner-small {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .custom-banner-section {
        padding: 40px 0;
    }

    .custom-banner-large {
        min-height: 350px;
    }

    .banner-content {
        padding: 20px;
    }

    .banner-title {
        font-size: 1.4rem;
        padding: 10px 15px;
    }

    .custom-banner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .custom-banner-small {
        height: 250px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .custom-banner-large {
        min-height: 300px;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-title {
        font-size: 1.2rem;
        padding: 8px 12px;
        margin-top: 15px;
    }

    .banner-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .banner-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .custom-banner-small {
        height: 220px;
    }

        .custom-banner-small .banner-content {
            padding: 15px;
        }

        .custom-banner-small .banner-title {
            font-size: 1.1rem;
            padding: 8px 12px;
        }

    .brand-logo {
        width: 50px;
        height: 50px;
        top: 10px;
        left: 10px;
    }
}
.custom-banner-section {
    padding: 60px 0;
    background: var(--light-color);
}

.custom-banner-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.banner-image-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-banner-large:hover .banner-image {
    transform: scale(1.05);
}

.brand-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.banner-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.banner-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.banner-description {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    align-self: flex-start;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-banner-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.custom-banner-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px; /* افزایش ارتفاع بنرهای کوچک */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-banner-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.custom-banner-small:hover .banner-image {
    transform: scale(1.08);
}

.custom-banner-small .banner-content {
    padding: 20px;
    background: linear-gradient(to bottom, 
                rgba(0,0,0,0.7) 0%, 
                rgba(0,0,0,0.4) 50%, 
                rgba(0,0,0,0.7) 100%);
}

.custom-banner-small .banner-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
}

.custom-banner-small .banner-description {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.custom-banner-small .banner-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .custom-banner-large {
        min-height: 350px;
    }
    
    .banner-content {
        padding: 25px;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
    }
    
    .custom-banner-small {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .custom-banner-section {
        padding: 40px 0;
    }
    
    .custom-banner-large {
        min-height: 300px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 1.4rem;
    }
    
    .custom-banner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .custom-banner-small {
        height: 240px;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 576px) {
    .custom-banner-large {
        min-height: 250px;
    }
    
    .banner-content {
        padding: 15px;
    }
    
    .banner-title {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
    
    .banner-description {
        font-size: 0.9rem;
    }
    
    .banner-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .custom-banner-small {
        height: 220px;
    }
    
    .custom-banner-small .banner-content {
        padding: 15px;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
        top: 10px;
        left: 10px;
    }
}
/* Custom Banner Section Styles */
.custom-banner-section {
    padding: 60px 0;
    background: var(--light-color);
}

.custom-banner-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--white);
    height: 400px;
    width: 100%;
}

.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-banner-large:hover .banner-image {
    transform: scale(1.05);
}

.custom-banner-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.custom-banner-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .custom-banner-small:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

        .custom-banner-small:hover .banner-image {
            transform: scale(1.08);
        }

/* استایل محتوای بنر - اصلاح شده */
.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.banner-title {
    align-self: flex-end; /* برای سمت راست */
    background: rgba(255, 255, 255, 0.8); /* شیشه‌ای روشن‌تر */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 8px 16px;
    color: #333; /* رنگ متن تیره‌تر برای خوانایی */
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0;
    margin-left: auto; /* برای اطمینان از قرارگیری در سمت راست */
}

/* استایل دکمه - اصلاح شده */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    align-self: flex-end; /* برای سمت راست */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto; /* برای اطمینان از قرارگیری در سمت راست */
}

    .btn:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: var(--white);
    }

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-banner-section {
        padding: 40px 0;
    }

    .custom-banner-large {
        height: 300px;
        margin-bottom: 20px;
    }

    .custom-banner-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .custom-banner-small {
        height: 200px;
    }

    .banner-content {
        padding: 15px;
    }

    .banner-title {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .custom-banner-large {
        height: 250px;
    }

    .custom-banner-small {
        height: 180px;
    }

    .banner-content {
        padding: 10px;
    }
}
/* Modern FAQ Section - Fixed Mobile Closing */
.modern-faq {
    background: var(--light-color);
    padding: 80px 0;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop Two Column Layout - بدون تغییر */
.desktop-view {
    display: block;
}

.faq-two-column {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin: 50px 0;
}

/* Questions Side - بدون تغییر */
.faq-questions-side {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: fit-content;
}

.faq-questions-list {
    display: flex;
    flex-direction: column;
}

.faq-question-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .faq-question-item:last-child {
        border-bottom: none;
    }

    .faq-question-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, rgba(255,107,0,0.1) 0%, transparent 100%);
        transition: width 0.3s ease;
    }

    .faq-question-item:hover::before,
    .faq-question-item.active::before {
        width: 4px;
    }

    .faq-question-item:hover {
        background: #fafafa;
        transform: translateX(-5px);
    }

    .faq-question-item.active {
        background: rgba(255, 107, 0, 0.05);
        border-right: 3px solid var(--primary-color);
    }

.question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.question-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-question-item.active .question-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.question-text h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.question-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.question-indicator {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.faq-question-item.active .question-indicator {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Answers Side - بدون تغییر */
.faq-answers-side {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.faq-answer-content {
    position: relative;
    min-height: 500px;
}

.answer-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    height: 100%;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 4rem;
    color: rgba(255, 107, 0, 0.2);
    margin-bottom: 20px;
}

.answer-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.faq-answer {
    display: none;
    padding: 0;
    animation: fadeInUp 0.5s ease;
}

    .faq-answer.active {
        display: block;
    }

.answer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.answer-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.answer-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.answer-body {
    padding: 30px;
}

.answer-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

    .answer-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .answer-item h4 {
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 10px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .answer-item p {
        color: var(--text-color);
        line-height: 1.7;
        margin: 0;
        font-size: 0.95rem;
    }

/* Mobile Accordion Layout - اصلاح‌شده */
.mobile-view {
    display: none;
}

.mobile-faq-accordion {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 30px 0;
}

.mobile-faq-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .mobile-faq-item:last-child {
        border-bottom: none;
    }

    .mobile-faq-item.active {
        background: rgba(255, 107, 0, 0.03);
    }

.mobile-faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .mobile-faq-question:hover {
        background: #fafafa;
    }

.mobile-faq-item.active .mobile-faq-question {
    background: rgba(255, 107, 0, 0.05);
}

.mobile-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.mobile-question-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-faq-item.active .mobile-question-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.mobile-question-text h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.mobile-question-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.mobile-faq-toggle {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-faq-item.active .mobile-faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* اصلاح مهم: حل مشکل بسته‌نشدن کامل */
.mobile-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
    opacity: 0;
    visibility: hidden;
}

.mobile-faq-item.active .mobile-faq-answer {
    max-height: 2000px;
    padding: 0 20px 20px;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.mobile-answer-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

    .mobile-answer-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .mobile-answer-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        color: var(--secondary-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-answer-item p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-color);
        margin: 0;
    }

/* FAQ Contact CTA */
.faq-contact-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-contact-cta .btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.faq-contact-cta .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

    .faq-contact-cta .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    }

.faq-contact-cta .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

    .faq-contact-cta .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-3px);
    }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .modern-faq {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .faq-contact-cta {
        padding: 30px 25px;
        margin-top: 30px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-contact-cta .btn {
        width: 200px;
    }

    .mobile-faq-question {
        padding: 18px;
    }

    .mobile-question-content {
        gap: 12px;
    }

    .mobile-question-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .mobile-faq-item.active .mobile-faq-answer {
        padding: 0 18px 18px;
    }
}

@media (max-width: 576px) {
    .modern-faq {
        padding: 50px 0;
    }

    .mobile-faq-accordion {
        margin: 20px 0;
        border-radius: 12px;
    }

    .mobile-faq-question {
        padding: 16px;
    }

    .mobile-question-content {
        gap: 10px;
    }

    .mobile-question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mobile-question-text h3 {
        font-size: 1rem;
    }

    .mobile-question-text p {
        font-size: 0.8rem;
    }

    .mobile-answer-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

        .mobile-answer-item h4 {
            font-size: 0.95rem;
        }

        .mobile-answer-item p {
            font-size: 0.85rem;
        }

    .mobile-faq-item.active .mobile-faq-answer {
        padding: 0 16px 16px;
    }

    .faq-contact-cta {
        padding: 25px 20px;
        margin-top: 25px;
        border-radius: 12px;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }
}
/* Modern FAQ Section - Completely Fixed */
.modern-faq {
    background: var(--light-color);
    padding: 80px 0;
}

.faq-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop Two Column Layout */
.desktop-view {
    display: block;
}

.faq-two-column {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin: 50px 0;
}

/* Questions Side */
.faq-questions-side {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: fit-content;
}

.faq-questions-list {
    display: flex;
    flex-direction: column;
}

.faq-question-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

    .faq-question-item:last-child {
        border-bottom: none;
    }

    .faq-question-item::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, rgba(255,107,0,0.1) 0%, transparent 100%);
        transition: width 0.3s ease;
    }

    .faq-question-item:hover::before,
    .faq-question-item.active::before {
        width: 4px;
    }

    .faq-question-item:hover {
        background: #fafafa;
        transform: translateX(-5px);
    }

    .faq-question-item.active {
        background: rgba(255, 107, 0, 0.05);
        border-right: 3px solid var(--primary-color);
    }

.question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.question-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faq-question-item.active .question-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.question-text h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.question-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.question-indicator {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.faq-question-item.active .question-indicator {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Answers Side */
.faq-answers-side {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.faq-answer-content {
    position: relative;
    min-height: 500px;
}

.answer-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    height: 100%;
    color: var(--text-light);
}

.placeholder-icon {
    font-size: 4rem;
    color: rgba(255, 107, 0, 0.2);
    margin-bottom: 20px;
}

.answer-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.faq-answer {
    display: none;
    padding: 0;
    animation: fadeInUp 0.5s ease;
}

    .faq-answer.active {
        display: block;
    }

.answer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.answer-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.answer-header h3 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.answer-body {
    padding: 30px;
}

.answer-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

    .answer-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .answer-item h4 {
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 10px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .answer-item p {
        color: var(--text-color);
        line-height: 1.7;
        margin: 0;
        font-size: 0.95rem;
    }

/* Mobile Accordion Layout - کاملاً اصلاح‌شده */
.mobile-view {
    display: none;
}

.mobile-faq-accordion {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 30px 0;
}

.mobile-faq-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .mobile-faq-item:last-child {
        border-bottom: none;
    }

    .mobile-faq-item.active {
        background: rgba(255, 107, 0, 0.03);
    }

.mobile-faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .mobile-faq-question:hover {
        background: #fafafa;
    }

.mobile-faq-item.active .mobile-faq-question {
    background: rgba(255, 107, 0, 0.05);
}

.mobile-question-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.mobile-question-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-faq-item.active .mobile-question-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.mobile-question-text h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.mobile-question-text p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.mobile-faq-toggle {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-faq-item.active .mobile-faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* اصلاح اساسی: ساختار جدید برای پاسخ‌ها */
.mobile-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.mobile-faq-item.active .mobile-faq-answer {
    max-height: 2000px;
    transition: max-height 0.4s ease-in-out;
}

.mobile-answer-content {
    padding: 0 20px 20px;
    background: #fafafa;
}

.mobile-answer-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

    .mobile-answer-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .mobile-answer-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        color: var(--secondary-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-answer-item p {
        font-size: 0.9rem;
        line-height: 1.6;
        color: var(--text-color);
        margin: 0;
    }

/* FAQ Contact CTA */
.faq-contact-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-contact-cta .btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.faq-contact-cta .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

    .faq-contact-cta .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    }

.faq-contact-cta .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

    .faq-contact-cta .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-3px);
    }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .modern-faq {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .faq-contact-cta {
        padding: 30px 25px;
        margin-top: 30px;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-contact-cta .btn {
        width: 200px;
    }

    .mobile-faq-question {
        padding: 18px;
    }

    .mobile-question-content {
        gap: 12px;
    }

    .mobile-question-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .mobile-answer-content {
        padding: 0 18px 18px;
    }
}

@media (max-width: 576px) {
    .modern-faq {
        padding: 50px 0;
    }

    .mobile-faq-accordion {
        margin: 20px 0;
        border-radius: 12px;
    }

    .mobile-faq-question {
        padding: 16px;
    }

    .mobile-question-content {
        gap: 10px;
    }

    .mobile-question-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mobile-question-text h3 {
        font-size: 1rem;
    }

    .mobile-question-text p {
        font-size: 0.8rem;
    }

    .mobile-answer-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

        .mobile-answer-item h4 {
            font-size: 0.95rem;
        }

        .mobile-answer-item p {
            font-size: 0.85rem;
        }

    .mobile-answer-content {
        padding: 0 16px 16px;
    }

    .faq-contact-cta {
        padding: 25px 20px;
        margin-top: 25px;
        border-radius: 12px;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }
}