/* ========================================
   Recommendations Section - Modern Design
   ======================================== */

/* Recommendations Section Background */

/* Recommendations Section Background */
#recommendations {
    background: #fff !important;
}

html.dark #recommendations {
    background: #000 !important;
}

/* Recommendations Grid */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (width >=1024px) {
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Recommendation Card */
.recommendation-card {
    background: #fff !important;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgb(0 0 0 / 6%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

html.dark .recommendation-card {
    background: #000 !important;
    border-color: rgb(255 255 255 / 10%);
    box-shadow: 0 18px 48px rgb(0 0 0 / 45%);
}

html.dark .recommendation-card:hover {
    box-shadow: 0 20px 56px rgb(0 0 0 / 55%);
}

/* Quote Section */
.recommendation-quote {
    position: relative;
    flex: 1;
}

.quote-icon {
    font-size: 1.25rem;
    color: #0071e3;
    opacity: 0.2;
    margin-bottom: 0.5rem;
}

html.dark .quote-icon {
    color: #2997ff;
}

.recommendation-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}

html.dark .recommendation-text {
    color: #d1d1d6;
}

html:not(.dark) .recommendation-text {
    color: #1d1d1f;
}

/* Author Section */
.recommendation-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

html.dark .recommendation-author {
    border-top-color: rgb(255 255 255 / 10%);
}

html:not(.dark) .recommendation-author {
    border-top-color: #d2d2d7;
}

/* Author Avatar */
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #2997ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(0 113 227 / 30%);
}

.author-avatar i {
    font-size: 1rem;
    color: #fff;
}

/* Author Info */
.author-info {
    flex: 1;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.125rem;
}

html.dark .author-name {
    color: #f5f5f7;
}

html:not(.dark) .author-name {
    color: #1d1d1f;
}

.author-title {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

html.dark .author-title {
    color: #86868b;
}

html:not(.dark) .author-title {
    color: #6e6e73;
}

.author-company {
    font-size: 0.75rem;
    color: #0071e3;
    margin: 0.125rem 0 0;
    font-weight: 500;
}

html.dark .author-company {
    color: #2997ff;
}

/* Responsive Design */
@media (width <=768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .recommendation-card {
        padding: 1rem;
    }

    .quote-icon {
        font-size: 1rem;
    }

    .recommendation-text {
        font-size: 0.8125rem;
    }

    .author-avatar {
        width: 36px;
        height: 36px;
    }

    .author-avatar i {
        font-size: 0.875rem;
    }

    .author-name {
        font-size: 0.875rem;
    }

    .author-title {
        font-size: 0.75rem;
    }

    .author-company {
        font-size: 0.6875rem;
    }
}

/* Animation */

/* Animation removed for performance and visibility */