/* White Theme Color Palette:
   Primary: #2563eb (Blue)
   Secondary: #60a5fa (Light Blue)
   Accent: #1e40af (Dark Blue)
   Background: #ffffff (White)
   Surface: #f8fafc (Light Gray)
   Text: #0f172a (Dark)
    <link rel="stylesheet" href="{% static 'css/style.css' %}?v=white">
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    background: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid #2563eb;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s cubic-bezier(0.23, 1, 0.32, 1);
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
} */

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo:hover span {
    letter-spacing: 6px;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #0f172a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: #1a1a1a;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #00d4ff;
    font-size: 18px;
    font-weight: 600;
}

.cart-item-remove {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: rgba(255, 59, 48, 0.2);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-total span:last-child {
    color: #00d4ff;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}
/* Hero Section */
/* Hero Section - Full Screen Slideshow */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide 1 - Text Only Background */
.hero-slide-content.text-only {
    text-align: center;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-slide-content.text-only::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    top: 10%;
    right: -200px;
    animation: orbFloat 8s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.hero-slide-content.text-only::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 168, 61, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: -200px;
    animation: orbFloat 10s ease-in-out infinite reverse;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

.hero-slide-content h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 20px;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #2563eb 0%,#2563eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textReveal 1.2s ease-out;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow {
    filter: drop-shadow(0 10px 60px rgb(37, 100, 235));
}

.hero-slide-content p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: #113a6f;
    letter-spacing: 4px;
    font-weight: 400;
    animation: textReveal 1.2s ease-out 0.2s backwards;
}

.cta-btn {
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.5);
    animation: textReveal 1.2s ease-out 0.4s backwards;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.7);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

/* Product Image Slides */
/* Hero Slide - Image AND Video Support */
.hero-slide img,
.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Video specific styling */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Fix image positioning */
.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    /* Adjust as needed */
    z-index: 0;
}

/* Ensure overlay is on top */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 5rem 5%;
    color: #ffffff;
    text-align: center;
    z-index: 1;
    /* Above video/image */
}


.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 5rem 5%;
    color: #ffffff;
    text-align: center;
}

.hero-slide-overlay h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 8px;
}

.hero-slide-overlay p {
    font-size: 1.5rem;
    margin: 0;
    color: #60a5fa;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navigation Dots */
/* .hero-slide-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slide-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(37, 99, 235, 0.5);
}

.slide-dot.active {
    background: #2563eb;
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
}

.slide-dot:hover {
    background: #60a5fa;
    transform: scale(1.2);
} */

/* Navigation Arrows */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(37, 99, 235, 0.5);
    color: #ffffff;
    font-size: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-prev {
    left: 3rem;
}

.hero-next {
    right: 3rem;
}

.hero-nav-arrow:hover {
    background: #2563eb;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slide-content h1 {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }

    .hero-slide-content p {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }

    .cta-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .hero-slide-overlay h2 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .hero-slide-overlay p {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-slide-overlay {
        padding: 3rem 2rem;
    }

    .hero-nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .hero-prev {
        left: 1rem;
    }

    .hero-next {
        right: 1rem;
    }

    .hero-slide-dots {
        bottom: 2rem;
        gap: 0.6rem;
    }

    .slide-dot {
        width: 10px;
        height: 10px;
    }

    .slide-dot.active {
        width: 30px;
    }
}

/* Products Section */
.products {
    padding: 1rem 5%;
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    letter-spacing: 4px;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top: 1rem;
}

/* ========== AUTO-SCROLLING CATEGORY SHOWCASE ========== */
.category-showcase {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #ffffff 0%, #252525 100%);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 2px;
}

.category-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.category-scroll-track {
    display: flex;
    gap: 2rem;
    animation: autoScrollCategories 50s linear infinite;
    width: fit-content;
}

/* Pause on hover */
.category-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes autoScrollCategories {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.category-card {
    min-width: 320px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.category-card:hover::before {
    background: linear-gradient(180deg,
            rgba(37, 99, 235, 0.1) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.9) 100%);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.4);
    border-color: #2563eb;
}

.category-card:hover img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(-8px);
}

.category-overlay h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay h3 {
    color: #60a5fa;
    letter-spacing: 2px;
}

.category-overlay p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .category-showcase {
        padding: 4rem 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .category-scroll-track {
        gap: 1rem;
        animation: autoScrollCategories 90s linear infinite;
    }

    .category-card {
        min-width: 260px;
        height: 220px;
    }

    .category-overlay {
        padding: 1.5rem;
    }

    .category-overlay h3 {
        font-size: 1.4rem;
    }

    .category-overlay p {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .category-showcase {
        padding: 3rem 5%;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .category-scroll-track {
        animation: autoScrollCategories 80s linear infinite;
    }

    .category-card {
        min-width: 220px;
        height: 180px;
    }

    .category-overlay {
        padding: 1.2rem;
    }

    .category-overlay h3 {
        font-size: 1.2rem;
    }

    .category-overlay p {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
}


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

/* Product Cards */
.product-card {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    cursor: pointer;
    position: relative;
    opacity: 0;
    animation: cardFadeIn 0.8s ease forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(40px);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
            transparent 0%,
            #2563eb 25%,
            #60a5fa 50%,
            #2563eb 75%,
            transparent 100%);
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
    animation: borderRotate 3s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.product-card:hover::before {
    opacity: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(37, 99, 235, 0.15),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    border-radius: 24px;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.3);
}

.product-image {
    width: 100%;
    height: 375px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-slider img.active {
    opacity: 1;
    z-index: 1;
}

.product-card:hover .image-slider img.active {
    transform: scale(1.08);
}

.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.dot.active {
    background: #2563eb;
    width: 24px;
    border-radius: 4px;
    border-color: #2563eb;
}

.dot:hover {
    background: rgba(37, 99, 235, 0.7);
}

.product-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.product-category {
    color: #2563eb;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover .product-category {
    background: rgba(37, 99, 235, 0.25);
    transform: translateX(5px);
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    transition: all 0.4s ease;
}

.product-card:hover .product-name {
    transform: translateX(5px);
    color: #2563eb;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-card:hover .product-price {
    transform: translateX(5px) scale(1.05);
}

.order-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

/* Product Modal */
/* ========== MODAL FEATURES ALIGNMENT FIX ========== */
.product-features {
    margin: 1.5rem 0;
}

.product-features h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Increased spacing between items */
}

.product-features li {
    padding-left: 2rem; /* More space for checkmark */
    position: relative;
    color: #475569;
    line-height: 1.6;
    display: flex;
    align-items: flex-start; /* Align to top */
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0; /* Align to top of text */
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
    width: 1.5rem; /* Fixed width */
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
}

/* Add to Cart Button Alignment */
.modal-order-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    pointer-events: auto;
    margin: 1.5rem 0; /* Add spacing around button */
}

.modal-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.modal-order-btn:active {
    transform: translateY(-1px);
}

/* Modal Right Section Spacing */
.modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    pointer-events: auto;
    padding: 0; /* Remove extra padding */
}

/* Image Thumbnail Alignment */
.thumbnail-container {
    display: flex;
    gap: 10px;
    pointer-events: auto;
    justify-content: flex-start; /* Align thumbnails to left */
    padding: 5px 0;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: auto;
}

.thumbnail-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Main Image Container */
.modal-main-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 1rem;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    transition: opacity 0.3s ease;
    pointer-events: none;
    padding: 10px; /* Breathing space around image */
}

/* Modal Body Layout */
.modal-body {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    pointer-events: auto;
    align-items: flex-start; /* Align both columns to top */
}

/* Responsive */
@media (max-width: 768px) {
    .product-features li {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
    
    .product-features li::before {
        font-size: 1rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .modal-body {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .thumbnail-container {
        justify-content: center;
    }
}

.product-features {
    margin-bottom: 2.5rem;
}

.product-features h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: 1rem;
    color: #475569;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.98rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.product-features li:hover {
    background: rgba(37, 99, 235, 0.1);
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    margin-right: 12px;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.1rem;
}

.modal-order-btn {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.modal-order-btn:hover::before {
    left: 100%;
}

.modal-order-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.6);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.product-specs {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.product-specs h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.spec-item {
    padding: 1.2rem;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.spec-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: linear-gradient(180deg, #ffffff 0%, #252525 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-icon {
    padding: 15px;   /* space between image and card edges */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 10px;     /* control icon size */
    height: 10px;    /* optional: keep square */
    object-fit: contain;
}
.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* keeps aspect ratio, no crop */
}
.feature-item {
    padding: 20px;   /* increase or decrease as needed */
    box-sizing: border-box;
}



.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #2563eb;
}

.feature-desc {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========== FOOTER STYLES ========== */
footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e2e8f0;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 2px;
}

.footer-tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: #60a5fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Footer Titles */
.footer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: 1px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    color: #60a5fa;
    margin-top: 3px;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

.address-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.address-text strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #60a5fa;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.footer-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center; /* Add this */
}

.copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 auto; /* Change margin to auto for centering */
    text-align: center; /* Ensure text is centered */
}

.developer-credit {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.dev-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dev-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
        padding: 1rem 0;
    }
    
    .address-text {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .footer-tagline {
        max-width: 100%;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Scroll to Top Button (Optional Enhancement) */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}
.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
.hamburger-menu {
    display: none;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-dot {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background-color: #0f172a;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        padding: 0;
    }

    .hero-slideshow {
        height: 60vh;
    }

    .hero-slide {
        height: 100%;
    }

    .hero-video,
    .hero-slide video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-left p {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .cta-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .hero-product-slider {
        height: 400px;
        border-radius: 20px;
    }

    .hero-slide-overlay h3 {
        font-size: 1.5rem;
    }

    .hero-slide-overlay p {
        font-size: 0.9rem;
    }

    .modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 95vh;
        overflow-y: auto;
    }

    .modal-left,
    .modal-right {
        padding: 1.5rem;
    }

    .modal-main-image {
        height: 250px;
    }

    .thumbnail-item {
        min-width: 70px;
        height: 70px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.8);
        border-right: 1px solid rgba(37, 99, 235, 0.2);
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .mobile-link:hover {
        color: #2563eb;
    }

    .product-grid {
        display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    }

    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .product-image {
        height: 140px;
    }

    .product-info {
        padding: 12px;
    }

    .product-category {
        font-size: 0.6rem;
        padding: 2px 6px;
        margin-bottom: 4px;
        letter-spacing: 1px;
    }

    .product-name {
        font-size: 0.9rem;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-price {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .order-btn {
        padding: 8px;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .feature-item {
        padding: 1rem;
        border-radius: 12px;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }
            /* --- MOBILE PRODUCT GRID OPTIMIZATION --- */
        @media (max-width: 768px) {
            
            /* 1. Reduce side padding to give more space to products */
            .products {
                padding: 2rem 10px; 
            }

            /* 2. Switch to 2 Columns (Standard Mobile E-commerce View) */
            .product-grid {
                grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
                gap: 10px; /* Smaller gap between cards */
            }

            /* 3. Adjust Product Card Size */
            .product-card {
                border-radius: 10px; /* Slightly tighter corners */
            }

            /* 4. Make Images Smaller/Uniform */
            .product-image {
                height: 180px; /* Reduce height from desktop default */
            }

            /* 5. Compact Info Section */
            .product-info {
                padding: 10px;
            }

            .product-category {
                font-size: 0.7rem;
                margin-bottom: 2px;
            }

            .product-name {
                font-size: 0.9rem; /* Smaller Title */
                margin-bottom: 4px;
                white-space: nowrap; 
                overflow: hidden; 
                text-overflow: ellipsis; /* Prevent long names breaking layout */
            }

            /* 6. Adjust Price & Discount Font Sizes */
            .product-price {
                font-size: 0.95rem;
                flex-wrap: wrap; /* Allow wrapping if price is long */
            }
            
            /* Target the Discount/Strikethrough spans inside price */
            .product-price span {
                font-size: 0.8rem !important;
            }

            /* 7. Smaller Rating Stars */
            .card-rating-container .star-rating label {
                font-size: 0.9rem;
            }
            .rating-count {
                font-size: 0.75rem;
            }

            /* 8. Compact 'Add to Cart' Button */
            .order-btn {
                padding: 8px 0;
                font-size: 0.8rem;
                border-radius: 8px;
            }
            
            /* 9. Hide or Shrink Badges slightly if needed */
            .trending-badge {
                padding: 4px 8px !important;
                font-size: 0.7rem !important;
            }
            
        }

        

    

}