/* ========== HOME PAGE STYLES ========== */
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: left;
}

.hero-section .display-4 {
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-section .text-warning {
    color: var(--warning-400) !important;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-img {
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Statistics */
.stat-item h3 {
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-item .text-warning {
    color: var(--warning-400) !important;
}

.stat-item p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Product card */
.product-card {
    position: relative;
    overflow: hidden;
}

.category-card,
.product-card {
    border: 1px solid var(--gray-300) !important;
    background: var(--white);
    transition: all 0.3s ease;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15) !important;
    border-color: var(--primary-300) !important;
}

.category-card .card-body,
.product-card .card-body {
    padding: 24px;
}

/* Product Overlay */
.product-overlay {
    background: rgba(37, 99, 235, 0.9);
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1 !important;
}

.product-image {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Images */
.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-300);
}

.feature-card h5 {
    color: var(--gray-900);
    font-weight: 700;
    margin: 20px 0 12px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Section Styles */
.categories-section,
.popular-products {
    padding: 80px 0;
}

.featured-products,
.features-section {
    padding: 80px 0;
}

.section-title {
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card,
.product-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ========== TESTIMONIALS SECTION STYLES ========== */
.testimonials-section {
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: var(--primary-100);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-300);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info h6 {
    color: var(--gray-900);
    margin-bottom: 4px;
}

.author-info small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Trust Indicators */
.trust-indicators {
    border-top: 1px solid var(--gray-200);
    padding-top: 40px;
}

.trust-item {
    padding: 16px;
}

.trust-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.trust-item p {
    font-size: 0.9rem;
}

/* Animation for testimonials */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Home Page Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .categories-section,
    .featured-products,
    .popular-products,
    .features-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 24px;
        margin-bottom: 20px;
    }

    .testimonial-card::before {
        top: 15px;
        right: 20px;
        font-size: 60px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .trust-item h3 {
        font-size: 2rem;
    }

    .trust-item {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section .display-4 {
        font-size: 1.75rem;
    }

    .testimonials-section {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 20px;
    }

    .trust-item h3 {
        font-size: 1.75rem;
    }
}