/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h2 {
    color: #2563eb;
    font-size: 1.5rem;
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 120px 2rem 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: #f8fafc;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

.service-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 68%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Fallback for missing images */
.product-image img:not([src]),
.product-image img[src=""],
.product-image img[src*="placeholder"] {
    object-fit: contain;
    padding: 2rem;
}

.product-image img[src*="placeholder"] {
    opacity: 0.5;
}

.product-image i {
    font-size: 3rem;
    color: #cbd5e1;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.product-card p {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-category {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #2563eb;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #2563eb;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.contact-form input:focus, 
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    border: 2px solid #2563eb;
    /* box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); */
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    position: relative;
}

.form-group textarea {
    padding-left: 40px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 120px 2rem 60px;
    text-align: center;
    margin-top: 60px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Products Filter */
.products-filter {
    background: #f8fafc;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: bold;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;;
    border: 2px solid #2563eb;
    /* box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); */
}

.filter-group button {
    padding: 10px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

/* All Products Section */
.all-products {
    padding: 3rem 0;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.no-products {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    grid-column: 1 / -1;
}

.no-products i {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.view-all-products {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Product Card Enhancements */
.product-model {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-specs {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-brand {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-price {
    font-weight: bold;
    color: #059669;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Active Navigation Link */
.nav-menu a.active {
    color: #2563eb;
    font-weight: bold;
}

/* Quote Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #dc2626;
}

.quote-form {
    padding: 1.5rem;
}

.quote-form .form-group {
    margin-bottom: 1.5rem;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.modal-cancel {
    background: #6b7280;
    color: white;
}

.modal-cancel:hover {
    background: #4b5563;
}

/* Fixed Icon Input Styles */
.icon-input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
    pointer-events: none;
}

.textarea-wrapper .input-icon {
    top: 20px;
    transform: none;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    position: relative;
}

.quote-form textarea {
    padding-left: 40px;
    resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Remove old form group styles that were causing issues */
.quote-form .form-group {
    margin-bottom: 1.5rem;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

/* Loading state for submit button */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon-large {
    font-size: 4rem;
    color: #2563eb;
    padding: 1rem;
}

.service-content h2 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.service-content p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features h3 {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: #e0f2fe;
}

.feature-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.feature-item span {
    color: #374151;
    font-weight: 500;
}

/* About Page Styles */
.company-overview {
    padding: 4rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.mv-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.mv-card p {
    color: #64748b;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Target Market Section */
.target-market {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.market-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.market-card:hover {
    transform: translateY(-5px);
}

.market-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.market-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.market-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #dc2626;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #dc2626;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* HIDE MENU ON DESKTOP */
    .nav-menu {
        display: flex; /* Show on desktop */
    }
    
    /* MOBILE MENU STYLES */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        transition: left 0.3s ease-in-out;
        z-index: 998;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    /* WHEN MENU IS ACTIVE - THIS MAKES IT VISIBLE */
    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 18px 20px;
        font-size: 1.2rem;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #f1f1f1;
        width: 100%;
        transition: all 0.3s;
    }
    
    .nav-menu a:hover {
        background: #2563eb;
        color: white;
    }
    
    .nav-menu a i {
        margin-right: 12px;
        width: 20px;
        text-align: center;
    }
    
    /* Ensure header stays on top */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: white;
    }
    
    /* Add padding to body content to account for fixed header */
    body {
        padding-top: 70px;
    }
    
    .hero {
        margin-top: 0;
    }
    
    .page-hero {
        margin-top: 0;
    }
}

/* DESKTOP STYLES */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
    }
    
    .hamburger {
        display: none !important;
    }
}

.product-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.product-category {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    height: auto;
    min-height: unset;
}

.product-brand {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    height: auto;
    min-height: unset;
}

/* Ensure product card content has proper spacing */
.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.product-model {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-specs {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-weight: bold;
    color: #059669;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Product card layout fixes */
.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    font-style: italic;
    flex-shrink: 0;
}

.product-image i {
    font-size: 3rem;
    color: #cbd5e1;
}

/* Responsive fixes for product cards */
@media (max-width: 768px) {
    .product-meta {
        gap: 0.4rem;
    }
    
    .product-image img {
        width: 44%;
        height: 100%;
    }

    .product-category,
    .product-brand {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .product-card-content {
        padding: 1.2rem;
    }
    
    .product-card-content h3 {
        font-size: 1.1rem;
    }
}

/* Fix for products grid layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Ensure all product cards have equal height */
.products-grid .product-card {
    height: 100%;
}

.view-all-products .btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-products .btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.custom-cursor {
    position: fixed;
    width: 40px; 
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    transition: 
        transform 0.15s ease,
        width 0.2s ease,
        height 0.2s ease;
    transform-origin: center center;
}

.custom-cursor img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Cursor states */
.custom-cursor.hover {
    transform: scale(1.3);
    filter: brightness(1.2);
}

.custom-cursor.click {
    transform: scale(0.8);
}

.custom-cursor.hover-click {
    transform: scale(1.1);
}

/* Text selection cursor */
.custom-cursor.text {
    transform: scale(0.8) rotate(90deg);
    opacity: 0.8;
}

/* Loading state */
.custom-cursor.loading {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: scale(1.1);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #e0f2fe;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.feature-item i {
    color: #2563eb;
    font-size: 1.5rem;
    width: 30px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item-content {
    flex: 1;
}

.feature-item span {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Technology Stack Styles */
.tech-stack {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;   
}

.tech-stack h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Enhanced service icon animations */
.service-icon-large {
    font-size: 4rem;
    color: #2563eb;
    padding: 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.service-icon-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.service-detail:hover .service-icon-large::after {
    transform: translate(-50%, -50%) scale(1);
}

.service-detail:hover .service-icon-large {
    transform: scale(1.1);
}

/* Responsive adjustments for software section */
@media (max-width: 768px) {
    .feature-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        margin-bottom: 0.5rem;
    }
    
    .tech-tags {
        justify-content: center;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .tech-stack {
        padding: 1rem;
    }
}

/* Animation for software development icon */
@keyframes codeGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.8));
    }
}

.fa-code {
    animation: codeGlow 3s ease-in-out infinite;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* For larger screens, show 2 columns */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nav-brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand-logo-small {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* .nav-brand {
    display: flex;
    gap: 15px; 
} */

/* Responsive modal */
@media (max-width: 600px) {
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .quote-form {
        padding: 1rem;
    }
}

/* Responsive Design for Filters */
@media (max-width: 768px) {
    .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 100px 1rem 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .services-overview h2,
    .featured-products h2,
    .contact h2 {
        font-size: 2rem;
    }
}