
/*==================================================
            OUR PRODUCTS SECTION
==================================================*/

.products-section {
    position: relative;
    padding: 70px 0;
    /*background: #f8fbff;*/
    background: #e1e1e1;
    overflow: hidden;
    z-index: 1;
}

/*================ Background Shapes ================*/

.products-section::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle,
            rgba(245, 158, 11, .08),
            transparent 70%);
    left: -280px;
    top: -180px;
    z-index: -1;
}

.products-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
            rgba(11, 46, 89, .05),
            transparent 70%);
    right: -220px;
    bottom: -180px;
    z-index: -1;
}

/*================ Heading =================*/

.section-tag {

    display: inline-block;

    color: var(--secondary);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    position: relative;

    margin-bottom: 18px;

}

.section-tag::after {

    content: '';

    width: 60px;

    height: 3px;

    background: var(--secondary);

    display: block;

    margin: 12px auto 0;

    border-radius: 20px;

}

.section-title {

    font-size: 58px;

    line-height: 1.15;

    font-weight: 800;

    color: var(--primary);

    margin-bottom: 20px;

}

.section-title span {

    color: var(--secondary);

}

.section-desc {

    max-width: 720px;

    margin: auto;

    color: #6B7280;

    font-size: 19px;

    line-height: 1.8;

}

/*================ Navigation =================*/

.product-navigation {

    display: flex;

    gap: 18px;

    align-items: center;

}

.product-prev,
.product-next {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    border: none;

    background: #fff;

    color: var(--primary);

    font-size: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition: .35s;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, .08);

}

.product-prev:hover,
.product-next:hover {

    background: var(--secondary);

    color: var(--white);

    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(245, 158, 11, .30);

}

/*================ View All Button =================*/

.btn-view-all {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    background: var(--primary);

    color: var(--white);

    text-decoration: none;

    padding: 18px 32px;

    border-radius: 60px;

    font-weight: 600;

    transition: .35s;

    white-space: nowrap;

    box-shadow:
        0 15px 40px rgba(11, 46, 89, .18);

}

.btn-view-all i {

    transition: .35s;

}

.btn-view-all:hover {

    color: var(--white);

    background: var(--secondary);

    transform: translateY(-4px);

}

.btn-view-all:hover i {

    transform: translateX(6px);

}

/*================ Header Spacing =================*/

/* .products-section .row:first-child {

    margin-bottom: 70px !important;

} */

/*================ Decorative Dots =================*/

.product-dots {

    position: absolute;

    left: 0;

    top: 180px;

    width: 140px;

    height: 140px;

    opacity: .15;

    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);

    background-size: 18px 18px;

}

/*================ Decorative Circle =================*/

.product-circle {

    position: absolute;

    right: -120px;

    top: -120px;

    width: 320px;

    height: 320px;

    border-radius: 50%;

    border: 2px solid rgba(245, 158, 11, .08);

}

.product-circle::before {

    content: '';

    position: absolute;

    inset: 30px;

    border-radius: 50%;

    border: 2px solid rgba(245, 158, 11, .08);

}

.product-circle::after {

    content: '';

    position: absolute;

    inset: 60px;

    border-radius: 50%;

    border: 2px solid rgba(245, 158, 11, .08);

}

/*================ Responsive =================*/

@media(max-width:1199px) {

    .section-title {

        font-size: 48px;

    }

}

@media(max-width:991px) {

    .products-section {

        padding: 80px 0;

    }

    .section-title {

        font-size: 40px;

    }

    .section-desc {

        font-size: 17px;

    }

    .product-navigation {

        justify-content: center;

        margin-bottom: 25px;

    }

    .btn-view-all {

        margin-top: 25px;

    }

}

@media(max-width:767px) {

    .products-section {

        padding: 65px 0;

    }

    .section-title {

        font-size: 30px;

        line-height: 1.3;

    }

    .section-desc {

        font-size: 15px;

    }

    .section-tag {

        font-size: 13px;

    }

    .product-prev,
    .product-next {

        width: 50px;

        height: 50px;

        font-size: 18px;

    }

    .btn-view-all {

        width: 100%;

        justify-content: center;

        padding: 16px;

    }

    .product-dots,
    .product-circle {

        display: none;

    }

}

/*=========================================
        PRODUCT CARD LAYOUT
==========================================*/

.product-card-swiper {
    position: relative;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    transition: .45s ease;
    /*border: 1px solid rgba(15, 23, 42, .06);*/
    border: 1px solid rgb(190 192 197);
    box-shadow:
        0 10px 30px rgba(15, 23, 42, .05),
        0 25px 60px rgba(15, 23, 42, .08);
}

.product-card-swiper:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 45px rgba(15, 23, 42, .10),
        0 40px 80px rgba(15, 23, 42, .12);
}


/*=========================================
        IMAGE AREA
==========================================*/

.product-image {

    position: relative;

    height: 360px;

    background: linear-gradient(180deg, #F8FBFF, #EEF5FF);

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}


/* soft background circle */

.product-image::before {

    content: '';

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background: rgba(245, 158, 11, .08);

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

}


/* image */

.product-image img {

    position: relative;

    z-index: 2;

    max-width: 82%;

    max-height: 280px;

    object-fit: contain;

    transition: transform .7s ease;

    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .12));

    border-radius: 15px;

}

.product-card-swiper:hover .product-image img {

    transform: scale(1.08) rotate(-2deg);

}


/*=========================================
        IMAGE OVERLAY
==========================================*/

.product-image::after {

    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(to top,
            rgba(11, 46, 89, .03),
            transparent 45%);

}


/*=========================================
        FLOATING ICON
==========================================*/

.product-icon {

    position: absolute;

    top: 22px;

    right: 22px;

    width: 64px;

    height: 64px;

    border-radius: 20px;

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 26px;

    color: var(--secondary);

    z-index: 5;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, .12);

    transition: .4s ease;

}

.product-card-swiper:hover .product-icon {

    background: var(--secondary);

    color: var(--white);

    transform: rotate(10deg) scale(1.08);

}


/*=========================================
        BADGE
==========================================*/

.product-badge {

    position: absolute;

    left: 20px;

    top: 20px;

    z-index: 5;

    background: #fff;

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

    padding: 8px 16px;

    border-radius: 40px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

}


/*=========================================
        IMAGE HOVER GLOW
==========================================*/

.product-card-swiper:hover .product-image::before {

    transform: translate(-50%, -50%) scale(1.2);

    transition: .6s;

}


/*=========================================
        MOBILE
==========================================*/

@media(max-width:991px) {

    .product-image {

        height: 300px;

    }

    .product-image img {

        max-height: 220px;

    }

}

@media(max-width:767px) {

    .product-card-swiper {

        border-radius: 22px;

    }

    .product-image {

        height: 240px;

    }

    .product-image img {

        max-height: 180px;

        max-width: 80%;

    }

    .product-icon {

        width: 52px;

        height: 52px;

        font-size: 20px;

        border-radius: 16px;

        top: 15px;

        right: 15px;

    }

    .product-badge {

        font-size: 11px;

        padding: 6px 12px;

    }

}

/*=========================================
        PRODUCT CONTENT
==========================================*/

.product-content {

    position: relative;

    padding: 32px 30px 28px;

    background: #fff;

}

.product-category {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: var(--secondary);

    margin-bottom: 14px;

}

.product-category::before {

    content: '';

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--secondary);

}

.product-content h3 {

    font-size: 28px;

    font-weight: 800;

    color: var(--primary);

    line-height: 1.2;

    margin-bottom: 15px;

    transition: .35s;

    font-family: 'Outfit', sans-serif;

}

.product-content p {

    color: #6B7280;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 28px;

    /* min-height: 85px; */

}


/*=========================================
        CTA BUTTON
==========================================*/

.product-content a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    text-decoration: none;

    color: var(--primary);

    font-weight: 700;

    font-size: 16px;

    transition: .35s;

}

.product-content a span {

    transition: .35s;

}


/*=========================================
        ROUND ARROW
==========================================*/

.product-content a i {

    width: 46px;

    height: 46px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #F5F7FA;

    color: var(--primary);

    font-size: 18px;

    transition: .4s;

    flex-shrink: 0;

}


/*=========================================
        HOVER EFFECTS
==========================================*/

.product-card-swiper:hover h3 {

    color: var(--secondary);

}

.product-card-swiper:hover .product-content a {

    color: var(--secondary);

}

.product-card-swiper:hover .product-content a i {

    background: var(--secondary);

    color: var(--white);

    transform: translateX(6px) rotate(-45deg);

    box-shadow: 0 15px 30px rgba(245, 158, 11, .28);

}


/* subtle top border animation */

.product-content::before {

    content: '';

    position: absolute;

    top: 0;

    left: 30px;

    width: 0;

    height: 3px;

    background: var(--secondary);

    transition: .45s;

    border-radius: 20px;

}

.product-card-swiper:hover .product-content::before {

    width: 90px;

}


/*=========================================
        CARD SHINE EFFECT
==========================================*/

.product-card-swiper::before {

    content: '';

    position: absolute;

    top: 0;

    left: -140%;

    width: 60%;

    height: 100%;

    background: linear-gradient(90deg,

            transparent,

            rgba(255, 255, 255, .55),

            transparent);

    transform: skewX(-25deg);

    transition: 1s;

    z-index: 20;

}

.product-card-swiper:hover::before {

    left: 160%;

}


/*=========================================
        BOTTOM GRADIENT
==========================================*/

.product-content::after {

    content: '';

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 1px;

    background: linear-gradient(90deg,

            transparent,

            rgba(245, 158, 11, .35),

            transparent);

}


/*=========================================
        MOBILE
==========================================*/

@media(max-width:991px) {

    .product-content {

        padding: 26px;

    }

    .product-content h3 {

        font-size: 24px;

    }

    .product-content p {

        min-height: auto;

    }

}

@media(max-width:767px) {

    .product-content {

        padding: 22px;

    }

    .product-content h3 {

        font-size: 21px;

    }

    .product-content p {

        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 20px;

    }

    .product-content a {

        font-size: 15px;

    }

    .product-content a i {

        width: 42px;

        height: 42px;

        font-size: 16px;

    }

    .product-category {

        font-size: 11px;

    }

}

/*=================================================
        PRODUCT SWIPER
=================================================*/

.productSwiper {
    overflow: visible;
    padding: 10px 0 20px;
}

.productSwiper .swiper-wrapper {
    align-items: stretch;
}

.productSwiper .swiper-slide {
    height: auto;
    transition: .45s ease;
}


/*=================================================
        ACTIVE CARD EFFECT
=================================================*/

.productSwiper .swiper-slide-active .product-card-swiper {

    transform: translateY(-6px);

    box-shadow:
        0 25px 55px rgba(15, 23, 42, .12),
        0 45px 90px rgba(15, 23, 42, .10);

}

.productSwiper .swiper-slide-next {

    opacity: .96;

}

.productSwiper .swiper-slide-prev {

    opacity: .96;

}


/*=================================================
        PAGINATION
=================================================*/

.productSwiper .swiper-pagination {

    position: relative;

    margin-top: 45px;

}

.productSwiper .swiper-pagination-bullet {

    width: 12px;

    height: 12px;

    background: #CBD5E1;

    opacity: 1;

    transition: .35s;

}

.productSwiper .swiper-pagination-bullet-active {

    width: 34px;

    border-radius: 30px;

    background: var(--secondary);

}


/*=================================================
        NAVIGATION BUTTONS
=================================================*/

.product-prev,
.product-next {

    transition: .35s;

}

.product-prev.swiper-button-disabled,
.product-next.swiper-button-disabled {

    opacity: .35;

    cursor: not-allowed;

}


/*=================================================
        FLOAT ANIMATION
=================================================*/

@keyframes cardFloat {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-8px);

    }

    100% {

        transform: translateY(0);

    }

}

.product-card-swiper:hover .product-image img {

    animation: cardFloat 3s ease infinite;

}


/*=================================================
        ICON PULSE
=================================================*/

@keyframes pulseGlow {

    0% {

        box-shadow: 0 0 0 0 rgba(245, 158, 11, .35);

    }

    70% {

        box-shadow: 0 0 0 16px rgba(245, 158, 11, 0);

    }

    100% {

        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);

    }

}

.product-card-swiper:hover .product-icon {

    animation: pulseGlow 1.5s infinite;

}


/*=================================================
        IMAGE FADE
=================================================*/

.product-image img {

    opacity: .98;

}

.product-card-swiper:hover .product-image img {

    opacity: 1;

}


/*=================================================
        MOBILE
=================================================*/

@media(max-width:991px) {

    .productSwiper {

        overflow: visible;

    }

    .productSwiper .swiper-slide {

        width: 340px;

    }

}

@media(max-width:767px) {

    .products-section {

        overflow: hidden;

    }

    .productSwiper {

        padding-left: 15px;

        padding-right: 15px;

    }

    .productSwiper .swiper-slide {

        width: 82%;

    }

    .product-card-swiper {

        border-radius: 22px;

    }

    .product-content {

        padding: 20px;

    }

    .product-content h3 {

        font-size: 20px;

    }

    .product-content p {

        font-size: 14px;

        line-height: 1.7;

    }

    .productSwiper .swiper-pagination {

        margin-top: 30px;

    }

    .productSwiper .swiper-pagination-bullet {

        width: 10px;

        height: 10px;

    }

    .productSwiper .swiper-pagination-bullet-active {

        width: 28px;

    }

}


/*=================================================
        SMALL MOBILE
=================================================*/

@media(max-width:575px) {

    .productSwiper .swiper-slide {

        width: 88%;

    }

    .product-image {

        height: 220px;

    }

    .product-image img {

        max-height: 165px;

    }

    .product-content {

        padding: 18px;

    }

    .product-content h3 {

        font-size: 19px;

    }

    .product-content p {

        font-size: 13px;

    }

}


/*=================================================
        SMOOTH TRANSITIONS
=================================================*/

.product-card-swiper,
.product-image,
.product-image img,
.product-content,
.product-content h3,
.product-content a,
.product-icon {

    transition: all .35s ease;

}


/*=================================================
        PERFORMANCE
=================================================*/

.product-card-swiper,
.product-image img {

    will-change: transform;

    backface-visibility: hidden;

    transform: translateZ(0);

}

/*==========================================
        PART 2C - PREMIUM ANIMATIONS
===========================================*/

/* Smooth reveal */

.product-card-swiper {

    opacity: 0;

    transform: translateY(60px);

    animation: productReveal .8s forwards;

}

.productSwiper .swiper-slide:nth-child(1) .product-card-swiper {

    animation-delay: .1s;

}

.productSwiper .swiper-slide:nth-child(2) .product-card-swiper {

    animation-delay: .2s;

}

.productSwiper .swiper-slide:nth-child(3) .product-card-swiper {

    animation-delay: .3s;

}

.productSwiper .swiper-slide:nth-child(4) .product-card-swiper {

    animation-delay: .4s;

}

@keyframes productReveal {

    from {

        opacity: 0;

        transform: translateY(60px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/*==============================*/
/* Premium Gradient Border */
/*==============================*/

.product-card-swiper::after {

    content: '';

    position: absolute;

    inset: 0;

    border-radius: 28px;

    padding: 1px;

    background: linear-gradient(135deg,
            rgba(245, 158, 11, .18),
            transparent,
            rgba(11, 46, 89, .15));

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    pointer-events: none;

}

/*==============================*/
/* Hover Background */
/*==============================*/

.product-card-swiper:hover {

    background: linear-gradient(180deg,
            #ffffff,
            #fcfcfd);

}

/*==============================*/
/* Category Animation */
/*==============================*/

.product-category {

    transition: .35s;

}

.product-card-swiper:hover .product-category {

    letter-spacing: 2px;

}

/*==============================*/
/* Image Shadow */
/*==============================*/

.product-card-swiper:hover img {

    filter:
        drop-shadow(0 20px 35px rgba(0, 0, 0, .16));

}

/*==============================*/
/* Card Shine */
/*==============================*/

.product-card-swiper {

    overflow: hidden;

}

.product-card-swiper .shine {

    position: absolute;

    inset: 0;

    background: linear-gradient(120deg,

            transparent,

            rgba(255, 255, 255, .45),

            transparent);

    transform: translateX(-120%);

}

.product-card-swiper:hover .shine {

    animation: shineMove .9s;

}

@keyframes shineMove {

    to {

        transform: translateX(180%);

    }

}

/*==============================*/
/* Swiper Cursor */
/*==============================*/

.productSwiper {

    cursor: grab;

}

.productSwiper:active {

    cursor: grabbing;

}

/*==============================*/
/* Arrow Bounce */
/*==============================*/

.product-next:hover i,
.product-prev:hover i {

    animation: arrowBounce .7s;

}

@keyframes arrowBounce {

    0% {

        transform: translateX(0);

    }

    40% {

        transform: translateX(4px);

    }

    80% {

        transform: translateX(-2px);

    }

    100% {

        transform: translateX(0);

    }

}

/*==============================*/
/* Desktop */
/*==============================*/

@media(min-width:1400px) {

    .products-section .container {

        max-width: 1320px;

    }

    .product-image {

        height: 310px;

    }

}

/*==============================*/
/* Tablet */
/*==============================*/

@media(max-width:991px) {

    .products-section {

        padding: 80px 0;

    }

    .section-title {

        font-size: 38px;

    }

    .product-navigation {

        margin-bottom: 25px;

        justify-content: center;

    }

}

/*==============================*/
/* Mobile */
/*==============================*/

@media(max-width:767px) {

    .products-section {

        padding: 65px 0;

    }

    .section-title {

        font-size: 30px;

    }

    .section-desc {

        font-size: 15px;

    }

    .productSwiper {

        padding-left: 10px;

    }

    .productSwiper .swiper-slide {

        width: 85%;

    }

    .product-card-swiper {

        border-radius: 22px;

    }

    .product-image {

        height: 230px;

    }

    .product-content {

        padding: 20px;

    }

    .btn-view-all {

        width: 100%;

        justify-content: center;

    }

}

/*==============================*/
/* Small Mobile */
/*==============================*/

@media(max-width:480px) {

    .productSwiper .swiper-slide {

        width: 90%;

    }

    .product-image {

        height: 210px;

    }

    .product-content h3 {

        font-size: 18px;

    }

    .product-content p {

        font-size: 13px;

    }

}

/*==============================*/
/* Performance */
/*==============================*/

.product-card-swiper,
.product-image,
.product-image img {

    will-change: transform;

    backface-visibility: hidden;

    transform: translateZ(0);

}

/* ==========================
   MOBILE ONLY
========================== */

@media (max-width:767px){

    .product-card-swiper{
        display:flex;
        flex-direction:column;
    }

    .product-image{
        order:1;
        width:100%;
        height:220px;
        border-radius:22px 22px 0 0;
    }

    .product-content{
        order:2;
        width:100%;
        padding:20px;
    }

    .product-image img{
        width:100%;
        height:100%;
        object-fit:contain;
        display:block;
        margin:auto;
    }

}
/* Desktop */
@media (min-width:768px){

    .product-card-swiper{
        display:flex;
        flex-direction:row; /* Desktop layout same rahega */
    }

}