.fp2-section {
    padding: 30px 0;
    overflow: hidden;
    font-family: 'Epilogue', sans-serif;
}

.fp2-header {
    padding: 0 24px;
    text-align: center;
    margin-bottom: 48px;
}

.fp2-header h2 {
    font-weight: 700;
    font-size: 2.3rem;
    margin: 0 0 10px 0;
}

.fp2-header p {
    margin: 0;
    color: #666;
    font-weight: 600;
    font-size: 0.88rem;
}

.fp2-slider-wrap {
    display: flex;
    margin: 0 auto;
    position: relative;
    max-width: 1250px;
    /* padding: 0 60px; */
    align-items: center;
    box-sizing: border-box;
}

.fp2-arrow {
    top: 50%;
    z-index: 10;
    width: 38px;
    height: 38px;
    color: #333;
    margin: 0 10px;
    display: flex;
    cursor: pointer;
    font-size: 1rem;
    position: absolute;
    border-radius: 50%;
    align-items: center;
    background: #ffffff81;
    justify-content: center;
    transform: translateY(-50%);
    border: 1.5px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, border-color 0.2s;
}

.fp2-arrow:hover {
    color: #181818;
    background: transparent;
    border-color: #0000007c;
}

#fp2Prev {
    left: 0;
}

#fp2Next {
    right: 0;
}

.fp2-overflow {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.fp2-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.fp2-card {
    display: flex;
    flex: 0 0 100%;
    overflow: hidden;
    padding-left: 20px;
    min-height: 340px;
    position: relative;
    border-radius: 20px;
    align-items: stretch;
    box-sizing: border-box;
}

.fp2-card-left {
    gap: 16px;
    z-index: 2;
    flex: 0 0 55%;
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 52px 40px 52px 52px;
}

.fp2-tag {
    color: #333;
    font-weight: 500;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 0.78rem;
    width: fit-content;
    display: inline-block;
    background: rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(0, 0, 0, 0.25);
}

.fp2-card-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.7rem;
}

.fp2-card-desc {
    margin: 0;
    color: #333;
    line-height: 1.75;
    font-size: 0.85rem;
}

.fp2-visit-btn {
    font-weight: 500;
    color: #0d1b4b;
    cursor: pointer;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 0.83rem;
    width: fit-content;
    text-decoration: none;
    display: inline-block;
    background: transparent;
    border: 1.5px solid #444;
    transition: all 0.3s ease;
    /* transition: background 0.2s, color 0.2s; */
}

.fp2-visit-btn:hover {
    color: #000000;
    background: transparent;
    border-color: #0d1b4b;
    transform: translateY(-3px);
    /* box-shadow: 0 8px 18px rgba(13, 27, 75, 0.25); */
}

.fp2-card-right {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 30px 40px;
    align-items: center;
    justify-content: center;
}

.fp2-card-right::before {
    inset: 0;
    z-index: 0;
    content: '';
    position: absolute;
    clip-path: polygon(49% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.fp2-mockup-wrap {
    position: relative;
    width: 100%;
    /* max-width: 380px; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 28px;
    padding-bottom: 60px;
}

.fp2-mockup img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.fp2-mockup-box {
    position: absolute;
    width: 86%;
    height: 64%;
    background: #1e6f66;
    border-radius: 16px;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 1;
}

.fp2-card.card-teal .fp2-mockup-box {
    background: #0a6b62;
}

.fp2-card.card-brown .fp2-mockup-box {
    background: #5a3a1a;
}

.fp2-card.card-blue .fp2-mockup-box {
    background: #0d2a52;
}

.fp2-card.card-purple .fp2-mockup-box {
    background: #b34500;
}

.fp2-mockup {
    width: 75%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

.fp2-card.card-teal {
    background: #b2ede8;
}

.fp2-card.card-teal .fp2-card-title {
    color: #0a7c72;
}

.fp2-card.card-teal .fp2-card-right::before {
    background: #1a9e93;
}

.fp2-card.card-brown {
    background: #ead9c4;
}

.fp2-card.card-brown .fp2-card-title {
    color: #7a4a22;
}

.fp2-card.card-brown .fp2-card-right::before {
    background: #8b5e3c;
}

.fp2-card.card-blue {
    background: #cce0f5;
}

.fp2-card.card-blue .fp2-card-title {
    color: #1a3c6e;
}

.fp2-card.card-blue .fp2-card-right::before {
    background: #1a3c6e;
}

.fp2-card.card-purple {
    background: #fde8d0;
}

.fp2-card.card-purple .fp2-card-title {
    color: #c45000;
}

.fp2-card.card-purple .fp2-card-right::before {
    background: #e05e00;
}

.fp2-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.fp2-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.fp2-dot.active {
    background: #0d1b4b;
    transform: scale(1.35);
}

@media (max-width: 768px) {

    .fp2-slider-wrap {
        padding: 0 10px;
        margin: 0 6px;
    }

    .fp2-card {
        flex-direction: column;
        padding-left: 0;
    }

    .fp2-card-left {
        flex: 100%;
        padding: 30px 20px 20px;
    }

    .fp2-card-right {
        flex: 100%;
        padding: 10px 20px 30px;
    }

    .fp2-card-right::before {
        clip-path: polygon(0% 40%, 100% 0%, 100% 100%, 0% 100%);
        border-radius: 0 0 20px 20px;
    }

    .fp2-arrow {
        margin: 32px 16px;
    }

    .fp2-card-desc {
        font-size: 0.6rem;
        font-weight: 600;
        line-height: 1.6;
    }


    .fp2-mockup-wrap {
        margin-right: 0;
        padding-bottom: 60px;
    }

    .fp2-mockup {
        width: 85%;
    }

    .fp2-header h2 {
        font-size: 1.7rem;
    }

    .fp2-header p {
        font-size: 0.8rem;
    }

}

@media (max-width: 480px) {

    .fp2-card-left {
        padding: 24px 16px;
    }

    .fp2-card-title {
        font-size: 1.4rem;
    }

    .fp2-card-desc {
        font-size: 0.6rem;
        font-weight: 600;
        line-height: 1.6;
    }

    .fp2-visit-btn {
        font-size: 0.78rem;
        padding: 8px 18px;
    }

    .fp2-tag {
        font-size: 0.7rem;
    }
}

@media (max-width: 1024px) {

    .fp2-card-left {
        padding: 40px 28px;
    }

    .fp2-card-right {
        padding: 20px;
    }

    .fp2-card-right::before {
        clip-path: polygon(0% 40%, 100% 0%, 100% 100%, 0% 100%);
    }

    .fp2-mockup {
        width: 80%;
    }

    .fp2-header h2 {
        font-size: 2rem;
    }
}