﻿/* ============================================
           RIHANO — فروشگاهی، پویا و پرانیمیشن
           ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
           COLORS
           ============================================ */
.text-gold {
    color: #F4B400;
}

.text-navy {
    color: #003366;
}

.bg-navy {
    background-color: #003366;
}

.bg-gold {
    background-color: #F4B400;
}

.border-gold {
    border-color: #F4B400;
}

/* ============================================
           BUTTONS
           ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, #003366, #002244);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.25);
}

    .btn-primary-custom:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 51, 102, 0.35);
        color: #fff;
    }

    .btn-primary-custom::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: 0.8s;
    }

    .btn-primary-custom:hover::after {
        left: 100%;
    }

.btn-gold-custom {
    background: linear-gradient(135deg, #F4B400, #d49d00);
    color: #003366;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(244, 180, 0, 0.3);
}

    .btn-gold-custom:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 40px rgba(244, 180, 0, 0.45);
        color: #003366;
    }

.btn-outline-custom {
    background: transparent;
    color: #003366;
    border: 2px solid #003366;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    display: inline-block;
    text-decoration: none;
}

    .btn-outline-custom:hover {
        background: #003366;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 51, 102, 0.2);
    }

/* ============================================
           HEADER — با انیمیشن
           ============================================ */
.navbar {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.5s ease;
    animation: slideDown 0.6s ease-out;
}

    .navbar.scrolled {
        padding: 10px 0;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    }

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.4s ease;
}

    .brand:hover {
        transform: scale(1.03);
    }

.brand-icon {
    background: linear-gradient(135deg, #003366, #002244);
    color: #F4B400;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
    transition: transform 0.4s ease;
}

.brand:hover .brand-icon {
    transform: rotate(-6deg) scale(1.05);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #003366;
    line-height: 1.1;
}

    .brand-text small {
        display: block;
        font-size: 0.6rem;
        font-weight: 400;
        color: #999;
        letter-spacing: 2px;
    }

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

    .nav-links a {
        text-decoration: none;
        color: #444;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 50px;
        transition: all 0.4s ease;
        font-size: 0.95rem;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 2px;
            right: 50%;
            width: 0;
            height: 2px;
            background: #F4B400;
            transition: all 0.4s ease;
            transform: translateX(50%);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 60%;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #003366;
            background: rgba(0, 51, 102, 0.06);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .nav-actions .action-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: transparent;
        color: #444;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

        .nav-actions .action-btn:hover {
            background: rgba(244, 180, 0, 0.15);
            color: #F4B400;
            transform: translateY(-3px) rotate(-4deg);
        }

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #F4B400;
    color: #003366;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* ============================================
           HERO — با انیمیشن‌های ورود
           ============================================ */
.hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

    .hero::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 60%;
        height: 150%;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.04), transparent 70%);
        pointer-events: none;
        animation: floatBg 20s ease-in-out infinite;
    }

@keyframes floatBg {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 30px) scale(1.05);
    }
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    animation: floatBottle 6s ease-in-out infinite;
}

@keyframes floatBottle {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image img {
    max-width: 100%;
    max-height: 480px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    transition: transform 0.8s ease;
}

    .hero-image img:hover {
        transform: scale(1.02) rotate(-2deg);
    }

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #003366, #002244);
    color: #fff;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    color: #003366;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

    .hero h1 .highlight {
        position: relative;
        display: inline-block;
    }

        .hero h1 .highlight::after {
            content: '';
            position: absolute;
            bottom: 5px;
            right: 0;
            width: 100%;
            height: 8px;
            background: rgba(244, 180, 0, 0.3);
            border-radius: 4px;
            animation: underlineGrow 1.5s ease 0.8s both;
        }

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    animation: fadeInUp 0.8s ease 1s both;
}

    .hero-stats .stat {
        text-align: center;
        transition: transform 0.4s ease;
    }

        .hero-stats .stat:hover {
            transform: translateY(-5px);
        }

        .hero-stats .stat strong {
            display: block;
            font-size: 1.6rem;
            color: #003366;
            font-weight: 800;
        }

        .hero-stats .stat span {
            font-size: 0.85rem;
            color: #888;
        }

/* ============================================
           CATEGORIES BAR — با انیمیشن
           ============================================ */
.categories-bar {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 72px;
    z-index: 50;
    animation: slideDown 0.6s ease 0.3s both;
}

    .categories-bar .container {
        display: flex;
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
    }

    .categories-bar a {
        text-decoration: none;
        color: #555;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 6px 0;
        border-bottom: 3px solid transparent;
        transition: all 0.4s ease;
        position: relative;
    }

        .categories-bar a::before {
            content: '';
            position: absolute;
            bottom: -3px;
            right: 50%;
            width: 0;
            height: 3px;
            background: #F4B400;
            transition: all 0.4s ease;
            transform: translateX(50%);
        }

        .categories-bar a:hover::before,
        .categories-bar a.active::before {
            width: 100%;
        }

        .categories-bar a:hover,
        .categories-bar a.active {
            color: #003366;
        }

/* ============================================
   PRODUCTS — ENHANCED STYLES
   ============================================ */
.section-header .eyebrow {
    display: inline-block;
    background: rgba(244, 180, 0, 0.12);
    color: #F4B400;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top:0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
    position: relative;
}

    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
        border-color: #F4B400;
    }

.product-image {
    height: 260px;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    .product-image img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.7s cubic-bezier(.34, 1.56, .64, 1);
    }

.product-card:hover .product-image img {
    transform: scale(1.06) rotate(-2deg);
}

.product-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #F4B400, #d49d00);
    color: #003366;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(244, 180, 0, 0.25);
}

    .product-tag.sale {
        background: linear-gradient(135deg, #003366, #002244);
        color: #fff;
        box-shadow: 0 4px 15px rgba(0, 51, 102, 0.25);
    }

.quick-actions {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
    opacity: 0;
    z-index: 3;
}

.product-card:hover .quick-actions {
    bottom: 16px;
    opacity: 1;
}

.quick-actions button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    color: #003366;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

    .quick-actions button:hover {
        background: #F4B400;
        color: #003366;
        transform: scale(1.12) rotate(-4deg);
    }

.product-info {
    padding: 18px 18px 22px;
}

    .product-info .rating {
        display: flex;
        align-items: center;
        gap: 3px;
        color: #F4B400;
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

        .product-info .rating .rating-number {
            color: #666;
            font-weight: 600;
            margin-right: 4px;
            font-size: 0.85rem;
        }

        .product-info .rating .fa-regular {
            color: #ddd;
        }

    .product-info h4 {
        font-weight: 700;
        color: #003366;
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .product-info .category {
        font-size: 0.8rem;
        color: #aaa;
        margin-bottom: 10px;
    }

    .product-info .price-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

        .product-info .price-row .current {
            font-weight: 800;
            font-size: 1.1rem;
            color: #003366;
        }

        .product-info .price-row .old {
            color: #bbb;
            text-decoration: line-through;
            font-size: 0.9rem;
        }

.add-to-cart-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #003366;
    background: transparent;
    border-radius: 50px;
    color: #003366;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .add-to-cart-btn:hover {
        background: #003366;
        color: #fff;
        transform: scale(1.02);
    }

    .add-to-cart-btn.added {
        background: #F4B400;
        border-color: #F4B400;
        color: #003366;
    }

/* Responsive */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .product-image {
        height: 180px;
        padding: 12px;
    }

    .product-info {
        padding: 12px 12px 16px;
    }

        .product-info h4 {
            font-size: 0.95rem;
        }

        .product-info .price-row .current {
            font-size: 0.95rem;
        }

    .add-to-cart-btn {
        font-size: 0.8rem;
        padding: 10px;
    }

    .quick-actions {
        display: none;
    }

    .product-tag {
        font-size: 0.6rem;
        padding: 3px 10px;
        top: 10px;
        right: 10px;
    }
}

/* ============================================
           BANNER COLLECTION
           ============================================ */
.banner-collection {
    padding: 50px 0;
}

.banner-box {
    background: linear-gradient(135deg, #003366, #002244);
    border-radius: 28px;
    padding: 50px 45px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

    .banner-box:hover {
        transform: scale(1.005);
    }

    .banner-box::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: radial-gradient(circle, rgba(244, 180, 0, 0.08), transparent 60%);
        animation: floatBg 15s ease-in-out infinite;
    }

    .banner-box h2 {
        font-size: 2.4rem;
        font-weight: 800;
        position: relative;
        z-index: 2;
    }

    .banner-box .gold {
        color: #F4B400;
    }

    .banner-box p {
        opacity: 0.8;
        max-width: 450px;
        position: relative;
        z-index: 2;
    }

    .banner-box .banner-icon {
        font-size: 4rem;
        opacity: 0.3;
        font-weight: 100;
        animation: pulse 3s ease-in-out infinite;
    }

/* ============================================
           TESTIMONIALS
           ============================================ */
.testimonials-section {
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

    .testimonial-card:hover {
        transform: translateY(-8px);
        border-color: #F4B400;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    }

    .testimonial-card .stars {
        color: #F4B400;
        margin-bottom: 8px;
        font-size: 1rem;
    }

    .testimonial-card p {
        color: #444;
        font-size: 0.95rem;
        margin-bottom: 14px;
        line-height: 1.7;
    }

    .testimonial-card .author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .testimonial-card .author img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #eee;
            border: 2px solid #F4B400;
            transition: transform 0.4s ease;
        }

    .testimonial-card:hover .author img {
        transform: scale(1.05);
    }

    .testimonial-card .author .name {
        font-weight: 700;
        color: #003366;
    }

    .testimonial-card .author .location {
        font-size: 0.8rem;
        color: #aaa;
    }

/* ============================================
           NEWSLETTER
           ============================================ */
.newsletter-section {
    padding: 50px 0 30px;
}

.newsletter-box {
    background: #f8f9fa;
    border-radius: 28px;
    padding: 40px 45px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #eee;
    transition: all 0.6s ease;
}

    .newsletter-box:hover {
        border-color: #F4B400;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    }

    .newsletter-box h3 {
        font-size: 1.5rem;
        font-weight: 800;
        color: #003366;
    }

    .newsletter-box p {
        color: #888;
    }

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .newsletter-form input {
        padding: 14px 22px;
        border: 2px solid #eee;
        border-radius: 50px;
        font-family: inherit;
        font-size: 0.95rem;
        min-width: 250px;
        transition: all 0.4s ease;
        background: #fff;
    }

        .newsletter-form input:focus {
            outline: none;
            border-color: #F4B400;
            box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.1);
        }

    .newsletter-form button {
        padding: 14px 32px;
        border: none;
        border-radius: 50px;
        background: linear-gradient(135deg, #003366, #002244);
        color: #fff;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        font-family: inherit;
    }

        .newsletter-form button:hover {
            transform: scale(1.03);
            box-shadow: 0 8px 25px rgba(0, 51, 102, 0.25);
        }

/* ============================================
           FOOTER
           ============================================ */
.footer {
    background: linear-gradient(135deg, #003366, #002244);
    color: #fff;
    padding: 50px 0 25px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #F4B400;
    font-weight: 700;
}

.footer ul {
    list-style: none;
}

    .footer ul li {
        margin-bottom: 8px;
    }

    .footer ul a {
        color: #ccc;
        text-decoration: none;
        transition: all 0.4s ease;
    }

        .footer ul a:hover {
            color: #F4B400;
            padding-right: 6px;
        }

.footer .socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

    .footer .socials a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        text-decoration: none;
    }

        .footer .socials a:hover {
            background: #F4B400;
            color: #003366;
            transform: translateY(-4px) scale(1.05);
        }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 30px;
    font-size: 0.85rem;
    color: #aaa;
}

/* ============================================
           RESPONSIVE
           ============================================ */
@media (max-width: 992px) {
    .navbar .container {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .banner-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

        .banner-box p {
            margin-left: auto;
            margin-right: auto;
        }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .newsletter-form {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-info h4 {
        font-size: 0.95rem;
    }

    .product-info .price-row .current {
        font-size: 0.95rem;
    }

    .add-to-cart-btn {
        font-size: 0.8rem;
        padding: 10px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .banner-box h2 {
        font-size: 1.6rem;
    }

    .categories-bar {
        top: 68px;
        padding: 12px 0;
    }

        .categories-bar .container {
            gap: 12px;
        }

        .categories-bar a {
            font-size: 0.8rem;
        }
}

/* ============================================
           AOS OVERRIDE
           ============================================ */
[data-aos] {
    pointer-events: none;
}

    [data-aos].aos-animate {
        pointer-events: auto;
    }
/* ============================================
       BLOG SECTION — مقالات صفحه اصلی
       ============================================ */

.blog-section {
    padding: 60px 0;
    background: #ffffff;
}

    .blog-section .section-header {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 3rem;
    }

        .blog-section .section-header .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.4rem 1.2rem;
            border: 1px solid #e5e7eb;
            border-radius: 999px;
            background: #f8fafc;
            font-size: 0.8rem;
            color: #6b7280;
            margin-bottom: 1rem;
            font-weight: 500;
        }

            .blog-section .section-header .eyebrow i {
                color: #F4B400;
            }

        .blog-section .section-header h2 {
            font-size: clamp(2rem, 3.4vw, 3rem);
            font-weight: 800;
            letter-spacing: -.02em;
            margin: 0.4rem 0 0.8rem;
            color: #003366;
        }

            .blog-section .section-header h2 .text-gold {
                color: #F4B400;
            }

        .blog-section .section-header p {
            color: #6b7280;
            margin: 0;
        }

/* ============================================
       BLOG GRID
       ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 2.5rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    transition: all 0.5s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
        border-color: #F4B400;
    }

    /* ============================================
       BLOG IMAGE
       ============================================ */
    .blog-card .blog-image {
        height: 200px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #f0f2f5, #e5e7eb);
    }

        .blog-card .blog-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(.34, 1.56, .64, 1);
        }

    .blog-card:hover .blog-image img {
        transform: scale(1.05);
    }

    .blog-card .blog-image .blog-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        padding: 4px 14px;
        border-radius: 50px;
        font-size: 0.65rem;
        font-weight: 700;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

        .blog-card .blog-image .blog-badge.popular {
            background: linear-gradient(135deg, #F4B400, #d49d00);
            color: #003366;
        }

        .blog-card .blog-image .blog-badge.new {
            background: linear-gradient(135deg, #24c06d, #1a9e58);
            color: #fff;
        }

        .blog-card .blog-image .blog-badge.guide {
            background: linear-gradient(135deg, #7e56c6, #5a3a9e);
            color: #fff;
        }

        .blog-card .blog-image .blog-badge.trend {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: #fff;
        }

    /* ============================================
       BLOG CONTENT
       ============================================ */
    .blog-card .blog-content {
        padding: 16px 18px 18px;
    }

        .blog-card .blog-content .blog-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            margin-bottom: 6px;
        }

            .blog-card .blog-content .blog-meta span {
                display: flex;
                align-items: center;
                gap: 4px;
                color: #9ca3af;
                font-size: 0.75rem;
            }

                .blog-card .blog-content .blog-meta span i {
                    color: #F4B400;
                    font-size: 0.7rem;
                }

        .blog-card .blog-content h4 {
            font-weight: 700;
            color: #003366;
            font-size: 1.05rem;
            margin-bottom: 4px;
            line-height: 1.4;
        }

        .blog-card .blog-content p {
            color: #6b7280;
            font-size: 0.9rem;
            line-height: 1.7;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .blog-card .blog-content .blog-read-more {
            color: #003366;
            font-weight: 600;
            font-size: 0.85rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all 0.4s ease;
            cursor: pointer;
        }

    .blog-card:hover .blog-content .blog-read-more {
        color: #F4B400;
        gap: 8px;
    }

    .blog-card .blog-content .blog-read-more i {
        transition: transform 0.4s ease;
    }

    .blog-card:hover .blog-content .blog-read-more i {
        transform: translateX(-4px);
    }

/* ============================================
       BLOG FOOTER
       ============================================ */
.blog-footer {
    text-align: center;
}

    .blog-footer .btn-gold-custom {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 36px;
        background: linear-gradient(135deg, #F4B400, #d49d00);
        color: #003366;
        border: none;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1rem;
        font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
        box-shadow: 0 4px 20px rgba(244, 180, 0, 0.25);
        cursor: pointer;
    }

        .blog-footer .btn-gold-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(244, 180, 0, 0.35);
            color: #003366;
            text-decoration: none;
        }

        .blog-footer .btn-gold-custom i {
            transition: transform 0.4s ease;
        }

        .blog-footer .btn-gold-custom:hover i {
            transform: translateX(-4px);
        }

/* ============================================
       RESPONSIVE
       ============================================ */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }

    .blog-card .blog-image {
        height: 160px;
    }

    .blog-card .blog-content {
        padding: 12px 14px 14px;
    }

        .blog-card .blog-content h4 {
            font-size: 0.95rem;
        }

        .blog-card .blog-content p {
            font-size: 0.85rem;
            -webkit-line-clamp: 1;
        }

        .blog-card .blog-content .blog-meta span {
            font-size: 0.65rem;
        }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .blog-card .blog-image {
        height: 130px;
    }

    .blog-card .blog-content {
        padding: 10px 12px 14px;
    }

        .blog-card .blog-content h4 {
            font-size: 0.85rem;
        }

        .blog-card .blog-content p {
            display: none;
        }

        .blog-card .blog-content .blog-meta {
            gap: 8px;
        }

            .blog-card .blog-content .blog-meta span {
                font-size: 0.6rem;
            }

    .blog-card .blog-image .blog-badge {
        font-size: 0.55rem;
        padding: 2px 10px;
        top: 8px;
        right: 8px;
    }

    .blog-card .blog-content .blog-read-more {
        font-size: 0.75rem;
    }

    .blog-footer .btn-gold-custom {
        font-size: 0.85rem;
        padding: 10px 24px;
    }
}

/* ============================================
       ANIMATIONS
       ============================================ */
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

    .blog-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .blog-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .blog-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .blog-card:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

