/* KwachaGigs Custom Homepage Styles - Priority Override */
/* Force styles with !important to override any conflicting styles */

/* Modern Hero Section - PeoplePerHour Style */
.modern-hero-section {
    background: white !important;
    padding: 4rem 0 !important;
}

.hero-card {
    position: relative !important;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('/assets/frontend/default/img/herosection.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    padding: 4rem 2rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    color: white !important;
    text-align: center !important;
    max-width: 600px !important;
}

.hero-main-title {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 2rem !important;
}

.ai-badge-wrapper {
    margin-bottom: 3rem !important;
}

.ai-badge {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 25px !important;
    padding: 8px 16px !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.hero-search-container {
    max-width: 600px !important;
    margin: 0 auto 3rem auto !important;
}

.search-input-group {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: white !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

.hero-search-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
    color: #333 !important;
    outline: none !important;
}

.hero-search-input::placeholder {
    color: #999 !important;
}

.hero-search-btn {
    background: #ff6b35 !important;
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    margin: 4px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.hero-search-btn:hover {
    background: #e55a2b !important;
    transform: scale(1.05) !important;
}

.hero-categories {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.category-tag {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .modern-hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-card {
        border-radius: 15px !important;
        padding: 3rem 1.5rem !important;
        min-height: 400px !important;
    }
    
    .hero-main-title {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-search-container {
        max-width: 90% !important;
        margin-bottom: 2rem !important;
    }
    
    .search-input-group {
        flex-direction: column !important;
        border-radius: 15px !important;
    }
    
    .hero-search-input {
        padding: 15px 20px !important;
        text-align: center !important;
    }
    
    .hero-search-btn {
        width: 100% !important;
        height: 45px !important;
        border-radius: 0 0 15px 15px !important;
        margin: 0 !important;
    }
    
    .hero-categories {
        gap: 8px !important;
    }
    
    .category-tag {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 576px) {
    .hero-card {
        border-radius: 12px !important;
        padding: 2rem 1rem !important;
        min-height: 350px !important;
    }
    
    .hero-main-title {
        font-size: 2rem !important;
    }
}

.minimal-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0;
    color: white;
}

.minimal-hero-section .hero-title {
    color: #fff !important; /* White text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.minimal-hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important; /* Light white */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.minimal-hero-section .search-container {
    max-width: 600px;
    margin: 0 auto;
}

.minimal-hero-section .search-container .form-control {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.minimal-hero-section .search-container .btn-success {
    background-color: #28a745; /* Green */
    border-color: #28a745;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.minimal-hero-section .search-container .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
}

.minimal-hero-section .popular-tags .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0.25rem;
    font-size: 0.9rem;
    color: #fff; /* White text */
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.minimal-hero-section .popular-tags .tag:hover {
    background-color: #28a745; /* Green */
    color: #fff;
    border-color: #28a745;
    transform: translateY(-1px);
}

.minimal-hero-section .popular-tags {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .minimal-hero-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .minimal-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .minimal-hero-section .search-container .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .minimal-hero-section .search-container .btn-success {
        width: 100%;
    }
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
}

.work-step-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.work-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Black Card */
.work-step-card-black {
    background: #000;
    color: white;
}

.work-step-card-black .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.work-step-card-black .card-title {
    color: white;
}

.work-step-card-black .card-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Green Card */
.work-step-card-green {
    background: #28a745;
    color: white;
}

.work-step-card-green .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.work-step-card-green .card-title {
    color: white;
}

.work-step-card-green .card-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Orange Card */
.work-step-card-orange {
    background: #ff6b35;
    color: white;
}

.work-step-card-orange .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.work-step-card-orange .card-title {
    color: white;
}

.work-step-card-orange .card-text {
    color: rgba(255, 255, 255, 0.9);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.work-step-card .card-title {
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 2rem;
}

.work-step-card .card-text {
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 0;
    }
    
    .work-step-card {
        margin-bottom: 3rem;
        min-height: 250px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .work-step-card .card-title {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .work-step-card .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .work-step-card .card-body {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .work-step-card {
        margin-bottom: 2.5rem;
        min-height: 220px;
    }
}

/* Minimal Statistics Section */
.minimal-stats-section {
    padding: 5rem 0;
    background-color: #f8f9fa; /* Light grey background */
}

.minimal-stats-section .stat-item h3 {
    color: #28a745; /* Green */
}

/* Header Styles */
.minimal-header {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.minimal-header .logo-img {
    transition: all 0.2s ease;
}

.minimal-header .logo-img:hover {
    transform: scale(1.05);
}

.minimal-header .logo-text {
    transition: all 0.2s ease;
}

.minimal-header .logo-text:hover {
    transform: scale(1.05);
}

.minimal-header .logo-text h3 {
    color: #28a745 !important;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.minimal-header .nav-menu {
    gap: 2rem;
}

.minimal-header .nav-link {
    position: relative;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.minimal-header .nav-link:hover {
    color: #28a745 !important;
    transform: translateY(-1px);
}

.minimal-header .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #28a745;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.minimal-header .nav-link:hover::after {
    width: 80%;
}

.minimal-header .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.minimal-header .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.minimal-header .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.minimal-header .btn-outline-dark {
    border-color: #333;
    color: #333;
    transition: all 0.2s ease;
}

.minimal-header .btn-outline-dark:hover {
    background-color: #333;
    border-color: #333;
    color: white;
    transform: translateY(-1px);
}

.hover-text-success:hover {
    color: #28a745 !important;
}

/* Mobile navigation */
.minimal-header .collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.minimal-header .collapse a {
    color: #333;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.minimal-header .collapse a:hover {
    color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateX(5px);
}

/* Mobile menu button */
.minimal-header .btn-outline-secondary {
    border-color: #333;
    color: #333;
    transition: all 0.2s ease;
}

.minimal-header .btn-outline-secondary:hover {
    background-color: #333;
    border-color: #333;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .minimal-header .main-header {
        padding: 1rem 0;
    }
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
}

.category-card-modern {
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Black Category Card */
.category-black {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
}

.category-black .category-title {
    color: white;
}

.category-black .category-count {
    color: rgba(255, 255, 255, 0.8);
}

.category-black .category-arrow {
    color: #28a745;
}

/* Green Category Card */
.category-green {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.category-green .category-title {
    color: white;
}

.category-green .category-count {
    color: rgba(255, 255, 255, 0.9);
}

.category-green .category-arrow {
    color: white;
}

/* Orange Category Card */
.category-orange {
    background: linear-gradient(135deg, #ff6b35 0%, #f39c12 100%);
    color: white;
}

.category-orange .category-title {
    color: white;
}

.category-orange .category-count {
    color: rgba(255, 255, 255, 0.9);
}

.category-orange .category-arrow {
    color: white;
}

/* Category Content */
.category-content {
    position: relative;
    z-index: 2;
}

.category-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.category-icon-fallback {
    font-size: 3rem;
    opacity: 0.8;
}

.category-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.category-arrow {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-arrow {
    transform: translateX(5px);
}

.category-card-modern:hover .category-img {
    transform: scale(1.1);
}

/* Responsive adjustments for categories */
@media (max-width: 768px) {
    .categories-section {
        padding: 3rem 0;
    }
    
    .category-card-modern {
        min-height: 200px;
        margin-bottom: 2rem;
    }
    
    .category-img {
        width: 40px;
        height: 40px;
    }
    
    .category-icon-fallback {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .categories-section {
        padding: 2.5rem 0;
    }
    
    .category-card-modern {
        min-height: 180px;
        margin-bottom: 1.5rem;
    }
    
    .category-content {
        padding: 1.5rem 1rem;
    }
    
    .category-title {
        font-size: 1rem;
    }
    
    .category-count {
        font-size: 0.85rem;
    }
}

/* Professional Footer Styles */
.professional-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.professional-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
}

.footer-main {
    padding: 4rem 0;
}

.mission-statement {
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid #28a745;
}

.stat-item-modern {
    padding: 1rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item-modern:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.footer-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #28a745;
}

.footer-link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #28a745;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 10px;
}

.footer-link:hover {
    color: #28a745 !important;
    transform: translateX(5px);
}

/* Newsletter Form */
.newsletter-form-modern {
    margin-top: 1rem;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: #28a745;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

/* Social Links */
.social-link-modern {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link-modern:hover {
    background: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-light-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.hover-text-success:hover {
    color: #28a745 !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0;
    }
    
    .mission-statement {
        padding-left: 0.5rem;
        border-left-width: 2px;
    }
    
    .footer-stats {
        margin-top: 2rem;
    }
    
    .stat-item-modern {
        padding: 0.5rem 0;
    }
    
    .newsletter-input-group {
        margin-bottom: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Modern Header Styles */
.modern-header {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid #e9ecef !important;
}

.modern-header .nav-link:hover {
    color: #28a745 !important;
}

.modern-header .btn-outline-success:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.modern-header .btn-outline-danger:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Modern Dashboard Styles */
.modern-dashboard {
    background: #f8f9fa !important;
}

.modern-user-panel .bg-primary {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.modern-user-panel .btn-soft-primary-light {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.modern-user-panel .btn-soft-primary-light:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.modern-user-panel .rounded-2 {
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.modern-user-panel .alert {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.modern-user-panel .alert-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: white !important;
}

.modern-user-panel .alert-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: underline !important;
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #2d3748, #1a202c) !important;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1) !important;
}

.modern-footer .text-success {
    color: #28a745 !important;
}

.modern-footer .stat-number {
    color: #28a745 !important;
}

.modern-footer .footer-widget {
    position: relative !important;
}

.modern-footer .footer-links li a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    padding: 0.25rem 0 !important;
    display: block !important;
}

.modern-footer .footer-links li a:hover {
    color: #28a745 !important;
    padding-left: 0.5rem !important;
}

.modern-footer .social-icons a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    margin: 0 0.25rem !important;
}

.modern-footer .social-icons a:hover {
    background: #28a745 !important;
    transform: translateY(-2px) !important;
}

.professional-footer {
    background: #2d3748 !important;
}

.professional-footer .text-success {
    color: #28a745 !important;
}

.professional-footer .stat-number {
    color: #28a745 !important;
}

/* New Clean Category Cards */
.categories-section-new {
    background: #f8f9fa;
}

.category-card-clean {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    height: 100%;
    min-height: 160px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.category-card-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #28a745;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-clean:hover::before {
    transform: scaleX(1);
}

.category-card-clean:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.category-icon-fallback {
    font-size: 1.8rem;
    color: white;
}

.category-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.category-projects {
    font-size: 0.8rem;
    color: #718096;
    margin: 0;
    font-weight: 500;
}

/* Card Color Variants */
.card-green .category-icon-wrapper {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.card-orange .category-icon-wrapper {
    background: linear-gradient(135deg, #fd7e14, #ff6b35);
}

.card-dark .category-icon-wrapper {
    background: linear-gradient(135deg, #343a40, #495057);
}

.card-blue .category-icon-wrapper {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Hover Effects */
.category-card-clean:hover .category-icon-wrapper {
    transform: scale(1.1);
}

.category-card-clean:hover .category-name {
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-section-new {
        padding: 3rem 0;
    }
    
    .categories-section-new .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .category-card-clean {
        padding: 1.25rem 0.75rem;
        min-height: 140px;
        margin-bottom: 1rem;
    }
    
    .category-icon-wrapper {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    .category-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .category-icon-fallback {
        font-size: 1.5rem;
    }
    
    .category-name {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .category-projects {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .categories-section-new .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .categories-section-new .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .category-card-clean {
        padding: 1rem 0.5rem;
        min-height: 130px;
    }
    
    .category-icon-wrapper {
        width: 45px;
        height: 45px;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    
    .category-icon-img {
        width: 25px;
        height: 25px;
    }
    
    .category-icon-fallback {
        font-size: 1.3rem;
    }
    
    .category-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .category-projects {
        font-size: 0.7rem;
    }
}
