 /* Ensure Font Awesome icons are visible */
            .fas, .fa {
                font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
                font-weight: 900 !important;
                font-style: normal !important;
                display: inline-block !important;
                text-rendering: auto !important;
                -webkit-font-smoothing: antialiased !important;
            }
            
            /* Portfolio Filter Section Styles */
            .portfolio-filter-section {
                margin-bottom: 50px;
            }
            
            .section-title {
                margin-bottom: 40px;
            }
            
            .section-title h2 {
                font-size: 2.5em;
                color: #1e90ff;
                margin-bottom: 15px;
                font-weight: 700;
            }
            
            .section-title p {
                font-size: 1.1em;
                color: #64748b;
                max-width: 600px;
                margin: 0 auto;
            }
            
            .filter-controls {
                background: #fff;
                padding: 30px;
                border-radius: 20px;
                box-shadow: 0 8px 30px rgba(30,144,255,0.1);
                margin-bottom: 30px;
            }
            
            .filter-row {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
                align-items: end;
            }
            
            .filter-group {
                flex: 1;
                min-width: 200px;
            }
            
            .filter-group label {
                display: block;
                margin-bottom: 8px;
                font-weight: 600;
                color: #374151;
                font-size: 1em;
            }
            
            .form-select, .form-input {
                width: 100%;
                padding: 12px 16px;
                border: 2px solid #e5e7eb;
                border-radius: 10px;
                font-size: 1em;
                transition: all 0.3s ease;
                background: #fff;
            }
            
            .form-select:focus, .form-input:focus {
                outline: none;
                border-color: #1e90ff;
                box-shadow: 0 0 0 3px rgba(30,144,255,0.1);
            }
            
            .filter-buttons {
                display: flex;
                gap: 10px;
                flex-shrink: 0;
            }
            
            .btn-filter, .btn-reset {
                padding: 12px 24px;
                border-radius: 10px;
                font-weight: 600;
                text-decoration: none;
                transition: all 0.3s ease;
                display: inline-flex;
                align-items: center;
                gap: 8px;
                font-size: 1em;
                border: none;
                cursor: pointer;
                min-width: 140px;
                justify-content: center;
            }
            
            .btn-filter {
                background: linear-gradient(135deg, #1e90ff 0%, #0ea5e9 100%);
                color: #fff;
                box-shadow: 0 4px 15px rgba(30,144,255,0.3);
            }
            
            .btn-filter:hover {
                transform: translateY(-2px);
                box-shadow: 0 6px 20px rgba(30,144,255,0.4);
                color: #fff;
                text-decoration: none;
            }
            
            .btn-reset {
                background: #f8fafc;
                color: #64748b;
                border: 2px solid #e5e7eb;
            }
            
            .btn-reset:hover {
                background: #e5e7eb;
                color: #374151;
                transform: translateY(-2px);
                text-decoration: none;
            }
            
            /* Icon styling with fallback */
            .btn-filter i, .btn-reset i {
                font-size: 1em;
                margin-right: 5px;
                min-width: 16px;
                text-align: center;
            }
            
            /* Fallback for when Font Awesome doesn't load */
            .btn-filter i:before {
                content: "🔍";
                font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
            }
            
            .btn-reset i:before {
                content: "🔄";
                font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
            }
            
            /* When Font Awesome loads properly, hide emoji fallback */
            .fa-search:before {
                content: "\f002" !important;
                font-family: "Font Awesome 6 Free" !important;
            }
            
            .fa-undo-alt:before {
                content: "\f2ea" !important;
                font-family: "Font Awesome 6 Free" !important;
            }
            
            .filter-results {
                background: #f0f9ff;
                padding: 15px 20px;
                border-radius: 10px;
                border-left: 4px solid #1e90ff;
                margin-bottom: 30px;
            }
            
            .filter-results p {
                margin: 0;
                color: #1e40af;
                font-weight: 500;
            }
            
            /* Portfolio Badge Styles */
            .portfolio-badge {
                position: absolute;
                top: 15px;
                right: 15px;
                background: linear-gradient(135deg, #1e90ff 0%, #0ea5e9 100%);
                color: #fff;
                padding: 6px 12px;
                border-radius: 20px;
                font-size: 0.85em;
                font-weight: 600;
                z-index: 2;
                box-shadow: 0 4px 15px rgba(30,144,255,0.3);
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            
            /* Gallery Item Container */
            .gallery-item-two {
                margin-bottom: 40px;
            }
            
            .gallery-item-two .inner-box {
                background: #fff;
                border-radius: 16px;
                box-shadow: 0 6px 30px rgba(30,144,255,0.08);
                overflow: hidden;
                transition: all 0.3s ease;
                height: 100%;
                display: flex;
                flex-direction: column;
            }
            
            .gallery-item-two .inner-box:hover {
                box-shadow: 0 12px 40px rgba(30,144,255,0.15);
                transform: translateY(-8px);
            }
            
            /* Image Container with Fixed Aspect Ratio */
            .gallery-item-two .image-box {
                position: relative;
                width: 100%;
                aspect-ratio: 16/9;
                background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
                overflow: hidden;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .gallery-item-two .image-box img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                transition: transform 0.3s ease;
                border: none;
                border-radius: 0;
            }
            
            .gallery-item-two .inner-box:hover .image-box img {
                transform: scale(1.05);
            }
            
            /* Lower Content Box */
            .gallery-item-two .lower-box {
                background: #fff;
                padding: 24px 20px 20px 20px;
                text-align: left;
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }
            
            .project-title {
                font-size: 1.3em;
                color: #1e90ff;
                margin-bottom: 10px;
                font-weight: 700;
                letter-spacing: -0.02em;
                line-height: 1.3;
            }
            
            .project-desc {
                font-size: 1.05em;
                color: #64748b;
                margin-bottom: 18px;
                line-height: 1.6;
                flex-grow: 1;
            }
            
            .project-link {
                display: inline-block;
                background: linear-gradient(135deg, #1e90ff 0%, #0ea5e9 100%);
                color: #fff;
                padding: 12px 28px;
                border-radius: 30px;
                font-size: 1.05em;
                font-weight: 600;
                text-decoration: none;
                transition: all 0.3s ease;
                box-shadow: 0 4px 15px rgba(30,144,255,0.2);
                align-self: flex-start;
            }
            
            .project-link:hover {
                background: linear-gradient(135deg, #0ea5e9 0%, #1e90ff 100%);
                box-shadow: 0 6px 20px rgba(30,144,255,0.3);
                transform: translateY(-2px);
                color: #fff;
                text-decoration: none;
            }
            
            /* Responsive Design */
            @media (max-width: 768px) {
                .filter-row {
                    flex-direction: column;
                    align-items: stretch;
                }
                
                .filter-buttons {
                    justify-content: center;
                    flex-direction: column;
                    gap: 10px;
                }
                
                .btn-filter, .btn-reset {
                    width: 100%;
                }
                
                .gallery-item-two {
                    margin-bottom: 30px;
                }
                
                .gallery-item-two .image-box {
                    aspect-ratio: 16/10;
                }
                
                .gallery-item-two .lower-box {
                    padding: 20px 16px 16px 16px;
                }
                
                .project-title {
                    font-size: 1.2em;
                }
                
                .project-desc {
                    font-size: 1em;
                }
                
                .section-title h2 {
                    font-size: 2em;
                }
            }
            
            /* Pagination Styles */
            .pagination-wrapper {
                text-align: center;
                margin: 50px 0 20px 0;
            }
            
            .pagination {
                display: inline-flex;
                list-style: none;
                padding: 0;
                margin: 0;
                gap: 8px;
                background: #fff;
                border-radius: 50px;
                padding: 8px;
                box-shadow: 0 4px 20px rgba(30,144,255,0.1);
            }
            
            .pagination li {
                display: inline-block;
                z-index: 1;
            }
            
            .pagination li a {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 44px;
                height: 44px;
                border-radius: 50%;
                background: transparent;
                color: #64748b;
                text-decoration: none;
                font-weight: 600;
                font-size: 1.05em;
                transition: all 0.3s ease;
            }
            
            .pagination li.active a, .pagination li a:hover {
                background: linear-gradient(135deg, #1e90ff 0%, #0ea5e9 100%);
                color: #fff;
                box-shadow: 0 4px 15px rgba(30,144,255,0.3);
                transform: translateY(-2px);
                text-decoration: none;
            }
            
            /* Equal Height Cards */
            .filter-list {
                display: flex;
                flex-wrap: wrap;
                align-items: stretch;
            }
            
            .filter-list .gallery-item-two {
                display: flex;
            }
       