 /* =========================================================
           COMPLETE PROJECTS SECTION REWRITE
           - All blue colors changed to #BE0606 red
           - Modern, spacious design with clear visual hierarchy
           - Smooth animations and transitions
           - Fully responsive across all devices
           - Enhanced user experience
        ========================================================= */

        /* Base Variables */
        :root {
            --dark-bg: #1a1a1a;
            --darker-bg: #121212;
            --white: #ffffff;
            --light-gray: #f8f8f8;
            --medium-gray: #e0e0e0;
            --dark-gray: #333333;
            --primary-color: #BE0606; /* Changed from blue to red */
            --primary-light: #ff2d55;
            --border-radius: 16px;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            background-color: var(--light-gray);
        }

        /* Utility Classes */
        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-spacing {
            padding: 6rem 0;
        }

        .text-center {
            text-align: center;
        }

        /* Button Styles */
        .btn {
            display: inline-block;
            padding: 0.85rem 2.25rem;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 50px;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: var(--white);
            box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover {
            background-color: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-outline:hover {
            background-color: var(--white);
            color: var(--dark-bg);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        /* Header Styles */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            height: 50px;
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
        }

        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: var(--primary-color); /* Changed to red */
        }

        /* Banner Slider */
        .banner-slider {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            margin-bottom: 50px;
            margin-top: 5rem;
        }

        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-content {
            position: absolute;
            bottom: 80px;
            right: 80px;
            background: var(--primary-color); /* Changed to red */
            color: white;
            padding: 30px;
            border-radius: 5px;
            max-width: 400px;
            transition: transform 0.5s ease, opacity 0.5s ease;
        }

        .slide:not(.active) .slide-content {
            transform: translateY(20px);
            opacity: 0;
        }

        .slide-content h2 {
            font-size: 2rem;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .slide-content p {
            margin-bottom: 0;
            font-size: 1.1rem;
            line-height: 1.5;
        }

        /* Projects Section */
        .projects-section {
            background-color: var(--dark-bg);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .section-header {
            margin-bottom: 4rem;
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            display: inline-block;
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--primary-color); /* Changed to red */
            margin-bottom: 1rem;
        }

        .section-description {
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .divider {
            width: 80px;
            height: 4px;
            background: var(--primary-color); /* Changed to red */
            margin: 1.5rem auto;
            border-radius: 2px;
        }

        /* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-bottom: 4rem;
        }

        /* Project Card */
        .project-card {
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            aspect-ratio: 1/1;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }

        .project-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
        }

        .project-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image {
            transform: scale(1.05);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 2rem;
            opacity: 0;
            transition: var(--transition);
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-content {
            transform: translateY(20px);
            transition: var(--transition);
        }

        .project-card:hover .project-content {
            transform: translateY(0);
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 0.5rem;
        }

        .project-category {
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--white);
            background-color: var(--primary-color); /* Changed to red */
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            margin-bottom: 1rem;
        }

        /* Solutions Section */
        .solutions-section {
            width: 100%;
            padding: 80px 0;
            background: #f8f4ff;
            text-align: center;
        }

        .solutions-container {
            width: 90%;
            margin: 0 auto;
        }

        .solutions-section h2 {
            font-size: 2.5rem;
            color: var(--primary-color); /* Changed to red */
            font-weight: 700;
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }

        .solutions-section h2::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary-color); /* Changed to red */
            border-radius: 2px;
        }

        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            justify-content: center;
        }

        /* Card Design with Larger Image */
        .solution-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 480px;
            display: flex;
            flex-direction: column;
        }

        .card-image {
            height: 340px;
            position: relative;
            overflow: hidden;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
        }

        .card-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .category-badge {
            align-self: flex-start;
            background: var(--primary-color); /* Changed to red */
            color: #ffffff;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .solution-title {
            font-size: 1.5rem;
            color: var(--primary-color); /* Changed to red */
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .solution-description {
            color: #5a6a85;
            line-height: 1.5;
            margin-bottom: 20px;
            flex: 1;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: auto;
        }

        .action-btn {
            padding: 12px 20px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 0.9rem;
            flex: 1;
            text-align: center;
        }

        .solutions-btn {
            background: var(--primary-color); /* Changed to red */
            color: white;
        }

        .products-btn {
            background: white;
            color: var(--primary-color); /* Changed to red */
            border: 1px solid var(--primary-color); /* Changed to red */
        }

        /* Hover Effects */
        .solution-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }

        .solution-card:hover .card-image img {
            transform: scale(1.05);
        }

        .solution-card:hover .solutions-btn {
            background: #9e0404; /* Darker red */
        }

        .solution-card:hover .products-btn {
            background: #f8f9ff;
        }

        /* Project Popup */
        .popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2000;
            display: none;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            background-color: rgba(0, 0, 0, 0.96);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            animation: fadeIn 0.4s ease-out forwards;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .popup-content {
            position: relative;
            width: 100%;
            max-width: 1400px;
            max-height: 90vh;
            background-color: var(--white);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(20px);
            transition: transform 0.3s ease-out;
        }

        .popup.active .popup-content {
            transform: translateY(0);
        }

        .popup-header {
            padding: 3rem 3rem 2rem;
            background-color: var(--white);
            border-bottom: 1px solid var(--medium-gray);
        }

        .popup-title {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--dark-gray);
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .popup-subtitle {
            font-size: 1rem;
            font-weight: 600;
            color: var(--primary-color); /* Changed to red */
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .popup-description {
            font-size: 1.1rem;
            color: var(--dark-gray);
            opacity: 0.9;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .popup-meta {
            display: flex;
            gap: 2rem;
            margin-top: 1.5rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            color: var(--dark-gray);
        }

        .meta-item i {
            color: var(--primary-color); /* Changed to red */
        }

        .popup-gallery {
            flex-grow: 1;
            overflow-y: auto;
            padding: 2rem 3rem;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            padding: 1rem 0;
        }

        .gallery-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            aspect-ratio: 4/3;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }

        .image-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem 1rem 1rem;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: var(--white);
            opacity: 0;
            transform: translateY(10px);
            transition: var(--transition);
        }

        .gallery-item:hover .image-caption {
            opacity: 1;
            transform: translateY(0);
        }

        .close-btn {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.05);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
            z-index: 10;
        }

        .close-btn:hover {
            background-color: rgba(0, 0, 0, 0.1);
            transform: rotate(90deg);
        }

        .close-btn i {
            font-size: 1.5rem;
            color: var(--dark-gray);
            transition: var(--transition);
        }

        .close-btn:hover i {
            color: var(--primary-color); /* Changed to red */
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            overflow-y: auto;
        }

        .modal-content {
            background: white;
            margin: 50px auto;
            max-width: 900px;
            width: 90%;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-header {
            padding: 20px;
            background: var(--primary-color); /* Changed to red */
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            margin: 0;
            font-size: 1.5rem;
        }

        .close-modal {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .modal-body {
            padding: 30px;
        }

        /* Solutions List in Modal */
        .solutions-list {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .solution-item {
            padding: 20px;
            background: #f8f9ff;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary-color); /* Changed to red */
        }

        .solution-item:hover {
            background: #e6e9ff;
            transform: translateX(5px);
        }

        .solution-item h4 {
            color: var(--primary-color); /* Changed to red */
            margin-bottom: 10px;
        }

        .solution-item p {
            color: #666;
            font-size: 0.9rem;
        }

        /* Products Grid in Modal */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .product-card {
            background: white;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }

        .product-image {
            height: 150px;
            background: #f8f9ff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }

        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .product-info {
            padding: 15px;
            text-align: center;
        }

        .product-info h5 {
            font-size: 1rem;
            margin-bottom: 10px;
            color: #333;
        }

        /* Solution Products Header */
        .solution-products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .back-to-solutions {
            color: var(--primary-color); /* Changed to red */
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Product Detail Modal */
        .product-detail {
            display: flex;
            gap: 30px;
        }

        .product-gallery {
            flex: 1;
        }

        .product-main-image {
            width: 100%;
            height: 300px;
            background: #f8f9ff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            border-radius: 5px;
            overflow: hidden;
        }

        .product-main-image img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
        }

        .product-thumbnails {
            display: flex;
            gap: 10px;
        }

        .product-thumbnail {
            width: 70px;
            height: 70px;
            background: #f8f9ff;
            border-radius: 4px;
            cursor: pointer;
            border: 2px solid transparent;
            overflow: hidden;
        }

        .product-thumbnail.active {
            border-color: var(--primary-color); /* Changed to red */
        }

        .product-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-details {
            flex: 1;
        }

        .product-details h4 {
            color: var(--primary-color); /* Changed to red */
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .product-meta {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }

        .product-description {
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .product-features h5 {
            margin-bottom: 10px;
            color: #333;
        }

        .product-features ul {
            padding-left: 20px;
            margin-bottom: 20px;
        }

        .product-features li {
            margin-bottom: 8px;
        }

        .product-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        /* Search Bar Styles */
        .search-container {
            margin-bottom: 20px;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 12px 20px 12px 40px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: 15px center;
            background-size: 16px 16px;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color); /* Changed to red */
            box-shadow: 0 0 0 2px rgba(190, 6, 6, 0.2);
        }

        .no-results {
            text-align: center;
            padding: 30px;
            color: #666;
            font-style: italic;
        }

        /* Enhanced Quote Modal */
        .quote-modal {
            max-width: 500px;
            padding: 2rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
            border: 1px solid rgba(0,0,0,0.05);
            animation: modalSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        }

        @keyframes modalSlideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .quote-modal h3 {
            margin: 0 0 1rem;
            font-size: 1.5rem;
            color: var(--primary-color); /* Changed to red */
            font-weight: 700;
            text-align: center;
        }

        .quote-modal p {
            margin: 0 0 1.5rem;
            font-size: 1rem;
            color: #5a6a85;
            text-align: center;
            line-height: 1.5;
        }

        #quote-request-form {
            display: grid;
            gap: 1.2rem;
        }

        .form-group {
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-color); /* Changed to red */
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #e0e3ed;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background-color: #f8f9ff;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary-color); /* Changed to red */
            box-shadow: 0 0 0 3px rgba(190, 6, 6, 0.1);
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .submit-btn {
            flex: 1;
            padding: 12px;
            background: var(--primary-color); /* Changed to red */
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background: #9e0404; /* Darker red */
            transform: translateY(-2px);
        }

        .cancel-btn {
            flex: 1;
            padding: 12px;
            background: #f8f9ff;
            color: var(--primary-color); /* Changed to red */
            border: 1px solid #e0e3ed;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cancel-btn:hover {
            background: #e3e8ff;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .solutions-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }

            .nav-menu {
                gap: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .banner-slider {
                height: 400px;
            }

            .slide-content {
                right: 20px;
                bottom: 20px;
                left: 20px;
                max-width: none;
            }

            .solutions-section {
                padding: 60px 0;
            }

            .solutions-section h2 {
                font-size: 2.2rem;
                margin-bottom: 40px;
            }

            .solution-card {
                height: 400px;
            }

            .card-content {
                padding: 20px;
            }

            .action-buttons {
                flex-direction: column;
            }

            .nav-container {
                flex-direction: column;
                padding: 1rem;
            }

            .nav-menu {
                margin-top: 1rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            .product-detail {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .banner-slider {
                height: 350px;
                margin-top: 4rem;
            }

            .solutions-section h2 {
                font-size: 2rem;
            }

            .solutions-grid {
                grid-template-columns: 1fr;
                max-width: 350px;
                margin: 0 auto;
            }

            .solution-title {
                font-size: 1.4rem;
            }

            .action-btn {
                padding: 10px 16px;
            }

            .modal-content {
                margin: 20px auto;
            }

            .modal-body {
                padding: 20px;
            }

            .product-main-image {
                height: 200px;
            }
        }