body {
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
footer {
    margin-top: auto;
}
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.product-img {
    height: 200px;
    object-fit: cover;
}

/* Import Animate.css for animations (optional) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 50px 50px;
    margin-top: -24px; /* to align with navbar */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.product-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1) !important;
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Pagination styling */
.pagination .page-link {
    color: #667eea;
    border: none;
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.pagination .active .page-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
}

/* Newsletter section */
.newsletter-section {
    border-radius: 50px 50px 0 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a40 100%);
    color: #fff;
    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.footer-text {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-3px);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.contact-info p {
    color: #aaa;
    margin-bottom: 5px;
}

.contact-info i {
    color: #667eea;
    width: 20px;
}

.newsletter-form .input-group {
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 20px;
}

.newsletter-form .form-control::placeholder {
    color: #aaa;
}

.newsletter-form .btn-newsletter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 30px 30px 0;
    transition: all 0.3s;
}

.newsletter-form .btn-newsletter:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.copyright, .credit {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
}

.credit i {
    color: #ff4757;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
    .footer-links {
        text-align: center;
    }
}


