.product-card-section {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
    background: #e7e7e7;
    text-align: center;
    overflow: hidden;
}

.product-header {
    width: 90%;
    padding-left: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    margin-left: 0;
}

.product-card-section .product-header h2 {
    text-align: left;
    position: relative;
    color: #0a3d62;
    z-index: 10;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    margin: 0;
}

.product-card-section .product-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-left: 0;
    margin-top: 0px;
    margin-bottom: 15px;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 90%;
    vertical-align: middle;
}

.product-card-section .product-title p {
    margin: 0;
    flex: 1;
    min-width: 0;
    text-align: left;
    margin-left: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #718096;
    border-bottom: none;
    text-decoration: none;
}

.product-card-section .swiper-container {
    width: 100%;
    height: 460px;
    overflow: visible;
    position: relative;
}

.product-card-section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(30px);
    opacity: 0;
}

/* .product-card-section .swiper-slide {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
} */

.product-card-section .swiper-slide.loaded {
    opacity: 1;
    transform: translateY(0);
}

.product-card-section .swiper-slide.active .card {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    z-index: 10;
}

.product-card-section .card {
    position: relative;
    width: 250px;
    height: 350px;
    perspective: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    /* box-shadow: 0 4px 15px rgba(0, 32, 77, 0.05); */
    background-color: transparent;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #1e90ff;
    color: white;
    padding: 5px 10px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.product-card-section .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.product-card-section .card:hover .card-inner {
    transform: rotateY(180deg);
}

.product-card-section .card-front,
.product-card-section .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 32, 77, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-section .card-back {
    transform: rotateY(180deg); 
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.product-card-section .swiper-slide.swiper-slide-active .card-front,
.product-card-section .swiper-slide.swiper-slide-active .card-back {
    box-shadow: 0 15px 40px rgba(0, 32, 77, 0.15);
}

/* .product-card-section .card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
} */

.product-card-section .card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
}

.product-card-section .card-text {
    width: 100%;
    height: 25%;
    padding: 10px;
    box-sizing: border-box;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-section .card-text h3 {
    font-size: 1rem;
    margin: 0;
    color: #0a3d62;
}

.product-card-section .card-text p {
    font-size: 0.9rem;
    color: #333;
    margin: 5px 0 0;
}

.product-card-section .card-back {
    transform: rotateY(180deg);
}

.product-card-section .card-back p {
    padding-bottom: 15px;
}

.product-card-section .swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
    gap: 4px;
}

.product-card-section .more-button-container {
    flex: 0 0 auto;
    margin: 0;
    width: auto;
}

.product-card-section .more-button-container .btn-product {
    font-size: 1rem;
    white-space: nowrap;
    --fg: #eaf1ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: .8rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--fg);
    background: linear-gradient(135deg, rgb(0, 53, 86), #007acc);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 24px rgba(0, 0, 0, .28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    text-decoration: none;
}

.product-card-section .more-button-container .btn-product:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
    background: linear-gradient(135deg, #007acc, #00c3ff);
}

@media (max-width: 600px) {
    .product-card-section .product-title p {
        font-size: 0.9rem;
    }

    .product-card-section .more-button-container .btn-product {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}