.flip-container {
            padding: 50px;
            max-width: 450px;
            width: 100%;
            position: relative;
            z-index: 1;
            margin: 0 auto;
        }

        .flip-header {
            text-align: center;
        }

        .flip-title {
            color: #242424;
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .flip-subtitle {
            color: #fff;
            background: linear-gradient(135deg, rgb(138 188 47), rgb(103 168 0));
            padding: 8px 20px;
            border-radius: 25px;
            display: inline-block;
            font-size: 14px;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .flip-card-container {
            perspective: 1200px;
            height: 460px;
            position: relative;
        }

        .flip-card {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            display: none;
        }

        .flip-card.active {
            display: block;
        }

        .flip-card.flip-flipped {
            transform: rotateY(180deg);
        }

        .flip-card-face {
            position: absolute;
            width: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .flip-card-face.flip-card-back {
            transform: rotateY(180deg);
        }

        .flip-card-image {
            height: 70%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 80px;
            overflow: hidden;
        }

        .flip-card-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 1;
        }

        .flip-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 2;
        }

        .flip-card-image span {
            position: relative;
            z-index: 2;
        }

        .flip-card:hover .flip-card-image img {
            transform: scale(1.05);
        }

        .flip-card-text {
            height: 30%;
            background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 25px;
            color: #333;
            font-weight: 600;
            line-height: 1.4;
            position: relative;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        .flip-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }

        .flip-control-btn {
            border: none;
            border-radius: 24px;
            background: linear-gradient(135deg, rgb(22 22 22 / 20%), rgb(7 7 7 / 10%));
            color: #000000;
            font-size: 17px;
            cursor: pointer;
            display: flex;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 9px 10px;
            overflow: hidden;
        }

        .flip-control-btn::before {
            content: '';
            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.5s;
        }

        .flip-control-btn:hover::before {
            left: 100%;
        }

        .flip-control-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            border: 1px solid rgb(0 0 0 / 27%);
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
        }

        .flip-control-btn:active {
            transform: translateY(-2px);
        }

        .flip-control-btn.flip-audio-btn {
            color: white;
            background: linear-gradient(135deg, rgb(138 188 47), rgb(196 254 104));
            border: 1px solid rgb(0 0 0 / 27%);
        }

        .flip-control-btn.flip-audio-btn:hover {
            background: linear-gradient(135deg, rgb(138 188 47), rgb(196 254 104));
        }

        .flip-pagination {
            text-align: center;
            color: #000000;
            font-weight: 600;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(10px);
            padding: 0px 12px;
            border-radius: 25px;
            display: inline-block;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            font-size: 16px;
        }

        /* Card specific gradients */
        .card-1 .flip-card-image {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .card-2 .flip-card-image {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        .card-3 .flip-card-image {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }

        @media (max-width: 480px) {
            /* .flip-container {
                padding: 30px;
                margin: 10px;
            } */
            .flip-title {
                font-size: 24px;
            }
            .flip-control-btn {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }
        @media screen and (max-width: 440px) {
            .flip-card-container {
                height: 440px;
            }
            
        }
        @media screen and (max-width: 420px) {
            .flip-card-container {
                height: 425px;
            }
        }
        @media screen and (max-width: 400px) {
            .flip-card-container {
                height: 390px;
            }
        }
        @media screen and (max-width: 365px) {
            .flip-card-container {
                height: 370px;
            }
        }
        @media screen and (max-width: 350px) {
            .flip-card-container {
                height: 360px;
            }
        }