.service-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0 20px 0;
}
.service-card {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,255,255,0.08);
    border: 2px solid rgba(0,255,255,0.13);
    padding: 28px 18px 22px 18px;
    max-width: 320px;
    min-width: 260px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s cubic-bezier(.21,1.02,.73,1), box-shadow 0.35s, background 0.35s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 18px;
    background: #fff2;
    box-shadow: 0 2px 10px rgba(0,255,255,0.08);
}
.service-card h3 {
    color: #00ffff;
    margin: 10px 0 8px 0;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;
}
.service-card p {
    color: #e0f7fa;
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: center;
}
.service-card .desc-btn {
    margin-top: auto;
    background: #062536;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
.service-card:hover {
    background: linear-gradient(135deg, #00ffff33, #00777755);
    transform: scale(1.07) translateY(-8px) rotateX(-1deg);
    box-shadow: 0 0 30px 0 #00ffff99, 0 0 60px 0 #00ffff33;
    border-color: #00ffff;
    z-index: 2;
}
.service-card:hover h3,
.service-card:hover p {
    color: #fff;
    text-shadow: 0 0 10px rgb(0, 0, 0);
}
.service-card:hover .desc-btn {
    background: #00ffff;
    color: #062536;
    transform: scale(1.08);
    box-shadow: 0 4px 16px #00ffff44;
}
@media (max-width: 1100px) {
    .service-card-container {
        gap: 18px;
    }
    .service-card {
        max-width: 45vw;
        min-width: 180px;
    }
}
@media (max-width: 900px) {
    .service-card-container {
        gap: 12px;
    }
    .service-card {
        max-width: 90vw;
        min-width: 140px;
    }
}
@media (max-width: 700px) {
    .service-card-container {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 90vw;
        max-width: 350px;
    }
}   
.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 30px auto;
    max-width: 1200px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 20px;
    width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-card img {
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.product-card .name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
}
.product-card .desc {
    color: #666;
    font-size: 0.98em;
    margin-bottom: 10px;
    text-align: center;
}
@media (min-width: 320px) {
    .product-card .desc {
        display: none;
    }
}

.product-card .price {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 12px;
}
.product-card form { width: 100%; }
.cart-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}
.cart-btn:hover {
    background: #0056b3;
    text-decoration: none;
    color: #fff;
}
.cart-btn:hover { background: #0056b3; }
.cart-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}
.cart-section h3 { margin-top: 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { border: 1px solid #eee; padding: 8px; text-align: center; }
.remove-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.remove-btn:hover { background: #b71c1c; }
.admin-form { margin-bottom: 30px; }
.product-table, .product-table th, .product-table td { border: 1px solid #ccc; border-collapse: collapse; padding: 8px; }
.product-table { width: 100%; margin-bottom: 30px; }
a.cart-btn {
    background: #28a745;
}
a.cart-btn:hover {
    background: #218838;
}
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}
.product-link:hover {
    transform: translateY(-5px);
}
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.2);
}
.product-card img {
    transition: transform 0.5s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}

/* ===== UPDATED STAR RATING STYLES ===== */
.rating, .stars, .rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
    margin: 8px 0;
}

/* All star icons default to empty (light gray) */
.rating i, .stars i, .rating-stars i {
    font-size: 16px;
    color: #ddd; /* Light gray for empty stars */
    transition: color 0.2s ease;
}

/* Filled stars (full) - gold color */
.rating .fa-star, .stars .fa-star, .rating-stars .fa-star {
    color: #ffc107 !important; /* Gold - force override */
}

/* Half stars - gold color */
.rating .fa-star-half-o, .stars .fa-star-half-o, .rating-stars .fa-star-half-o {
    color: #ffc107 !important; /* Gold - force override */
}

/* Empty stars remain light gray */
.rating .fa-star-o, .stars .fa-star-o, .rating-stars .fa-star-o {
    color: #ddd !important; /* Light gray - force override */
}

/* Hide all numeric rating values completely */
.rating span, .rating-value, .rating-count, 
.product-card .rating-value, .product-card .rating-count {
    display: none !important;
}

/* Hover effects for interactive stars */
.rating:hover i {
    transform: scale(1.1);
}

/* Make sure stars are properly spaced and sized */
.rating i {
    margin-right: 1px;
}

/* Cart Button Styles */
.view-cart-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.view-cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.view-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
    text-decoration: none;
    color: white;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4757;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 5px;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
}

.cart-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .view-cart-container {
        bottom: 20px;
        right: 20px;
    }

    .view-cart-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}

/* Animated gradient background */
body { 
    background: linear-gradient(120deg, #0f2027, #2c5364, #00c6ff, #0072ff);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
} 
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Blog and review cards glassmorphism */
.blog-card, .review-card {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.17);
    border: 1.5px solid rgba(0,198,255,0.13);
    backdrop-filter: blur(12px);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    position: relative;
    overflow: hidden;
}
.blog-card:hover, .review-card:hover {
    border: 2px solid #00c6ff;
    box-shadow: 0 0 32px #00c6ff99, 0 0 64px #00c6ff33;
    transform: scale(1.04) translateY(-6px);
    z-index: 2;
}

/* Fade-in animation for main content */
main, .overlay, .blog-reviews-section, .services, .products {
    opacity: 0;
    animation: fadeInMain 1.2s ease 0.2s forwards;
}
@keyframes fadeInMain {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

/* Modern buttons */
.desc-btn, .btn-group button, .float-btn, .slider-buttons button, .service-slider-buttons button {
    background:  #0004ff;
    color: #fff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 16px #00c6ff44;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
}

.btn{
    background:  #0004ff;
    color: #fff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 16px #00c6ff44;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    width: auto;
    background: #6868e4;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 16px #00c6ff44;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: rgb(82 136 181) 0px 0px 7px 1px;
}

.btn:hover, .desc-btn:hover, .btn-group button:hover, .float-btn:hover, .discount-form button:hover, .slider-buttons button:hover, .service-slider-buttons button:hover {
    background-color: #0b2066;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Category Filter Styles */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
    padding: 20px;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover, .category-btn.active {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.category-btn:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
    .category-filter {
        gap: 15px;
        padding: 15px;
        margin: 20px 15px;
    }
    .category-btn {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .category-filter {
        gap: 10px;
        padding: 10px;
    }
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9em;
        min-width: 120px;
    }
}

/* High-DPI screens (Retina displays) */
@media (-webkit-min-device-pixel-ratio: 2), 
        (min-resolution: 192dpi) {
    .contact-form input, 
    .contact-form textarea {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .contact-container,
    .contact-info {
        background: rgba(255,255,255,0.92);
    }

    .contact-form input, 
    .contact-form textarea {
        background: #f7fbff;
        color: #333;
    }
}