
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Hero Section */
.hero {
    background: white;
    padding: 6rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.7;
}

/* Product Section */
.product-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 3rem;
}

.product-category {
    margin-bottom: 4rem;
    position: relative;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background: #e2e8f0;
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    color: #1e3a5f;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}


.product-grid:active {
    cursor: grabbing;
}

.product-grid::-webkit-scrollbar {
    display: none; /* WebKit */
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex: 0 0 280px; /* Fixed width for slider */
    min-width: 280px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a5f;
    text-align: center;
}

/* Add to Cart Icon Styles */
.add-to-cart-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.add-to-cart-icon:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.add-to-cart-icon:active {
    transform: translateY(0);
}

/* Loading state */
.add-to-cart-icon.adding {
    background: #9E9E9E;
    cursor: not-allowed;
}

.add-to-cart-icon.adding svg {
    animation: spin 1s linear infinite;
}

/* Success state */
.add-to-cart-icon.added {
    background: #2196F3;
    animation: pulse 0.6s ease-in-out;
}

/* Error state */
.add-to-cart-icon.error {
    background: #f44336;
    animation: shake 0.6s ease-in-out;
}

/* Floating cart button for related products */
.floating-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.product-card:hover .floating-cart-btn {
    opacity: 1;
    transform: scale(1);
}

.floating-cart-btn:hover {
    background: rgba(69, 160, 73, 0.95);
    transform: scale(1.1);
}

/* Product card container for floating button */
.product-card {
    position: relative;
    overflow: visible; /* Ensure floating button is visible */
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Floating cart animation */
.floating-cart-item {
    pointer-events: none;
    user-select: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .add-to-cart-icon {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .floating-cart-btn {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
}

/* Basic cart summary styles (if not already present) */
.cart-count {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
}

.cart-icon.has-items {
    color: #4CAF50;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.qty-btn, .remove-btn {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.remove-btn {
    background: #ff4444;
    color: white;
    border-color: #ff4444;
}

/* Floating Cart Summary */
.cart-summary-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-summary-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.cart-icon-container {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.cart-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-cart-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-cart-btn:hover {
    background: #45a049;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total-display {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.clear-cart-btn, .checkout-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clear-cart-btn:hover {
    background: #f44336;
}

.checkout-btn {
    background: #4CAF50;
    color: white;
}

.checkout-btn:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-icon, .quote-btn {
        justify-content: center;
        width: 100%;
    }
    
    .cart-summary-floating {
        bottom: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    
    .cart-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .floating-cart-btn {
        width: 35px;
        height: 35px;
        padding: 6px;
    }
}


 /* CTA Section */
        .cta-section {
            margin: 110px 2rem 68px 2rem;
        }

        .cta-container {
            /* background-color: ; */
            background: url('/public/assets/images/img_close_36px.png'),#325573;
            background-size: cover;
            background-position: center;
            border-radius: 30px;
            padding: 30px 20px;
            text-align: center;
        }

        .cta-image {
            width: 100%;
            max-width: 1414px;
            height: 250px;
            object-fit: cover;
            border-radius: 20px;
            margin-bottom: 64px;
        }

        .cta-title {
            font-size: 32px;
            font-family: 'Geist', sans-serif;
            font-weight: 600;
            line-height: 1.3;
            color: #fdfeff;
            margin-bottom: 32px;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #e44a1b;
            color: #fdfeff;
            padding: 18px 24px 18px 56px;
            border-radius: 32px;
            text-decoration: none;
            font-size: 14px;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            line-height: 21px;
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            background-color: #c73e17;
            transform: translateY(-2px);
        }

        .cta-btn-icon {
            width: 24px;
            height: 24px;
        }




/* Responsive Design */
 @media (max-width: 768px) {
                 .cta-title {
                padding: 0 20px;
            }
           }
@media (max-width: 768px) {
    
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .product-section {
        padding: 2rem 0;
    }
    
    .product-detail {
        padding: 2rem 0;
    }
    
    
}

@media (min-width: 1024px) {
          
            .hamburger{
            display: none;
          }
        
        }


