/* Average AI Joe - Lifehacker-Inspired Clean Design */
:root {
    /* Clean Professional Color System - Inspired by Lifehacker */
    --primary-color: #000000;        /* Pure black - maximum impact and readability */
    --primary-dark: #000000;         /* Black for hovers */
    --primary-light: #f5f5f5;        /* Very light gray background */
    
    --secondary-color: #333333;      /* Dark gray - professional secondary */
    --accent-color: #007c40;         /* Clean green accent */
    --warning-color: #ff6600;        /* Orange accent */
    --bs-warning: #ffc107;           /* Bootstrap warning color for stars */
    --danger-color: #cc0000;         /* Red for alerts */
    
    /* Typography Colors - Maximum Readability */
    --text-primary: #000000;         /* Pure black for headings - maximum contrast */
    --text-secondary: #333333;       /* Dark gray for body text - excellent readability */
    --text-muted: #666666;          /* Medium gray - still highly readable */
    --text-light: #999999;          /* Light gray for captions */
    
    /* Background System - Clean & Simple */
    --bg-white: #ffffff;            /* Pure white backgrounds */
    --bg-light: #f8f9fa;            /* Subtle light gray */
    --bg-border: #e9ecef;           /* Light border color */
    --bg-section: #f5f5f5;          /* Section backgrounds */
    
    /* Border System */
    --border-color: #e0e0e0;        /* Clean light borders */
    --border-color-dark: #cccccc;   /* Medium borders */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Design System */
    --border-radius: 4px;
    --border-radius-lg: 6px;
    --border-radius-xl: 8px;
    --transition: all 0.2s ease;
}

/* Global Styles - Lifehacker-Inspired Clean Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;               /* Clean, readable line height */
    color: var(--text-secondary);   /* High contrast dark gray */
    background-color: var(--bg-white);
    font-size: 16px;                /* Standard readable font size */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Typography Hierarchy - Clean & Professional */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;               /* Clean, tight line height for headings */
    color: var(--text-primary);     /* Pure black for maximum impact */
    letter-spacing: -0.01em;        /* Subtle letter spacing */
    margin-bottom: 1rem;
    margin-top: 0;
}

h1 { font-size: 2.25rem; font-weight: 700; }  /* Hero headlines */
h2 { font-size: 1.75rem; font-weight: 700; }  /* Section headers */
h3 { font-size: 1.5rem; font-weight: 600; }   /* Subsection headers */
h4 { font-size: 1.25rem; font-weight: 600; }  /* Card titles */
h5 { font-size: 1.125rem; font-weight: 600; } /* Small headers */
h6 { font-size: 1rem; font-weight: 600; }     /* Labels */

.lead {
    font-size: 1.25rem;             /* Prominent but not overwhelming */
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Body text - Clean & Readable */
p {
    margin-bottom: 1rem;
    line-height: 1.6;               /* Clean, readable line height */
    color: var(--text-secondary);
}

/* Article content styling */
.article-content p,
.card-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Improved text readability */
.card-title {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-light-gray {
    color: var(--text-light) !important;
}

/* Clean Text Classes - Lifehacker Style */
.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-dark {
    color: var(--text-primary) !important;
}

/* Improved muted text - High readability */
.text-muted {
    color: var(--text-muted) !important;
    font-weight: 400;               /* Normal weight for better readability */
}

/* Small text improvements */
small, .small {
    font-size: 0.875rem;            /* Standard small text size */
    color: var(--text-muted);
    font-weight: 400;
}

small.text-muted,
.small.text-muted {
    color: var(--text-muted) !important;
    font-weight: 400;
}

/* Footer text improvements */
.footer .text-muted {
    color: var(--text-light) !important;
    font-weight: 400;
}

.footer .text-muted:hover {
    color: var(--text-secondary) !important;
    transition: color 0.2s ease;
}

/* White text with proper contrast on colored backgrounds */
.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

/* Better opacity handling */
.opacity-75 {
    opacity: 0.9 !important;
}

/* Button System - Clean & Modern */
.btn {
    font-weight: 500;
    border-radius: 4px;             /* Clean, subtle rounding */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-width: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--text-secondary);
    border-color: var(--text-secondary);
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, #047857 100%);
    border-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #065F46 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Card System - Clean & Simple */
.card {
    border-radius: var(--border-radius);
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background-color: var(--bg-white);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.card-header {
    background-color: var(--bg-gray-50);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: var(--bg-gray-50);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

/* World-Class Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cookie-modal-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cookie-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--warning-color) 0%, #F59E0B 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.cookie-close-btn:hover {
    background-color: var(--bg-gray-100);
    color: var(--text-primary);
}

.cookie-modal-body {
    padding: 1rem 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-categories {
    margin: 1rem 0;
}

.cookie-category {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cookie-modal-footer .btn {
    flex: 1;
    max-width: 150px;
}

/* Form Controls */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Navigation - Clean & Simple */
.navbar {
    padding: 1rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: var(--bg-light);
    color: var(--text-primary) !important;
}

/* Hero Section - Clean & Professional */
.hero-section {
    background-color: var(--bg-white) !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

/* Override any Bootstrap background classes */
.hero-section.bg-gradient-primary {
    background: var(--bg-white) !important;
    color: var(--text-primary) !important;
}

/* Text warning color for stars */
.text-warning {
    color: #ffc107 !important;
}
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(124, 58, 237, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Rating Stars */
.rating-stars {
    display: inline-flex;
    align-items: center;
}

.rating-stars i {
    font-size: 0.875rem;
    margin-right: 0.125rem;
}

.star-rating {
    cursor: pointer;
}

.star-rating .star {
    font-size: 1.25rem;
    margin-right: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.star-rating .star:hover {
    transform: scale(1.1);
}

/* Feature Icons - Fixed to display properly */
.feature-icon {
    width: 80px !important;
    height: 80px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

.feature-icon i {
    font-size: 2rem !important;
    color: white !important;
}

/* Newsletter Form */
.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input:focus {
    background-color: white;
    border-color: var(--warning-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
}

/* Improved Text Contrast Classes */
.text-dark-contrast {
    color: var(--text-primary) !important;
}

.text-medium-contrast {
    color: var(--text-secondary) !important;
}

.text-light-contrast {
    color: var(--text-muted) !important;
}

/* Cookie Modal Text Improvements */
.cookie-modal-body p,
.cookie-modal-body .text-muted {
    color: var(--text-secondary) !important;
}

.cookie-modal-body strong {
    color: var(--text-primary) !important;
}

.cookie-modal-body .small {
    color: var(--text-muted) !important;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.badge.bg-light {
    color: var(--dark-color) !important;
    background-color: var(--light-color) !important;
}

/* Article Sections - Clean Layout */
.articles-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.articles-section .card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    border-radius: 4px;
    box-shadow: none;
}

.articles-section .card:hover {
    border-color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.articles-section .card-title {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.articles-section .card-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.articles-section .text-muted {
    color: var(--text-muted) !important;
}

.articles-section .badge {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* Featured Tools Grid */
.tools-grid {
    margin-top: 2rem;
}

.tools-grid .card {
    height: 100%;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tools-grid .card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.tools-grid .card-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.tools-grid .card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tools-grid .card-img-top {
    border-bottom: 1px solid var(--border-color);
}

/* Rating display improvements */
.rating-display .text-warning {
    color: #F59E0B !important;
}

.rating-display .text-muted {
    color: var(--text-muted) !important;
}

/* Article Content */
.article-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content pre {
    background-color: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content code {
    background-color: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Comments */
.comment-avatar {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Admin Styles */
.admin-sidebar {
    background-color: var(--dark-color);
    color: white;
    min-height: 100vh;
}

.admin-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius);
    margin-bottom: 0.25rem;
    transition: all 0.2s ease-in-out;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

/* Search */
.search-highlight {
    background-color: yellow;
    padding: 0.125rem 0.25rem;
    border-radius: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-in-out;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .btn-group-vertical .btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #374151;
        --dark-color: #F9FAFB;
        --border-color: #4B5563;
        --text-muted: #9CA3AF;
    }
    
    body {
        background-color: #111827;
        color: var(--dark-color);
    }
    
    .card {
        background-color: #1F2937;
        border-color: var(--border-color);
    }
    
    .card-header {
        background-color: var(--light-color);
    }
    
    .navbar {
        background-color: rgba(31, 41, 55, 0.95);
    }
    
    .form-control,
    .form-select {
        background-color: #374151;
        border-color: var(--border-color);
        color: var(--dark-color);
    }
    
    .form-control:focus,
    .form-select:focus {
        background-color: #374151;
        color: var(--dark-color);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .btn,
    .admin-sidebar {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .article-content {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000FF;
        --primary-dark: #000080;
        --border-color: #000000;
        --text-muted: #000000;
    }
    
    .btn-outline-primary {
        border-width: 2px;
    }
    
    .form-control,
    .form-select {
        border-width: 2px;
    }
    
    .card {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .star-rating .star:hover {
        transform: none;
    }
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

.shadow-sm {
    box-shadow: var(--box-shadow) !important;
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg) !important;
}

.border-dashed {
    border-style: dashed !important;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

/* Featured Categories Grid - Modern Design System */
.featured-categories-section {
    background-color: #f8f9fa;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.category-image-wrapper {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.featured-category-card:hover .category-image {
    transform: scale(1.05);
}

.category-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.category-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Modern Feature Images - Replace Old Purple Squares */
.feature-image-wrapper {
    width: 100%;
    max-width: 280px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.why-choose-section .col-md-4:hover .feature-image-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.why-choose-section .col-md-4:hover .feature-image {
    transform: scale(1.05);
}

/* Mobile Featured Categories and Features */
@media (max-width: 768px) {
    .featured-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .featured-category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-image-wrapper {
        height: 140px;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .feature-image-wrapper {
        height: 140px;
        max-width: 240px;
    }
}
