@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.flipbook-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.flipbook {
    width: 880px;
    height: 600px;
    cursor: pointer;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.flipbook .hard {
    background: linear-gradient(135deg, #2ba5c0 0%, #1a7a8f 100%) !important;
    color: #fff;
    font-weight: bold;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.flipbook .hard small{
	font-style: italic;
	font-weight: lighter;
	opacity: 0.9;
	font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.flipbook .page {
    background: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
    overflow: hidden;
}

.page img{
	width: 100%;
    height: 100%;
	object-fit: contain;
	margin: auto;
}

.flipbook .page small{
	font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.nav-btn {
    background: #2ba5c0;
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    flex-shrink: 0;
}

.nav-btn:hover:not(.disabled) {
    background: #238a9f;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn:active:not(.disabled) {
    transform: scale(0.95);
}

.nav-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .flipbook {
        width: 700px;
        height: 480px;
    }
    
    .flipbook-container {
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .flipbook {
        width: 600px;
        height: 400px;
    }
    
    .flipbook-container {
        gap: 15px;
        padding: 10px;
    }
    
    .nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .flipbook .hard {
        font-size: 20px;
    }
    
    .flipbook .hard small {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .flipbook {
        width: 400px !important;
        height: 550px !important;
    }
    
    .flipbook-container {
        gap: 10px;
        padding: 10px;
        flex-direction: column;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        position: relative;
    }
    
    .nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .flipbook .hard {
        font-size: 18px;
    }
    
    .flipbook .hard small {
        font-size: 12px;
    }
    
    .flipbook .page small {
        font-size: 14px;
    }
    
    /* Mobile navigation at bottom */
    .flipbook-container {
        flex-direction: column-reverse;
    }
    
    .flipbook-nav-wrapper {
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .flipbook {
        width: 320px !important;
        height: 450px !important;
    }
    
    .flipbook-container {
        padding: 5px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .flipbook .hard {
        font-size: 16px;
    }
    
    .flipbook .hard small {
        font-size: 11px;
    }
    
    .flipbook .page small {
        font-size: 12px;
    }
}

/* Page turn animation enhancement */
.flipbook .page {
    transition: box-shadow 0.3s ease;
}

.flipbook .page:hover {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

