:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #059669;
    --accent: #7c3aed;
    --light: #f8fafc;
    --dark: #0f172a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
}
/*
.gradient-bg {
    background: linear-gradient(135deg, #4162bfd1 0%, #945c95ad 100%);
}*/
.gradient-bg {
    background: linear-gradient(135deg, #eef0f500 0%, #e3d1e373 100%);
}

.gradient-light {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.bg-light{
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

}
.bg-linear-to-r {
    color: #383c70;
}
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: #93c5fd;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* .page {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
} */

.page.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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



/*----------start hero section--*/
.hero-gradient {
            background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 40%, #cffafe 100%);
        }

        /* ----- Swiper container: full width, consistent height ----- */
        .swiper.productSwiper1 {
            width: 100%;
            height: 340px;
            /* fallback */
            border-radius: 24px;
            overflow: hidden;
            position: relative;
        }

        /* ----- Slides ----- */
        .swiper-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.40);
            backdrop-filter: blur(2px);
            border-radius: 20px;
            overflow: hidden;
            transition: transform 0.4s ease;
        }

        .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 16px;
            user-select: none;
            -webkit-user-drag: none;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.15));
        }

        /* Active slide gets a subtle scale */
        .swiper-slide-active img {
            transform: scale(1.04);
        }

        /* ----- Navigation Buttons ----- */
        .swiper-button-next,
        .swiper-button-prev {
            color: #1e3a5f;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(8px);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(30, 58, 95, 0.18);
            transition: all 0.25s ease;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 16px;
            font-weight: 700;
        }

        .swiper-button-next:hover,
        .swiper-button-prev:hover {
            background: #1e3a5f;
            color: #fff;
            box-shadow: 0 6px 28px rgba(30, 58, 95, 0.35);
            transform: scale(1.06);
        }

        .swiper-button-next.swiper-button-disabled,
        .swiper-button-prev.swiper-button-disabled {
            opacity: 0.25;
            pointer-events: none;
        }

        /* ----- Pagination (bullets) ----- */
        .swiper-pagination {
            position: relative;
            margin-top: 16px;
            display: flex;
            justify-content: center;
            gap: 8px;
        }

        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: #b9c8da;
            opacity: 1;
            border-radius: 50%;
            transition: all 0.3s ease;
            margin: 0 !important;
        }

        .swiper-pagination-bullet-active {
            background: #1e3a5f;
            width: 30px;
            border-radius: 20px;
            box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.18);
        }

        /* ============================================================
                   RESPONSIVE HEIGHTS & BREAKPOINTS
                   ============================================================ */

        /* --- MOBILE (default) --- */
        @media (max-width: 480px) {
            .swiper.productSwiper1 {
                height: 200px !important;
            }

            .swiper-slide img {
                padding: 8px;
            }

            .swiper-button-next,
            .swiper-button-prev {
                width: 32px;
                height: 32px;
            }

            .swiper-button-next::after,
            .swiper-button-prev::after {
                font-size: 12px;
            }

            .swiper-pagination-bullet {
                width: 7px;
                height: 7px;
            }

            .swiper-pagination-bullet-active {
                width: 20px;
            }
        }

        /* --- SMALL PHONES (extra small) --- */
        @media (max-width: 380px) {
            .swiper.productSwiper1 {
                height: 160px !important;
            }

            .swiper-slide img {
                padding: 4px;
            }
        }

        /* --- TABLETS & SMALL LAPTOPS --- */
        @media (min-width: 481px) and (max-width: 768px) {
            .swiper.productSwiper1 {
                height: 240px !important;
            }

            .swiper-slide img {
                padding: 12px;
            }

            .swiper-button-next,
            .swiper-button-prev {
                width: 38px;
                height: 38px;
            }

            .swiper-button-next::after,
            .swiper-button-prev::after {
                font-size: 14px;
            }
        }

        /* --- DESKTOP --- */
        @media (min-width: 769px) and (max-width: 1024px) {
            .swiper.productSwiper1 {
                height: 320px !important;
            }
        }

        @media (min-width: 1025px) {
            .swiper.productSwiper1 {
                height: 400px !important;
            }
        }

        /* ============================================================
                   HERO TEXT STYLING
                   ============================================================ */
        .hero-heading {
            background: linear-gradient(135deg, #1e3a5f 0%, #0891b2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            line-height: 1.2;
        }

        .hero-sub {
            color: #0c4a6e;
            font-weight: 400;
            line-height: 1.6;
        }

        .btn-primary {
            background: linear-gradient(135deg, #7c3aed, #2563eb);
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(37, 99, 235, 0.30);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(37, 99, 235, 0.40);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #1e3a5f, #0e7490);
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(14, 116, 144, 0.25);
        }

        .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(14, 116, 144, 0.35);
        }

        /* ----- fix for text gradient in buttons ----- */
        .btn-primary i,
        .btn-secondary i {
            -webkit-text-fill-color: initial;
        }

        /* ----- slide background soft glow ----- */
        .swiper-slide {
            background: rgba(255, 255, 255, 0.018);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0);
        }

        /* ============================================================
                   LAYOUT FIX: flex column reverse on mobile so carousel appears
                   above text (better UX)
                   ============================================================ */
        @media (max-width: 767px) {
            .hero-flex {
                flex-direction: column-reverse !important;
            }

            .hero-text-wrap {
                width: 100% !important;
                padding-top: 8px;
                text-align: center;
            }

            .hero-text-wrap h1 {
                font-size: 1.6rem !important;
            }

            .hero-text-wrap p {
                font-size: 1rem !important;
            }

            .hero-text-wrap .flex {
                justify-content: center;
                flex-wrap: wrap;
            }

            .hero-text-wrap .flex a {
                flex: 1 0 auto;
                min-width: 140px;
                text-align: center;
            }

            .hero-carousel-wrap {
                width: 100% !important;
                margin-bottom: 0;
            }

            .swiper.productSwiper1 {
                border-radius: 16px;
            }
        }

        /* small extra tweak for very narrow screens */
        @media (max-width: 380px) {
            .hero-text-wrap h1 {
                font-size: 1.3rem !important;
            }

            .hero-text-wrap p {
                font-size: 0.85rem !important;
            }

            .hero-text-wrap .flex a {
                font-size: 0.85rem;
                padding: 10px 16px;
                min-width: 120px;
            }
        }

        /* ============================================================
                   SMOOTH SCROLL / ANCHOR

/*---------end ---*/


.input-field {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.chat-bubble {
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    max-width: 70%;
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.chat-bubble.support {
    background: #f1f5f9;
    color: var(--dark);
    border-bottom-left-radius: 0.25rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
        background: rgb(222 229 239 / 95%);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-chip {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-chip.active {
    background: var(--primary);
    color: white;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    background: #f1f5f9;
    cursor: pointer;
    user-select: none;
}

.quantity-btn:hover {
    background: #e2e8f0;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

.swiper-button-prev{

    background-color: #a7a5d73b;
    color: #c4cdd5;
    border-radius: 9px;
}

.swiper-button-next {
    background-color: #a7a5d73b;
    color: #c4cdd5;
    border-radius: 9px;
}

/* events css */
 section {
            scroll-behavior: smooth;
        }
        .event-card {
            transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
        }
        .event-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 35px -12px rgba(0, 0, 0, 0.15);
        }
        .glow-text {
            text-shadow: 0 2px 5px rgba(42, 127, 110, 0.2);
        }
        .bg-grid-pattern {
            background-image: radial-gradient(circle at 1px 1px, rgba(42,127,110,0.08) 1px, transparent 1px);
            background-size: 32px 32px;
        }
        .modal-transition {
            transition: opacity 0.25s ease, visibility 0.25s;
        }
        /* Hide scrollbar but keep functionality for clean look */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
         .line-clamp-3 {
            display: -webkit-box;
            overflow: hidden;
        }
        .active-filter {
            background-color: #0F2B3D !important;
            color: white !important;
            box-shadow: 0 8px 20px -8px rgba(15, 43, 61, 0.3);
        }
        .visible {
            visibility: visible !important;
            opacity: 1 !important;
        }
        .invisible {
            visibility: hidden !important;
            opacity: 0 !important;
        }



    /* ============================================================
            MEDIA QUERY : hide nav-links, show hamburger
            breakpoint at 800px (covers tablets & phones)
        ============================================================ */
    @media screen and (max-width: 1022px) {
      .nav-link {
        display: block;
        display: none !important;       /* show hamburger icon */
      }


    }

    /* extra small (<= 480px) */
    @media screen and (max-width: 480px) {
        .nav-link a {
        display: block;
        display: none !important;       /* show hamburger icon */
      }

    }
    @media screen and (max-width: 480px) {
        .log_btn{
        display: block;
        display: none !important;       /* show hamburger icon */
      }

    }
/* counter section css ---*/
.bg-color-card {
    background: linear-gradient(rgb(243 235 235) 0%, rgb(243 243 243) 40%, rgb(235 250 251) 100%);
}
/* start service brandcss ---/*
/* resources/css/cards.css */

/* Base card styles */


.card-item {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card-inner {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.card-inner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image hover animation */
.card-inner img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-inner:hover img {
    transform: scale(1.1) rotate(-3deg);
}

/* List items animation */
.card-inner ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--index, 0) * 0.05s);
}

.card-inner:hover ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Gradient border effect */
.card-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #679aec, #a383ee, #6d9ce9);
    background-size: 300% 300%;
    border-radius: 14px;
    opacity: 0;
    z-index: -1;
    transition: all 0.6s ease;
    animation: gradientMove 4s ease infinite;
}

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

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

/* Shimmer effect on hover */
.card-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.8s ease;
    pointer-events: none;
}

.card-inner:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-item {
        transform: translateY(30px);
    }

    .card-inner:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .card-inner {
        background: #9c9cba;
        color: #e2e8f0;
    }

    .card-inner ul li {
        color: #cbd5e1;
    }
}
/* end service brandcss ---/*




/* ============================================
   PRODUCT CAROUSEL - PROFESSIONAL DESIGN
   ============================================ */

/* ---------- SECTION BACKGROUND ---------- */
.products-carousel-section {
    position: relative;
    background: linear-gradient(180deg, #dde0e952 0%, #e0e7f34a 100%);
    padding: 50px 0;
    overflow: hidden;
}

/* Background Decorations */
.section-bg-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, #3b82f6, transparent);
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #10b981, transparent);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -40px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(20px, -20px) scale(1.05); }
}

.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ---------- SECTION HEADER ---------- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    position: relative;
    display: inline-block;
}

.badge-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
    animation: underlineExpand 3s ease-in-out infinite;
}

@keyframes underlineExpand {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

@media (min-width: 768px) {
    .section-title {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
}

.text-gradient-primary {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-dark {
    color: #f1f5f9;
}

.section-description {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.divider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    animation: dotPulse 2s ease-in-out infinite;
}

.divider-dot:nth-child(1) { animation-delay: 0s; }
.divider-dot:nth-child(2) { animation-delay: 0.3s; }
.divider-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 1; }
}

/* ---------- SWIPER CUSTOMIZATION ---------- */
.productSwiper {
    padding: 20px 0 40px;
    position: relative;
}

.swiper-slide {
    height: auto;
    padding: 10px;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.4s ease;
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next {
    right: -10px;
}

.swiper-button-prev {
    left: -10px;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transition: all 0.4s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    width: 30px;
    border-radius: 5px;
}

/* ---------- PRODUCT CARD ---------- */
.product-card {
    height: 100%;
}

.product-card-inner {
    position: relative;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 20px;
    padding: 24px 20px 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.product-card-inner:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    border-color: transparent;
}

/* Card Glow */


@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Card Gradient Border */
.card-gradient-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card-inner:hover .card-gradient-border {
    transform: scaleX(1);
}

/* Corner Decoration */
.card-corner-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(59, 130, 246, 0.05) 50%);
    border-radius: 0 20px 0 0;
    pointer-events: none;
    transition: all 0.6s ease;
}

.product-card-inner:hover .card-corner-decor {
    background: linear-gradient(135deg, transparent 50%, rgba(59, 130, 246, 0.12) 50%);
}

/* ---------- STOCK BADGE ---------- */
.stock-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.4s ease;
}

.product-card-inner:hover .stock-badge {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3);
}

.stock-dot {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.product-card-inner:hover .stock-dot {
    background: #ffffff;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- DISCOUNT BADGE ---------- */
.discount-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 5px 14px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---------- PRODUCT IMAGE ---------- */
.product-image-wrapper {
    position: relative;
    margin-bottom: 16px;
}
.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-image {
    background: linear-gradient(135deg, #f1f3f5 0%, #f7f7f7 100%);
    border-radius: 0.5rem;
    width: 100%;
    height: 200px;
    opacity: 1;
    transition: 0.5s ease-in-out;
}
.product-card-inner:hover .product-image-container {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}



.product-card-inner:hover .product-image {
    transform: scale(1.08) rotate(-2deg);

}

/* Image Overlay */
.image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.product-card-inner:hover .image-overlay {
    opacity: 1;
}

/* Quick View Overlay */
.quick-view-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9) rotate(-5deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.product-card-inner:hover .quick-view-overlay {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.quick-view-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card-inner:hover .quick-view-content {
    transform: translateY(0);
}

.quick-view-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;

    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.quick-view-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.quick-view-btn svg {
    transition: transform 0.4s ease;
}

.quick-view-btn:hover svg {
    transform: scale(1.1);
}

.quick-view-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Shimmer */
.image-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.9s ease;
    pointer-events: none;
    z-index: 3;
}

.product-card-inner:hover .image-shimmer {
    transform: rotate(45deg) translateX(100%);
}

/* Image Border Animation */
.image-border-animation {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    border: 2px solid transparent;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: all 0.6s ease;
}

.product-card-inner:hover .image-border-animation {
    opacity: 1;
    border-image: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899) 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { border-image: linear-gradient(0deg, #3b82f6, #8b5cf6, #ec4899) 1; }
    50% { border-image: linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899) 1; }
    100% { border-image: linear-gradient(360deg, #3b82f6, #8b5cf6, #ec4899) 1; }
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
    position: relative;
    z-index: 2;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.product-card-inner:hover .product-brand {
    color: #60a5fa;
}

.product-category {
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
    line-height: 1.35;
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-inner:hover .product-title {
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- PRODUCT FEATURES ---------- */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.4s ease;
}

.feature-icon {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.product-card-inner:hover .feature-item {
    color: #e2e8f0;
}

.product-card-inner:hover .feature-icon {
    transform: scale(1.2);
    color: #60a5fa;
}

/* ---------- PRODUCT FOOTER ---------- */
.product-footer {

    align-items: center;

}


.product-card-inner:hover .current-price {
    color: #60a5fa;
}

.old-price {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: line-through;
}

/* ---------- VIEW DETAILS BUTTON ---------- */
.view-details-btn {

    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

.view-details-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.4);
}

.view-details-btn svg {
    transition: transform 0.4s ease;
}

.view-details-btn:hover svg {
    transform: translateX(4px);
}

/* ---------- VIEW ALL BUTTON ---------- */
.btn-explore {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 44px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 60px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.35);
}

.btn-explore:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 56px rgba(59, 130, 246, 0.45);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
}

.btn-explore:hover .btn-shimmer {
    left: 100%;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .product-card-inner {
        padding: 20px 16px 16px;
    }

    .product-image-container {
        height: 170px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .products-carousel-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 4px;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .product-image-container {
        height: 150px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .quick-view-btn span {
        display: none;
    }

    .quick-view-btn {
        padding: 10px 14px;
    }
}


/* ---------- DARK MODE ---------- */
@media (prefers-color-scheme: dark) {
    .product-card-inner {
        background: linear-gradient(145deg, #1e293b, #0f172a);
    }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
    .product-card-inner:hover {
        transform: none;
    }

    .card-glow {
        animation: none;
    }

    .card-gradient-border {
        animation: none;
    }

    .quick-view-overlay {
        opacity: 1;
        transform: none;
    }

    .quick-view-content {
        transform: none;
    }

    .image-shimmer {
        display: none;
    }

    .image-border-animation {
        display: none;
    }

    .text-gradient-primary {
        animation: none;
    }
}


/* ---------- CARD CONTAINER ---------- */
.product-card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.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; }

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

/* ---------- CARD INNER ---------- */
.product-card-inner {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.product-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* ---------- CARD GLOW ---------- */
.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
}

.product-card-inner:hover .card-glow {
    opacity: 1;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---------- CARD BORDER GRADIENT ---------- */
.card-border-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 300% 300%;
    animation: gradientMove 4s ease infinite;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-inner:hover .card-border-gradient {
    transform: scaleX(1);
}

/* ---------- STOCK BADGE ---------- */
.stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-inner:hover .stock-badge {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.stock-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.product-card-inner:hover .stock-dot {
    background: #ffffff;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- PRODUCT IMAGE ---------- */



.product-card-inner:hover .product-image {
    transform: scale(1.05) rotate(-2deg);

}

/* ---------- IMAGE OVERLAY ---------- */
.image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.product-card-inner:hover .image-overlay {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06));

}

/* ---------- QUICK VIEW OVERLAY ---------- */
.quick-view-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    transform: scale(0.95);
}
.product-image-container:hover .quick-view-overlay{
    z-index: 5;
}

.product-card-inner:hover .quick-view-overlay {
    background: rgba(15, 23, 42, 0.6);
    opacity: 1;
    transform: scale(1);
}

.quick-view-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.product-card-inner:hover .quick-view-btn {
    transform: translateY(0);

}

.quick-view-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.quick-view-btn svg {
    transition: transform 0.3s ease;
}

.quick-view-btn:hover svg {
    transform: scale(1.1);
}

/* ---------- IMAGE SHIMMER ---------- */
.image-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.8s ease;
    pointer-events: none;
    z-index: 3;
}

.product-card-inner:hover .image-shimmer {
    transform: rotate(45deg) translateX(100%);
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
    position: relative;
    z-index: 2;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.product-card-inner:hover .product-brand {
    color: #2563eb;
}

.product-category {
    font-size: 0.6rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 10px;
    background: #f3f4f6;
    border-radius: 50px;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: all 0.4s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-inner:hover .product-title {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- PRODUCT FEATURES ---------- */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.4s ease;
}

.feature-icon {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.product-card-inner:hover .feature-item {
    color: #1f2937;
}

.product-card-inner:hover .feature-icon {
    transform: scale(1.2);
    color: #2563eb;
}

/* ---------- VIEW DETAILS LINK ---------- */
.view-details-link {


    position: relative;
}

.view-details-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.view-details-link:hover::after {
    width: 100%;
}

.view-details-link svg {
    transition: transform 0.4s ease;
}

.view-details-link:hover svg {
    transform: translateX(4px);
}

/* ---------- VIEW ALL BUTTON ---------- */
.view-all-btn {
    position: relative;

    align-items: center;
    padding: 14px 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 32px rgba(59, 130, 246, 0.35);
}

.view-all-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(59, 130, 246, 0.45);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
}

.view-all-btn:hover .btn-shimmer {
    left: 100%;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .product-card-inner {
        padding: 16px 14px 14px;
    }

    .product-image-container {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .product-image-container {
        height: 130px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .quick-view-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .product-image-wrapper{
        width:100%;
        height:250px;
    }
    .product-image-container {
        width:100%;
        height: 250px;
    }
    .product-image{
        width:100%;
        height:250px;
    }
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .product-features {
        flex-direction: column;
        gap: 4px;
        padding: 6px 0;
    }
}




/* ---------- DARK MODE ---------- */
@media (prefers-color-scheme: dark) {
    .product-card-inner {
        background: #b1c5e5;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .product-title {
        color: #f1f5f9;
    }

    .product-description {
        color: #94a3b8;
    }

    .product-image-container {
        background: #99a7c9;
    }

    .product-card-inner:hover .product-image-container {
        background: #1e293b;
    }

    .product-features {
        border-color: rgba(255, 255, 255, 0.06);
    }

    .feature-item {
        color: #94a3b8;
    }

    .stock-badge {
        background: rgba(22, 163, 74, 0.2);
        border-color: rgba(22, 163, 74, 0.3);
        color: #4ade80;
    }

    .product-card-inner:hover .stock-badge {
        background: #16a34a;
        color: #ffffff;
    }

    .product-category {
        background: rgba(255, 255, 255, 0.05);
        color: #94a3b8;
    }

    .quick-view-overlay {
        background: rgba(15, 23, 42, 0.7);
    }

    .quick-view-btn {
        background: #1e293b;
        color: #f1f5f9;
    }

    .quick-view-btn:hover {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: #ffffff;
    }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
    .product-card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .product-card-inner:hover {
        transform: none;
    }

    .card-glow {
        animation: none;
    }

    .card-border-gradient {
        animation: none;
    }

    .quick-view-overlay {
        opacity: 1;
        transform: none;
    }

    .quick-view-btn {
        transform: none;
        opacity: 1;
    }

    .image-shimmer {
        display: none;
    }
}

/*---- why choose css start---*/
 /* Base card styles + hover effect */
        .feature-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
            opacity: 0;
            transform: translateY(30px);
        }
        .feature-card.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
        }

        .feature-icon {
            transition: transform 0.3s ease;
        }
        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(-3deg);
        }
        /* Gradient underline */
        .title-underline {
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #4f46e5, #7c3aed);
            border-radius: 9999px;
            margin: 0.75rem auto 0;
        }

        /* Optional floating animation for icons (subtle) */
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-6px); }
            100% { transform: translateY(0px); }
        }
        .feature-icon {
            animation: float 3s ease-in-out infinite;
        }
        .feature-card:hover .feature-icon {
            animation-play-state: paused;
        }


        /*service section css code */
        .reveal {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* ---------- stagger children ---------- */
    .stagger-children>* {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .stagger-children.visible>*:nth-child(1) { transition-delay: 0.05s; }
    .stagger-children.visible>*:nth-child(2) { transition-delay: 0.15s; }
    .stagger-children.visible>*:nth-child(3) { transition-delay: 0.25s; }
    .stagger-children.visible>* {
        opacity: 1;
        transform: translateY(0);
    }

    /* ---------- card hover extensions ---------- */
    .service-card {
        will-change: transform, box-shadow;
    }
    .service-card:hover {
        transform: translateY(-6px);
    }
    .service-icon-wrapper {
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
            box-shadow 0.4s ease;
    }


    /* ----------- about text collapse ----- */
        .content-wrapper {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 0.4s ease,
                    margin 0.3s ease;
        opacity: 0;
        margin: 0;
    }

    .content-wrapper.open {
        max-height: 800px;
        opacity: 1;
        margin-top: 0.5rem;
    }

    .content {
        color: #4b5563;
        line-height: 1.8;
        font-size: 1rem;
        margin: 0;
    }
