/* =========================================================
   PRODUCTS SECTION
========================================================= */

.psection {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 3%;

    background:
        radial-gradient(
            circle at 10% 50%,
            #06466b,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071827,
            #0c2338
        );

    overflow: hidden;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.product-content {
    width: 45%;
    color: #ffffff;
}

.product-tag {
    font-size: 20px;
    letter-spacing: 2px;
    color: #ffffff;
}

.product-content h1 {
    font-size: 32px;
    line-height: 1.15;
    margin: 25px 0;
    color: #ffffff;
    font-weight: 600;
}

.product-content h1 span {
    color: #ffffff;
}

.product-content p {
    font-size: 18px;
    line-height: 32px;
    color: #ffffff;
    max-width: 520px;
}


/* =========================================================
   BUTTON
========================================================= */

.product-content button {
    margin-top: 35px;
    padding: 15px 40px;

    border: none;
    border-radius: 13px;

    background:#fff ;
    color: #232A76;

    font-size: 15px;
    cursor: pointer;

    transition: all 0.4s ease;
}

.product-content button:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 40px #232A7688;
}


/* =========================================================
   RIGHT PRODUCT AREA
========================================================= */

.product-scene {
    width: 48%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    perspective: 1200px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    height: 100px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 20px 22px;

    /* WHITE CARD */
    background: #ffffff;

    /* BLUE LEFT BORDER */
    border-left: 5px solid #232A76;

    border-radius: 15px;

    /* BLUE TEXT */
    color: #232A76;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);

    transform-style: preserve-3d;

    animation:
        cardMove 5s infinite ease-in-out;

    transition:
        transform 0.5s ease,
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =========================================================
   CARD NUMBER
========================================================= */

.product-card b {
    font-size: 34px;

    color: #232A76;

    font-weight: 700;

    min-width: 65px;

    transition:
        color 0.4s ease,
        transform 0.4s ease;
}


/* =========================================================
   CARD TITLE
========================================================= */

.product-card h2 {
    font-size: 22px;

    line-height: 1.15;

    margin: 0;

    color: #232A76;

    font-weight: 700;

    flex: 1;

    transition:
        color 0.4s ease;
}


/* =========================================================
   PRODUCT ICON
========================================================= */

.product-icon {
    width: 60px;
    height: 60px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;

    transition:
        transform 0.5s ease,
        filter 0.4s ease;
}


/* =========================================================
   3D FLOAT ANIMATION
========================================================= */

@keyframes cardMove {

    0%,
    100% {
        transform:
            translateY(0)
            rotateY(-8deg);
    }

    50% {
        transform:
            translateY(-12px)
            translateZ(45px)
            rotateY(-3deg);
    }
}


/* =========================================================
   DIFFERENT ANIMATION DELAYS
========================================================= */

.product-card:nth-child(1) {
    animation-delay: 0s;
}

.product-card:nth-child(2) {
    animation-delay: 0.4s;
}

.product-card:nth-child(3) {
    animation-delay: 0.8s;
}

.product-card:nth-child(4) {
    animation-delay: 1.2s;
}

.product-card:nth-child(5) {
    animation-delay: 1.6s;
}

.product-card:nth-child(6) {
    animation-delay: 2s;
}


/* =========================================================
   HOVER EFFECT
   KEEP BLUE HOVER
========================================================= */

.product-card:hover {

    transform:
        translateZ(100px)
        scale(1.08)
        rotateY(0deg);

    background:
        linear-gradient(
            135deg,
            #009cff,
            #003b66
        );

    box-shadow:
        0 40px 100px #232A7699;

    z-index: 5;
}


/* NUMBER ON HOVER */

.product-card:hover b {
    color: #ffffff;

    transform:
        translateZ(20px);
}


/* TEXT ON HOVER */

.product-card:hover h2 {
    color: #ffffff;
}


/* ICON ON HOVER */

.product-card:hover .product-icon {

    transform:
        translateZ(35px)
        scale(1.12);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .psection {
        flex-direction: column;

        padding:
            60px 5%;
    }

    .product-content,
    .product-scene {
        width: 100%;
    }

    .product-scene {
        margin-top: 60px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 750px) {

    .product-scene {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .product-card {
        height: 95px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .psection {
        padding:
            50px 20px;
    }

    .product-content h1 {
        font-size: 32px;
    }

    .product-content p {
        font-size: 16px;
        line-height: 28px;
    }

    .product-scene {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .product-card {
        height: 90px;

        padding:
            15px 18px;

        gap: 12px;
    }

    .product-card b {
        font-size: 27px;

        min-width: 50px;
    }

    .product-card h2 {
        font-size: 18px;
    }

    .product-icon {
        width: 50px;
        height: 50px;
    }
}