

/* ====== گالری ۴ تصویر در ۲×۲ ====== */
.hero-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ====== ریسپانسیو ====== */

/* تبلت */
@media (max-width: 992px) {
    .hero-gallery {
        grid-template-rows: 170px 170px;
        gap: 8px;
    }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
    .hero-gallery {
        grid-template-rows: 140px 140px;
        gap: 6px;
    }
}

/* موبایل کوچک */
@media (max-width: 576px) {
    .hero-gallery {
        grid-template-rows: 120px 120px;
        gap: 5px;
    }

    .floating-badge {
        transform: scale(0.8);
    }

    .floating-badge.top-0.start-0 {
        top: 6px;
        left: 6px;
    }

    .floating-badge.bottom-0.end-0 {
        bottom: 6px;
        right: 6px;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 400px) {
    .hero-gallery {
        grid-template-rows: 100px 100px;
        gap: 4px;
    }

    .floating-badge {
        transform: scale(0.7);
    }

    .floating-badge.top-0.start-0 {
        top: 4px;
        left: 4px;
    }

    .floating-badge.bottom-0.end-0 {
        bottom: 4px;
        right: 4px;
    }
}
    /* ====== استایل‌های اختصاصی ====== */
    .min-vh-75 {
        min-height: 75vh;
    }

    .text-gradient {
        background: linear-gradient(135deg, #2d8a4e, #4caf50, #66bb6a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-image-wrapper {
        position: relative;
    }

    .floating-badge {
        position: absolute;
    }

    .floating-badge.top-0.start-0 {
        top: 20px;
        left: 20px;
    }

    .floating-badge.bottom-0.end-0 {
        bottom: 20px;
        right: 20px;
    }

    .feature-card {
        transition: all 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.04);
        cursor: default;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    }

    .icon-circle {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(76, 175, 80, 0.12);
    }

    .bg-primary-soft {
        background: rgba(76, 175, 80, 0.12) !important;
    }

    .text-primary {
        color: #2d8a4e !important;
    }

    .btn-primary {
        background: #2d8a4e;
        border-color: #2d8a4e;
    }

    .btn-primary:hover {
        background: #1e6b38;
        border-color: #1e6b38;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(45, 138, 78, 0.3);
    }

    .btn-outline-primary {
        color: #2d8a4e;
        border-color: #2d8a4e;
    }

    .btn-outline-primary:hover {
        background: #2d8a4e;
        border-color: #2d8a4e;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(45, 138, 78, 0.2);
    }

    .product-card {
        transition: all 0.3s ease;
        position: relative;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    }

    .product-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
        z-index: 5;
        padding: 6px 14px;
    }

    .product-card .card-img-top {
        background: #f8f9fa;
    }

    .cta-box {
        background: linear-gradient(135deg, #1e6b38, #2d8a4e, #43a047);
    }

    .stats-section {
        background: linear-gradient(135deg, #1e6b38, #2d8a4e);
    }

    .hero-section {
        background: #fafffe;
        position: relative;
    }

    .hero-bg-shapes .shape {
        position: absolute;
        border-radius: 50%;
        opacity: 0.06;
        pointer-events: none;
    }

    .hero-bg-shapes .shape-1 {
        width: 400px;
        height: 400px;
        background: #2d8a4e;
        top: -100px;
        right: -100px;
    }

    .hero-bg-shapes .shape-2 {
        width: 300px;
        height: 300px;
        background: #4caf50;
        bottom: -80px;
        left: -80px;
    }

    .hero-bg-shapes .shape-3 {
        width: 200px;
        height: 200px;
        background: #66bb6a;
        top: 50%;
        right: 30%;
    }

    .transition {
        transition: all 0.3s ease;
    }

    .process-step {
        position: relative;
        padding: 20px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        transition: all 0.3s ease;
    }

    .process-step:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }

    .process-step .step-number {
        width: 40px;
        height: 40px;
        background: #2d8a4e;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin: 0 auto 12px;
    }

    .quality-badge {
        padding: 12px 24px;
        border-radius: 12px;
        font-weight: 600;
        display: inline-block;
    }

    .quality-a {
        background: #d4edda;
        color: #155724;
        border: 2px solid #28a745;
    }

    .quality-b {
        background: #fff3cd;
        color: #856404;
        border: 2px solid #ffc107;
    }

    .quality-c {
        background: #f8d7da;
        color: #721c24;
        border: 2px solid #dc3545;
    }

    .faq-item {
        border-bottom: 1px solid #e9ecef;
        padding: 16px 0;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-item h6 {
        color: #2d8a4e;
        font-weight: 700;
    }

    /* ====== ریسپانسیو ====== */
    @media (max-width: 1200px) {
        .display-3 {
            font-size: 3.5rem !important;
        }
    }

    @media (max-width: 992px) {
        .min-vh-75 {
            min-height: auto;
            padding: 50px 0;
        }

        .display-3 {
            font-size: 3rem !important;
        }

        .floating-badge {
            display: none;
        }

        .hero-bg-shapes {
            display: none !important;
        }

        .feature-card {
            padding: 1.5rem !important;
        }

        .icon-circle {
            width: 60px;
            height: 60px;
        }

        .icon-circle i {
            font-size: 1.8rem !important;
        }
    }

    @media (max-width: 768px) {
        .min-vh-75 {
            padding: 30px 0;
        }

        .display-3 {
            font-size: 2.5rem !important;
        }

        .hero-image-wrapper img {
            max-height: 300px !important;
        }

        .btn-lg {
            padding: 10px 24px !important;
            font-size: 0.95rem !important;
        }

        .feature-card {
            padding: 1.2rem !important;
        }

        .icon-circle {
            width: 52px;
            height: 52px;
        }

        .icon-circle i {
            font-size: 1.5rem !important;
        }

        .product-card .card-img-top {
            height: 180px !important;
        }

        .cta-box {
            padding: 2rem !important;
            border-radius: 24px !important;
        }

        .cta-box h2 {
            font-size: 1.5rem !important;
        }

        .stats-section .fs-1 {
            font-size: 2rem !important;
        }

        .stats-section h3 {
            font-size: 1.5rem !important;
        }
    }

    @media (max-width: 576px) {
        .min-vh-75 {
            padding: 20px 0;
        }

        .display-3 {
            font-size: 2rem !important;
        }

        .lead {
            font-size: 1rem !important;
        }

        .badge.fs-6 {
            font-size: 0.75rem !important;
            padding: 6px 16px !important;
        }

        .hero-image-wrapper img {
            max-height: 220px !important;
            border-radius: 16px !important;
        }

        .btn-lg {
            padding: 8px 18px !important;
            font-size: 0.85rem !important;
            border-radius: 50px !important;
        }

        .feature-card {
            padding: 1rem !important;
        }

        .icon-circle {
            width: 48px;
            height: 48px;
        }

        .icon-circle i {
            font-size: 1.3rem !important;
        }

        .feature-card h5 {
            font-size: 0.95rem !important;
        }

        .feature-card p {
            font-size: 0.8rem !important;
        }

        .product-card .card-img-top {
            height: 150px !important;
        }

        .product-card .card-body {
            padding: 1rem !important;
        }

        .product-card h5 {
            font-size: 0.95rem !important;
        }

        .product-card .fs-5 {
            font-size: 1rem !important;
        }

        .product-card .btn {
            font-size: 0.8rem !important;
            padding: 6px 12px !important;
        }

        .product-badge {
            font-size: 0.65rem !important;
            padding: 4px 10px !important;
            top: 8px;
            right: 8px;
        }

        .cta-box {
            padding: 1.5rem !important;
            border-radius: 20px !important;
        }

        .cta-box h2 {
            font-size: 1.2rem !important;
        }

        .cta-box p {
            font-size: 0.85rem !important;
        }

        .stats-section .fs-1 {
            font-size: 1.6rem !important;
        }

        .stats-section h3 {
            font-size: 1.2rem !important;
        }

        .stats-section p {
            font-size: 0.8rem !important;
        }

        .gap-3 {
            gap: 0.6rem !important;
        }

        .d-flex.flex-wrap {
            gap: 0.6rem !important;
        }

        .process-step {
            padding: 16px;
        }

        .quality-badge {
            padding: 8px 16px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 400px) {
        .display-3 {
            font-size: 1.6rem !important;
        }

        .hero-image-wrapper img {
            max-height: 180px !important;
        }

        .btn-lg {
            padding: 6px 14px !important;
            font-size: 0.75rem !important;
        }

        .product-card .card-img-top {
            height: 130px !important;
        }

        .cta-box {
            padding: 1.2rem !important;
        }

        .cta-box h2 {
            font-size: 1rem !important;
        }

        .stats-section .fs-1 {
            font-size: 1.3rem !important;
        }

        .stats-section h3 {
            font-size: 1rem !important;
        }
    }

    /* ====== انیمیشن ریسپانسیو AOS ====== */
    @media (max-width: 768px) {
        [data-aos] {
            opacity: 1 !important;
            transform: none !important;
        }
    }